Build Nuxt 4 client cabinet with Apollo and GraphQL flows
This commit is contained in:
15
app/components/ui/AppHeader.vue
Normal file
15
app/components/ui/AppHeader.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<header class="navbar bg-base-100 border-b border-base-300 sticky top-0 z-10">
|
||||
<div class="navbar-start">
|
||||
<NuxtLink to="/" class="btn btn-ghost text-xl">Fregat</NuxtLink>
|
||||
</div>
|
||||
<div class="navbar-center hidden md:flex">
|
||||
<ul class="menu menu-horizontal px-1">
|
||||
<li><NuxtLink to="/products">Товары</NuxtLink></li>
|
||||
<li><NuxtLink to="/cart">Корзина</NuxtLink></li>
|
||||
<li><NuxtLink to="/orders">Заказы</NuxtLink></li>
|
||||
<li><NuxtLink to="/profile">Профиль</NuxtLink></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
Reference in New Issue
Block a user