"use client"; import { useState } from "react"; // import Link from "next/link"; // navigation temporarily disabled import { AnimatePresence, motion } from "framer-motion"; // Non-navigating stub — links still render but go nowhere. Restore the import // above to re-enable navigation. const Link = ({ href, onClick, children, ...props }) => ( { e.preventDefault(); onClick?.(e); }} {...props}> {children} ); import { ArrowRight } from "@/components/ui/icons"; import AnimatedButton from "@/components/ui/AnimatedButton"; /** * "Our Expertise" — split layout + accordion + feature tags. The left panel * explains the active category; the right side is an accordion of the five * capability areas with technology tags. Collapsed panels stay mounted * (height-animated, never unmounted) so all content remains crawlable. * Brand-strict. */ const EXPERTISE = [ { no: "01", title: "Web Development", desc: "High-performance web apps, enterprise platforms and SaaS products — engineered on a modern stack and built to scale with your traffic.", href: "/services/web-development", tags: ["Next.js", "React", "Node.js", "Enterprise Applications", "SaaS Platforms"], image: "/images/opt/HeroBanner1.webp", }, { no: "02", title: "Mobile Development", desc: "Native and cross-platform apps that feel right on every device — shipped to both stores with performance users notice.", href: "/services/mobile-app-development", tags: ["Android", "iOS", "React Native", "Flutter", "Cross-Platform Apps"], image: "/images/opt/HeroBanner2.webp", }, { no: "03", title: "Game Development", desc: "Immersive 2D, 3D and multiplayer experiences across mobile, PC and AR/VR — from concept to live ops.", href: "/services/game-development", tags: ["Unity", "Unreal Engine", "Multiplayer Systems", "AR/VR", "Mobile Games"], image: "/images/opt/Pillar1.webp", }, { no: "04", title: "AI & Data Intelligence", desc: "Generative AI, intelligent agents and analytics that automate the routine and surface insight you can act on.", href: "/services/ai-development", tags: ["Generative AI", "AI Agents", "Data Analytics", "Machine Learning", "Automation"], image: "/images/opt/HeroBanner3.png", }, { no: "05", title: "Cloud & DevOps", desc: "Secure, automated infrastructure and delivery pipelines that keep your systems fast, observable and always-on.", href: "/services/cloud-solutions", tags: ["AWS", "Azure", "Docker", "Kubernetes", "CI/CD"], image: "/images/opt/Pillar2.webp", }, ]; const EASE = [0.21, 0.47, 0.32, 0.98]; const rise = { hidden: { opacity: 0, y: 36 }, show: { opacity: 1, y: 0, transition: { duration: 0.6, ease: EASE } }, }; export default function OurExpertise() { const [active, setActive] = useState(0); const current = EXPERTISE[active]; return (
{/* Left — sticky intro for the active category */} {/* Panel background video (OurExperties) + washes for legibility. Poster = optimized still, so the panel paints instantly. */}
); }