diff --git a/src/components/sections/team/TeamPets.tsx b/src/components/sections/team/TeamPets.tsx new file mode 100644 index 0000000..89bff69 --- /dev/null +++ b/src/components/sections/team/TeamPets.tsx @@ -0,0 +1,62 @@ +import Card from "@/components/ui/Card"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import TextAnimation from "@/components/ui/TextAnimation"; + +type Pet = { + name: string; + description: string; + imageSrc: string; +}; + +type TeamPetsProps = { + tag?: string; + title: string; + description?: string; + pets: Pet[]; +}; + +const TeamPets = ({ tag, title, description, pets }: TeamPetsProps) => { + return ( +
+
+
+ {tag && {tag}} + + + + {description && ( + + )} +
+ +
+ {pets.map((pet) => ( + +
+ +
+
+

{pet.name}

+

{pet.description}

+
+
+ ))} +
+
+
+ ); +}; + +export default TeamPets; \ No newline at end of file diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 53e0a73..e2f5d35 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -7,6 +7,7 @@ import HeroBrand from '@/components/sections/hero/HeroBrand'; import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; import ProductVariantCards from '@/components/sections/product/ProductVariantCards'; import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; +import TeamPets from '@/components/sections/team/TeamPets'; export default function HomePage() { return ( @@ -233,6 +234,11 @@ export default function HomePage() { imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xrpk5b" /> - + + +
+ +
+ ); } \ No newline at end of file