diff --git a/src/components/CoachCard.astro b/src/components/CoachCard.astro deleted file mode 100644 index 895766e..0000000 --- a/src/components/CoachCard.astro +++ /dev/null @@ -1,34 +0,0 @@ ---- -import { useTranslations } from '@/i18n/utils' -import { Image } from 'astro:assets' -import type { CollectionEntry } from 'astro:content' - -type Props = CollectionEntry<'coaches'> & { lang?: string } - -const { slug, lang, data } = Astro.props -const { name, description, cover, coverAlt } = data -const t = useTranslations(lang) -const coachPageLink = `/coaches/${slug}` ---- - -
{description}
{ cta && ( @@ -26,7 +26,7 @@ const { title, description, cta, image, imageAlt } = Astro.props ) }