feat: Add favicon and logo, update header to use the new logo, and configure app icons.

This commit is contained in:
Yusuf İpek
2025-11-20 14:35:42 +03:00
parent 9c38be3a88
commit fbb3664880
2 changed files with 54 additions and 43 deletions
+5
View File
@@ -8,6 +8,11 @@ const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = {
title: 'RepoHub - Cross-Platform Package Manager',
description: 'Simplify software installation across Linux, Windows, and macOS with official repositories',
icons: {
icon: '/logo.png',
shortcut: '/logo.png',
apple: '/logo.png',
},
}
export default function RootLayout({
+9 -3
View File
@@ -6,6 +6,7 @@ import { useTheme } from '@/hooks/useTheme'
import { useLocale } from '@/contexts/LocaleContext'
import { SupportModal } from '@/components/SupportModal'
import { Sun, Moon, Monitor, Globe, Heart } from 'lucide-react'
import Image from 'next/image'
export function Header() {
const { theme, isDark, toggleTheme } = useTheme()
@@ -54,9 +55,14 @@ export function Header() {
<>
<header className="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
<div className="container flex h-14 items-center justify-between">
<div className="flex items-center space-x-2">
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground">
<span className="text-sm font-bold">RH</span>
<div className="flex items-center space-x-1">
<div className="relative h-12 w-12">
<Image
src="/logo.png"
alt="RepoHub Logo"
fill
className="object-contain"
/>
</div>
<span className="hidden font-bold sm:inline-block">
RepoHub