Files
tootaio.com/app/layouts/default.vue
xiaomai 87731a6379 feat(content): add initial homepage content and navigation
This commit introduces the foundational content and navigation for the website's homepage.

- Adds a new navigation menu to the default layout, linking to Services, Projects, and Insights.
- Creates YAML content files for the homepage in both English (en) and Chinese (zh-CN).
- Populates the content with key sections including capabilities, featured projects, and tech stack.
2025-11-05 15:07:27 +08:00

48 lines
1.2 KiB
Vue

<template>
<UPage>
<UHeader>
<template #title> Tootaio Studio </template>
<template #default>
<UNavigationMenu :items="navLinks" variant="link" />
</template>
<template #body>
<UNavigationMenu :items="navLinks" orientation="vertical" />
</template>
<template #right>
<UColorModeButton />
<UButton
icon="twemoji:flag-china"
:variant="$i18n.locale == 'zh-CN' ? 'outline' : 'ghost'"
class="cursor-pointer"
color="neutral"
:disabled="$i18n.locale == 'zh-CN'"
@click="setLocale('zh-CN')"
/>
<UButton
icon="twemoji:flag-united-states"
:variant="$i18n.locale == 'en' ? 'outline' : 'ghost'"
class="cursor-pointer"
color="neutral"
:disabled="$i18n.locale == 'en'"
@click="setLocale('en')"
/>
</template>
</UHeader>
<UMain>
<slot />
</UMain>
<UFooter>
<template #left>
&copy; {{ new Date().getFullYear() }} Tootaio Studio. All rights
reserved.
</template>
</UFooter>
</UPage>
</template>
<script lang="ts" setup>
const { setLocale } = useI18n();
</script>
<style></style>