luis5463 commited on
Commit
75ba37d
·
verified ·
1 Parent(s): 698086c

desig like this

Browse files
Files changed (1) hide show
  1. index.html +60 -23
index.html CHANGED
@@ -10,7 +10,11 @@
10
  <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest"></script>
11
  <script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands"></script>
12
  <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
13
- <style>
 
 
 
 
14
  .wave-bg {
15
  position: fixed;
16
  top: 0;
@@ -18,6 +22,15 @@
18
  width: 100%;
19
  height: 100%;
20
  z-index: -1;
 
 
 
 
 
 
 
 
 
21
  }
22
  .recording {
23
  animation: pulse 1.5s infinite;
@@ -27,21 +40,35 @@
27
  70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
28
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
29
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  </style>
31
  </head>
32
  <body class="bg-gray-50">
33
  <div id="wave-bg" class="wave-bg"></div>
34
- <div class="min-h-screen flex flex-col items-center justify-start px-4 pt-12">
35
- <header class="w-full max-w-4xl mx-auto py-8">
36
- <div class="flex flex-col items-center">
37
- <i data-feather="user" class="w-16 h-16 text-indigo-500 mb-4"></i>
38
- <h1 class="text-5xl font-bold text-gray-800 mb-3">VoiceCloneAI</h1>
39
- <p class="text-xl text-gray-600">Create your digital voice clone with advanced AI</p>
 
 
40
  </div>
41
  </header>
42
-
43
- <main class="w-full max-w-4xl bg-white rounded-xl shadow-lg p-8 mb-8">
44
- <div class="grid md:grid-cols-2 gap-8">
45
  <div class="space-y-6">
46
  <h2 class="text-2xl font-semibold text-gray-800">Create Your Voice Clone</h2>
47
  <p class="text-gray-600">Record or upload samples to train your unique voice model</p>
@@ -106,12 +133,12 @@
106
  </div>
107
  </div>
108
  <div class="flex flex-wrap gap-4">
109
- <button id="trainBtn" class="px-6 py-3 bg-indigo-500 text-white rounded-lg hover:bg-indigo-600 transition flex items-center space-x-2">
110
- <i data-feather="cpu" class="w-4 h-4"></i>
111
  <span>Train Model</span>
112
  </button>
113
- <button id="generateBtn" class="px-6 py-3 bg-emerald-500 text-white rounded-lg hover:bg-emerald-600 transition flex items-center space-x-2">
114
- <i data-feather="play" class="w-4 h-4"></i>
115
  <span>Generate Voice</span>
116
  </button>
117
  <button id="downloadBtn" class="px-6 py-3 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition flex items-center space-x-2">
@@ -122,11 +149,11 @@
122
  </div>
123
  </div>
124
  </main>
125
- <section class="w-full max-w-4xl bg-white rounded-xl shadow-lg p-8 mb-8">
126
- <h2 class="text-2xl font-semibold text-gray-800 mb-6">Advanced Voice Cloning Features</h2>
127
  <div class="grid md:grid-cols-3 gap-6">
128
- <div class="bg-gray-50 p-6 rounded-lg">
129
- <div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
130
  <i data-feather="layers" class="text-indigo-500"></i>
131
  </div>
132
  <h3 class="font-medium text-lg mb-2 text-gray-800">Multi-Speaker Support</h3>
@@ -148,8 +175,12 @@
148
  </div>
149
  </div>
150
  </section>
151
-
152
  <footer class="w-full max-w-4xl py-6 text-center text-gray-500 text-sm">
 
 
 
 
 
153
  <p>© 2023 VoiceCloneAI - Advanced Voice Cloning Technology</p>
154
  </footer>
155
  </div>
@@ -161,12 +192,18 @@
161
  VANTA.WAVES({
162
  el: "#wave-bg",
163
  color: 0x6366f1,
164
- waveHeight: 20,
165
  shininess: 50,
166
- waveSpeed: 0.5,
167
- zoom: 0.8
168
  });
169
- // Recording and Upload
 
 
 
 
 
 
170
  const recordBtn = document.getElementById('recordBtn');
171
  const voiceUpload = document.getElementById('voiceUpload');
172
 
 
10
  <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@latest"></script>
11
  <script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands"></script>
12
  <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script>
13
+ <style>
14
+ body {
15
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
16
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
17
+ }
18
  .wave-bg {
19
  position: fixed;
20
  top: 0;
 
22
  width: 100%;
23
  height: 100%;
24
  z-index: -1;
25
+ opacity: 0.5;
26
+ }
27
+ .glass-card {
28
+ background: rgba(255, 255, 255, 0.8);
29
+ backdrop-filter: blur(10px);
30
+ -webkit-backdrop-filter: blur(10px);
31
+ border-radius: 16px;
32
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
33
+ border: 1px solid rgba(255, 255, 255, 0.3);
34
  }
35
  .recording {
36
  animation: pulse 1.5s infinite;
 
40
  70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
41
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
42
  }
43
+ .btn-gradient {
44
+ background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
45
+ color: white;
46
+ transition: all 0.3s ease;
47
+ }
48
+ .btn-gradient:hover {
49
+ transform: translateY(-2px);
50
+ box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
51
+ }
52
+ .feature-card:hover {
53
+ transform: translateY(-5px);
54
+ transition: all 0.3s ease;
55
+ }
56
  </style>
57
  </head>
58
  <body class="bg-gray-50">
59
  <div id="wave-bg" class="wave-bg"></div>
60
+ <div class="min-h-screen flex flex-col items-center justify-start px-4 pt-8">
61
+ <header class="w-full max-w-4xl mx-auto py-6">
62
+ <div class="flex flex-col items-center">
63
+ <div class="w-20 h-20 bg-indigo-500 rounded-full flex items-center justify-center shadow-lg mb-6">
64
+ <i data-feather="mic" class="w-10 h-10 text-white"></i>
65
+ </div>
66
+ <h1 class="text-5xl font-bold text-gray-800 mb-3 bg-gradient-to-r from-indigo-500 to-purple-600 bg-clip-text text-transparent">VoiceCloneAI</h1>
67
+ <p class="text-xl text-gray-600 max-w-lg text-center">Transform your voice into a digital masterpiece with our cutting-edge AI technology</p>
68
  </div>
69
  </header>
70
+ <main class="w-full max-w-4xl glass-card p-8 mb-8">
71
+ <div class="grid md:grid-cols-2 gap-8">
 
72
  <div class="space-y-6">
73
  <h2 class="text-2xl font-semibold text-gray-800">Create Your Voice Clone</h2>
74
  <p class="text-gray-600">Record or upload samples to train your unique voice model</p>
 
133
  </div>
134
  </div>
135
  <div class="flex flex-wrap gap-4">
136
+ <button id="trainBtn" class="px-6 py-3 btn-gradient rounded-lg flex items-center space-x-2 shadow-md">
137
+ <i data-feather="cpu" class="w-4 h-4"></i>
138
  <span>Train Model</span>
139
  </button>
140
+ <button id="generateBtn" class="px-6 py-3 btn-gradient rounded-lg flex items-center space-x-2 shadow-md" style="background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);">
141
+ <i data-feather="play" class="w-4 h-4"></i>
142
  <span>Generate Voice</span>
143
  </button>
144
  <button id="downloadBtn" class="px-6 py-3 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition flex items-center space-x-2">
 
149
  </div>
150
  </div>
151
  </main>
152
+ <section class="w-full max-w-4xl glass-card p-8 mb-8">
153
+ <h2 class="text-2xl font-semibold text-gray-800 mb-6">Advanced Voice Cloning Features</h2>
154
  <div class="grid md:grid-cols-3 gap-6">
155
+ <div class="bg-gray-50 p-6 rounded-lg feature-card transition hover:shadow-lg">
156
+ <div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
157
  <i data-feather="layers" class="text-indigo-500"></i>
158
  </div>
159
  <h3 class="font-medium text-lg mb-2 text-gray-800">Multi-Speaker Support</h3>
 
175
  </div>
176
  </div>
177
  </section>
 
178
  <footer class="w-full max-w-4xl py-6 text-center text-gray-500 text-sm">
179
+ <div class="flex items-center justify-center space-x-4 mb-2">
180
+ <a href="#" class="hover:text-indigo-500"><i data-feather="twitter"></i></a>
181
+ <a href="#" class="hover:text-indigo-500"><i data-feather="github"></i></a>
182
+ <a href="#" class="hover:text-indigo-500"><i data-feather="linkedin"></i></a>
183
+ </div>
184
  <p>© 2023 VoiceCloneAI - Advanced Voice Cloning Technology</p>
185
  </footer>
186
  </div>
 
192
  VANTA.WAVES({
193
  el: "#wave-bg",
194
  color: 0x6366f1,
195
+ waveHeight: 15,
196
  shininess: 50,
197
+ waveSpeed: 0.3,
198
+ zoom: 0.7
199
  });
200
+
201
+ // Add font
202
+ const link = document.createElement('link');
203
+ link.href = 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap';
204
+ link.rel = 'stylesheet';
205
+ document.head.appendChild(link);
206
+ // Recording and Upload
207
  const recordBtn = document.getElementById('recordBtn');
208
  const voiceUpload = document.getElementById('voiceUpload');
209