This is an automated email from the ASF dual-hosted git repository.
bbovenzi 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 ff5f09a031 Add banner for airflow survey (#895)
ff5f09a031 is described below
commit ff5f09a0315d5ab73dc61bb5360871a88e957a9f
Author: Brent Bovenzi <[email protected]>
AuthorDate: Wed Nov 15 15:25:57 2023 -0500
Add banner for airflow survey (#895)
---
landing-pages/site/assets/scss/_navbar.scss | 3 ++-
landing-pages/site/layouts/partials/navbar.html | 5 ++++-
sphinx_airflow_theme/sphinx_airflow_theme/header.html | 5 ++++-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/landing-pages/site/assets/scss/_navbar.scss
b/landing-pages/site/assets/scss/_navbar.scss
index 840043f398..e647ce26f8 100644
--- a/landing-pages/site/assets/scss/_navbar.scss
+++ b/landing-pages/site/assets/scss/_navbar.scss
@@ -125,7 +125,8 @@
&__drawer {
position: fixed;
- top: 77px;
+ // top: 77px;
+ top: 117px; // TEMP - accommodate Airflow Survey banner (77 + 40)
left: 0;
width: 100%;
height: calc(100% - 77px);
diff --git a/landing-pages/site/layouts/partials/navbar.html
b/landing-pages/site/layouts/partials/navbar.html
index 476be21a9f..5c5df94def 100644
--- a/landing-pages/site/layouts/partials/navbar.html
+++ b/landing-pages/site/layouts/partials/navbar.html
@@ -18,7 +18,10 @@
*/}}
{{ $cover := .HasShortcode "blocks/cover" }}
-<nav class="js-navbar-scroll navbar">
+<a
href="https://docs.google.com/forms/d/e/1FAIpQLSeI7wAzHmxj9onIFUtb7NTubdonthKLW8xS-VO-1nS07Jz2Dw/viewform"
target="_blank" class="d-block fixed-top px-3 py-2 bg-success text-center
text-bold text-white">
+ The Airflow Survey is live. Fill it out to receive a prize at the end!
+</a>
+<nav class="js-navbar-scroll navbar" style="top: 40px;">
<div class="navbar__icon-container">
<a href="{{ .Site.Home.RelPermalink }}">
{{ with resources.Get "icons/airflow-logo.svg" }}{{ .Content |
safeHTML }}{{ end }}
diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/header.html
b/sphinx_airflow_theme/sphinx_airflow_theme/header.html
index f8f1d64554..a190c1a76d 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/header.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/header.html
@@ -18,7 +18,10 @@
#}
<header>
- <nav class="js-navbar-scroll navbar">
+ <a
href="https://docs.google.com/forms/d/e/1FAIpQLSeI7wAzHmxj9onIFUtb7NTubdonthKLW8xS-VO-1nS07Jz2Dw/viewform"
target="_blank" class="d-block fixed-top px-3 py-2 bg-success text-center
text-bold text-white">
+ The Airflow Survey is live. Fill it out to receive a prize at the end!
+ </a>
+ <nav class="js-navbar-scroll navbar" style="top: 40px;">
<div class="navbar__icon-container">
<a href="/">
<svg xmlns="http://www.w3.org/2000/svg" width="155.314"
height="60" viewBox="0 0 155.314 60">