Skip to content

Commit

Permalink
feat(web): simple landing page for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Nov 5, 2023
1 parent c345878 commit afe2e8b
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions apps/nextjs/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@
// import { AuthShowcase } from "./_components/auth-showcase";
"use client";

import { SignIn, SignOutButton, useUser } from "@clerk/nextjs";

import { api } from "~/utils/api";

export const runtime = "edge";

export default function HomePage() {
const { isSignedIn } = useUser();
const { data } = api.product.showProduct.useQuery({
id: "313501f1-7be4-11ee-a239-7a04ac76345d",
});
console.log(data);
return (
<main className="flex h-screen flex-col items-center bg-gradient-to-b from-[#2e026d] to-[#15162c] text-white">
<div className="container mt-12 flex flex-col items-center justify-center gap-4 py-8">
<h1 className="text-5xl font-extrabold tracking-tight sm:text-[5rem]">
Create <span className="text-pink-400">T3</span> Turbo
</h1>
{/* <SignIn /> */}
{/* <AuthShowcase /> */}

{/* <CreatePostForm />
<div className="h-[40vh] w-full max-w-2xl overflow-y-scroll">
<Suspense
fallback={
<div className="flex w-full flex-col gap-4">
<PostCardSkeleton />
<PostCardSkeleton />
<PostCardSkeleton />
</div>
}
>
<PostList />
</Suspense>
</div> */}
{isSignedIn ? <SignOutButton /> : <SignIn />}
</div>
</main>
);
Expand Down

0 comments on commit afe2e8b

Please sign in to comment.