From 232b93361d0b8da43c1137cf36d6ef6d3210bffb Mon Sep 17 00:00:00 2001 From: StevenDufresne Date: Thu, 30 Nov 2023 14:32:49 +0900 Subject: [PATCH 01/12] Updates to the theme. --- .../themes/wporg-events-2023/functions.php | 2 +- .../wporg-events-2023/parts/footer.html | 20 ----- .../parts/front-page/contributors.html | 83 +++++++++---------- .../wporg-events-2023/patterns/cover.php | 55 ++++++++++++ .../wporg-events-2023/patterns/events.php | 26 ++++++ .../patterns/home-page-callout.php | 30 +++++++ .../patterns/local-navigation.php | 6 +- .../postcss/page/front-page/contributors.pcss | 21 ++--- .../wporg-events-2023/postcss/style.pcss | 1 - .../templates/front-page.html | 8 +- .../templates/page-city-landing-page.html | 2 +- .../wporg-events-2023/templates/page.html | 2 +- 12 files changed, 174 insertions(+), 82 deletions(-) delete mode 100644 public_html/wp-content/themes/wporg-events-2023/parts/footer.html create mode 100644 public_html/wp-content/themes/wporg-events-2023/patterns/cover.php create mode 100644 public_html/wp-content/themes/wporg-events-2023/patterns/events.php create mode 100644 public_html/wp-content/themes/wporg-events-2023/patterns/home-page-callout.php diff --git a/public_html/wp-content/themes/wporg-events-2023/functions.php b/public_html/wp-content/themes/wporg-events-2023/functions.php index 4606d8508b..eb9bbd4356 100644 --- a/public_html/wp-content/themes/wporg-events-2023/functions.php +++ b/public_html/wp-content/themes/wporg-events-2023/functions.php @@ -24,7 +24,7 @@ function enqueue_assets() { wp_enqueue_style( 'wporg-events-2023-style', get_stylesheet_uri(), - array( 'wporg-parent-2021-style', 'wporg-global-fonts' ), + array( 'wporg-parent-2021-style', 'wporg-parent-block-styles', 'wporg-global-fonts' ), filemtime( __DIR__ . '/style.css' ) ); } diff --git a/public_html/wp-content/themes/wporg-events-2023/parts/footer.html b/public_html/wp-content/themes/wporg-events-2023/parts/footer.html deleted file mode 100644 index 2161a7b750..0000000000 --- a/public_html/wp-content/themes/wporg-events-2023/parts/footer.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - diff --git a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html index 4358bc0eea..b2409686c5 100644 --- a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html +++ b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html @@ -1,43 +1,42 @@ - -
- -
- -

Where all WordPress contributors meet

- - - - - -
+ +
+
+
+

Where all WordPress contributors meet

+ + + + +
+ + + +
+ +
+
+
- - -
- \ No newline at end of file diff --git a/public_html/wp-content/themes/wporg-events-2023/patterns/cover.php b/public_html/wp-content/themes/wporg-events-2023/patterns/cover.php new file mode 100644 index 0000000000..9a3ee8590b --- /dev/null +++ b/public_html/wp-content/themes/wporg-events-2023/patterns/cover.php @@ -0,0 +1,55 @@ + + + + +
+
+
+

Meet the community behind WordPress

+ + + + +
+ + + +
+
+ + + +
+
+
+
+ +
+
+ + + +
+
+ +
+
+ + + +
+
+ +
+
+
+
+
+ \ No newline at end of file diff --git a/public_html/wp-content/themes/wporg-events-2023/patterns/events.php b/public_html/wp-content/themes/wporg-events-2023/patterns/events.php new file mode 100644 index 0000000000..ffeeaa50ec --- /dev/null +++ b/public_html/wp-content/themes/wporg-events-2023/patterns/events.php @@ -0,0 +1,26 @@ + + + + +
+
+

Upcoming Events

