File size: 891 Bytes
63c7991
 
 
 
 
 
 
 
 
 
b98ded8
63c7991
 
 
b98ded8
63c7991
9d1a465
63c7991
9d1a465
63c7991
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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">
        <h1 className="text-xl tracking-tight">
          <span className="text-blue-600">Gem</span>Coder
        </h1>
      </Link>
      <a
        href="https://github.com/osanseviero/gemcoder"
        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>
  );
}