update metadata & use logo as a link to root
This commit is contained in:
@@ -5,12 +5,13 @@ import { ThemeProvider } from "next-themes";
|
||||
import { ModeToggle } from "@/components/mode-toggle";
|
||||
import SignIn from "./components/sign-in";
|
||||
import AuthSessionProvider from "@/components/SessionProvider";
|
||||
import Link from "next/link"
|
||||
|
||||
const geist = Geist({ subsets: ['latin', 'cyrillic'], variable: "--font-geist-sans" })
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'iCal PWA',
|
||||
description: 'Minimal PWA for calendar events',
|
||||
title: 'Local iCal',
|
||||
description: 'Local iCal editor for calendar events',
|
||||
creator: "Dmytro Stanchiev",
|
||||
}
|
||||
|
||||
@@ -32,7 +33,9 @@ export default function RootLayout({
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<header className="dark:text-white text-gray-900 px-4 py-3 font-bold shadow flex justify-between items-center-safe">
|
||||
<Link href={"/"}>
|
||||
{metadata.title as string || "iCal PWA"}
|
||||
</Link>
|
||||
<div className="flex flex-row gap-2">
|
||||
<SignIn />
|
||||
<ModeToggle />
|
||||
|
||||
Reference in New Issue
Block a user