From 3ab67d5096df499de1562f0c19e37ef49dd163ec Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Sun, 17 Aug 2025 15:00:06 -0600 Subject: [PATCH] Numbered Cards large breakpoint --- app/components/NumberedCard.js | 12 +++---- app/components/NumberedCards.js | 59 +++++++++++++++++++++------------ app/components/SectionHeader.js | 25 ++++++++------ 3 files changed, 58 insertions(+), 38 deletions(-) diff --git a/app/components/NumberedCard.js b/app/components/NumberedCard.js index 06422de..bc47611 100644 --- a/app/components/NumberedCard.js +++ b/app/components/NumberedCard.js @@ -4,15 +4,15 @@ import SectionNumber from "./SectionNumber"; const NumberedCard = ({ number, text, iconShape, iconColor }) => { return ( -
- {/* Section Number - Left part (sm breakpoint) */} -
+
+ {/* Section Number - Top right (lg breakpoint) */} +
- {/* Card Content - Right part (sm breakpoint) */} -
-

+ {/* Card Content - Bottom left (lg breakpoint) */} +

+

{text}

diff --git a/app/components/NumberedCards.js b/app/components/NumberedCards.js index b3a9941..5457c78 100644 --- a/app/components/NumberedCards.js +++ b/app/components/NumberedCards.js @@ -6,31 +6,46 @@ import Button from "./Button"; const NumberedCards = ({ title, subtitle, cards }) => { return ( -
+
- {/* Section Header */} -
- -
- - {/* Cards Container */} -
- {cards.map((card, index) => ( - + {/* Section Header */} +
+ - ))} -
+
- {/* Call to Action Button */} -
- + {/* Cards Container */} +
+ {cards.map((card, index) => ( + + ))} +
+ + {/* Call to Action Button */} +
+ {/* Default button for xsm and sm breakpoints */} +
+ +
+ {/* Outlined button for lg and xlg breakpoints */} +
+ +
+
diff --git a/app/components/SectionHeader.js b/app/components/SectionHeader.js index f8c9d00..5a3953c 100644 --- a/app/components/SectionHeader.js +++ b/app/components/SectionHeader.js @@ -1,17 +1,22 @@ "use client"; -const SectionHeader = ({ title, subtitle }) => { +const SectionHeader = ({ title, subtitle, titleLg }) => { return ( -
- {/* Title - Bricolage Grotesque */} -

- {title} -

+
+ {/* Title Container - Left side (lg breakpoint) */} +
+

+ {title} + {titleLg || title} +

+
- {/* Subtitle - Inter */} -

- {subtitle} -

+ {/* Subtitle Container - Right side (lg breakpoint) */} +
+

+ {subtitle} +

+
); };