"use client"; import Image from "next/image"; import { useState } from "react"; import { motion } from "framer-motion"; const images = ["/g1.png", "/g2.png", "/g3.png", "/g4.png"]; export default function Galeri() { const [consent, setConsent] = useState(false); return (
Galeri Kami
{[images[0], images[1]].map((src, index) => ( {`Galeri ))}
{[images[2], images[3]].map((src, index) => ( {`Galeri ))}
); }