add section vus
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* Автоматически формирует: Главная / Вузы / <Название вуза>.
|
||||
*/
|
||||
interface Props {
|
||||
/** Краткое название вуза для последнего элемента */
|
||||
universityName: string;
|
||||
}
|
||||
|
||||
defineProps<Props>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<nav aria-label="Хлебные крошки" class="mb-3">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item">
|
||||
<NuxtLink to="/">Главная</NuxtLink>
|
||||
</li>
|
||||
<li class="breadcrumb-item">
|
||||
<NuxtLink to="/vus">Вузы</NuxtLink>
|
||||
</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">
|
||||
{{ universityName }}
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.breadcrumb {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.breadcrumb-item a {
|
||||
color: #ccc;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.breadcrumb-item a:hover {
|
||||
color: #28a745;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.breadcrumb-item.active {
|
||||
color: #999;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user