()
| 5 | import Link from "next/link"; |
| 6 | |
| 7 | function Header() { |
| 8 | return ( |
| 9 | <header className="relative mx-auto flex w-full shrink-0 items-center justify-center py-6"> |
| 10 | <Link href="/" className="flex flex-row items-center gap-3"> |
| 11 | <img |
| 12 | src="/fullLogo.png" |
| 13 | alt="" |
| 14 | className="mx-auto h-7 object-contain" |
| 15 | /> |
| 16 | <svg |
| 17 | width="1" |
| 18 | height="20" |
| 19 | viewBox="0 0 1 20" |
| 20 | fill="none" |
| 21 | xmlns="http://www.w3.org/2000/svg" |
| 22 | > |
| 23 | <path d="M0.25 0V19.5" stroke="#C2C2C2" strokeWidth="0.5" /> |
| 24 | </svg> |
| 25 | |
| 26 | <img |
| 27 | src="/together.svg" |
| 28 | alt="" |
| 29 | className="mx-auto h-[30px] object-contain" |
| 30 | /> |
| 31 | </Link> |
| 32 | |
| 33 | <div className="absolute right-3"> |
| 34 | <a |
| 35 | href="https://github.com/nutlope/llamacoder" |
| 36 | target="_blank" |
| 37 | className="ml-auto hidden items-center gap-3 rounded-xl border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-700 sm:flex" |
| 38 | > |
| 39 | <GithubIcon className="h-[18px] w-[18px]" /> |
| 40 | <div className="flex items-center gap-1.5"> |
| 41 | <span className="font-semibold text-gray-900">6k stars</span> |
| 42 | </div> |
| 43 | </a> |
| 44 | </div> |
| 45 | </header> |
| 46 | ); |
| 47 | } |
| 48 | |
| 49 | export default memo(Header); |
nothing calls this directly
no outgoing calls
no test coverage detected