From 52bd8c193fdf4fca359ca17f7c439332abf44c52 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Thu, 11 Jun 2026 16:09:07 +0300 Subject: docs: refresh website open graph cards --- website/src/components/MarketingLayout.astro | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'website/src/components') diff --git a/website/src/components/MarketingLayout.astro b/website/src/components/MarketingLayout.astro index 9ecd7ac3..4f42318e 100644 --- a/website/src/components/MarketingLayout.astro +++ b/website/src/components/MarketingLayout.astro @@ -4,10 +4,20 @@ interface Props { description: string; canonicalPath: string; ogType?: 'website' | 'article'; + ogImage?: string; + ogImageAlt?: string; } -const { title, description, canonicalPath, ogType = 'website' } = Astro.props; +const { + title, + description, + canonicalPath, + ogType = 'website', + ogImage = '/assets/og-card-v7.png', + ogImageAlt = 'Herdr — One terminal. The whole herd.', +} = Astro.props; const canonicalUrl = new URL(canonicalPath, 'https://herdr.dev').toString(); +const ogImageUrl = new URL(ogImage, 'https://herdr.dev').toString(); --- @@ -25,16 +35,16 @@ const canonicalUrl = new URL(canonicalPath, 'https://herdr.dev').toString(); - + - + - - + + -- cgit v1.2.3