mirror of
https://github.com/yusufipk/RepoHub.git
synced 2026-09-11 18:46:07 +00:00
feat: Add favicon and logo, update header to use the new logo, and configure app icons.
This commit is contained in:
@@ -8,6 +8,11 @@ const inter = Inter({ subsets: ['latin'] })
|
|||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: 'RepoHub - Cross-Platform Package Manager',
|
title: 'RepoHub - Cross-Platform Package Manager',
|
||||||
description: 'Simplify software installation across Linux, Windows, and macOS with official repositories',
|
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({
|
export default function RootLayout({
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { useTheme } from '@/hooks/useTheme'
|
|||||||
import { useLocale } from '@/contexts/LocaleContext'
|
import { useLocale } from '@/contexts/LocaleContext'
|
||||||
import { SupportModal } from '@/components/SupportModal'
|
import { SupportModal } from '@/components/SupportModal'
|
||||||
import { Sun, Moon, Monitor, Globe, Heart } from 'lucide-react'
|
import { Sun, Moon, Monitor, Globe, Heart } from 'lucide-react'
|
||||||
|
import Image from 'next/image'
|
||||||
|
|
||||||
export function Header() {
|
export function Header() {
|
||||||
const { theme, isDark, toggleTheme } = useTheme()
|
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">
|
<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="container flex h-14 items-center justify-between">
|
||||||
<div className="flex items-center space-x-2">
|
<div className="flex items-center space-x-1">
|
||||||
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground">
|
<div className="relative h-12 w-12">
|
||||||
<span className="text-sm font-bold">RH</span>
|
<Image
|
||||||
|
src="/logo.png"
|
||||||
|
alt="RepoHub Logo"
|
||||||
|
fill
|
||||||
|
className="object-contain"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span className="hidden font-bold sm:inline-block">
|
<span className="hidden font-bold sm:inline-block">
|
||||||
RepoHub
|
RepoHub
|
||||||
|
|||||||
Reference in New Issue
Block a user