Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
haru52 committed Jun 15, 2024
1 parent dfc03d1 commit 1b88964
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/_components/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function Hero() {
<div className="max-w-md">
<h1 className="mb-5 text-5xl font-bold">Mecial</h1>
<p className="mb-5">Mecial(ミーシャル)はメタSNSです。</p>
<Link href="api/auth/signin" className="btn btn-primary">
<Link href="/api/auth/signin" className="btn btn-primary">
ログイン
</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function RootLayout({
>
<TRPCReactProvider>
<ThemeProvider>
<Header user={user} currentSocial={currentSocial} />
{/* <Header user={user} currentSocial={currentSocial} /> */}
<main className="grow">{children}</main>
<Footer />
</ThemeProvider>
Expand Down
5 changes: 3 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export default async function Page() {

return (
<div className={clsx({ "container prose mx-auto px-4": session !== null })}>
{session === null ? (
<Hero />
{/* {session === null ? (
<Hero />
) : (
<div className="mt-10">
Expand All @@ -31,7 +32,7 @@ export default async function Page() {
</p>
)}
</div>
)}
)} */}
</div>
);
}

0 comments on commit 1b88964

Please sign in to comment.