feat(frontend): main page

This commit is contained in:
2025-11-06 09:24:44 +01:00
parent 89c7588883
commit 3f828a754b
34 changed files with 1536 additions and 442 deletions

View File

@@ -1,5 +1,25 @@
<template>
<div>
<h1>Nuxt works!</h1>
</div>
<UApp :locale="locales[locale]">
<AppNavbar />
<UMain>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</UMain>
<AppFooter />
</UApp>
</template>
<script setup lang="ts">
import * as locales from '@nuxt/ui/locale';
const { locale } = useI18n();
const lang = computed(() => locales[locale.value].code);
const dir = computed(() => locales[locale.value].dir);
useHead({
htmlAttrs: {
dir,
lang,
},
});
</script>