Footer: Label 'E-Mail' fest, Adresse nur im mailto-Link versteckt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Dieter Schlüter 2026-04-25 22:48:45 +02:00
commit b056b5e3b9

View file

@ -19,7 +19,7 @@ const legalLinks = [
export function Footer({ email }: { email?: string }) { export function Footer({ email }: { email?: string }) {
const socialLinks = [ const socialLinks = [
{ label: 'Forgejo', href: 'https://kitux.de/forgejo/dschlueter/jamulix-homepage', icon: Github }, { label: 'Forgejo', href: 'https://kitux.de/forgejo/dschlueter/jamulix-homepage', icon: Github },
{ label: email ?? '[Emailadresse]', href: `mailto:${email ?? '[Emailadresse]'}`, icon: Mail }, { label: 'E-Mail', href: `mailto:${email ?? '[Emailadresse]'}`, icon: Mail },
] ]
const currentYear = new Date().getFullYear() const currentYear = new Date().getFullYear()