initial commit on Federted servers
release gate / check (push) Failing after 8m35s

This commit is contained in:
Andrew S Erwin
2026-10-19 16:23:55 -05:00
commit b9721ff13f
217 changed files with 31534 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { auth } from '@/auth'
import { redirect } from 'next/navigation'
import { AppShellWrapper } from '@/components/app-shell-wrapper'
export default async function AppLayout({ children }: { children: React.ReactNode }) {
const session = await auth()
if (!session?.user) redirect('/login')
// Pass the server session down so the shell and screens render during SSR
// instead of being discarded and refetched on the client.
return <AppShellWrapper session={session}>{children}</AppShellWrapper>
}