"use client"; import Image from "next/image"; import Link from "next/link"; import { getCloudinaryUrl } from "@/src/lib/cloudinary"; import { motion } from "framer-motion"; interface SplitSectionProps { title: string; subtitle: string; description: string; mainImage: string; secondImage: string; href: string; reverse?: boolean; } export default function SplitSection({ title, subtitle, description, mainImage, secondImage, href, reverse = false }: SplitSectionProps) { return (
{/* Text Side */} {subtitle}

{title}

{description}

KEŞFET
{/* Image Side */}
{title} {/* Floating Secondary Image with Parallax-ish Scroll Effect */}
); }