"use client"; import { useEffect, useState } from "react"; import { getFeaturedServices } from "@/app/actions"; import * as LucideIcons from "lucide-react"; import { ArrowRight, Layers } from "lucide-react"; import Link from "next/link"; export default function Capabilities() { const [services, setServices] = useState([]); useEffect(() => { async function fetchServices() { const data = await getFeaturedServices(); if (data && data.length > 0) { setServices(data); } } fetchServices(); }, []); const DynamicIcon = ({ name, className }: { name: string, className?: string }) => { const IconComponent = (LucideIcons as any)[name] || Layers; return ; }; // Fallback static data if database is empty const displayData = services.length > 0 ? services : [ { title: "Art Direction", description: "Conceptualizing visual narratives that resonate. We define the look and feel before the camera even rolls.", icon_name: "Palette" }, { title: "Cinematography", description: "Capturing light and shadow with state-of-the-art gear. 8K workflows and cinema-grade optics.", icon_name: "Video" }, { title: "Motion Graphics", description: "Adding kinetic energy to static visuals. 2D and 3D animation that enhances the storytelling.", icon_name: "Clapperboard" }, { title: "Color Grading", description: "Setting the mood with precise color science. We ensure your visuals look perfect on every screen.", icon_name: "Contrast" } ]; return (
{/* Left Content */}

Yeteneklerimiz

Fikir aşamasından final renk düzenlemesine kadar, görsel üretim sürecinin her adımını takıntılı derecede yüksek standartlarla yönetiyoruz.

Tüm Hizmetleri Gör
{/* Right Grid - Restored to Original Design */}
{services.map((service, index) => (

{service.title}

{service.description}

))}
); }