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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 25ef106c3d Update community elements (#914)
25ef106c3d is described below

commit 25ef106c3d683e650810717562071bcc6d9f4bb9
Author: Michael Robinson <[email protected]>
AuthorDate: Fri Jan 5 06:21:42 2024 -0500

    Update community elements (#914)
    
    
    ---------
    
    Signed-off-by: Michael Robinson <[email protected]>
    Co-authored-by: Brent Bovenzi <[email protected]>
---
 landing-pages/site/data/videos.json                | 30 +++++-----
 landing-pages/site/layouts/community/list.html     |  2 +-
 landing-pages/site/layouts/meetups/list.html       | 40 ++++++-------
 .../site/layouts/partials/boxes/event.html         | 70 ++++++++++------------
 landing-pages/src/js/meetupsList.js                |  7 ---
 5 files changed, 65 insertions(+), 84 deletions(-)

diff --git a/landing-pages/site/data/videos.json 
b/landing-pages/site/data/videos.json
index 4a823ddbff..365786f1e9 100644
--- a/landing-pages/site/data/videos.json
+++ b/landing-pages/site/data/videos.json
@@ -1,32 +1,32 @@
 [
   {
     "name": "video",
-    "date": "2019-07-22",
-    "title": "Running Apache Airflow Reliably on Kubernetes",
-    "videoID": "DROEC84U27o"
+    "date": "2023-10-28",
+    "title": "Things to consider when building an Airflow service",
+    "videoID": "Q7H0JYVnI9I"
   },
   {
     "name": "video",
-    "date": "2019-07-22",
-    "title": "Migrating Apache Oozie Workflows to Apache Airflow",
-    "videoID": "8L1F-6t_6Ao"
+    "date": "2023-10-29",
+    "title": "Guided tour to DAG authoring",
+    "videoID": "j3DIJHXTZQ4"
   },
   {
     "name": "video",
-    "date": "2019-09-25",
-    "title": "Airflow London Meetup @ King",
-    "videoID": "CMuQWMR2Iu8"
+    "date": "2023-10-28",
+    "title": "Mastering dependencies: the Airflow way",
+    "videoID": "zPjIQjjjyHI"
   },
   {
     "name": "video",
-    "date": "2019-09-25",
-    "title": "Airflow London Meetup @ King [Camera View]",
-    "videoID": "kmD_u8VfuT0"
+    "date": "2023-10-22",
+    "title": "Simplifying the creation of data science pipelines with Airflow",
+    "videoID": "xm1sKYpyDnw"
   },
   {
     "name": "video",
-    "date": "2019-10-17",
-    "title": "First Warsaw Airflow Meetup",
-    "videoID": "Nr4Pp1SNXeU"
+    "date": "2023-10-22",
+    "title": "OpenLineage in Airflow: a comprehensive guide",
+    "videoID": "SZBVgREqets"
   }
 ]
diff --git a/landing-pages/site/layouts/community/list.html 
b/landing-pages/site/layouts/community/list.html
index 2436f5ca17..ab92ff5d1d 100644
--- a/landing-pages/site/layouts/community/list.html
+++ b/landing-pages/site/layouts/community/list.html
@@ -21,7 +21,7 @@ under the License.
 <div class="community--header-container">
     <h2 class="page-header">Community</h2>
     <h5 class="page-subtitle">
-        Apache Airflow™ was started at Airbnb as open source from the very 
first commit. The community has about 500 active members who support each other 
in solving problems.
+        The Apache Airflow™ community has tens of thousands of active members 
who help each other develop the platform, solve problems, and share best 
practices. There are many ways to get involved.
     </h5>
 
     <h5 class="community--header-join">Join the community!</h5>
diff --git a/landing-pages/site/layouts/meetups/list.html 
b/landing-pages/site/layouts/meetups/list.html
index d68b97ac48..e5be26257f 100644
--- a/landing-pages/site/layouts/meetups/list.html
+++ b/landing-pages/site/layouts/meetups/list.html
@@ -1,20 +1,20 @@
 {{/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+    http://www.apache.org/licenses/LICENSE-2.0
 
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
 */}}
 
 {{ define "main" }}
@@ -34,10 +34,6 @@
                             {{ end }}
                             <span data-name="members-count"></span>
                         </p>
-                        <p class="box-event__meetup--next-meetup">
-                            Next meetup:<br>
-                            <span class="bodytext__medium--greyish-brown 
font-weight-500" data-name="date"></span>
-                        </p>
                         <a href="">
                             <button class="btn-hollow btn-blue 
bodytext__medium--cerulean-blue">Learn more</button>
                         </a>
@@ -70,10 +66,10 @@
     <div>
         <h4 class="page-header host-header">Want to host a meetup?</h4>
         <div class="text-with-icon-list">
-            {{ partial "text-with-icon" (dict "logo_path" 
"icons/meetup-icon.svg" "header" "Plan a meetup" "text" "Create an event using 
facebook.com or meetup.com and invite some interesting speakers. Drinks and 
snacks are always nice.") }}
-            {{ partial "text-with-icon" (dict "logo_path" 
"icons/intent-icon.svg" "header" "Voice your intent" "text" "In description of 
your event remember to say who is the target audience. Beginners, 
intermediates, developers or maybe architects?") }}
-            {{ partial "text-with-icon" (dict "logo_path" 
"icons/date-icon.svg" "header" "Set up the date" "text" "Good date is essential 
for high frequency. Morning and evening times are good idea. ") }}
-            {{ partial "text-with-icon" (dict "logo_path" 
"icons/promote-icon.svg" "header" "Promote it!" "text" "Talk about your meetup 
as loud as possible! Reach out to community and we can publish your event on 
[#announcements](https://apache-airflow.slack.com/messages/announcements) 
channel and tweet about it on 
[@ApacheAirflow](https://twitter.com/ApacheAirflow).") }}
+            {{ partial "text-with-icon" (dict "logo_path" 
"icons/meetup-icon.svg" "header" "Create an event" "text" "Create an event 
using meetup.com or Facebook and recruit some interesting speakers. Drinks and 
snacks are always nice.") }}
+            {{ partial "text-with-icon" (dict "logo_path" 
"icons/intent-icon.svg" "header" "Voice your intent" "text" "In describing your 
event, remember to specify the intended audience -- e.g., beginners, 
intermediates, developers, or architects.") }}
+            {{ partial "text-with-icon" (dict "logo_path" 
"icons/date-icon.svg" "header" "Select a date" "text" "Choosing the right day 
and time is essential for a good turnout. Midweek in the evening tends to work 
best. ") }}
+            {{ partial "text-with-icon" (dict "logo_path" 
"icons/promote-icon.svg" "header" "Promote it!" "text" "Publicize your meetup 
as widely as possible! Reach out to the community team, and we will publish 
your event in the 
[#announcements](https://apache-airflow.slack.com/messages/announcements) 
channel and tweet about it from 
[@ApacheAirflow](https://twitter.com/ApacheAirflow).") }}
         </div>
     </div>
 {{ end }}
diff --git a/landing-pages/site/layouts/partials/boxes/event.html 
b/landing-pages/site/layouts/partials/boxes/event.html
index 23a4d246ce..b908a7be85 100644
--- a/landing-pages/site/layouts/partials/boxes/event.html
+++ b/landing-pages/site/layouts/partials/boxes/event.html
@@ -1,43 +1,35 @@
 {{/*
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
 
-   http://www.apache.org/licenses/LICENSE-2.0
+      http://www.apache.org/licenses/LICENSE-2.0
 
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-*/}}
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+   */}}
 
-<div class="card">
-    <div class="box-event">
-        <p class="box-event__meetup--location">
-            {{ .city }}<br/>{{ .country }}
-        </p>
-        <p class="box-event__meetup--members">
-            {{ with resources.Get "icons/members-icon.svg" }}
-            {{ .Content | safeHTML }}
-            {{ end }}
-            <span>{{ .members }} members</span>
-        </p>
-        <p class="box-event__meetup--next-meetup">
-            {{ if .date }}
-                Next meetup:<br>
-                <span class="bodytext__medium--greyish-brown 
font-weight-500">{{ .date }}</span>
-            {{ else }}
-                No upcoming meetups
-            {{ end }}
-        </p>
-        <a href="{{ .url }}">
-            {{ partial "buttons/button-hollow" (dict "text" "Learn more") }}
-        </a>
-    </div>
-</div>
+   <div class="card">
+       <div class="box-event">
+           <p class="box-event__meetup--location">
+               {{ .city }}<br/>{{ .country }}
+           </p>
+           <p class="box-event__meetup--members">
+                {{ with resources.Get "icons/members-icon.svg" }}
+                    {{ .Content | safeHTML }}
+                {{ end }}
+                <span>{{ .members }} members</span>
+            </p>
+           <a href="{{ .url }}">
+               {{ partial "buttons/button-hollow" (dict "text" "Learn more") }}
+           </a>
+       </div>
+   </div>
diff --git a/landing-pages/src/js/meetupsList.js 
b/landing-pages/src/js/meetupsList.js
index f2d2245304..909d3109a4 100644
--- a/landing-pages/src/js/meetupsList.js
+++ b/landing-pages/src/js/meetupsList.js
@@ -51,17 +51,10 @@ const runMeetups = () => {
 
       const createElement = (item) => {
         const element = templateElement.cloneNode(true);
-        const nextMeetupNode = 
element.querySelector(".box-event__meetup--next-meetup");
         element.querySelector('[data-name="location"]').innerHTML = 
`${item.city}<br/>${item.country}`;
         element.querySelector('[data-name="members-count"]').innerText = 
`${item.members} members`;
         element.querySelector("a").href = item.url;
 
-        if (item.date) {
-          element.querySelector('[data-name="date"]').innerText = item.date;
-        } else {
-          nextMeetupNode.innerHTML = "No upcoming meetups";
-        }
-
         return element.firstElementChild;
       };
 

Reply via email to