We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1abcd2b commit 5c8f3d6Copy full SHA for 5c8f3d6
src/components/Header.tsx
@@ -3,14 +3,14 @@ import { NavLink } from "react-router";
3
export default function Header() {
4
return (
5
<header className="sticky top-0 bg-primary/80 backdrop-blur-lg py-4 flex justify-around items-center">
6
- <div className="flex gap-2 items-center">
+ <NavLink className="flex gap-2 items-center" to="/">
7
<img
8
className="w-16"
9
src={"/images/coffee_cup.jpg"}
10
alt="Code Cafe Logo"
11
/>
12
<h1 className="text-secondary text-3xl">Code Cafe</h1>
13
- </div>
+ </NavLink>
14
<nav>
15
<ul className="flex list-none gap-3 text-secondary">
16
<li>
0 commit comments