Curinha commited on
Commit
ad3feff
·
1 Parent(s): fa56145

Update home.html to enhance UI with new styles and English content

Browse files
Files changed (1) hide show
  1. templates/home.html +32 -23
templates/home.html CHANGED
@@ -1,53 +1,62 @@
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>API de Sonidos Generativos</title>
7
  <style>
8
  body {
9
- font-family: Arial, sans-serif;
10
- background-color: #0B0F19;
11
  color: white;
12
  text-align: center;
13
  padding: 50px;
14
  }
15
  h1 {
16
- color: #FFFFFF;
 
 
 
 
 
17
  }
18
  a {
19
- color: #FFCC00;
20
  text-decoration: none;
21
- font-size: 18px;
22
  }
23
  .container {
24
- background: #1B1E29;
25
- padding: 20px;
26
- border-radius: 10px;
27
  display: inline-block;
28
  margin-top: 20px;
 
29
  }
30
  .button {
31
- background-color: #FFCC00;
32
- color: black;
33
- padding: 10px 20px;
34
- margin-top: 15px;
35
  display: inline-block;
36
- border-radius: 5px;
 
 
 
37
  }
38
  .button:hover {
39
- background-color: #E6B800;
40
  }
41
  </style>
42
  </head>
43
  <body>
44
- <h1>API de Sonidos Generativos</h1>
45
- <p>Esta API ofrece tres endpoints:</p>
46
  <div class="container">
47
- <p>📄 <a href="/docs">/docs</a> - Documentación interactiva</p>
48
- <p>🎵 <a href="/generate-music">/generate-music</a> - Genera música basada en un prompt</p>
49
- <p>🔊 <a href="/generate-sound">/generate-sound</a> - Genera sonidos a partir de una descripción</p>
50
- <a class="button" href="https://paginaexterna.com/test-api" target="_blank">🔗 Probar en nuestra web</a>
51
  </div>
52
  </body>
53
- </html>
 
1
  <!DOCTYPE html>
2
+ <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Generative Audio API</title>
7
  <style>
8
  body {
9
+ font-family: 'Poppins', sans-serif;
10
+ background: linear-gradient(135deg, #0B3D91, #1E88E5);
11
  color: white;
12
  text-align: center;
13
  padding: 50px;
14
  }
15
  h1 {
16
+ font-size: 2.5em;
17
+ margin-bottom: 10px;
18
+ }
19
+ p {
20
+ font-size: 1.2em;
21
+ opacity: 0.9;
22
  }
23
  a {
24
+ color: #AEE4FF;
25
  text-decoration: none;
26
+ font-weight: bold;
27
  }
28
  .container {
29
+ background: rgba(255, 255, 255, 0.1);
30
+ padding: 25px;
31
+ border-radius: 12px;
32
  display: inline-block;
33
  margin-top: 20px;
34
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
35
  }
36
  .button {
37
+ background: #42A5F5;
38
+ color: white;
39
+ padding: 12px 24px;
40
+ margin-top: 20px;
41
  display: inline-block;
42
+ border-radius: 6px;
43
+ font-size: 1.2em;
44
+ font-weight: bold;
45
+ transition: 0.3s;
46
  }
47
  .button:hover {
48
+ background: #1E88E5;
49
  }
50
  </style>
51
  </head>
52
  <body>
53
+ <h1>🧪 Creators Audio Lab 👩🏻‍🔬</h1>
54
+ <p>Fuel your creativity with unique sounds and experimental audio</p>
55
  <div class="container">
56
+ <p>📄 <a href="/docs">/docs</a> - Interactive documentation</p>
57
+ <p>🎵 <a href="/generate-music">/generate-music</a> - Generate music based on a prompt</p>
58
+ <p>🔊 <a href="/generate-sound">/generate-sound</a> - Create sounds from a description</p>
59
+ <a class="button" href="https://externalpage.com/test-api" target="_blank">🔗 Try it on our website</a>
60
  </div>
61
  </body>
62
+ </html>