From 67b491b36ceb5196fdc1c5b79ff15ad22ca6cb25 Mon Sep 17 00:00:00 2001 From: Ren <18050944+renintw@users.noreply.github.com> Date: Fri, 21 Jun 2024 06:36:54 +0800 Subject: [PATCH] Add single contribute page (#2542) * Add page-contribute template. * Add contribute-page-content pattern. * Remove tutorial and lesson plans related section. * Align padding top/bottom with design for breadcrumbs. * Align padding top with design for single-course. --- .../patterns/contribute-page-content.php | 89 +++++++++++++++++++ .../patterns/sensei-lesson-header.php | 4 +- .../templates/page-contribute.html | 23 +++++ .../templates/single-course.html | 8 +- 4 files changed, 118 insertions(+), 6 deletions(-) create mode 100644 wp-content/themes/pub/wporg-learn-2024/patterns/contribute-page-content.php create mode 100644 wp-content/themes/pub/wporg-learn-2024/templates/page-contribute.html diff --git a/wp-content/themes/pub/wporg-learn-2024/patterns/contribute-page-content.php b/wp-content/themes/pub/wporg-learn-2024/patterns/contribute-page-content.php new file mode 100644 index 000000000..ebcb08fcd --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/patterns/contribute-page-content.php @@ -0,0 +1,89 @@ + + + +

+ +

+ + + +

+ +

+ + + +

+ +

+ + + +

+ read this post. You can apply to become an online workshop facilitator here, + or you can even organize an online workshop for your local WordPress meetup.', 'wporg-learn' ), + 'https://make.wordpress.org/community/2020/08/11/tuesday-trainings-how-to-be-an-excellent-discussion-group-leader/', + site_url( '/social-learning/' ), + 'https://make.wordpress.org/community/handbook/virtual-events/organize-learn-wordpress-discussion-groups-for-your-wordpress-meetup/', + ) + ); ?> +

+ + + +

+ +

+ + + +

+ Courses consist of long-form lessons in multiple media formats - they can include text, video and images. + The Training team meets weekly in #training channel in Slack. See their Welcome page for meeting times. + Learn more on the Training team\'s Get Started page.', 'wporg-learn' ), + site_url( '/courses/' ), + 'http://wordpress.slack.com/messages/training/', + 'https://make.wordpress.org/training/handbook/getting-started/how-we-work-together/', + 'https://make.wordpress.org/training/handbook/getting-started/', + ) + ); ?> +

+ + + +[videopress 9hC1sT88] + + + +

+ +

+ + + +

+ join the Training Team to help build the platform, review workshop applications, decide on future content, and more. + If you\'re interested in helping, share your interest in the #training channel, join one of the Training team meetings, + or follow the Training team for news on working group-specific meetings.', 'wporg-learn' ), + 'http://wordpress.slack.com/messages/training/', + 'https://make.wordpress.org/training/', + ) + ); ?> +

+ diff --git a/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-header.php b/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-header.php index 71c032134..ef716433e 100644 --- a/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-header.php +++ b/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-header.php @@ -14,8 +14,8 @@
- -
+ +
diff --git a/wp-content/themes/pub/wporg-learn-2024/templates/page-contribute.html b/wp-content/themes/pub/wporg-learn-2024/templates/page-contribute.html new file mode 100644 index 000000000..583cb86da --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/templates/page-contribute.html @@ -0,0 +1,23 @@ + + + +
+ +
+ + + +
+ + +
+ + + +
+ + +
+ + + diff --git a/wp-content/themes/pub/wporg-learn-2024/templates/single-course.html b/wp-content/themes/pub/wporg-learn-2024/templates/single-course.html index 6c95c17bb..f90bb7288 100644 --- a/wp-content/themes/pub/wporg-learn-2024/templates/single-course.html +++ b/wp-content/themes/pub/wporg-learn-2024/templates/single-course.html @@ -1,7 +1,7 @@ - -
+ +
@@ -10,8 +10,8 @@
- -
+ +