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

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

commit 6ff928eae02405e4be774242b59ef8466eb366d2
Author: Kamil Gabryjelski <kamil.gabryjel...@gmail.com>
AuthorDate: Wed Oct 23 14:07:00 2019 +0200

    Put components in meetups page
---
 .../scss/{main-custom.scss => _meetups.scss}       | 25 +++---------
 landing-pages/site/assets/scss/main-custom.scss    |  1 +
 landing-pages/site/content/en/community/_index.md  |  8 ----
 landing-pages/site/content/en/meetups/_index.html  |  7 ++++
 landing-pages/site/data/videos.json                | 30 ++++++--------
 landing-pages/site/layouts/meetups/baseof.html     | 46 ++++++++++++++++++++++
 landing-pages/site/layouts/meetups/list.html       | 46 ++++++++++++++++++++++
 7 files changed, 118 insertions(+), 45 deletions(-)

diff --git a/landing-pages/site/assets/scss/main-custom.scss 
b/landing-pages/site/assets/scss/_meetups.scss
similarity index 58%
copy from landing-pages/site/assets/scss/main-custom.scss
copy to landing-pages/site/assets/scss/_meetups.scss
index f12c1e7..fa63a23 100644
--- a/landing-pages/site/assets/scss/main-custom.scss
+++ b/landing-pages/site/assets/scss/_meetups.scss
@@ -17,23 +17,10 @@
  * under the License.
  */
 
-@import url('https://fonts.googleapis.com/css?family=Rubik:500&display=swap');
-@import 
url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700&display=swap');
-@import 
url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');
+.video-section-container {
+  margin: 80px 0;
+}
 
-@import "typography";
-@import "accordion";
-@import "buttons";
-@import "ol-ul";
-@import "list-boxes";
-@import "avatar";
-@import "quote";
-@import "pager";
-@import "case-study";
-@import "markdown-content";
-@import "base-layout";
-@import "feature";
-@import "text-with-icon";
-@import "video";
-@import "blog-page";
-@import "home-page";
+.host-header {
+  margin-bottom: 6px;
+}
diff --git a/landing-pages/site/assets/scss/main-custom.scss 
b/landing-pages/site/assets/scss/main-custom.scss
index f12c1e7..a15338f 100644
--- a/landing-pages/site/assets/scss/main-custom.scss
+++ b/landing-pages/site/assets/scss/main-custom.scss
@@ -37,3 +37,4 @@
 @import "video";
 @import "blog-page";
 @import "home-page";
+@import "meetups";
diff --git a/landing-pages/site/content/en/community/_index.md 
b/landing-pages/site/content/en/community/_index.md
deleted file mode 100644
index cdade16..0000000
--- a/landing-pages/site/content/en/community/_index.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: Community
-menu:
-  main:
-    weight: 40
----
-
-<!--add blocks of content here to add more sections to the community page -->
diff --git a/landing-pages/site/content/en/meetups/_index.html 
b/landing-pages/site/content/en/meetups/_index.html
new file mode 100644
index 0000000..391f69c
--- /dev/null
+++ b/landing-pages/site/content/en/meetups/_index.html
@@ -0,0 +1,7 @@
+---
+title: "Meetups"
+linkTitle: "Meetups"
+menu:
+    main:
+        weight: 3
+---
diff --git a/landing-pages/site/data/videos.json 
b/landing-pages/site/data/videos.json
index 64dd841..2e93cf4 100644
--- a/landing-pages/site/data/videos.json
+++ b/landing-pages/site/data/videos.json
@@ -1,56 +1,50 @@
 [
   {
     "name": "video",
-    "date": "2019-01-23",
-    "title": "Airflow Meetup, London 23 Jan 2019",
-    "videoID": "E0asAgpHvaI"
+    "date": "2019-10-17",
+    "title": "Airflow Meetup, Warsaw 17 Oct 2019",
+    "videoID": "Nr4Pp1SNXeU"
   },
   {
     "name": "video",
-    "date": "2019-04-05",
-    "title": "Airflow Meetup, London 05 Apr 2019",
-    "videoID": "uN-TvWzeEvA"
+    "date": "2019-09-24",
+    "title": "Airflow Meetup, London 24 Sep 2019",
+    "videoID": "kmD_u8VfuT0"
   },
   {
     "name": "video",
     "date": "2019-09-30",
     "title": "Airflow Meetup, London 30 Sep 2019",
-    "videoID": "nUfb4UxnvJk"
+    "videoID": "Vkprq5F6jkM"
   },
   {
     "name": "video",
     "date": "2019-09-30",
     "title": "Airflow Meetup, London 30 Sep 2019",
-    "videoID": "OhWZavn2OvM"
+    "videoID": "jX3iLfcMDCw"
   },
   {
     "name": "video",
     "date": "2019-09-30",
     "title": "Airflow Meetup, London 30 Sep 2019",
-    "videoID": "SRhueFPsCeY"
+    "videoID": "K7UkKBLq7pk"
   },
   {
     "name": "video",
     "date": "2019-09-30",
     "title": "Airflow Meetup, London 30 Sep 2019",
-    "videoID": "wH533kbXm2c"
+    "videoID": "JNsKvZo6MDs"
   },
   {
     "name": "video",
     "date": "2019-09-30",
     "title": "Airflow Meetup, London 30 Sep 2019",
-    "videoID": "cY9kbO4GY_s"
+    "videoID": "w0AOGeqOnFY"
   },
   {
     "name": "video",
     "date": "2019-09-30",
     "title": "Airflow Meetup, London 30 Sep 2019",
-    "videoID": "d4DEHs_KAzs"
-  },
-  {
-    "name": "video",
-    "date": "2019-09-30",
-    "title": "Airflow Meetup, London 30 Sep 2019",
-    "videoID": "mznO_E3_BQo"
+    "videoID": "VK8LH_KeG7A"
   }
 ]
