feat:重构UI

This commit is contained in:
2025-12-26 16:03:12 +08:00
parent 1429e0e66a
commit abcbe3cddc
67 changed files with 12170 additions and 515 deletions

View File

@@ -2,12 +2,22 @@ import TranslatorForm from '@/components/TranslatorForm'
export default function Home() {
return (
<main className="min-h-screen bg-gray-50">
<div className="container mx-auto px-4 py-8">
<h1 className="text-3xl font-bold text-center mb-8">
AI
</h1>
<main className="min-h-screen bg-background">
<div className="container mx-auto px-4 py-8 md:py-16">
<div className="flex flex-col items-center mb-12 space-y-4">
<h1 className="text-4xl md:text-5xl font-extrabold tracking-tight text-foreground">
AI
</h1>
<p className="text-muted-foreground text-lg text-center max-w-2xl">
</p>
</div>
<TranslatorForm />
<footer className="mt-16 text-center text-sm text-muted-foreground">
<p>&copy; {new Date().getFullYear()} AI Translator. Powered by Next.js & FastAPI.</p>
</footer>
</div>
</main>
)