From 782174e33118599ac19af224cb1d8482e1480fa8 Mon Sep 17 00:00:00 2001 From: Mackie Date: Thu, 4 Jun 2026 17:45:45 +0800 Subject: [PATCH] spacing --- src/blocks/AboutProfile/Component.tsx | 9 ++++---- src/blocks/BentoRow/Component.tsx | 33 ++++++++++++++------------- src/blocks/KanbanColor/Component.tsx | 20 +++++++++------- src/blocks/StatsStrip/Component.tsx | 32 ++++++++++++++++---------- src/blocks/ToolStack/Component.tsx | 13 +++++++---- 5 files changed, 62 insertions(+), 45 deletions(-) diff --git a/src/blocks/AboutProfile/Component.tsx b/src/blocks/AboutProfile/Component.tsx index e536863..efeda2e 100644 --- a/src/blocks/AboutProfile/Component.tsx +++ b/src/blocks/AboutProfile/Component.tsx @@ -45,9 +45,10 @@ export function AboutProfileBlock({ const hasSecondary = secondaryButton?.label && secondaryButton?.url return ( -
+ // Standardized vertical padding and alignment +
{(heading || subheading) && ( -
+
{heading && (

{heading} @@ -60,11 +61,11 @@ export function AboutProfileBlock({ )}
{imageEl} -
+
{body && (

{body}

)} diff --git a/src/blocks/BentoRow/Component.tsx b/src/blocks/BentoRow/Component.tsx index 0161ed5..52d117a 100644 --- a/src/blocks/BentoRow/Component.tsx +++ b/src/blocks/BentoRow/Component.tsx @@ -18,17 +18,19 @@ export function BentoRowBlock(props: BentoRowBlockProps) { const { aboutHeading, aboutText, aboutCta, skillsHeading, skills } = props return ( -
-
-
+ // Standardized vertical padding and container constraints +
+
+ {/* About Section */} +
{aboutHeading && ( -

+

{aboutHeading}

)} {aboutText && ( -

+

{aboutText}

)} @@ -38,7 +40,7 @@ export function BentoRowBlock(props: BentoRowBlockProps) { href={aboutCta.url} target={aboutCta.newTab ? '_blank' : '_self'} rel="noopener noreferrer" - className="self-start flex items-center gap-2 text-xs text-foreground/50 border border-foreground/10 rounded-lg px-4 py-2 hover:text-foreground/80 hover:bg-muted transition-colors" + className="self-start flex items-center gap-2 text-xs text-foreground/60 border border-foreground/10 rounded-lg px-5 py-2.5 hover:text-foreground/90 hover:bg-muted transition-colors" >