Initial commit from Create Next App
This commit is contained in:
16
app/page.tsx
Normal file
16
app/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import Hero from "@/components/hero";
|
||||
import ConnectSupabaseSteps from "@/components/tutorial/connect-supabase-steps";
|
||||
import SignUpUserSteps from "@/components/tutorial/sign-up-user-steps";
|
||||
import { hasEnvVars } from "@/utils/supabase/check-env-vars";
|
||||
|
||||
export default async function Home() {
|
||||
return (
|
||||
<>
|
||||
<Hero />
|
||||
<main className="flex-1 flex flex-col gap-6 px-4">
|
||||
<h2 className="font-medium text-xl mb-4">Next steps</h2>
|
||||
{hasEnvVars ? <SignUpUserSteps /> : <ConnectSupabaseSteps />}
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user