feat: add breadcrumbs

This commit is contained in:
Константин Уколов
2024-08-06 10:47:36 +03:00
parent d9b694e76a
commit 1fd9fd292d
7 changed files with 84 additions and 14 deletions
+6 -2
View File
@@ -1,5 +1,9 @@
<script setup lang="ts">
function goToCatalogPage() {
navigateTo({
path: '/catalog',
})
}
</script>
<template>
@@ -9,7 +13,7 @@
alt="svg"
>
<div class="flex gap-5 w-full">
<UButton size="xl" icon="heroicons-bars-3">
<UButton size="xl" icon="heroicons-bars-3" @click="goToCatalogPage">
Каталог
</UButton>
<UInputMenu placeholder="Поиск по каталогу" size="xl" class="w-full" leading-icon="heroicons-magnifying-glass" />