File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change 1
- import Link from "next/link " ;
2
- import Github from "./Github " ;
1
+ import Logo from "./Logo " ;
2
+ import { Button } from "./ui/button " ;
3
3
4
4
export default function Header ( ) {
5
5
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 >
22
20
) ;
23
21
}
You can’t perform that action at this time.
0 commit comments