Skip to content

Commit

Permalink
remove/search-header
Browse files Browse the repository at this point in the history
  • Loading branch information
ArunGovil committed Dec 6, 2022
1 parent cb88809 commit e8a8da8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
import Image from "next/image";
import Link from "next/link";
import SecondarySearch from "./SecondarySearch";

interface HeaderProps {
showSearch: boolean;
}
interface HeaderProps {}

export default function Header({ showSearch }: HeaderProps) {
export default function Header() {
const logo = require("../public/img/cmdr.png");
return (
<nav className="flex justify-between p-4 items-center w-full max-w-5xl">
<Link href="/">
<Image src={logo} alt="cmdr" className="w-12" />
</Link>
{showSearch && <SecondarySearch />}
<a target="_blank" rel="noreferrer" href="https://github.com/ArunGovil">
<p className="font-medium text-sm hover:text-orange-400">@github</p>
</a>
Expand Down

0 comments on commit e8a8da8

Please sign in to comment.