Skip to content

Commit 8e35506

Browse files
committed
OG and favicon
1 parent be2592e commit 8e35506

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

docs/public/Logo Icon.png

16.1 KB
Loading

docs/public/Logo.png

20.9 KB
Loading

docs/public/OG image.png

32.8 KB
Loading

docs/src/app/layout.tsx

+9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import type { Metadata } from 'next';
2+
import logoIcon from '../../public/Logo Icon.png';
3+
import ogImage from '../../public/OG image.png';
24
import './globals.css';
35
import './markdown.css';
46

@@ -9,6 +11,10 @@ export default function RootLayout({
911
}>) {
1012
return (
1113
<html lang="en">
14+
<head>
15+
<link rel="icon" href={logoIcon.src} sizes="any" />
16+
<link rel="apple-touch-icon" href={logoIcon.src} sizes="any" />
17+
</head>
1218
<body className="antialiased">
1319
{children}
1420
<div className="container max-w-3xl mx-auto p-4 text-sm text-gray-400">
@@ -31,4 +37,7 @@ export const metadata: Metadata = {
3137
default: 'React Multi Page Form',
3238
},
3339
description: 'A multi-page form library for React',
40+
openGraph: {
41+
images: [ogImage.src],
42+
},
3443
};

0 commit comments

Comments
 (0)