me
/
ethanreece.com
Archived
1
0
Fork 0

Add year to copyright

main
Ethan Reece 2023-08-19 15:12:58 -05:00
parent d0af8aca8d
commit 491c7ba3c1
Signed by: me
GPG Key ID: D3993665FF92E1C3
1 changed files with 2 additions and 1 deletions

View File

@ -8,11 +8,12 @@ interface NavItem {
} }
const links: NavItem[] = [{ text: 'site credits', link: '/credits' }] const links: NavItem[] = [{ text: 'site credits', link: '/credits' }]
const year = new Date().getFullYear()
--- ---
<section> <section>
<footer class={`flex bg-background-light ${paddingX} ${paddingY}`}> <footer class={`flex bg-background-light ${paddingX} ${paddingY}`}>
<span class="mr-auto">Copyright Ethan Reece</span> <span class="mr-auto">Copyright Ethan Reece {year}</span>
<nav> <nav>
{ {
links.map((link) => ( links.map((link) => (