This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch add-airflow-summit-2026-banner in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit f4c985cb12bbac6966961295ced2e0ca27753655 Author: Jarek Potiuk <[email protected]> AuthorDate: Tue Jun 16 09:41:05 2026 -0400 Add temporary banner for 2026 Airflow Summit Adds a fixed-top banner linking to airflowsummit.org on both the landing pages and the sphinx theme header, following the pattern used for previous summits. Header offsets in _shared.scss are bumped by 40px to accommodate the banner. Generated-by: Claude Opus 4.8 (1M context) --- landing-pages/site/assets/scss/_shared.scss | 5 +++-- landing-pages/site/layouts/partials/navbar.html | 5 ++++- 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 | 5 ++++- 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/landing-pages/site/assets/scss/_shared.scss b/landing-pages/site/assets/scss/_shared.scss index 65a81a1e0b..be4e3a520b 100644 --- a/landing-pages/site/assets/scss/_shared.scss +++ b/landing-pages/site/assets/scss/_shared.scss @@ -19,6 +19,7 @@ @import "media"; -$fixed-header-offset-desktop: 90px; -$fixed-header-offset-mobile: 80px; +// 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; $landing-page-spacing-y: 40px; diff --git a/landing-pages/site/layouts/partials/navbar.html b/landing-pages/site/layouts/partials/navbar.html index 401c00b9b2..bd7d64b635 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" aria-label="Main navigation"> +<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="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 769bd07882..032fbb02b6 100644 --- a/sphinx_airflow_theme/.theme_files_hash +++ b/sphinx_airflow_theme/.theme_files_hash @@ -1 +1 @@ -f46dbcb27d4a704f9be5ce49eec3ec283353e17a0f233b0e4f5945a012b0b38f +421d922d1ea1d4d45fa1acd23c8ecfa2780266f036b1a91f78ba4af7a9a3d0e8 diff --git a/sphinx_airflow_theme/LATEST_VERSION.txt b/sphinx_airflow_theme/LATEST_VERSION.txt index 5503126d59..208059121d 100644 --- a/sphinx_airflow_theme/LATEST_VERSION.txt +++ b/sphinx_airflow_theme/LATEST_VERSION.txt @@ -1 +1 @@ -0.3.10 +0.3.11 diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py b/sphinx_airflow_theme/sphinx_airflow_theme/__init__.py index a8d2643e06..056e44df13 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.10' +__version__ = '0.3.11' __version_full__ = __version__ diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/header.html b/sphinx_airflow_theme/sphinx_airflow_theme/header.html index e3dedcda13..00478e3241 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://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="navbar__icon-container"> <a href="/"> <svg xmlns="http://www.w3.org/2000/svg" width="155.314" height="60" viewBox="0 0 155.314 60">
