File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,7 +187,36 @@ export default async function CityPage({ params }) {
187187 < p className = "text-base md:text-lg font-medium mb-2" >
188188 { data . address }
189189 </ p >
190-
190+ { /* Mostrar solo si hay puntos de acceso definidos en la ciudad */ }
191+ { data . accessPoints && data . accessPoints . length > 0 && (
192+ < >
193+ < h3 className = "text-lg md:text-xl font-semibold mt-4 mb-2" >
194+ Puertas de acceso:
195+ </ h3 >
196+ < ul className = "space-y-2" >
197+ { data . accessPoints . map ( ( entry , index ) => (
198+ < li key = { index } className = "flex items-start space-x-2" >
199+ { /* Icono de entrada */ }
200+ < svg
201+ xmlns = "http://www.w3.org/2000/svg"
202+ className = "h-5 w-5 mt-0.5 text-blue-400 flex-shrink-0"
203+ fill = "none"
204+ viewBox = "0 0 24 24"
205+ stroke = "currentColor"
206+ >
207+ < path
208+ strokeLinecap = "round"
209+ strokeLinejoin = "round"
210+ strokeWidth = { 2 }
211+ d = "M12 11c0 .5304-.2107 1.0391-.5858 1.4142C11.0391 12.7893 10.5304 13 10 13s-1.0391-.2107-1.4142-.5858C8.2107 12.0391 8 11.5304 8 11s.2107-1.0391.5858-1.4142C9.0391 9.2107 9.5304 9 10 9s1.0391.2107 1.4142.5858C11.7893 9.9609 12 10.4696 12 11z"
212+ />
213+ </ svg >
214+ < span className = "text-sm md:text-base" > { entry } </ span >
215+ </ li >
216+ ) ) }
217+ </ ul >
218+ </ >
219+ ) }
191220 < h3 className = "text-lg md:text-xl font-semibold mt-3 md:mt-4 mb-2" >
192221 Opciones de transporte:
193222 </ h3 >
You can’t perform that action at this time.
0 commit comments