mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-03 10:13:47 +10:00
fix: add missing twitter:url meta tag across social meta sites
Also fill in twitter:title/twitter:description on the ATS checker page, matching its existing og: tags.
This commit is contained in:
@@ -32,6 +32,7 @@ export const createResumeSocialMeta = ({ canonicalUrl, title, description, image
|
||||
{ property: "og:image", content: imageUrl },
|
||||
// X only reads these as `name`, not `property`
|
||||
{ name: "twitter:card", content: "summary_large_image" },
|
||||
{ name: "twitter:url", content: canonicalUrl },
|
||||
{ name: "twitter:title", content: title },
|
||||
{ name: "twitter:description", content: description },
|
||||
{ name: "twitter:image", content: imageUrl },
|
||||
|
||||
@@ -77,6 +77,7 @@ export const Route = createRootRouteWithContext<RouterContext>()({
|
||||
// Twitter Tags — X only reads these as `name`, not `property`
|
||||
{ name: "twitter:image", content: `${appUrl}/opengraph/banner.jpg` },
|
||||
{ name: "twitter:card", content: "summary_large_image" },
|
||||
{ name: "twitter:url", content: appUrl },
|
||||
{ name: "twitter:title", content: title },
|
||||
{ name: "twitter:description", content: description },
|
||||
// OpenGraph Tags
|
||||
|
||||
@@ -36,6 +36,9 @@ export const Route = createFileRoute("/_home/ats-checker")({
|
||||
{ property: "og:type", content: "website" },
|
||||
{ property: "og:image", content: imageUrl },
|
||||
{ name: "twitter:card", content: "summary_large_image" },
|
||||
{ name: "twitter:url", content: canonicalUrl },
|
||||
{ name: "twitter:title", content: PAGE_TITLE },
|
||||
{ name: "twitter:description", content: PAGE_DESCRIPTION },
|
||||
{ name: "twitter:image", content: imageUrl },
|
||||
],
|
||||
links: [{ rel: "canonical", href: canonicalUrl }],
|
||||
|
||||
Reference in New Issue
Block a user