From 227a9f0ae92db5b3887f4eda9f41cbfbedb6134b Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Wed, 20 May 2026 21:29:28 +0200 Subject: [PATCH] chore(seo): add twitter card metadata openGraph already has the 1200x630 hero image. Add matching twitter metadata so X renders the full card instead of falling back to a generic preview. --- src/app/layout.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9fc580d..de54730 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -31,6 +31,13 @@ export const metadata: Metadata = { { url: '/hero.jpg', width: 1200, height: 630, alt: 'DiffractWD application screenshot' }, ], }, + twitter: { + card: 'summary_large_image', + title: 'DiffractWD - Free Powder Diffraction Software', + description: + 'Free open-source software for powder diffraction pattern manipulation, simulation, and visualization.', + images: ['/hero.jpg'], + }, alternates: { canonical: '/', },