Skip to content

Commit

Permalink
Made navbar title clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhanasand committed Feb 10, 2025
1 parent ceb7871 commit d37c25e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { Metadata } from "next"
import "./globals.css"
import Link from "next/link"

export const metadata: Metadata = {
title: "Library Safety Manager",
Expand All @@ -11,7 +12,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<html lang="en">
<body className="bg-gray-50">
<header className="p-4 bg-blue-500 text-white text-center">
<h1 className="text-lg font-semibold">Library Safety Manager</h1>
<Link href="/dashboard" className="text-lg font-semibold">Library Safety Manager</Link>
</header>
<main className="container mx-auto p-4">{children}</main>
</body>
Expand Down

0 comments on commit d37c25e

Please sign in to comment.