From 2df710df583403cbc5ca7ca386101c321618ad88 Mon Sep 17 00:00:00 2001 From: CinnamonfirJ Date: Sat, 21 Jun 2025 07:04:48 +0100 Subject: [PATCH] Update metadata in layout and change button label to 'SignOut' --- app/layout.tsx | 7 ++++--- components/protectedRoute.tsx | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..74eda09 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -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({ @@ -23,7 +24,7 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - + diff --git a/components/protectedRoute.tsx b/components/protectedRoute.tsx index 27f1317..07ecb86 100644 --- a/components/protectedRoute.tsx +++ b/components/protectedRoute.tsx @@ -12,7 +12,7 @@ export default function ProtectedLayout({ children }: { children: ReactNode }) {