Skip to content

Commit 3879a55

Browse files
authored
add og image to re:invent page (supabase#40898)
* add og to re:invent page * og * fix * fix * fix * url
1 parent 458368c commit 3879a55

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

apps/www/data/aws-reinvent-2025.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Image } from 'ui'
44
import dynamic from 'next/dynamic'
55
import MainProducts from './MainProducts'
66
import { PRODUCT_SHORTNAMES } from 'shared-data/products'
7+
import { SITE_ORIGIN } from '~/lib/constants'
78

89
const AuthVisual = dynamic(() => import('components/Products/AuthVisual'))
910
const FunctionsVisual = dynamic(() => import('components/Products/FunctionsVisual'))
@@ -53,6 +54,7 @@ const data = {
5354
metaTitle: 'Supabase at AWS re:Invent 2025 | December 1-4, Las Vegas',
5455
metaDescription:
5556
'Meet Supabase at AWS re:Invent 2025. Visit us at Booth #1857, join our exclusive events, and learn how to build in a weekend and scale to millions.',
57+
ogImage: `${SITE_ORIGIN}/images/og/re_invent.png`,
5658
},
5759
heroSection: {
5860
id: 'hero',

apps/www/pages/aws-reinvent-2025.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ const AWSReInvent2025: NextPage = () => {
2121
openGraph={{
2222
title: data.metadata.metaTitle,
2323
description: data.metadata.metaDescription,
24-
url: `https://supabase.com/aws-reinvent-2025`,
24+
images: [
25+
{
26+
url: data.metadata.ogImage,
27+
width: 1280,
28+
height: 685,
29+
alt: 'Supabase AWS Re:Invent 2025',
30+
},
31+
],
2532
}}
2633
/>
2734
<Layout className="overflow-visible">
25.8 KB
Loading

0 commit comments

Comments
 (0)