From 46bd1f71ae855d4834dab9e725ff7fa4330d8b24 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Fri, 29 May 2026 03:33:05 +0200 Subject: [PATCH] feat: polish review pack and homepage presentation --- .../components/pages/ReviewPacksPage.astro | 141 +++++++++++++----- .../sections/navbar&footer/Navbar.astro | 2 +- .../components/ui/buttons/SecondaryCTA.astro | 10 +- apps/website/src/data_files/site-copy.ts | 77 ++++++++-- 4 files changed, 176 insertions(+), 54 deletions(-) diff --git a/apps/website/src/components/pages/ReviewPacksPage.astro b/apps/website/src/components/pages/ReviewPacksPage.astro index 658205cc..ad73c39d 100644 --- a/apps/website/src/components/pages/ReviewPacksPage.astro +++ b/apps/website/src/components/pages/ReviewPacksPage.astro @@ -133,7 +133,7 @@ const canonicalPath = localizedPath('/platform/review-packs', locale); class="mx-auto max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 2xl:max-w-full" >

+
+
+ + {copy.decisionSampleBadge} + + + + {copy.decisionSampleStatusValue} + +
+
+

+ {copy.decisionSampleTitle} +

+
+ { + copy.decisionSampleRows.map((row: any) => ( +
+
+ {row.label} +
+
+ {row.value} +
+
+ )) + } +
+
+
+
{ copy.decisionCards.map((card: any) => ( @@ -346,7 +389,7 @@ const canonicalPath = localizedPath('/platform/review-packs', locale);
{ copy.audienceCards.map((card: any) => ( -
+

{card.title}

@@ -362,47 +405,77 @@ const canonicalPath = localizedPath('/platform/review-packs', locale);
-
-

- {copy.comparisonTitle} -

-

- {copy.comparisonSubtitle} -

-
+
+
+

+ {copy.comparisonTitle} +

+

+ {copy.comparisonSubtitle} +

+
-
- { - copy.comparisonRows.map((row: any) => ( -
-

- {row.title} -

-
-
-

+

+ +
+ { + copy.comparisonRows.map((row: any) => ( +
+

+ {row.title} +

+
+

{copy.comparisonRawLabel}

-

+

{row.rawExport}

-
-

+

+

{copy.comparisonStoryLabel}

-

- {row.reviewStory} -

+
+ + + + + +

+ {row.reviewStory} +

+
-
-
- )) - } +
+ )) + } +
diff --git a/apps/website/src/components/sections/navbar&footer/Navbar.astro b/apps/website/src/components/sections/navbar&footer/Navbar.astro index f40b981a..64d5e38c 100644 --- a/apps/website/src/components/sections/navbar&footer/Navbar.astro +++ b/apps/website/src/components/sections/navbar&footer/Navbar.astro @@ -23,7 +23,7 @@ type NavItem = { > {/* Navigation container */}