"use client"; import visaData from "./visa.json"; import Breadcrumb from "./components/Breadcrumb"; const ASSET_URL = process.env.NEXT_PUBLIC_API_URL || ""; interface VisaCountry { id: number; name: string; icon: string; services: string[]; } const visaCountries: VisaCountry[] = visaData.visaSystem.summaryList.map( (country) => ({ ...country, icon: `${ASSET_URL}/${country.icon}`, }), ); export default function VisaListPage() { const getSlug = (countryName: string): string => { return countryName.toLowerCase().replace(/\s+/g, "-"); }; return ( <> {/* Breadcrumb-Wrapper Section Start */} {/* Service Section Start */}
{visaCountries.map((country) => (
  • {country.services[0]}
  • {country.services[1]}
  • {country.services[2]}
  • {country.services[3]}
))}
); }