Files
hackerspace.sh/app/page.tsx
T
v0andMoheeb Zara 28f1a6f7b0 feat: create hackerspace management app landing page
Add dark aesthetic, animated UI previews, icon-only design, clean copy, responsive layout, stats section, feature grid, clear CTAs

Co-authored-by: Moheeb Zara <[email protected]>
2026-03-11 08:38:37 +00:00

13 lines
354 B
TypeScript

import { createClient } from '@/lib/supabase/server'
import { redirect } from 'next/navigation'
import LandingPage from './(landing)/page'
export default async function RootPage() {
const supabase = await createClient()
const { data: { user } } = await supabase.auth.getUser()
if (user) {
redirect('/dashboard')
}
return <LandingPage />
}