added a dynamic favicon

This commit is contained in:
2025-02-25 16:54:58 -08:00
parent 4e4c7a68f3
commit fae1be2b39
3 changed files with 14 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

+14
View File
@@ -40,6 +40,20 @@ export const metadata: Metadata = {
locale: 'en_US',
type: 'website',
},
icons: {
icon: [
{
media: '(prefers-color-scheme: light)',
url: '/images/resources/logo_L.png',
href: '/images/resources/logo_L.png',
},
{
media: '(prefers-color-scheme: dark)',
url: '/images/resources/logo_dark.png',
href: '/images/resources/logo_dark.png',
},
],
}
};
export default function RootLayout({