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

docs: Add nav buttons in footer. Make 'privacy policy' link more readable #325

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 12 additions & 7 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,27 +169,32 @@ footer.footer-localstack {

border-top: 1px solid #ced4da;

padding-top: 3rem;
padding-bottom: 2rem;

color: $gray-500;
background: linear-gradient(77.63deg, #12123E 23.04%, #12123E 23.05%, #3E3174 122.36%);
margin-left: -24px;
margin-right: -24px;

& a {
color: $gray-500;
}

& a:hover {
color: white;
}

& .footer-logo {
max-height: 55px;
opacity: 0.7;
}

& .link-lists li {
font-size: 1.3rem;
}

& a {
color: $gray-500;
}
& a:hover {
color: white;
}
& .prev-next-nav {
height: 3rem;
}

& hr {
Expand Down
12 changes: 12 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
<footer class="footer-localstack d-print-none">

<div class="container-fluid">
<div class="row prev-next-nav">
<div class="col text-left">
{{ with .NextInSection }}
<small><a href="{{.Permalink}}">≪ {{.Title}}</a></small>
{{ end }}
</div>
<div class="col text-right">
{{ with .PrevInSection }}
<small><a href="{{.Permalink}}">{{.Title}} ≫</a></small>
{{ end }}
</div>
</div>
<div class="row">
<div class="col">
<div class="mb-3">
Expand Down