Skip to content

Commit

Permalink
Add og images
Browse files Browse the repository at this point in the history
  • Loading branch information
luistorres committed May 8, 2024
1 parent 93a633f commit e1b13cd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/web-app/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Footer, Topbar } from '@/app/_ui/components';
import { Providers } from './_providers';
import Image from 'next/image';
import backgroundDesktop from '../public/background-desktop.png';
import Head from 'next/head';

const jsonLd = {
'@context': 'https://schema.org',
Expand Down Expand Up @@ -58,10 +59,12 @@ export default function RootLayout({
}>) {
return (
<html lang="en" className={`${nohemi.variable} font-nohemi`}>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
/>
<Head>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
/>
</Head>
<body className={`relative overflow-hidden bg-mono-900`}>
<Image
alt="background"
Expand Down
1 change: 1 addition & 0 deletions packages/web-app/app/opengraph-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Citizend: Token Launch Platform
Binary file added packages/web-app/app/opengraph-image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/web-app/app/twitter-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Citizend: Token Launch Platform
Binary file added packages/web-app/app/twitter-image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e1b13cd

Please sign in to comment.