Skip to content

Commit 10a83cd

Browse files
committed
feat: Changed logo name and updated the logo image asset
1 parent a388b6f commit 10a83cd

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

public/gitmonclosewhite.png

55.8 KB
Loading

src/components/layout/Header.tsx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,30 @@ import { ThemeToggle } from '@/components/theme/ThemeToggle'
77
import { useSearchStore } from '@/stores'
88
import { Button } from '../ui/button'
99
import { Search, User } from 'lucide-react'
10+
import { AnimatedLogo } from '../ui/animated-logo'
1011

1112

1213
export 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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
}

0 commit comments

Comments
 (0)