3dcreatorleon commited on
Commit
c102c0f
·
verified ·
1 Parent(s): acc43e8

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +92 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Generador De Programas
3
- emoji: 👁
4
- colorFrom: indigo
5
- colorTo: indigo
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
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>