Updated cookies
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Settings } from "lucide-react"
|
||||
import Link from "next/link"
|
||||
import { SearchBar } from "./search-bar"
|
||||
import { ThemeSwitcher } from "./theme-switcher"
|
||||
@@ -10,7 +11,12 @@ export default function Header({ searchBar = false }: { searchBar?: boolean }) {
|
||||
<span className="text-lg font-semibold">HypStats</span>
|
||||
</Link>
|
||||
{searchBar && <SearchBar navbar />}
|
||||
<ThemeSwitcher />
|
||||
<div className="flex gap-2 items-center">
|
||||
<ThemeSwitcher />
|
||||
<Link href="/settings">
|
||||
<Settings />
|
||||
</Link>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user