"use client"; import React, { useState } from 'react'; import { motion } from 'framer-motion'; import { FaArrowRight } from 'react-icons/fa'; // Define the Item interface interface Item { id: number; media: string; // URL for image or video title: string; description: string; link: string; } // Define the items array with type annotations const items: Item[] = [ { id: 1, media: "https://res.cloudinary.com/zapier-media/video/upload/q_auto:best/f_auto/v1726860621/Homepage%20%E2%80%94%20Sept%202024/sc01_HP_240917_Connect_v01_edm2pd.mp4", title: "Product Management", description: "Coordinate and manage product sprints in collaboration with cross-functional team members, ensuring efficient planning and execution. Work closely with partners from different teams to iterate rapidly, align goals, and drive continuous improvement throughout the development process.", link: "/product-manager", }, { id: 2, media: "https://res.cloudinary.com/zapier-media/video/upload/q_auto:best/f_auto/v1726860622/Homepage%20%E2%80%94%20Sept%202024/sc02_HP_240917_Automate_v01_tnxxyr.mp4", title: "Marketing", description: "Develop and implement marketing strategies to promote products and services, analyze market trends, and identify target audiences. Collaborate with sales teams to create effective campaigns that drive brand awareness and customer engagement while measuring the effectiveness of marketing initiatives.", link: "/marketing", }, { id: 3, media: "https://res.cloudinary.com/zapier-media/video/upload/q_auto:best/f_auto/v1726860625/Homepage%20%E2%80%94%20Sept%202024/sc03_HP_240917_Power-with-AI_v02_supxar.mp4", title: "Sales", description: "Drive revenue growth by identifying potential clients, building relationships, and closing sales deals. Develop sales strategies that align with company goals, deliver presentations to prospective customers, and provide exceptional customer service to ensure client satisfaction and retention.", link: "/sales", }, { id: 4, media: "https://res.cloudinary.com/zapier-media/video/upload/q_auto:best/f_auto/v1726860625/Homepage%20%E2%80%94%20Sept%202024/sc03_HP_240917_Power-with-AI_v02_supxar.mp4", title: "HR", description: "Manage recruitment processes, employee relations, and organizational development initiatives. Ensure compliance with labor laws and regulations while fostering a positive workplace culture that promotes employee engagement and professional growth. Implement training programs to enhance workforce capabilities and performance.", link: "/hr", }, ]; export default function Cliclables() { const [selectedItem, setSelectedItem] = useState(items[0]); const handleButtonClick = (item: Item) => { setSelectedItem(item); }; return (
{/* Image section */}
{/* Navigation buttons at the top */}
{items.map((item) => ( ))}
{/* Description section */}

{selectedItem.title}

{selectedItem.description}

Learn More
); }