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}` ---- - -
- - {coverAlt} - -
-

{name}

- {description &&

{description}

} - - {t('coaches.link')} - -
-
diff --git a/src/components/GymGallery.tsx b/src/components/GymGallery.tsx new file mode 100644 index 0000000..f91ef52 --- /dev/null +++ b/src/components/GymGallery.tsx @@ -0,0 +1,9 @@ +import { MediaSwiperWithNav } from './swiper/MediaSwiperWithNav' + +export type GymGalleryProps = { + images: ImportAttributes[] +} + +export const GymGallery: React.FC = ({ images }) => { + return +} diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 0f214dc..e0ba13e 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -14,7 +14,7 @@ const { title, description, cta, image, imageAlt } = Astro.props className="mt-[var(--header-height)] p-0 md:mt-0 md:flex-col-reverse md:py-24 lg:flex-row lg:items-center" >
-

+

{description}

{ cta && ( @@ -26,7 +26,7 @@ const { title, description, cta, image, imageAlt } = Astro.props ) }

-