diff --git a/public/index.html b/public/index.html index db78f02..84eab77 100644 --- a/public/index.html +++ b/public/index.html @@ -2370,6 +2370,7 @@ Deje sus criterios y le encontraremos la propiedad perfecta. Nuestro equipo anal }, { id: 4, + slug: 'terreno-vista-orotava', type: 'agricultural', badge: '', title: { es: 'Terreno Rustico en La Orotava', ru: 'Сельский участок в Ла Оротаве' }, @@ -2387,6 +2388,7 @@ Deje sus criterios y le encontraremos la propiedad perfecta. Nuestro equipo anal }, { id: 5, + slug: 'apartamento-playa-las-americas', type: 'apartment', badge: 'exclusive', title: { es: 'Apartamento en Puerto de la Cruz', ru: 'Апартаменты в Пуэрто де ла Крус' }, @@ -2407,6 +2409,7 @@ Deje sus criterios y le encontraremos la propiedad perfecta. Nuestro equipo anal }, { id: 6, + slug: 'villa-piscina-san-miguel', type: 'ruins', badge: 'new', title: { es: 'Casa Ruina para Reconstruir', ru: 'Дом-руина для восстановления' }, @@ -2424,6 +2427,7 @@ Deje sus criterios y le encontraremos la propiedad perfecta. Nuestro equipo anal }, { id: 7, + slug: 'terreno-urbanizable-granadilla', type: 'urban', badge: '', title: { es: 'Parcela Urbana en Granadilla', ru: 'Городской участок в Гранадилье' }, @@ -2441,6 +2445,7 @@ Deje sus criterios y le encontraremos la propiedad perfecta. Nuestro equipo anal }, { id: 8, + slug: 'chalet-santa-cruz', type: 'house', badge: 'exclusive', title: { es: 'Chalet Independiente', ru: 'Отдельный шале' }, @@ -2461,6 +2466,7 @@ Deje sus criterios y le encontraremos la propiedad perfecta. Nuestro equipo anal }, { id: 9, + slug: 'finca-platanos-canarios', type: 'agricultural', badge: '', title: { es: 'Finca con Palmeras', ru: 'Финка с пальмами' }, @@ -2771,15 +2777,66 @@ Deje sus criterios y le encontraremos la propiedad perfecta. Nuestro equipo anal const typeLabel = getTypeLabel(property.type); const location = property.location[currentLang]; const title = property.title[currentLang]; + const mainImage = property.image; + const priceFormatted = formatPrice(property.price); + const areaFormatted = property.area.toLocaleString(); const card = `
-
- +
+
+ + ${title} + +
+ ${typeLabel} + ${property.badge === 'exclusive' ? 'Exclusivo' : ''} +
+ +
+
+
${typeLabel}
+ ${title} +

+ + ${location} +

+
+
+ + ${areaFormatted} m² +
+ ${property.rooms ? ` +
+ + ${property.rooms} ${currentLang === 'es' ? 'hab.' : 'комн.'} +
+ ` : ''} + ${property.bathrooms ? ` +
+ + ${property.bathrooms} ${currentLang === 'es' ? 'baños' : 'ванн'} +
+ ` : ''} +
+
+ ${getUtilityIcons(property)} +
+
+ ${priceFormatted} € + ${Math.round(property.price / property.area)} €/m² +
+