From acb2d50c8dd4481a06556c37a3cf9f5e26c44107 Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Wed, 3 Sep 2025 21:28:07 -0600 Subject: [PATCH 01/41] feat: add JSON-LD structured data for the Ethereum 10th Anniversary page --- app/[locale]/10years/page.tsx | 636 ++++++++++++++++++++-------------- 1 file changed, 370 insertions(+), 266 deletions(-) diff --git a/app/[locale]/10years/page.tsx b/app/[locale]/10years/page.tsx index 45b105d83e7..050149e58f2 100644 --- a/app/[locale]/10years/page.tsx +++ b/app/[locale]/10years/page.tsx @@ -110,309 +110,413 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => { (holder) => !isAddressFiltered(holder.address) ) + // Separate JSON-LD structured data blocks for better Google parsing + const webPageJsonLd = { + "@context": "https://schema.org", + "@type": "WebPage", + "@id": `https://ethereum.org/${locale}/10years/`, + name: t("page-10-year-anniversary-meta-title"), + description: t("page-10-year-anniversary-meta-description"), + url: `https://ethereum.org/${locale}/10years/`, + inLanguage: locale, + breadcrumb: { + "@type": "BreadcrumbList", + itemListElement: [ + { + "@type": "ListItem", + position: 1, + name: "Home", + item: `https://ethereum.org/${locale}/`, + }, + { + "@type": "ListItem", + position: 2, + name: t("page-10-year-anniversary-meta-title"), + item: `https://ethereum.org/${locale}/10years/`, + }, + ], + }, + publisher: { + "@type": "Organization", + name: "Ethereum Foundation", + url: "https://ethereum.org", + logo: { + "@type": "ImageObject", + url: "https://ethereum.org/favicon-32x32.png", + }, + }, + } + + const eventJsonLd = { + "@context": "https://schema.org", + "@type": "Event", + name: "Ethereum 10th Anniversary", + description: t("page-10-year-hero-description"), + startDate: "2025-07-30T15:00:00Z", + endDate: "2025-07-30T15:26:13Z", + eventStatus: "https://schema.org/EventScheduled", + organizer: { + "@type": "Organization", + name: "Ethereum Foundation", + url: "https://ethereum.org", + }, + location: { + "@type": "VirtualLocation", + name: "Online", + url: `https://ethereum.org/${locale}/10years/`, + }, + image: ["https://ethereum.org/images/10-year-anniversary/10-year-og.png"], + url: `https://ethereum.org/${locale}/10years/`, + } + + const videoJsonLd = { + "@context": "https://schema.org", + "@type": "VideoObject", + name: t("page-10-year-livestream-video-title"), + description: t("page-10-year-livestream-title"), + embedUrl: "https://www.youtube.com/embed/igPIMF1p5Bo", + contentUrl: "https://www.youtube.com/watch?v=igPIMF1p5Bo", + thumbnailUrl: + "https://ethereum.org/images/10-year-anniversary/10-year-og.png", + uploadDate: "2025-07-30T15:26:13Z", + duration: "PT1H30M", + publisher: { + "@type": "Organization", + name: "Ethereum Foundation", + url: "https://ethereum.org", + logo: { + "@type": "ImageObject", + url: "https://ethereum.org/favicon-32x32.png", + }, + }, + } + return ( - - - -
-
-
-

- {t("page-10-year-hero-title")} -

-
+ <> +