+ + + + + + +
+
+ \ No newline at end of file diff --git a/public_html/wp-content/themes/wporg-events-2023/patterns/home-page-callout.php b/public_html/wp-content/themes/wporg-events-2023/patterns/home-page-callout.php new file mode 100644 index 0000000000..21d9a33417 --- /dev/null +++ b/public_html/wp-content/themes/wporg-events-2023/patterns/home-page-callout.php @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/public_html/wp-content/themes/wporg-events-2023/patterns/local-navigation.php b/public_html/wp-content/themes/wporg-events-2023/patterns/local-navigation.php index b5e8d4d13c..318a292c22 100644 --- a/public_html/wp-content/themes/wporg-events-2023/patterns/local-navigation.php +++ b/public_html/wp-content/themes/wporg-events-2023/patterns/local-navigation.php @@ -14,8 +14,8 @@ ?> - + - - + + \ No newline at end of file diff --git a/public_html/wp-content/themes/wporg-events-2023/postcss/page/front-page/contributors.pcss b/public_html/wp-content/themes/wporg-events-2023/postcss/page/front-page/contributors.pcss index 10e0633bd2..22d666c3a5 100644 --- a/public_html/wp-content/themes/wporg-events-2023/postcss/page/front-page/contributors.pcss +++ b/public_html/wp-content/themes/wporg-events-2023/postcss/page/front-page/contributors.pcss @@ -1,16 +1,17 @@ .wporg-events__contributors { - - @media (--phone-tablet) { - &.is-layout-flex { - display: block; - } - } - - & .is-style-links-list > li:first-child { + .is-style-links-list li:first-child { border-top: none; } - & .is-style-links-list > li:last-child { + .is-style-links-list li:last-child { border-bottom: none; } -} \ No newline at end of file + + .is-style-links-list li { + border-color: var(--wp--preset--color--light-grey-1); + + a { + color: var(--wp--preset--color--charcoal-0); + } + } +} diff --git a/public_html/wp-content/themes/wporg-events-2023/postcss/style.pcss b/public_html/wp-content/themes/wporg-events-2023/postcss/style.pcss index 06cb636dd5..685c7b602e 100644 --- a/public_html/wp-content/themes/wporg-events-2023/postcss/style.pcss +++ b/public_html/wp-content/themes/wporg-events-2023/postcss/style.pcss @@ -9,7 +9,6 @@ /* Base */ @import "base/breakpoints.pcss"; @import "base/layout.pcss"; -@import "base/footer.pcss"; /* Pages */ @import "page/front-page/cover.pcss"; diff --git a/public_html/wp-content/themes/wporg-events-2023/templates/front-page.html b/public_html/wp-content/themes/wporg-events-2023/templates/front-page.html index d23498ca59..1ce2cc7c5c 100644 --- a/public_html/wp-content/themes/wporg-events-2023/templates/front-page.html +++ b/public_html/wp-content/themes/wporg-events-2023/templates/front-page.html @@ -2,12 +2,14 @@
- + - +
- + + + diff --git a/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html b/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html index bd1754d5a5..05a17311db 100644 --- a/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html +++ b/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html @@ -6,4 +6,4 @@ - + diff --git a/public_html/wp-content/themes/wporg-events-2023/templates/page.html b/public_html/wp-content/themes/wporg-events-2023/templates/page.html index eeef6d2e27..89506911f5 100644 --- a/public_html/wp-content/themes/wporg-events-2023/templates/page.html +++ b/public_html/wp-content/themes/wporg-events-2023/templates/page.html @@ -8,4 +8,4 @@ - + From 2add16cf4df91a80381725f76363a19ec31109d9 Mon Sep 17 00:00:00 2001 From: StevenDufresne Date: Thu, 30 Nov 2023 14:34:07 +0900 Subject: [PATCH 02/12] Remove the parent block style --- public_html/wp-content/themes/wporg-events-2023/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/wp-content/themes/wporg-events-2023/functions.php b/public_html/wp-content/themes/wporg-events-2023/functions.php index eb9bbd4356..4606d8508b 100644 --- a/public_html/wp-content/themes/wporg-events-2023/functions.php +++ b/public_html/wp-content/themes/wporg-events-2023/functions.php @@ -24,7 +24,7 @@ function enqueue_assets() { wp_enqueue_style( 'wporg-events-2023-style', get_stylesheet_uri(), - array( 'wporg-parent-2021-style', 'wporg-parent-block-styles', 'wporg-global-fonts' ), + array( 'wporg-parent-2021-style', 'wporg-global-fonts' ), filemtime( __DIR__ . '/style.css' ) ); } From 223d07aba82eccf48f536726fbb5008d46b14cfb Mon Sep 17 00:00:00 2001 From: StevenDufresne Date: Fri, 1 Dec 2023 14:10:59 +0900 Subject: [PATCH 03/12] More style tweaks. --- .../parts/front-page/contributors.html | 6 +-- .../wporg-events-2023/patterns/cover.php | 36 ++++++------- .../wporg-events-2023/patterns/events.php | 2 +- .../patterns/home-page-callout.php | 23 +++------ .../postcss/base/breakpoints.pcss | 1 + .../postcss/base/layout.pcss | 4 ++ .../postcss/page/front-page/callout.pcss | 9 ++++ .../postcss/page/front-page/contributors.pcss | 5 ++ .../postcss/page/front-page/cover.pcss | 50 +++++++++++++------ .../wporg-events-2023/postcss/style.pcss | 1 + 10 files changed, 85 insertions(+), 52 deletions(-) create mode 100644 public_html/wp-content/themes/wporg-events-2023/postcss/page/front-page/callout.pcss diff --git a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html index b2409686c5..8e7185bc5c 100644 --- a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html +++ b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/contributors.html @@ -2,11 +2,11 @@
-

Where all WordPress contributors meet

+

Where all WordPress contributors meet

- -