Skip to content

Commit 3c3866b

Browse files
committed
style: update footer layout to be responsive with flexbox alignment
1 parent 9a8ec85 commit 3c3866b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Footer.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
const currentYear = new Date().getFullYear();
33
---
44

5-
<footer class="footer footer-center p-10 bg-base-200 text-base-content">
6-
<nav class="grid grid-flow-col gap-4">
5+
<footer class="p-8 bg-base-200 text-base-content flex flex-col md:flex-row items-center justify-between gap-6">
6+
<nav class="flex flex-wrap justify-center md:justify-start gap-4">
77
<a href="/privacy-policy" class="link link-hover">Privacy Policy</a>
88
<a href="/disclaimer" class="link link-hover">Disclaimer</a>
99
<a href="https://github.com/IrvanFza/mycodingplan" class="link link-hover">GitHub</a>
1010
</nav>
1111

12-
<aside>
12+
<aside class="text-center md:text-right">
1313
<p class="text-sm">
1414
© {currentYear} <a href="/" class="link link-primary">MyCodingPlan</a>
1515
· Built with ❤️ using <a href="https://astro.build" target="_blank" rel="noopener noreferrer" class="link link-primary">Astro</a>

0 commit comments

Comments
 (0)