File tree Expand file tree Collapse file tree 3 files changed +21
-11
lines changed
Expand file tree Collapse file tree 3 files changed +21
-11
lines changed Original file line number Diff line number Diff line change @@ -7,36 +7,30 @@ import { ThemeToggle } from '@/components/theme/ThemeToggle'
77import { useSearchStore } from '@/stores'
88import { Button } from '../ui/button'
99import { Search , User } from 'lucide-react'
10+ import { AnimatedLogo } from '../ui/animated-logo'
1011
1112
1213export function Header ( ) {
1314 const {
1415 setSearchModalOpen,
15-
16- } = useSearchStore ( )
1716
17+ } = useSearchStore ( )
1818
1919 const router = useRouter ( )
20-
21-
22-
23-
24-
2520 return (
2621 < header className = "bg-background border-b border-border sticky top-0 z-50" >
2722 < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
28- < div className = "flex justify-between items-center py-4 " >
23+ < div className = "flex justify-between items-center py-0.5 " >
2924 < div className = "flex items-center space-x-4" >
30- < h1 className = "text-2xl font-bold text-foreground" > GitHubMon</ h1 >
31- < Badge variant = "secondary" > OSS Analytics</ Badge >
25+ < AnimatedLogo />
3226 </ div >
3327 { /* Search Bar */ }
3428 < Button
3529 variant = "outline"
3630 onClick = { ( ) => setSearchModalOpen ( true ) }
3731 className = "w-64 flex justify-start "
3832 >
39- < Search className = "w-6 h-6 mr-2 " />
33+ < Search className = "w-20 h-20 mr-5 " />
4034 Search GitHub ...
4135 </ Button >
4236
Original file line number Diff line number Diff line change 1+ 'use client'
2+
3+ import Image from 'next/image'
4+
5+ export function AnimatedLogo ( ) {
6+ return (
7+ < div className = "relative w-32 h-20" >
8+ < Image
9+ src = "/gitmonclosewhite.png"
10+ alt = "GitMon Logo"
11+ fill
12+ className = "object-contain"
13+ />
14+ </ div >
15+ )
16+ }
You can’t perform that action at this time.
0 commit comments