info student page, info company page, register, register student page

This commit is contained in:
Sofia Reháková
2025-10-20 17:35:01 +02:00
parent a4600a97ce
commit ba8ea224a8
8 changed files with 434 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
<div>
<v-app-bar color="rgb(46, 125, 50)" style="color: white" :elevation="2">
<v-btn variant="text" dense to="/">Domov</v-btn>
<v-btn variant="text" dense>Register</v-btn>
<v-btn variant="text" dense to="/register">Register</v-btn>
<v-btn variant="text" dense>Login</v-btn>
<v-spacer></v-spacer>

View File

@@ -1,7 +1,12 @@
<template>
<v-card variant="outlined" :width="300" class="d-flex flex-column" style="margin: 20px; cursor: pointer" link
:to="link">
<v-card-title class="text-wrap"><strong>{{ title }}</strong></v-card-title>
<v-card-title class="text-wrap">
<div class="title-row">
<v-icon v-if="icon" :icon="icon" size="24" class="title-icon" />
<strong class="title-text">{{ title }}</strong>
</div>
</v-card-title>
<v-card-text>
{{ description }}
</v-card-text>
@@ -30,7 +35,26 @@ export default {
required: true,
type: String,
validator: basicPropValidator
}
},
icon: {
required: false,
type: String,
default: null,
},
}
}
</script>
</script>
<style scoped>
.title-row {
display: flex;
align-items: center;
gap: 8px;
}
.title-icon {
transform: translateY(1px);
}
.title-text {
line-height: 1.2;
}
</style>