Build Nuxt 4 manager cabinet workflows
This commit is contained in:
13
app/components/ui/AppHeader.stories.ts
Normal file
13
app/components/ui/AppHeader.stories.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
||||
import AppHeader from './AppHeader.vue';
|
||||
|
||||
const meta: Meta<typeof AppHeader> = {
|
||||
title: 'UI/AppHeader',
|
||||
component: AppHeader,
|
||||
};
|
||||
|
||||
export default meta;
|
||||
|
||||
type Story = StoryObj<typeof AppHeader>;
|
||||
|
||||
export const Default: Story = {};
|
||||
16
app/components/ui/AppHeader.vue
Normal file
16
app/components/ui/AppHeader.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<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 Manager</NuxtLink>
|
||||
</div>
|
||||
<div class="navbar-center hidden md:flex">
|
||||
<ul class="menu menu-horizontal px-1">
|
||||
<li><NuxtLink to="/requests">Заявки</NuxtLink></li>
|
||||
<li><NuxtLink to="/orders">Заказы</NuxtLink></li>
|
||||
<li><NuxtLink to="/invitations">Инвайты</NuxtLink></li>
|
||||
<li><NuxtLink to="/referrals">Рефералка</NuxtLink></li>
|
||||
<li><NuxtLink to="/withdrawals">Выводы</NuxtLink></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
Reference in New Issue
Block a user