This is an automated email from the ASF dual-hosted git repository.

xushiyan pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 50937a8c70 [DOCS] Add YouTube channel and Office hours page (#6482)
50937a8c70 is described below

commit 50937a8c7014af79b30c067a4641c6df47cc6889
Author: Bhavani Sudha Saktheeswaran <2179254+bhasu...@users.noreply.github.com>
AuthorDate: Wed Aug 24 23:58:37 2022 +0530

    [DOCS] Add YouTube channel and Office hours page (#6482)
---
 website/community/office_hours.md         |  13 +++++++++++++
 website/community/syncs.md                |   9 ---------
 website/community/team.md                 |   2 +-
 website/docusaurus.config.js              |  14 ++++++++++++++
 website/src/css/custom.css                |  10 +++++++++-
 website/static/assets/images/youtube.jpeg | Bin 0 -> 8825 bytes
 6 files changed, 37 insertions(+), 11 deletions(-)

diff --git a/website/community/office_hours.md 
b/website/community/office_hours.md
new file mode 100644
index 0000000000..4ca6efae1c
--- /dev/null
+++ b/website/community/office_hours.md
@@ -0,0 +1,13 @@
+---
+sidebar_position: 3
+title: "Office Hours"
+toc: true
+---
+
+# Weekly Office Hours
+
+**[ZOOM LINK TO JOIN](https://zoom.us/j/95710395048)**
+
+Office hours are held every week on Thu, 08:00 AM Pacific Time (US and 
Canada)([translate to other time 
zones](https://www.worldtimebuddy.com/?qm=1&lid=5368361,2643743,1264527,1796236&h=5368361&date=2022-8-25&sln=8-9&hf=1))
+
+One of the PMC members/committers will hold office hours to help answer 
questions interactively, on a first-come first-serve basis.
diff --git a/website/community/syncs.md b/website/community/syncs.md
index b1373e8b33..7cb89ea0f0 100644
--- a/website/community/syncs.md
+++ b/website/community/syncs.md
@@ -37,12 +37,3 @@ If you would like to present in one of the community calls, 
please fill out a [f
 Here are some upcoming calls for convenience. 
 
 ![Upcoming calls](/assets/images/upcoming-community-calls.png)
-
-
-## Weekly Office Hours
-
-**[ZOOM LINK TO JOIN](https://zoom.us/j/95710395048)**
-
-When every week on Thu, 08:00 AM Pacific Time (US and Canada)([translate to 
other time 
zones](https://www.worldtimebuddy.com/?qm=1&lid=5368361,2643743,1264527,1796236&h=5368361&date=2021-11-24&sln=8-9&hf=1))
-
-One of the PMC members/committers will hold office hours to help answer 
questions interactively, on a first-come first-serve basis.
diff --git a/website/community/team.md b/website/community/team.md
index a69306e68d..062a6d2cd8 100644
--- a/website/community/team.md
+++ b/website/community/team.md
@@ -1,5 +1,5 @@
 ---
-sidebar_position: 3
+sidebar_position: 4
 title: "Team"
 toc: true
 last_modified_at: 2020-09-01T15:59:57-04:00
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index d67bde016f..f3bff36771 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -185,6 +185,10 @@ module.exports = {
               label: 'Community Syncs',
               to: '/community/syncs',
             },
+            {
+              label: 'Office Hours',
+              to: '/community/office_hours',
+            },
             {
               label: 'Team',
               to: '/community/team',
@@ -231,6 +235,12 @@ module.exports = {
           className: 'header-slack-link',
           'aria-label': 'Hudi Slack Channel',
         },
+        {
+          href: 'https://www.youtube.com/channel/UCs7AhE0BWaEPZSChrBR-Muw',
+          position: 'right',
+          className: 'header-youtube-link',
+          'aria-label': 'Hudi YouTube Channel',
+        },
       ],
     },
     footer: {
@@ -342,6 +352,10 @@ module.exports = {
               label: 'Twitter',
               href: 'https://twitter.com/ApacheHudi',
             },
+            {
+              label: 'YouTube',
+              href:  
'https://www.youtube.com/channel/UCs7AhE0BWaEPZSChrBR-Muw',
+            },
             {
               label: 'Mailing List',
               to: 
'mailto:dev-subscr...@hudi.apache.org?Subject=SubscribeToHudi',
diff --git a/website/src/css/custom.css b/website/src/css/custom.css
index 94f10971e9..21c02d3bbb 100644
--- a/website/src/css/custom.css
+++ b/website/src/css/custom.css
@@ -39,7 +39,7 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
 }
 
 @media (max-width: 767px) {
-  .hero__img, .header-github-link, .header-slack-link, .header-twitter-link {
+  .hero__img, .header-github-link, .header-slack-link, .header-twitter-link, 
.header-youtube-link {
     display: none;
   }
   .hero__title {
@@ -93,6 +93,14 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
   width: 30px;
 }
 
+.header-youtube-link:before {
+  background: url(/assets/images/youtube.jpeg) no-repeat;
+  content: "";
+  display: flex;
+  height: 30px;
+  width: 30px;
+}
+
 .hero__title {
   font-size: 4rem;
   text-align: left;
diff --git a/website/static/assets/images/youtube.jpeg 
b/website/static/assets/images/youtube.jpeg
new file mode 100644
index 0000000000..0b5cf9732a
Binary files /dev/null and b/website/static/assets/images/youtube.jpeg differ

Reply via email to