Skip to content

Commit 493ec9c

Browse files
authored
Merge pull request #48 from Flow-Launcher/update-year-in-footer
feat: update footer year to current year dynamically
2 parents 71e98be + e74222f commit 493ec9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Footer.astro

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
import Section from "@/components/Section.astro";
33
import SmallText from "@/components/SmallText.astro";
4+
5+
const year = new Date().getFullYear();
46
---
57
<Section padding="48" class="footer">
6-
<SmallText class="footer-text">Flow Launcher Team © 2024</SmallText>
8+
<SmallText class="footer-text">Flow Launcher Team © {year}</SmallText>
79
</Section>
810

911
<style>

0 commit comments

Comments
 (0)