"use client"; import { useState } from "react"; const ROADMAP_DATA = [ { year: "Year 1", trackLeft: "10%", phase: "Launch Phase", phaseClass: "yellow", desc: "Establish localized clearance hubs and launch cargo services connecting 5–6 key commercial cities.", }, { year: "Year 2", trackLeft: "30%", phase: "Network Growth", phaseClass: "green", desc: "Expand hub operations and airfield schedules, serving 15 regional and secondary cargo airports.", }, { year: "Year 3", trackLeft: "50%", phase: "Cross-Border Nodes", phaseClass: "blue", desc: "Add international regional routes, bridging key freight corridors in South Asia.", }, { year: "Year 5", trackLeft: "70%", phase: "Operational Scale", phaseClass: "blue", desc: "Expand to a fleet of 25 leased cargo aircraft, servicing over 50 regional airports nationwide.", }, { year: "Year 10", trackLeft: "90%", phase: "Global Duplication", phaseClass: "white-pill", desc: "Replicate our asset-light, AI-powered logistics framework across Asia, Africa, and the Middle East.", glow: true, }, ]; export default function WingsRoadmap() { const [active, setActive] = useState(ROADMAP_DATA.length - 1); const fillPct = ((active + 1) / ROADMAP_DATA.length) * 100; return ( <> / Future Roadmap / A ten-year path to national scale {ROADMAP_DATA.map((_, i) => ( ))} {ROADMAP_DATA.map((item, i) => ( setActive(i)} onClick={() => setActive(i)} role="button" tabIndex={0} onKeyDown={(e) => { if (e.key === "Enter" || e.key === " ") setActive(i); }} > {item.year} {item.phase} {item.desc} ))} > ); }
{item.desc}