---
import { getAlternateLinks } from '../../lib/i18n/utils';

const currentRoute = Astro.url.pathname;
const alternateLinks = getAlternateLinks(currentRoute);
---

{alternateLinks.map(link => (
  <link rel="alternate" hreflang={link.lang} href={`https://manacore.ai${link.href}`} />
))}