From 5dbb203519d804a5be177719dab695fa3e280f1c Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Wed, 30 Sep 2026 14:48:48 -0500 Subject: [PATCH] Featured cards and the connect section as one ruled block; Give beside the footer logo Co-Authored-By: Claude Opus 5.5 --- src/components/FeaturedCards.tsx | 42 ++++++-- src/components/Footer.tsx | 33 ++++--- src/pages/sections/home/Pathfinder.tsx | 127 ++++++++++++------------- 3 files changed, 109 insertions(+), 93 deletions(-) diff --git a/src/components/FeaturedCards.tsx b/src/components/FeaturedCards.tsx index d0de926..c0fc3dc 100644 --- a/src/components/FeaturedCards.tsx +++ b/src/components/FeaturedCards.tsx @@ -16,6 +16,13 @@ A photo fills the picture area; a logo sits inside it on a soft panel instead, since cropping a logo to 16:9 cuts it off. + + The grid is one continuous block: no gaps and no frame, only a + colored rule between cards (each card's right and bottom border, + with the grid pulled past its clipping wrapper so the outer ones + fall outside). With three or more cards the first is the large + one, two rows tall, and the next two stack beside it, so it no + longer stretches its neighbor. ═══════════════════════════════════════════════════════════════ */ @@ -71,16 +78,18 @@ function VideoPicture({ card }: { card: FeaturedCard }) { return } -function Card({ card }: { card: FeaturedCard }) { +const RULE = 'border-brand' + +function Card({ card, large }: { card: FeaturedCard; large: boolean }) { const href = hrefFor(card) const text = ( -
+
{card.eyebrow && (

{card.eyebrow}

)} {card.title && ( -

+

{href ? ( // Stretched over the whole card, so the picture and the // blurb are part of the click without nesting links. @@ -95,12 +104,18 @@ function Card({ card }: { card: FeaturedCard }) { )}

)} - {card.blurb &&

{card.blurb}

} + {card.blurb && ( +

{card.blurb}

+ )}
) return ( -
  • +
  • {card.kind === 'video' ? ( // Above the stretched link, which a video card doesn't have // anyway, so the play button always gets the click. @@ -116,11 +131,18 @@ function Card({ card }: { card: FeaturedCard }) { } export default function FeaturedCards({ cards }: { cards: FeaturedCard[] }) { + const leadLarge = cards.length >= 3 return ( -
      - {cards.map((card, index) => ( - - ))} -
    +
    +
      + {cards.map((card, index) => ( + + ))} +
    +
    ) } diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 07509f7..9a8b989 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -53,15 +53,29 @@ const headingClass = "text-white/90 text-sm font-semibold mb-4"; export default function Footer() { return ( -