[#12] Added site logo

This commit is contained in:
Justin Walrath 2025-05-13 21:50:11 -04:00
parent 1e13484342
commit 347032d138
2 changed files with 28910 additions and 2 deletions

28904
public/site-icon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@ -1,6 +1,7 @@
"use client";
import { useRouter } from "next/navigation";
import Image from "next/image";
type MainProps = {
children: React.ReactNode;
@ -15,8 +16,11 @@ export default function Main({ children }: MainProps) {
return (
<div className="min-h-screen flex flex-col">
<header className="bg-purple-300 py-4 sticky top-0 z-10">
<h1 className="text-center text-2xl font-bold cursor-pointer" onClick={handleHeaderClick}>Ever Givin Pod</h1>
<header className="bg-purple-300 py-4 sticky top-0 z-10 flex items-center justify-center">
<div className="flex items-center cursor-pointer" onClick={handleHeaderClick}>
<Image src="/site-icon.svg" alt="Site Icon" width={32} height={32} className="mr-2" />
<h1 className="text-2xl font-bold">Ever Givin Pod</h1>
</div>
</header>
<main className="flex-grow">
{children}