"use client"; import { motion, useInView } from "framer-motion"; import { useRef } from "react"; import Image from "next/image"; import Link from "next/link"; import { experiences } from "@/lib/constants"; import { SectionHeader } from "@/components/shared/SectionHeader"; import { Button } from "@/components/shared/Button"; function ExperienceCard({ experience, index, featured = false, }: { experience: (typeof experiences)[0]; index: number; featured?: boolean; }) { const ref = useRef(null); const isInView = useInView(ref, { once: true, margin: "-50px" }); if (featured) { return ( Popular — Sells out 3 days in advance {experience.tagline} {experience.name} {experience.hook} {experience.highlights.map((h, i) => ( {h.icon} {h.text} ))} {experience.duration} {experience.groupSize} From €{experience.price} /person Book Now ); } return ( {experience.tagline} {experience.name} {experience.hook} {experience.highlights.slice(0, 3).map((h, i) => ( {h.icon} {h.text} ))} {experience.duration} {experience.groupSize} From €{experience.price} Book Now ); } export function ExperienceGrid() { const featured = experiences.find((e) => e.featured); const others = experiences.filter((e) => !e.featured); return ( {featured && } {others.map((exp, i) => ( ))} Private Editions Want The Anatolian Edit all to yourself? Every experience is available as a private edition for couples, families, or groups of up to 12. Inquire About Private Experiences Starting from €250 ); }
{experience.tagline}
{experience.hook}
Want The Anatolian Edit all to yourself? Every experience is available as a private edition for couples, families, or groups of up to 12.