Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

site: update footer #132

Merged
merged 1 commit into from
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion themes/docsy/assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@ footer {
color: #fff;
text-decoration: underline;
}
.footer-container{
width: 100%;
overflow: hidden;
}
.footer-apache-logo{
width: 300px;
max-width: 80%;
margin: 0 0 10px 0;
margin: 0 0 10px 10px;
}
.container-center{
margin: auto;
Expand Down
13 changes: 7 additions & 6 deletions themes/docsy/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{{ $links := .Site.Params.links }}
<footer class="bg-dark py-5 row d-print-none">
<div class="container">
<footer class="bg-dark py-3 row d-print-none">
<div class="footer-container">
<div class="row">
{{ if .Site.Params.ui.footer_logo }}
<div class="col-6">
<div class="col-1"></div>
<div class="col-4 text-center container-center">
<div class="footer-row">
<a href="https://www.apache.org">
<div class="footer-apache-logo">
Expand All @@ -21,10 +22,10 @@
</div>
</div>
<div class="col-6 text-white text-center container-center">
<p>Copyright &copy; {{ now.Year}} The Apache Software Foundation, Licensed under</p>
<p>the <a class="white" href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> .Apache and the Apache feather</p>
<p>logo are trademarks of The Apache Software Foundation. </p>
<p>Copyright &copy; {{ now.Year}} The Apache Software Foundation, Licensed under the <a class="white" href="https://www.apache.org/licenses/LICENSE-2.0">Apache License Version 2.0</a></p>
<p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</div>
<div class="col-1"></div>
</div>
</div>
</footer>
Expand Down