From e057541841e2c3f03ae19e2680c81849f51d65cf Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Fri, 17 May 2024 15:34:30 +1200 Subject: [PATCH] Add Online Workshops page template (#2444) * Add template and pattern with translations * Add styles --- .../assets/block-calendar-dark.svg | 9 + .../assets/block-calendar-light.svg | 9 + .../assets/list-type-bullet-dark.svg | 3 + .../assets/list-type-bullet-light.svg | 3 + .../page-online-workshops-content.php | 86 +++++++ .../src/style/_components.scss | 12 + .../src/style/_wporg-meeting-calendar.scss | 228 ++++++++++++++++++ .../pub/wporg-learn-2024/src/style/style.scss | 7 + .../themes/pub/wporg-learn-2024/style.css | 2 +- .../templates/page-online-workshops.html | 19 ++ 10 files changed, 377 insertions(+), 1 deletion(-) create mode 100644 wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-dark.svg create mode 100644 wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-light.svg create mode 100644 wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-dark.svg create mode 100644 wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-light.svg create mode 100644 wp-content/themes/pub/wporg-learn-2024/patterns/page-online-workshops-content.php create mode 100644 wp-content/themes/pub/wporg-learn-2024/src/style/_components.scss create mode 100644 wp-content/themes/pub/wporg-learn-2024/src/style/_wporg-meeting-calendar.scss create mode 100644 wp-content/themes/pub/wporg-learn-2024/templates/page-online-workshops.html diff --git a/wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-dark.svg b/wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-dark.svg new file mode 100644 index 000000000..ddf60f4f7 --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-dark.svg @@ -0,0 +1,9 @@ + diff --git a/wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-light.svg b/wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-light.svg new file mode 100644 index 000000000..b1dec91a2 --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/assets/block-calendar-light.svg @@ -0,0 +1,9 @@ + diff --git a/wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-dark.svg b/wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-dark.svg new file mode 100644 index 000000000..569d1d455 --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-dark.svg @@ -0,0 +1,3 @@ + diff --git a/wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-light.svg b/wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-light.svg new file mode 100644 index 000000000..9be4135be --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/assets/list-type-bullet-light.svg @@ -0,0 +1,3 @@ + diff --git a/wp-content/themes/pub/wporg-learn-2024/patterns/page-online-workshops-content.php b/wp-content/themes/pub/wporg-learn-2024/patterns/page-online-workshops-content.php new file mode 100644 index 000000000..3a673dfe9 --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/patterns/page-online-workshops-content.php @@ -0,0 +1,86 @@ + + + +
+ the Meetup.com group. Each event links to the RSVP page. Events are shown in your local time. You must agree to the Code of Conduct in order to participate in online workshops.', 'wporg-learn' ), + esc_url( 'https://www.meetup.com/learn-wordpress-online-workshops/' ), + esc_url( 'https://learn.wordpress.org/online-workshops/code-of-conduct/' ), + ) + ); ?> +
+ + ++ click here to open a private and secure WordPress site that only you can access', 'wporg-learn' ), + esc_url( 'https://developer.wordpress.org/playground/demo/?step=playground&theme=twentytwentythree' ), + ) + ); ?> +
+