260615_01_FST: First Commit

This commit is contained in:
2026-06-15 09:32:24 +09:00
parent e75c28a7ba
commit 677d678e68
92 changed files with 12081 additions and 233 deletions

View File

@@ -0,0 +1,23 @@
import MainLayout from "@/components/layout/MainLayout";
import { cookies } from "next/headers";
import { redirect } from "next/navigation";
import {CookieKeys} from "@/store/cookie/cookie-keys";
export default async function MainLayoutWrapper({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
const cookieStore = await cookies();
const accessToken = cookieStore.get(CookieKeys.AuthToken)?.value;
if (!accessToken) {
//redirect("/logout");
}
return (
<MainLayout>
{children}
</MainLayout>
);
}