'use client'; import { MapPin } from 'lucide-react'; import { Stations } from '@/app/api-utlities/@types'; import { Point } from '@/features/map/model'; import { YandexMap } from '@/features/map/ui/yandex-map'; import { useTextController } from '@/shared/language/hooks/use-text-controller'; interface MapSectionProps { stations: Stations; } export const MapSection = ({ stations }: MapSectionProps) => { const { t } = useTextController(); const points = stations.map((st) => ({ id: st.id, coordinates: [st.latitude, st.longitude], })) as Point[]; return (

{t('home.stations.title')}

{t('home.stations.description')}

{/* */}
); };