add: хедер

This commit is contained in:
mfnefd 2024-12-02 23:19:00 +04:00
parent bcca40860d
commit c1d1e91594
2 changed files with 25 additions and 2 deletions

View File

@ -1,9 +1,14 @@
<script setup lang="ts">
import Header from './components/main/Header.vue';
</script>
<template>
<Header />
<main>
test
</main>
</template>
<style scoped>
</style>
</style>

View File

@ -0,0 +1,18 @@
<script setup lang="ts">
</script>
<template>
<header>
<nav class="flex items-center justify-between p-4">
<a href="/" class="text-2xl font-bold">Мои финансы</a>
<ul class="flex items-center space-x-4">
<li><a href="/change-records" class="text-lg">Домашняя страница</a></li>
<li><a href="/spending-groups" class="text-lg">Группы расходов</a></li>
</ul>
</nav>
</header>
</template>
<style scoped>
</style>