feat(layout): login, uygulama kabuğu, alt menü, hızlı ekle ve dashboard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-12
@@ -1,15 +1,6 @@
|
||||
import { tr } from "@/i18n/tr";
|
||||
import { APP_VERSION } from "@/lib/version";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
/** Geçici açılış sayfası — Faz 2'de /login'e yönlendirme ile değişecek. */
|
||||
/** Uygulama her zaman login ile açılır. FAZ 3: oturum varsa /dashboard'a yönlenecek. */
|
||||
export default function Home() {
|
||||
return (
|
||||
<main className="flex flex-1 flex-col items-center justify-center gap-3 p-8 text-center">
|
||||
<h1 className="text-3xl font-semibold tracking-tight">{tr.app.name}</h1>
|
||||
<p className="max-w-md text-muted-foreground">{tr.app.setupDescription}</p>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{tr.app.version} {APP_VERSION}
|
||||
</p>
|
||||
</main>
|
||||
);
|
||||
redirect("/login");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user