Skip to content

Commit 59f1760

Browse files
committed
Add favicons
1 parent 6e94f78 commit 59f1760

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

app/layout.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@ import { RootProvider } from 'fumadocs-ui/provider/next';
22
import './global.css';
33
import { Inter } from 'next/font/google';
44
import Script from 'next/script';
5+
import type { Metadata } from 'next';
56

67
const inter = Inter({
78
subsets: ['latin'],
89
});
910

11+
export const metadata: Metadata = {
12+
icons: {
13+
apple: '/apple-touch-icon.png',
14+
icon: [
15+
{ url: '/favicon-32x32.png', sizes: '32x32', type: 'image/png' },
16+
{ url: '/favicon-16x16.png', sizes: '16x16', type: 'image/png' },
17+
],
18+
},
19+
};
20+
1021
export default function Layout({ children }: LayoutProps<'/'>) {
1122
return (
1223
<html lang="en" className={inter.className} suppressHydrationWarning>

public/apple-touch-icon.png

5.54 KB
Loading

public/favicon-16x16.png

872 Bytes
Loading

public/favicon-32x32.png

1.63 KB
Loading

0 commit comments

Comments
 (0)