This is an automated email from the ASF dual-hosted git repository.
eladkal 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 9c16bc9be8 Add temporary banner for 2024 Airflow Summit (#1004)
9c16bc9be8 is described below
commit 9c16bc9be8b682e34e7dc42b937961527326a82b
Author: Elad Kalif <[email protected]>
AuthorDate: Sat Apr 13 06:15:11 2024 +0300
Add temporary banner for 2024 Airflow Summit (#1004)
---
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..64b88e2a90 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 Summit 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..3dce4c570f 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://airflowsummit.org" target="_blank" class="d-block fixed-top
px-3 py-2 bg-success text-center text-bold text-white">
+ Airflow Summit 2024 is coming September 10-12. Register now!
+</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..0c5b4ee248 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 2024 is coming September 10-12. Register now!
+ </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">