---
import { useDict } from '@i18n/t';
import type { Locale } from '@i18n/locales';

interface Props {
  locale: Locale;
}
const { locale } = Astro.props;
const d = useDict(locale);
---

<a href="#main" class="skip-link">{d.a11y.skipToContent}</a>
