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

redesign footer #215

Merged
merged 1 commit into from
Jun 1, 2024
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
17 changes: 15 additions & 2 deletions public/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,22 @@ body > nav [data-tooltip]:not(a,button,input) {
}

#page-footer {
padding: 1rem 0;
font-size: 15px;
display: flex;
justify-content: center;
justify-content: space-between;
padding: 40px 0;
}

#page-footer > ul {
display: flex;
margin: 0;
padding: 0;
gap: 1em;
}

#page-footer > ul > li {
font-size: 15px;
list-style-type: none;
}

.warning {
Expand Down
14 changes: 10 additions & 4 deletions src/views/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,16 @@

<?= $template_content ?>

<footer id="page-footer" class="container-fluid">
<small class="secondary">
© <?= date("Y") ?> Steamy Sips Café
</small>
<footer id="page-footer" class="container">
<ul>
<li><a class="secondary" href="/#about-us">About Us</a></li>
<li><a class="secondary" href="privacy-policy.html">Privacy Policy</a></li>
<li><a class="secondary" href="terms-of-use.html">Terms of Use</a></li>
<li><a class="secondary" href="/contact">Contact Us</a></li>
</ul>
<div>
© <?= date("Y") ?> Steamy Sips Café. All rights reserved.
</div>
</footer>
</body>
</html>