Skip to content

Commit

Permalink
fix(layout): make footer sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
devshred committed Jun 5, 2024
1 parent 62ca8eb commit 4a01d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const footerYear = new Date().getFullYear()

const Footer = () => (
<footer className="footer p-3 bg-footer text-base-content footer-center">
<footer className="footer p-3 bg-footer text-base-content footer-center fixed bottom-0">
<p>Copyright &copy; {footerYear} All rights reserved</p>
</footer>
)
Expand Down

0 comments on commit 4a01d9a

Please sign in to comment.