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 3087cd826c Add a banner with a link to promote this year's survey
(#1088)
3087cd826c is described below
commit 3087cd826cccc55d2560a2695ff942098850ee75
Author: Michael Robinson <[email protected]>
AuthorDate: Fri Nov 15 12:36:55 2024 -0500
Add a banner with a link to promote this year's survey (#1088)
* 2024 airflow survey banner.
Signed-off-by: merobi-hub <[email protected]>
* Apply linter fixes.
Signed-off-by: merobi-hub <[email protected]>
---------
Signed-off-by: merobi-hub <[email protected]>
---
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 8820cf0187..004a890397 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://astronomer.typeform.com/airflowsurvey24?typeform-source=www.astronomer.io"
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..df9ed5c4ed 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://astronomer.typeform.com/airflowsurvey24?typeform-source=www.astronomer.io"
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">