Skip to content

Commit d725cf5

Browse files
committed
add index navbar
1 parent 3f84bd9 commit d725cf5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

components/Navbar.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import Logo from "./Logo";
2+
import Github from "./icons/Github";
3+
4+
export default function Navbar() {
5+
return (
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-white" />
9+
<a
10+
target="_blank"
11+
rel="noopener noreferrer"
12+
href="https://github.com/ahmedsomaa/theme-font-pair"
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+
>
15+
<Github />
16+
<p>Star on GitHub</p>
17+
</a>
18+
</div>
19+
</nav>
20+
);
21+
}

0 commit comments

Comments
 (0)