Add 2 files
Browse files- README.md +7 -5
- index.html +92 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: generador-de-programas
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,92 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="es">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Generador de Descripciones de Mapas</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.animate-pulse {
|
| 11 |
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
| 12 |
+
}
|
| 13 |
+
@keyframes pulse {
|
| 14 |
+
0%, 100% { opacity: 1; }
|
| 15 |
+
50% { opacity: 0.5; }
|
| 16 |
+
}
|
| 17 |
+
.map-container {
|
| 18 |
+
height: 300px;
|
| 19 |
+
width: 100%;
|
| 20 |
+
border-radius: 0.5rem;
|
| 21 |
+
overflow: hidden;
|
| 22 |
+
}
|
| 23 |
+
.fade-in {
|
| 24 |
+
animation: fadeIn 0.5s ease-out;
|
| 25 |
+
}
|
| 26 |
+
@keyframes fadeIn {
|
| 27 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 28 |
+
to { opacity: 1; transform: translateY(0); }
|
| 29 |
+
}
|
| 30 |
+
.mapboxgl-ctrl-logo, .mapboxgl-ctrl-attrib {
|
| 31 |
+
display: none !important;
|
| 32 |
+
}
|
| 33 |
+
</style>
|
| 34 |
+
<!-- Incluir Mapbox GL JS -->
|
| 35 |
+
<script src='https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.js'></script>
|
| 36 |
+
<link href='https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.css' rel='stylesheet' />
|
| 37 |
+
</head>
|
| 38 |
+
<body class="bg-gradient-to-br from-blue-50 to-green-50 min-h-screen py-10 px-4">
|
| 39 |
+
<div class="max-w-4xl mx-auto">
|
| 40 |
+
<div class="bg-white rounded-xl shadow-xl overflow-hidden">
|
| 41 |
+
<!-- Header -->
|
| 42 |
+
<div class="bg-blue-600 p-6 text-center">
|
| 43 |
+
<h1 class="text-white text-3xl font-bold">Generador de Mapas Descriptivos</h1>
|
| 44 |
+
<p class="text-blue-200 mt-2">Crea descripciones detalladas de mapas basadas en características geográficas</p>
|
| 45 |
+
</div>
|
| 46 |
+
|
| 47 |
+
<!-- Main Content -->
|
| 48 |
+
<div class="p-6 grid md:grid-cols-2 gap-8">
|
| 49 |
+
<!-- Input Form -->
|
| 50 |
+
<div>
|
| 51 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-6 flex items-center">
|
| 52 |
+
<i class="fas fa-map-marked-alt mr-3 text-blue-600"></i> Características Geográficas
|
| 53 |
+
</h2>
|
| 54 |
+
|
| 55 |
+
<div class="space-y-5">
|
| 56 |
+
<div class="input-group">
|
| 57 |
+
<label for="region-name" class="block text-sm font-medium text-gray-700 mb-1">Nombre de la región</label>
|
| 58 |
+
<input type="text" id="region-name"
|
| 59 |
+
class="w-full rounded-lg border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 py-2 border"
|
| 60 |
+
placeholder="Ej: Andes Centrales">
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
<div class="input-group">
|
| 64 |
+
<label for="terrain-type" class="block text-sm font-medium text-gray-700 mb-1">Tipo de terreno</label>
|
| 65 |
+
<select id="terrain-type" class="w-full rounded-lg border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 py-2 border">
|
| 66 |
+
<option value="">Seleccione un tipo</option>
|
| 67 |
+
<option value="montañoso">Montañoso</option>
|
| 68 |
+
<option value="llanura">Llanura</option>
|
| 69 |
+
<option value="costero">Costero</option>
|
| 70 |
+
<option value="desértico">Desértico</option>
|
| 71 |
+
<option value="selvático">Selvático</option>
|
| 72 |
+
<option value="polar">Polar</option>
|
| 73 |
+
<option value="volcánico">Volcánico</option>
|
| 74 |
+
<option value="karstico">Kárstico</option>
|
| 75 |
+
</select>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<div class="input-group">
|
| 79 |
+
<label for="water-bodies" class="block text-sm font-medium text-gray-700 mb-1">Cuerpos de agua</label>
|
| 80 |
+
<div class="space-y-2">
|
| 81 |
+
<div class="flex items-center">
|
| 82 |
+
<input type="checkbox" id="rivers" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
|
| 83 |
+
<label for="rivers" class="ml-2 block text-sm text-gray-700">Ríos</label>
|
| 84 |
+
</div>
|
| 85 |
+
<div class="flex items-center">
|
| 86 |
+
<input type="checkbox" id="lakes" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
|
| 87 |
+
<label for="lakes" class="ml-2 block text-sm text-gray-700">Lagos</label>
|
| 88 |
+
</div>
|
| 89 |
+
<div class="flex items-center">
|
| 90 |
+
<input type="checkbox" id="ocean" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
|
| 91 |
+
<label for="
|
| 92 |
+
</html>
|