feat(website): add OG image for social sharing

Copy og-image.png to public assets and add OpenGraph and Twitter Card
meta tags to the root layout so link previews work across all pages.
This commit is contained in:
Mohamed Boudra
2026-03-15 14:15:51 +07:00
parent 745f2e2768
commit a1d0492d8d
2 changed files with 5 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -12,6 +12,11 @@ export const Route = createRootRoute({
{ charSet: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'theme-color', content: '#0a0a0a' },
{ property: 'og:site_name', content: 'Paseo' },
{ property: 'og:type', content: 'website' },
{ property: 'og:image', content: 'https://paseo.sh/og-image.png' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:image', content: 'https://paseo.sh/og-image.png' },
],
links: [
{ rel: 'icon', href: '/favicon.ico', sizes: '48x48' },