1
0
mirror of https://github.com/robonen/lorem-blog.git synced 2026-03-20 10:54:38 +00:00

feat(ui): add Logo and Header components

This commit is contained in:
2025-06-13 00:11:28 +07:00
parent 70b605eb3a
commit be9d8ef1f4
4 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<script setup lang="ts">
import { Logo } from '@/shared/icons';
import { NavigationMenu, type NavigationMenuItem } from '../NavigationMenu';
const items = [
{ name: 'Главная', path: '/' },
{ name: 'Блог', path: '/blog' },
] satisfies NavigationMenuItem[];
</script>
<template>
<header class="p-4 dark bg-background text-foreground">
<div class="mx-auto container flex space-x-18">
<Logo class="h-6" aria-label="Logo" />
<NavigationMenu :items />
</div>
</header>
</template>