a tool for shared writing and social publishing

add an og image

+14 -9
+14 -9
app/layout.tsx
··· 12 12 13 13 export const metadata = { 14 14 title: "Leaflet", 15 - description: "tiny interconnected social documents", 15 + description: "Read and publish on the Atmosphere", 16 16 metadataBase: new URL(`https://leaflet.pub`), 17 + openGraph: { 18 + images: ["/open-graph.png"], 19 + }, 17 20 appleWebApp: { 18 21 title: "Leaflet", 19 22 statusBarStyle: "black-translucent", ··· 48 51 variable: "--font-quattro", 49 52 }); 50 53 51 - export default async function RootLayout( 52 - { 53 - children, 54 - }: { 55 - children: React.ReactNode; 56 - } 57 - ) { 54 + export default async function RootLayout({ 55 + children, 56 + }: { 57 + children: React.ReactNode; 58 + }) { 58 59 let headersList = await headers(); 59 60 let ipLocation = headersList.get("X-Vercel-IP-Country"); 60 61 let acceptLanguage = headersList.get("accept-language"); ··· 80 81 <InitialPageLoad> 81 82 <PopUpProvider> 82 83 <IdentityProviderServer> 83 - <RequestHeadersProvider country={ipLocation} language={acceptLanguage} timezone={ipTimezone}> 84 + <RequestHeadersProvider 85 + country={ipLocation} 86 + language={acceptLanguage} 87 + timezone={ipTimezone} 88 + > 84 89 <ViewportSizeLayout>{children}</ViewportSizeLayout> 85 90 <RouteUIStateManager /> 86 91 </RequestHeadersProvider>
public/open-graph.png

This is a binary file and will not be displayed.