Merge pull request #27 from hansmartens68/fix/contact-card-strip-www

Fix contact card display: strip www. prefix from social links
This commit is contained in:
Hans Martens
2026-04-06 12:16:16 +02:00
committed by GitHub
+1 -1
View File
@@ -26,7 +26,7 @@ const channels = [
...socialLinks.map((link) => ({
icon: link.icon,
label: link.label,
value: link.href.replace(/^https?:\/\//, ''),
value: link.href.replace(/^https?:\/\/(www\.)?/, ''),
note: 'Follow along',
href: link.href,
external: true,