add login
This commit is contained in:
1 parent
b27a7b528a
commit
c4efd6406d
22 files changed
+786
-17
No files matched your search
@@ -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>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user