"use client"; import React, { useEffect, useState } from "react"; import Link from "next/link"; import Image from "next/image"; import { caseStudies6 } from "@/data/caseStudies"; import DropdownSelect from "../common/DropdownSelect"; const categories = [ { label: "All Case" }, { label: "Business Consulting" }, { label: "Coroporate" }, { label: "IT Solution" }, { label: "Marketing" }, { label: "Startup Consulting" }, ]; export default function Portfolio() { const [activeCategory, setActiveCategory] = useState("All Case"); const [filtered, setFiltered] = useState(caseStudies6); useEffect(() => { if (activeCategory == "All Case") { setFiltered(caseStudies6); } else { setFiltered(caseStudies6.filter((elm) => elm.category == activeCategory)); } }, [activeCategory]); return (
Discover the transformative power of our solutions. Learn how we've helped businesses of all sizes overcome challenges.
{metric.label}