osanseviero's picture
Upload 56 files
9d1a465 verified
raw
history blame contribute delete
964 Bytes
import Image from "next/image";
import Link from "next/link";
import logo from "../public/logo.svg";
import GithubIcon from "./github-icon";
export default function Header() {
return (
<header className="relative mx-auto mt-5 flex w-full items-center justify-center px-2 pb-7 sm:px-4">
<Link href="/" className="absolute flex items-center gap-2">
<Image alt="header text" src={logo} className="h-5 w-5" />
<h1 className="text-xl tracking-tight">
<span className="text-blue-600">Gemini</span>Coder
</h1>
</Link>
<a
href="https://github.com/osanseviero/geminicoder"
target="_blank"
className="ml-auto hidden items-center gap-3 rounded-2xl bg-white dark:bg-[#1E293B] dark:text-gray-100 px-6 py-2 sm:flex border border-gray-200 dark:border-gray-700"
>
<GithubIcon className="h-4 w-4 dark:text-gray-100" />
<span>GitHub Repo</span>
</a>
</header>
);
}