251127:1700 Frontend Start Build

This commit is contained in:
admin
2025-11-27 17:08:49 +07:00
parent 6abb746e08
commit 4f3aa87a93
1795 changed files with 893474 additions and 10 deletions

8
frontend/app/page.tsx Normal file
View File

@@ -0,0 +1,8 @@
// File: app/page.tsx
import { redirect } from "next/navigation";
export default function RootPage() {
// เมื่อเข้าหน้าแรก ให้ Redirect ไปที่ /dashboard ทันที
// ซึ่งถ้ายังไม่ Login -> Middleware จะดีดไปหน้า /login ให้เอง
redirect("/dashboard");
}