From 4907a978f6208d47305144401285a683381550f5 Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Tue, 4 Aug 2026 13:09:16 +0200 Subject: [PATCH 1/6] Refactor section patterns to enhance layout and styling consistency across work-related components --- patterns/cards/work-engagement-stat.php | 2 +- patterns/hero/work-hero.php | 4 +- patterns/section-stats-grid.php | 170 ++++++++++--------- patterns/sections/work-categories.php | 12 +- patterns/sections/work-discuss-project.php | 10 +- patterns/sections/work-related-routes.php | 4 +- patterns/sections/work-selected-projects.php | 10 +- 7 files changed, 121 insertions(+), 91 deletions(-) diff --git a/patterns/cards/work-engagement-stat.php b/patterns/cards/work-engagement-stat.php index d5e1c9c..8ccdd8e 100644 --- a/patterns/cards/work-engagement-stat.php +++ b/patterns/cards/work-engagement-stat.php @@ -16,7 +16,7 @@
- +

diff --git a/patterns/hero/work-hero.php b/patterns/hero/work-hero.php index ea9afe9..3b92135 100644 --- a/patterns/hero/work-hero.php +++ b/patterns/hero/work-hero.php @@ -31,8 +31,8 @@
- -
+ +
diff --git a/patterns/section-stats-grid.php b/patterns/section-stats-grid.php index 68da9ca..f11c044 100644 --- a/patterns/section-stats-grid.php +++ b/patterns/section-stats-grid.php @@ -49,91 +49,109 @@
- -
- -
- -

- - - -

- + +
+ + +
+ +
+ +
+ +

+ + + +

+ +
+ + + +

+ + + +

+ +
+
- + - -

- - - -

- -
- -
- - - -
- -
- - - -
- -
- -
- -

- - - -

- + +
+
- - - -

- - - -

- -
- + +
+
- -
- -
- -

- - - -

- + +
+ + +
+ +
+ +
+ +

+ + + +

+ +
+ + + +

+ + + +

+ +
+
- - - -

- - - -

- -
- + + + +
+ +
+ +
+ +

+ + + +

+ +
+ + + +

+ + + +

+ +
+ +
+ +
+
diff --git a/patterns/sections/work-categories.php b/patterns/sections/work-categories.php index 0e196a0..8abbc57 100644 --- a/patterns/sections/work-categories.php +++ b/patterns/sections/work-categories.php @@ -24,7 +24,17 @@
- + +
+ +
+ + + +

+ +
+

diff --git a/patterns/sections/work-discuss-project.php b/patterns/sections/work-discuss-project.php index 121408b..40b0699 100644 --- a/patterns/sections/work-discuss-project.php +++ b/patterns/sections/work-discuss-project.php @@ -20,15 +20,15 @@
-
+
- -
+ +
- -
+ +
diff --git a/patterns/sections/work-related-routes.php b/patterns/sections/work-related-routes.php index 0faaee2..99d926e 100644 --- a/patterns/sections/work-related-routes.php +++ b/patterns/sections/work-related-routes.php @@ -21,8 +21,8 @@
- -
+ +
diff --git a/patterns/sections/work-selected-projects.php b/patterns/sections/work-selected-projects.php index 3da705a..d6e578a 100644 --- a/patterns/sections/work-selected-projects.php +++ b/patterns/sections/work-selected-projects.php @@ -26,8 +26,8 @@
- -
+ +
@@ -53,9 +53,11 @@ -
+
- + +
+ From f6f36825e439f3691a568d5d00116018a6505d6c Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Tue, 4 Aug 2026 14:29:45 +0200 Subject: [PATCH 2/6] Fix Stats Grid card border and relocate block style variation files Co-Authored-By: Claude Sonnet 5 --- patterns/cards/work-engagement-stat.php | 4 +- patterns/section-stats-grid.php | 68 ++++++++++++------- .../columns}/card-divider-both.json | 0 .../cards => blocks/groups}/stat-segment.json | 3 +- 4 files changed, 48 insertions(+), 27 deletions(-) rename styles/{sections/cards => blocks/columns}/card-divider-both.json (100%) rename styles/{sections/cards => blocks/groups}/stat-segment.json (87%) diff --git a/patterns/cards/work-engagement-stat.php b/patterns/cards/work-engagement-stat.php index 8ccdd8e..124b7f5 100644 --- a/patterns/cards/work-engagement-stat.php +++ b/patterns/cards/work-engagement-stat.php @@ -13,8 +13,8 @@ */ ?> - -
+ +
diff --git a/patterns/section-stats-grid.php b/patterns/section-stats-grid.php index f11c044..3b79a0b 100644 --- a/patterns/section-stats-grid.php +++ b/patterns/section-stats-grid.php @@ -19,28 +19,50 @@
- +
- -
- -

- + +
- -

- -
- + +
+ +
+ +
+ + +
+ +

+ - -
- -

- + +

+ +
+ +
+ +
+ +
+ + + +
+ +
+ +

+ +
+ +
+
- +
@@ -54,8 +76,8 @@
- -
+ +
@@ -97,8 +119,8 @@
- -
+ +
@@ -125,8 +147,8 @@
- -
+ +
diff --git a/styles/sections/cards/card-divider-both.json b/styles/blocks/columns/card-divider-both.json similarity index 100% rename from styles/sections/cards/card-divider-both.json rename to styles/blocks/columns/card-divider-both.json diff --git a/styles/sections/cards/stat-segment.json b/styles/blocks/groups/stat-segment.json similarity index 87% rename from styles/sections/cards/stat-segment.json rename to styles/blocks/groups/stat-segment.json index 1690937..9361121 100644 --- a/styles/sections/cards/stat-segment.json +++ b/styles/blocks/groups/stat-segment.json @@ -19,7 +19,6 @@ "bottom": "var:preset|spacing|40", "left": "var:preset|spacing|30" } - }, - "css": "&{border-inline-end:1px solid var(--wp--custom--color--border--card);}" + } } } From ccc7b90777d60e000a2bed5a1d3909e048a0129c Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Tue, 4 Aug 2026 15:49:10 +0200 Subject: [PATCH 3/6] Center-align Related Routes card icons and adjust Selected Projects filter spacing Co-Authored-By: Claude Sonnet 5 --- patterns/cards/work-next-steps-card.php | 2 +- patterns/sections/work-related-routes.php | 14 +++++++------- patterns/sections/work-selected-projects.php | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/patterns/cards/work-next-steps-card.php b/patterns/cards/work-next-steps-card.php index 6efce63..27d856a 100644 --- a/patterns/cards/work-next-steps-card.php +++ b/patterns/cards/work-next-steps-card.php @@ -13,7 +13,7 @@ */ ?> - +