add login

This commit is contained in:
jaehwang committed 2026-09-15 16:00:54 +09:00
1 parent b27a7b528a
commit c4efd6406d
22 files changed
+786 -17

No files matched your search

+4 -1
View File
@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import Link from "next/link";
import Ado2Logo from "@/components/ado2-logo";
import AuthGate from "@/components/auth-gate";
import NavLink from "@/components/nav-link";
import { FEATURES } from "@/lib/features";
@@ -27,7 +28,9 @@ export default function Ado2Layout({ children }: { children: React.ReactNode })
<div className="sidebar-foot">무빙포스터 · 내부 빌드</div>
</aside>
<main className="main-content">
<div style={{ maxWidth: 1080, margin: "0 auto" }}>{children}</div>
<div style={{ maxWidth: 1080, margin: "0 auto" }}>
<AuthGate>{children}</AuthGate>
</div>
</main>
</>
);
+4 -1
View File
@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import Link from "next/link";
import Ado2Logo from "@/components/ado2-logo";
import AuthGate from "@/components/auth-gate";
import NavLink from "@/components/nav-link";
import { FEATURES } from "@/lib/features";
@@ -38,7 +39,9 @@ export default function PlayreelLayout({ children }: { children: React.ReactNode
<div className="sidebar-foot">Playreel · an ADO2 product · 내부 빌드</div>
</aside>
<main className="main-content">
<div style={{ maxWidth: 1080, margin: "0 auto" }}>{children}</div>
<div style={{ maxWidth: 1080, margin: "0 auto" }}>
<AuthGate>{children}</AuthGate>
</div>
</main>
</>
);