Spaces:
Sleeping
Sleeping
Curinha
commited on
Commit
·
ad3feff
1
Parent(s):
fa56145
Update home.html to enhance UI with new styles and English content
Browse files- templates/home.html +32 -23
templates/home.html
CHANGED
|
@@ -1,53 +1,62 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html lang="
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
-
font-family:
|
| 10 |
-
background
|
| 11 |
color: white;
|
| 12 |
text-align: center;
|
| 13 |
padding: 50px;
|
| 14 |
}
|
| 15 |
h1 {
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
| 18 |
a {
|
| 19 |
-
color: #
|
| 20 |
text-decoration: none;
|
| 21 |
-
font-
|
| 22 |
}
|
| 23 |
.container {
|
| 24 |
-
background:
|
| 25 |
-
padding:
|
| 26 |
-
border-radius:
|
| 27 |
display: inline-block;
|
| 28 |
margin-top: 20px;
|
|
|
|
| 29 |
}
|
| 30 |
.button {
|
| 31 |
-
background
|
| 32 |
-
color:
|
| 33 |
-
padding:
|
| 34 |
-
margin-top:
|
| 35 |
display: inline-block;
|
| 36 |
-
border-radius:
|
|
|
|
|
|
|
|
|
|
| 37 |
}
|
| 38 |
.button:hover {
|
| 39 |
-
background
|
| 40 |
}
|
| 41 |
</style>
|
| 42 |
</head>
|
| 43 |
<body>
|
| 44 |
-
<h1
|
| 45 |
-
<p>
|
| 46 |
<div class="container">
|
| 47 |
-
<p>📄 <a href="/docs">/docs</a> -
|
| 48 |
-
<p>🎵 <a href="/generate-music">/generate-music</a> -
|
| 49 |
-
<p>🔊 <a href="/generate-sound">/generate-sound</a> -
|
| 50 |
-
<a class="button" href="https://
|
| 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>
|