diff --git a/landing-pages/site/layouts/meetups/baseof.html 
b/landing-pages/site/layouts/meetups/baseof.html
new file mode 100644
index 0000000..b83b82f
--- /dev/null
+++ b/landing-pages/site/layouts/meetups/baseof.html
@@ -0,0 +1,46 @@
+{{/*
+ 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
+
+ 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.
+*/}}
+
+<!doctype html>
+<html lang="{{ .Site.Language.Lang }}" class="no-js">
+<head>
+    {{ partial "head.html" . }}
+</head>
+<body class="td-{{ .Kind }}">
+<header>
+    {{ partial "navbar.html" . }}
+</header>
+<div class="container-fluid td-default">
+    <main role="main" class="td-main container base-layout">
+        {{ block "main" . }}{{ end }}
+        <div class="base-layout--button">
+            <a href="https://github.com";>
+                {{ partial "buttons/button-with-icon" (dict "text" "Suggest a 
change on this page" "class" "button-fixed") }}
+            </a>
+        </div>
+    </main>
+    {{ partial "footer.html" . }}
+</div>
+{{ partialCached "scripts.html" . }}
+</body>
+{{ $script := .Site.Data.webpack.main }}
+{{ with $script.js }}
+    <script src="{{ relURL . }}"></script>
+{{ end }}
+</html>
diff --git a/landing-pages/site/layouts/meetups/list.html 
b/landing-pages/site/layouts/meetups/list.html
new file mode 100644
index 0000000..5fdb425
--- /dev/null
+++ b/landing-pages/site/layouts/meetups/list.html
@@ -0,0 +1,46 @@
+{{/*
+ 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
+
+ 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" }}
+    <div>
+        <h2 class="page-header">Meetups</h2>
+        <h5 class="page-subtitle">
+            Meetups are a great way for the community to meet face-to face
+        </h5>
+        <div id="events-container" class="list-items">
+            {{ range .Site.Data.meetups }}
+                <div class="list-item">
+                    {{ partial "boxes/event" . }}
+                </div>
+            {{ end }}
+        </div>
+        <div class="video-section-container">
+            {{ partial "video-section" . }}
+        </div>
+        <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" "Airflow pipelines are 
configuration as code (Python), allowing for dynamic pipeline generation. This 
allows for writing code that instantiates pipelines dynamically.") }}
+                {{ partial "text-with-icon" (dict "logo_path" 
"icons/intent-icon.svg" "header" "Voice your intent" "text" "Airflow pipelines 
are configuration as code (Python), allowing for dynamic pipeline generation. 
This allows for writing code that instantiates pipelines dynamically.") }}
+                {{ partial "text-with-icon" (dict "logo_path" 
"icons/date-icon.svg" "header" "Set up the date" "text" "Easily define your own 
operators, executors and extend the library so that it fits the level of 
abstraction that suits your environment.") }}
+                {{ partial "text-with-icon" (dict "logo_path" 
"icons/promote-icon.svg" "header" "Promote it!" "text" "Airflow pipelines are 
lean and explicit. Parametrizing your scripts is built into its core using the 
powerful Jinja templating engine.") }}
+            </div>
+        </div>
+    </div>
+{{ end }}

Reply via email to