This is an automated email from the ASF dual-hosted git repository. ephraimbuddy pushed a commit to branch banner-airflow-survey-2026 in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 153996d90e0b71a40a1dc7c684abc2c3fa1291fb Author: Ephraim Anierobi <[email protected]> AuthorDate: Thu Aug 27 17:29:21 2026 +0100 Add Airflow Survey 2026 banner above the navbar Stacks a second announcement banner linking to https://astronomer.typeform.com/airflowsurvey26 alongside the existing Airflow Summit 2026 banner, rather than replacing it. --- landing-pages/site/assets/scss/_navbar.scss | 11 +++++++++++ landing-pages/site/assets/scss/_shared.scss | 7 ++++--- landing-pages/site/layouts/_partials/navbar.html | 13 +++++++++---- landing-pages/site/layouts/partials/navbar.html | 13 +++++++++---- sphinx_airflow_theme/.theme_files_hash | 2 +- sphinx_airflow_theme/LATEST_VERSION.txt | 2 +- sphinx_airflow_theme/sphinx_airflow_theme/__init__.py | 2 +- sphinx_airflow_theme/sphinx_airflow_theme/header.html | 13 +++++++++---- 8 files changed, 45 insertions(+), 18 deletions(-) diff --git a/landing-pages/site/assets/scss/_navbar.scss b/landing-pages/site/assets/scss/_navbar.scss index d72c1a9a31..edd4099971 100644 --- a/landing-pages/site/assets/scss/_navbar.scss +++ b/landing-pages/site/assets/scss/_navbar.scss @@ -19,6 +19,17 @@ @import "colors"; @import "media"; +/* TEMP - announcement banners stacked above the navbar. Each link fills its own + row and has no surrounding non-link text, so it carries no underline at rest + (same rationale as .list-providers li a in main-custom.scss); underline on + hover/focus for interaction feedback. */ +.top-banner a { + &:hover, + &:focus { + text-decoration: underline; + } +} + .navbar { position: fixed; top: 0; diff --git a/landing-pages/site/assets/scss/_shared.scss b/landing-pages/site/assets/scss/_shared.scss index be4e3a520b..6c5784316c 100644 --- a/landing-pages/site/assets/scss/_shared.scss +++ b/landing-pages/site/assets/scss/_shared.scss @@ -19,7 +19,8 @@ @import "media"; -// TEMP - offsets bumped by 40px to accommodate the Airflow Summit banner (90 + 40 / 80 + 40) -$fixed-header-offset-desktop: 130px; -$fixed-header-offset-mobile: 120px; +// TEMP - offsets bumped by 80px to accommodate the stacked Airflow Summit and +// Airflow Survey banners, 40px each (90 + 80 / 80 + 80) +$fixed-header-offset-desktop: 170px; +$fixed-header-offset-mobile: 160px; $landing-page-spacing-y: 40px; diff --git a/landing-pages/site/layouts/_partials/navbar.html b/landing-pages/site/layouts/_partials/navbar.html index 82e9e72349..44b0e174a7 100644 --- a/landing-pages/site/layouts/_partials/navbar.html +++ b/landing-pages/site/layouts/_partials/navbar.html @@ -18,10 +18,15 @@ */}} {{ $cover := .HasShortcode "blocks/cover" }} -<a href="https://airflowsummit.org" target="_blank" class="d-block fixed-top px-3 py-2 bg-success text-center text-bold text-white"> - Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot! -</a> -<nav class="js-navbar-scroll navbar" aria-label="Main navigation" style="top: 40px;"> +<div class="fixed-top top-banner"> + <a href="https://airflowsummit.org" target="_blank" class="d-block px-3 py-2 bg-success text-center text-bold text-white"> + Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot! + </a> + <a href="https://astronomer.typeform.com/airflowsurvey26" target="_blank" class="d-block 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> +</div> +<nav class="js-navbar-scroll navbar" aria-label="Main navigation" style="top: 80px;"> <div class="navbar__icon-container"> <a href="{{ .Site.Home.RelPermalink }}" aria-label="Apache Airflow home"> diff --git a/landing-pages/site/layouts/partials/navbar.html b/landing-pages/site/layouts/partials/navbar.html index bd7d64b635..b1b681ff57 100644 --- a/landing-pages/site/layouts/partials/navbar.html +++ b/landing-pages/site/layouts/partials/navbar.html @@ -18,10 +18,15 @@ */}} {{ $cover := .HasShortcode "blocks/cover" }} -<a href="https://airflowsummit.org" target="_blank" class="d-block fixed-top px-3 py-2 bg-success text-center text-bold text-white"> - Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot! -</a> -<nav class="js-navbar-scroll navbar" aria-label="Main navigation" style="top: 40px;"> +<div class="fixed-top top-banner"> + <a href="https://airflowsummit.org" target="_blank" class="d-block px-3 py-2 bg-success text-center text-bold text-white"> + Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot! + </a> + <a href="https://astronomer.typeform.com/airflowsurvey26" target="_blank" class="d-block 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> +</div> +<nav class="js-navbar-scroll navbar" aria-label="Main navigation" style="top: 80px;"> <div class="navbar__icon-container"> <a href="{{ .Site.Home.RelPermalink }}" aria-label="Apache Airflow home"> diff --git a/sphinx_airflow_theme/.theme_files_hash b/sphinx_airflow_theme/.theme_files_hash index 540ee79e5e..c9624a4b14 100644 --- a/sphinx_airflow_theme/.theme_files_hash +++ b/sphinx_airflow_theme/.theme_files_hash @@ -1 +1 @@ -d21a543dd8af8cb4b4646a185f29fd46a2276d30c3b902ad7b92201d5ee9a29a +1bd1b709b98487fb78b2a6a8e3c1d9d33d3be00727e604594db63b12b2afa8f8 diff --git a/sphinx_airflow_theme/LATEST_VERSION.txt b/sphinx_airflow_theme/LATEST_VERSION.txt index e4737652ca..0b69c00c5f 100644 --- a/sphinx_airflow_theme/LATEST_VERSION.txt +++ b/sphinx_airflow_theme/LATEST_VERSION.txt @@ -1 +1 @@ -0.3.13 +0.3.14 diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py index 3ac2f3aad8..afc44ed3bd 100644 --- a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py +++ b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py @@ -18,7 +18,7 @@ from os import path from sphinx.application import Sphinx -__version__ = '0.3.13' +__version__ = '0.3.14' __version_full__ = __version__ diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/header.html b/sphinx_airflow_theme/sphinx_airflow_theme/header.html index 00478e3241..131f1e1c87 100644 --- a/sphinx_airflow_theme/sphinx_airflow_theme/header.html +++ b/sphinx_airflow_theme/sphinx_airflow_theme/header.html @@ -18,10 +18,15 @@ #} <header> - <a href="https://airflowsummit.org" target="_blank" class="d-block fixed-top px-3 py-2 bg-success text-center text-bold text-white"> - Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot! - </a> - <nav class="js-navbar-scroll navbar" style="top: 40px;"> + <div class="fixed-top top-banner"> + <a href="https://airflowsummit.org" target="_blank" class="d-block px-3 py-2 bg-success text-center text-bold text-white"> + Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot! + </a> + <a href="https://astronomer.typeform.com/airflowsurvey26" target="_blank" class="d-block 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> + </div> + <nav class="js-navbar-scroll navbar" style="top: 80px;"> <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">
