Skip to content

Commit 1fcd800

Browse files
committed
feat(seo): add papi simulator logo and opengraph image
1 parent 40ce5bb commit 1fcd800

File tree

3 files changed

+73
-3
lines changed

3 files changed

+73
-3
lines changed

public/favicon.svg

Lines changed: 13 additions & 0 deletions
Loading

public/og-image-en.svg

Lines changed: 33 additions & 0 deletions
Loading

src/app/layout.tsx

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,32 @@ const geistMono = Geist_Mono({
2121
});
2222

2323
export const metadata: Metadata = {
24-
title: "Polkadot API Playground",
25-
description: "Polkadot API Playground by @codingsh",
24+
metadataBase: new URL("https://papi-simulator.aipop.fun"),
25+
title: "PAPI Simulator: Just Ship It.",
26+
description: "The React Playground for Polkadot. Build, test, and launch dApps instantly with zero-config, community templates, and production-ready exports.",
27+
icons: {
28+
icon: '/favicon.svg',
29+
},
30+
openGraph: {
31+
title: "PAPI Simulator: Just Ship It.",
32+
description: "The React Playground for Polkadot.",
33+
url: "https://papi-simulator.aipop.fun",
34+
siteName: "PAPI Simulator",
35+
images: [
36+
{
37+
url: "/og-image-en.svg",
38+
width: 1200,
39+
height: 630,
40+
},
41+
],
42+
type: "website",
43+
},
44+
twitter: {
45+
card: "summary_large_image",
46+
title: "PAPI Simulator: Just Ship It.",
47+
description: "The React Playground for Polkadot.",
48+
images: ["/og-image-en.svg"],
49+
},
2650
};
2751

2852
export default function RootLayout({
@@ -31,7 +55,7 @@ export default function RootLayout({
3155
children: React.ReactNode;
3256
}>) {
3357
return (
34-
<html lang="en">
58+
<html lang="en">
3559
<body
3660
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
3761
>

0 commit comments

Comments
 (0)