Skip to content

Commit f7956a7

Browse files
committed
add explore header
1 parent d725cf5 commit f7956a7

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

components/Header.tsx

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
import Link from "next/link";
2-
import Github from "./Github";
1+
import Logo from "./Logo";
2+
import { Button } from "./ui/button";
33

44
export default function Header() {
55
return (
6-
<header className="flex justify-between items-center w-full mt-5 border-b-2 pb-7 sm:px-4 px-2">
7-
<Link href="/" className="flex space-x-3">
8-
<h1 className="sm:text-3xl text-2xl font-bold ml-2 tracking-tight">
9-
Theme Font Pair
10-
</h1>
11-
</Link>
12-
<a
13-
className="flex max-w-fit items-center justify-center space-x-2 rounded-full border border-gray-300 bg-white px-4 py-2 text-sm text-gray-600 shadow-md transition-colors hover:bg-gray-100"
14-
href="https://github.com/ahmedsomaa/theme-font-pair"
15-
target="_blank"
16-
rel="noopener noreferrer"
17-
>
18-
<Github />
19-
<p>Star on GitHub</p>
20-
</a>
21-
</header>
6+
<nav className="w-full flex justify-center h-16">
7+
<div className="w-full flex justify-between items-center text-sm text-foreground">
8+
<Logo color="text-[#007ACC]" />
9+
<Button asChild size="default">
10+
<a
11+
target="_blank"
12+
rel="noopener noreferrer"
13+
href="https://github.com/ahmedsomaa"
14+
>
15+
Submit
16+
</a>
17+
</Button>
18+
</div>
19+
</nav>
2220
);
2321
}

0 commit comments

Comments
 (0)