mirror of
https://github.com/D4M13N-D3V/neroshitron.git
synced 2025-06-16 13:19:17 +00:00
25 lines
659 B
TypeScript
25 lines
659 B
TypeScript
import { createClient } from "@/utils/supabase/server";
|
|
|
|
export default async function Index() {
|
|
const canInitSupabaseClient = () => {
|
|
// This function is just for the interactive tutorial.
|
|
// Feel free to remove it once you have Supabase connected.
|
|
try {
|
|
createClient();
|
|
return true;
|
|
} catch (e) {
|
|
return false;
|
|
}
|
|
};
|
|
|
|
const isSupabaseConnected = canInitSupabaseClient();
|
|
|
|
return (
|
|
<div className="flex-1 w-full flex flex-col gap-20 items-center animate-in">
|
|
<h1>This is unprotected.</h1>
|
|
</div>
|
|
// <div className="flex-1 w-full flex flex-col gap-20 items-center animate-in">
|
|
// </div>
|
|
);
|
|
}
|