From 2afebd23b69d7eb623457583e31e63a415a84b1a Mon Sep 17 00:00:00 2001 From: raineer Date: Tue, 28 Jul 2026 21:40:36 +0800 Subject: [PATCH 1/2] CBP-135 follow-up: metadataBase, JSON-LD, H1 fixes, alt-text fixesauto extend membership --- .../app/(marketing)/_components/JsonLd.tsx | 12 ++ .../_components/landing/LandingDiamond.tsx | 4 +- .../_components/landing/LandingMovingText.tsx | 10 +- .../landing/LandingWhyChoose-us.tsx | 2 +- .../_components/landing/LandingWhyChoose.tsx | 50 +++---- .../_components/AiIntegrationSolutions.tsx | 8 +- .../careers/_components/CodevsProject.tsx | 20 ++- .../careers/_components/JobListings.tsx | 52 ++++++- .../codevs/_components/CodevsProject.tsx | 26 ++-- .../_components/CodevsProject.tsx | 26 ++-- .../app/(marketing)/profiles/[id]/page.tsx | 19 ++- .../app/(marketing)/services/page.tsx | 26 +++- apps/codebility/app/layout.tsx | 141 +++++++++++------- 13 files changed, 266 insertions(+), 130 deletions(-) create mode 100644 apps/codebility/app/(marketing)/_components/JsonLd.tsx diff --git a/apps/codebility/app/(marketing)/_components/JsonLd.tsx b/apps/codebility/app/(marketing)/_components/JsonLd.tsx new file mode 100644 index 000000000..e71b013c9 --- /dev/null +++ b/apps/codebility/app/(marketing)/_components/JsonLd.tsx @@ -0,0 +1,12 @@ +// CBP-135 follow-up: shared JSON-LD renderer. +// Usage: +export default function JsonLd({ data }: { data: Record }) { + return ( + " break out of this tag and run + // on a public page with no login required. "\u003c" is valid JSON and + // parses back to "<", so schema.org validators (e.g. Google's Rich + // Results tool) still read it correctly. + dangerouslySetInnerHTML={{ __html: JSON.stringify(data).replace(/ ); -} +} \ No newline at end of file