From 5f23c64c29c32967ea35ba4d1d2727d9a2aadba1 Mon Sep 17 00:00:00 2001
From: dschlueter
Date: Sat, 25 Apr 2026 22:26:20 +0200
Subject: [PATCH] Footer: E-Mail als reiner Text ohne mailto-Link
(Scraper-Schutz)
Co-Authored-By: Claude Sonnet 4.6
---
components/footer.tsx | 41 +++++++++++++++++------------------------
1 file changed, 17 insertions(+), 24 deletions(-)
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]'}
+