Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ const geistMono = Geist_Mono({
});

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Next.js Auth Starter",
description:
"A simple authentication starter using Next.js App Router, Auth.js, and ShadCN UI.",
};

export default function RootLayout({
Expand All @@ -23,7 +24,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang='en'>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
Expand Down
2 changes: 1 addition & 1 deletion components/protectedRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function ProtectedLayout({ children }: { children: ReactNode }) {
<div className='flex flex-col justify-center items-center min-h-screen'>
<div className='top-4 right-4 absolute'>
<Button variant='destructive' onClick={handleSignOut}>
Logout
SignOut
</Button>
</div>
<div className='bg-white shadow p-6 rounded-lg w-full max-w-md'>
Expand Down