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:
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -12,6 +12,11 @@ export const Route = createRootRoute({
|
|||||||
{ charSet: 'utf-8' },
|
{ charSet: 'utf-8' },
|
||||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
||||||
{ name: 'theme-color', content: '#0a0a0a' },
|
{ 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: [
|
links: [
|
||||||
{ rel: 'icon', href: '/favicon.ico', sizes: '48x48' },
|
{ rel: 'icon', href: '/favicon.ico', sizes: '48x48' },
|
||||||
|
|||||||
Reference in New Issue
Block a user