feat: add admin accounts and image templates

This commit is contained in:
inman
2026-07-03 11:25:25 +08:00
parent d98e58adfa
commit c3ea9f0eb1
61 changed files with 7016 additions and 199 deletions

View File

@@ -20,7 +20,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
strategy="beforeInteractive"
dangerouslySetInnerHTML={{ __html: randomUUIDPolyfillScript }}
/>
<AppShell user={auth.user} authRequired={auth.authRequired}>{children}</AppShell>
<AppShell user={auth.user} authRequired={auth.authRequired} isAdmin={auth.isAdmin}>{children}</AppShell>
</body>
</html>
);