结构目录优化

This commit is contained in:
eafonyang
2026-07-30 11:32:45 +08:00
parent 99ab6cc4f4
commit 707d889514
29 changed files with 10 additions and 95 deletions
+30
View File
@@ -0,0 +1,30 @@
<script setup lang="ts">
const { t, locale } = useI18n();
const switchLocalePath = useSwitchLocalePath();
definePageMeta({
layout: 'blank'
});
useHead({
title: () => `404 - ${t('common.notFound')}`
});
</script>
<template>
<div class="min-h-screen flex-col-center">
<h1 class="text-7xl font-bold text-gray-200 dark:text-gray-700">404</h1>
<h2 class="mt-16px text-xl font-medium text-gray-700 dark:text-gray-200">
{{ t('common.notFound') }}
</h2>
<p class="mt-8px text-sm text-gray-400">
{{ t('common.notFoundDesc') }}
</p>
<NuxtLink
:to="switchLocalePath(locale)"
class="mt-32px px-24px py-10px rounded-6px bg-primary text-white text-sm hover:opacity-90 transition-opacity"
>
{{ t('common.backHome') }}
</NuxtLink>
</div>
</template>