Skip to content

Commit

Permalink
Merge pull request #215 from creme332/footer
Browse files Browse the repository at this point in the history
redesign footer
  • Loading branch information
creme332 authored Jun 1, 2024
2 parents e1b7e32 + f54d546 commit 6ee328a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
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>

0 comments on commit 6ee328a

Please sign in to comment.