Add disclaimer to footer (#163)
diff --git a/landing-pages/site/assets/scss/_footer.scss b/landing-pages/site/assets/scss/_footer.scss
index 3e4fa66..9d56a37 100644
--- a/landing-pages/site/assets/scss/_footer.scss
+++ b/landing-pages/site/assets/scss/_footer.scss
@@ -26,7 +26,6 @@
display: flex;
flex-wrap: wrap;
justify-content: space-between;
- align-items: center;
span {
@extend .bodytext__medium--white;
@@ -54,6 +53,7 @@
padding: 30px 60px;
background-color: map-get($colors, slate-grey);
font-size: 12px;
+ flex-direction: column !important;
span {
font-size: 12px;
@@ -79,6 +79,17 @@
}
}
}
+
+ &--disclaimer {
+ display: block;
+ max-width: 600px;
+ color: map-get($colors, very-light-pink) !important;
+ margin-top: 16px;
+
+ @media (min-width: $fullhd) {
+ max-width: 800px;
+ }
+ }
}
}
diff --git a/landing-pages/site/layouts/partials/footer.html b/landing-pages/site/layouts/partials/footer.html
index a7ea861..2ccdc27 100644
--- a/landing-pages/site/layouts/partials/footer.html
+++ b/landing-pages/site/layouts/partials/footer.html
@@ -39,20 +39,26 @@
</div>
</div>
<div class="footer-section footer-section__policies-section">
- {{ with .Site.Params.copyright }}<span>© {{ . }} {{ now.Format "2006" }}</span>{{ end }}
- <div class="footer-section__policies-section--policies">
- {{ with $links }}
- {{ with index . "policies"}}
- {{ range . }}
- <a href="{{ .url }}" class="footer-section__policies-section--policy-item">
- <span>{{ .name }}</span>
- </a>
+ <div class="footer-section">
+ {{ with .Site.Params.copyright }}<span>© {{ . }} {{ now.Format "2006" }}</span>{{ end }}
+ <div class="footer-section__policies-section--policies">
+ {{ with $links }}
+ {{ with index . "policies"}}
+ {{ range . }}
+ <a href="{{ .url }}" class="footer-section__policies-section--policy-item">
+ <span>{{ .name }}</span>
+ </a>
+ {{ end }}
{{ end }}
{{ end }}
- {{ end }}
- <div class="footer-section__policies-section--language-toggle">
- {{ partial "lang-selector" . }}
+ <div class="footer-section__policies-section--language-toggle">
+ {{ partial "lang-selector" . }}
+ </div>
</div>
</div>
+ <span class="footer-section__policies-section--disclaimer">
+ Apache Airflow, Apache, Airflow, the Airflow logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation.
+ All other products or name brands are trademarks of their respective holders, including The Apache Software Foundation.
+ </span>
</div>
</footer>
diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/footer.html b/sphinx_airflow_theme/sphinx_airflow_theme/footer.html
index f0a3c11..c7ce5e5 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/footer.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/footer.html
@@ -100,49 +100,55 @@
</div>
</div>
<div class="footer-section footer-section__policies-section">
- <span>© The Apache Software Foundation 2019</span>
- <div class="footer-section__policies-section--policies">
+ <div class="footer-section">
+ <span>© The Apache Software Foundation 2019</span>
+ <div class="footer-section__policies-section--policies">
- <a href="https://www.apache.org/licenses/" class="footer-section__policies-section--policy-item">
- <span>License</span>
- </a>
-
- <a href="https://www.apache.org/foundation/sponsorship.html" class="footer-section__policies-section--policy-item">
- <span>Donate</span>
- </a>
-
- <a href="https://www.apache.org/foundation/thanks.html" class="footer-section__policies-section--policy-item">
- <span>Thanks</span>
- </a>
-
- <a href="https://www.apache.org/security/" class="footer-section__policies-section--policy-item">
- <span>Security</span>
- </a>
-
- <a href="/docs" class="footer-section__policies-section--policy-item">
- <span>Season of Docs</span>
- </a>
-
- <a href="/" class="footer-section__policies-section--policy-item">
- <span>Privacy policy & terms</span>
- </a>
-
- <a href="/" class="footer-section__policies-section--policy-item">
- <span>Cookies</span>
- </a>
-
- <div class="footer-section__policies-section--language-toggle">
-
- <a class="dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- <span>English</span>
+ <a href="https://www.apache.org/licenses/" class="footer-section__policies-section--policy-item">
+ <span>License</span>
</a>
- <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
- <a class="dropdown-item" href="/no/">Norsk</a>
+ <a href="https://www.apache.org/foundation/sponsorship.html" class="footer-section__policies-section--policy-item">
+ <span>Donate</span>
+ </a>
+
+ <a href="https://www.apache.org/foundation/thanks.html" class="footer-section__policies-section--policy-item">
+ <span>Thanks</span>
+ </a>
+
+ <a href="https://www.apache.org/security/" class="footer-section__policies-section--policy-item">
+ <span>Security</span>
+ </a>
+
+ <a href="/docs" class="footer-section__policies-section--policy-item">
+ <span>Season of Docs</span>
+ </a>
+
+ <a href="/" class="footer-section__policies-section--policy-item">
+ <span>Privacy policy & terms</span>
+ </a>
+
+ <a href="/" class="footer-section__policies-section--policy-item">
+ <span>Cookies</span>
+ </a>
+
+ <div class="footer-section__policies-section--language-toggle">
+
+ <a class="dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+ <span>English</span>
+ </a>
+ <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
+
+ <a class="dropdown-item" href="/no/">Norsk</a>
+
+ </div>
</div>
-
</div>
</div>
+ <span class="footer-section__policies-section--disclaimer">
+ Apache Airflow, Apache, Airflow, the Airflow logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation.
+ All other products or name brands are trademarks of their respective holders, including The Apache Software Foundation.
+ </span>
</div>
</footer>