diff --git a/src/components/SiteFooter/CompanyLinks.svelte b/src/components/SiteFooter/CompanyLinks.svelte index 443dc930..be3c6f29 100644 --- a/src/components/SiteFooter/CompanyLinks.svelte +++ b/src/components/SiteFooter/CompanyLinks.svelte @@ -25,6 +25,11 @@ } let { links = {} }: Props = $props(); + + const normaliseSocialName = (name: string) => { + if (name === 'twitter') return 'X'; + return name; + }; {#if links.social_links} @@ -42,7 +47,10 @@ {@const SvelteComponent = symbols[link.type as keyof typeof symbols]}