Skip to content

Commit ce08b69

Browse files
committed
Adds dynamic date on footer
1 parent e22b310 commit ce08b69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Footer.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
import { SITE, SOCIALS } from "@consts"
33
import Container from "@components/Container.astro"
4+
import CopyrightDate from '@components/CopyrightDate.tsx'
45
---
56

67
<footer class="relative bg-white dark:bg-black">
@@ -55,9 +56,8 @@ import Container from "@components/Container.astro"
5556
Privacy
5657
</a>
5758
</div>
58-
<div class="text-sm mt-2">
59-
&copy; 2024 | All rights reserved
60-
</div>
59+
60+
<CopyrightDate />
6161
</div>
6262

6363
<div class="order-1 sm:order-2 flex justify-center sm:justify-end">
@@ -101,4 +101,4 @@ import Container from "@components/Container.astro"
101101

102102
document.addEventListener("astro:after-swap", inintializeBackToTop)
103103
inintializeBackToTop()
104-
</script>
104+
</script>

0 commit comments

Comments
 (0)