diff --git a/components/footer.tsx b/components/footer.tsx index 1242ce7..74fb971 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -17,10 +17,7 @@ const legalLinks = [ ] export function Footer({ email }: { email?: string }) { - const socialLinks = [ - { label: 'Forgejo', href: 'https://kitux.de/forgejo/dschlueter/jamulix-homepage', icon: Github }, - { label: 'E-Mail', href: `mailto:${email ?? '[Emailadresse]'}`, icon: Mail }, - ] + const repoLink = { label: 'Forgejo', href: 'https://kitux.de/forgejo/dschlueter/jamulix-homepage', icon: Github } const currentYear = new Date().getFullYear() return ( @@ -48,26 +45,22 @@ export function Footer({ email }: { email?: string }) {

{/* Social links */} -
- {socialLinks.map((link) => { - const Icon = link.icon - return ( - - - {link.label} - {link.href.startsWith('http') && ( - - )} - - ) - })} +
+ + + {repoLink.label} + + + + + {email ?? '[Emailadresse]'} +