"use client"; import { projectData } from "@/data/projects"; import Image from "next/image"; import Link from "next/link"; import React, { useEffect, useRef, useState } from "react"; export default function Projects5() { const isotopRef = useRef(null); // Handle filter item click const isotopContainer = useRef(); const initIsotop = async () => { const Isotope = (await import("isotope-layout")).default; const imagesloaded = (await import("imagesloaded")).default; // Initialize Isotope in the mounted hook isotopRef.current = new Isotope(isotopContainer.current, { itemSelector: ".item", layoutMode: "masonry", // or 'fitRows', depending on your layout needs }); imagesloaded(isotopContainer.current).on( "progress", function (instance, image) { // Trigger Isotope layout isotopRef.current.layout(); } ); }; useEffect(() => { ///////////////////////////////////////////////////// // Magnate Animation setTimeout(() => { initIsotop(); }, 100); }, []); return (

Our Projects

Check out some of our awesome projects with creative ideas and great design.

{/* /column */}
{/* /.row */}
{projectData.map((project) => (
image
{project.category}

{project.title}

))}
{/* /.row */}
{/* /.grid */}
{/* /.container */} {/* /.container */}
); }