Add 1 files
Browse files- index.html +228 -67
index.html
CHANGED
|
@@ -66,10 +66,6 @@
|
|
| 66 |
<div class="language-selector fixed top-4 right-4 z-50 rounded-full p-2">
|
| 67 |
<select id="language-select" class="bg-transparent text-white border-none focus:ring-0 text-sm">
|
| 68 |
<option value="en">English</option>
|
| 69 |
-
<option value="es">Español</option>
|
| 70 |
-
<option value="fr">Français</option>
|
| 71 |
-
<option value="de">Deutsch</option>
|
| 72 |
-
<option value="ja">日本語</option>
|
| 73 |
<option value="zh">中文</option>
|
| 74 |
</select>
|
| 75 |
</div>
|
|
@@ -87,17 +83,17 @@
|
|
| 87 |
<div class="flex flex-col lg:flex-row items-center">
|
| 88 |
<div class="lg:w-1/2 mb-12 lg:mb-0">
|
| 89 |
<h1 class="text-4xl md:text-6xl font-bold mb-6 leading-tight">
|
| 90 |
-
<span class="gradient-text">AI-Generated Art</span><br>
|
| 91 |
-
<span>Is This The Future?</span>
|
| 92 |
</h1>
|
| 93 |
-
<p class="text-lg text-gray-300 mb-8 max-w-lg">
|
| 94 |
Join our exclusive waitlist to help validate the market for AI-generated artwork.
|
| 95 |
Early subscribers will get special access to our platform and discounts.
|
| 96 |
</p>
|
| 97 |
|
| 98 |
<!-- Email Collection Form -->
|
| 99 |
<div class="max-w-md bg-white/10 backdrop-blur-md rounded-xl p-6 glow">
|
| 100 |
-
<h3 class="text-xl font-semibold mb-4">Get Early Access</h3>
|
| 101 |
<form id="email-form" class="space-y-4">
|
| 102 |
<div>
|
| 103 |
<input type="email" id="email" placeholder="Your email address"
|
|
@@ -105,10 +101,10 @@
|
|
| 105 |
</div>
|
| 106 |
<button type="submit"
|
| 107 |
class="w-full bg-gradient-to-r from-purple-600 to-pink-600 text-white font-medium py-3 px-6 rounded-lg hover:opacity-90 transition-all transform hover:scale-[1.02]">
|
| 108 |
-
Join Waitlist
|
| 109 |
</button>
|
| 110 |
</form>
|
| 111 |
-
<p class="text-xs text-gray-400 mt-3">We respect your privacy. Unsubscribe at any time.</p>
|
| 112 |
</div>
|
| 113 |
|
| 114 |
<div class="mt-8 flex items-center space-x-4">
|
|
@@ -118,7 +114,7 @@
|
|
| 118 |
<img src="https://images.unsplash.com/photo-1554151228-14d9def656e4?w=200&auto=format" class="w-10 h-10 rounded-full border-2 border-white">
|
| 119 |
</div>
|
| 120 |
<div>
|
| 121 |
-
<p class="text-sm font-medium">Join <span class="text-purple-300">1,200+</span> artists and collectors</p>
|
| 122 |
<div class="flex items-center">
|
| 123 |
<div class="flex text-yellow-400">
|
| 124 |
<i class="fas fa-star"></i>
|
|
@@ -127,7 +123,7 @@
|
|
| 127 |
<i class="fas fa-star"></i>
|
| 128 |
<i class="fas fa-star"></i>
|
| 129 |
</div>
|
| 130 |
-
<span class="text-xs ml-1">5.0 (300+ reviews)</span>
|
| 131 |
</div>
|
| 132 |
</div>
|
| 133 |
</div>
|
|
@@ -148,8 +144,8 @@
|
|
| 148 |
<section class="py-20 bg-gradient-to-b from-slate-900 to-slate-800">
|
| 149 |
<div class="container mx-auto px-6">
|
| 150 |
<div class="text-center mb-16">
|
| 151 |
-
<h2 class="text-3xl md:text-4xl font-bold mb-4">Witness the Power of <span class="gradient-text">AI Creativity</span></h2>
|
| 152 |
-
<p class="text-lg text-gray-300 max-w-2xl mx-auto">
|
| 153 |
These stunning artworks were generated entirely by artificial intelligence.
|
| 154 |
No human artist was involved in the creation process.
|
| 155 |
</p>
|
|
@@ -162,11 +158,13 @@
|
|
| 162 |
<img src="https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=600&auto=format" alt="AI Art 1" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
|
| 163 |
</div>
|
| 164 |
<div class="p-6">
|
| 165 |
-
<h3 class="text-xl font-semibold mb-2">Cosmic Dreams</h3>
|
| 166 |
-
<p class="text-gray-400 text-sm mb-4">Generated in 12 seconds using our AI model</p>
|
| 167 |
<div class="flex justify-between items-center">
|
| 168 |
<span class="text-purple-300 font-medium">$249</span>
|
| 169 |
-
<button class="text-sm bg-white/10 hover:bg-white/20 px-4 py-2 rounded-lg transition">
|
|
|
|
|
|
|
| 170 |
</div>
|
| 171 |
</div>
|
| 172 |
</div>
|
|
@@ -177,11 +175,13 @@
|
|
| 177 |
<img src="https://images.unsplash.com/photo-1631679706909-1844bbd07221?w=600&auto=format" alt="AI Art 2" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
|
| 178 |
</div>
|
| 179 |
<div class="p-6">
|
| 180 |
-
<h3 class="text-xl font-semibold mb-2">Neural Nebula</h3>
|
| 181 |
-
<p class="text-gray-400 text-sm mb-4">Generated in 8 seconds using our AI model</p>
|
| 182 |
<div class="flex justify-between items-center">
|
| 183 |
<span class="text-purple-300 font-medium">$189</span>
|
| 184 |
-
<button class="text-sm bg-white/10 hover:bg-white/20 px-4 py-2 rounded-lg transition">
|
|
|
|
|
|
|
| 185 |
</div>
|
| 186 |
</div>
|
| 187 |
</div>
|
|
@@ -192,11 +192,13 @@
|
|
| 192 |
<img src="https://images.unsplash.com/photo-1634117623696-62659227e1a1?w=600&auto=format" alt="AI Art 3" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
|
| 193 |
</div>
|
| 194 |
<div class="p-6">
|
| 195 |
-
<h3 class="text-xl font-semibold mb-2">Digital Utopia</h3>
|
| 196 |
-
<p class="text-gray-400 text-sm mb-4">Generated in 15 seconds using our AI model</p>
|
| 197 |
<div class="flex justify-between items-center">
|
| 198 |
<span class="text-purple-300 font-medium">$329</span>
|
| 199 |
-
<button class="text-sm bg-white/10 hover:bg-white/20 px-4 py-2 rounded-lg transition">
|
|
|
|
|
|
|
| 200 |
</div>
|
| 201 |
</div>
|
| 202 |
</div>
|
|
@@ -209,8 +211,8 @@
|
|
| 209 |
<div class="container mx-auto px-6">
|
| 210 |
<div class="flex flex-col lg:flex-row items-center">
|
| 211 |
<div class="lg:w-1/2 mb-12 lg:mb-0 lg:pr-12">
|
| 212 |
-
<h2 class="text-3xl md:text-4xl font-bold mb-6">Why <span class="gradient-text">AI Art</span> Matters</h2>
|
| 213 |
-
<p class="text-lg text-gray-300 mb-8">
|
| 214 |
AI-generated art is revolutionizing the creative industry by making artistic expression
|
| 215 |
accessible to everyone while pushing the boundaries of what's possible.
|
| 216 |
</p>
|
|
@@ -221,8 +223,8 @@
|
|
| 221 |
<i class="fas fa-bolt text-purple-400"></i>
|
| 222 |
</div>
|
| 223 |
<div>
|
| 224 |
-
<h3 class="text-xl font-semibold mb-2">Instant Creation</h3>
|
| 225 |
-
<p class="text-gray-400">Generate unique artworks in seconds, not weeks</p>
|
| 226 |
</div>
|
| 227 |
</div>
|
| 228 |
|
|
@@ -231,8 +233,8 @@
|
|
| 231 |
<i class="fas fa-infinity text-pink-400"></i>
|
| 232 |
</div>
|
| 233 |
<div>
|
| 234 |
-
<h3 class="text-xl font-semibold mb-2">Infinite Possibilities</h3>
|
| 235 |
-
<p class="text-gray-400">Explore styles and concepts beyond human imagination</p>
|
| 236 |
</div>
|
| 237 |
</div>
|
| 238 |
|
|
@@ -241,8 +243,8 @@
|
|
| 241 |
<i class="fas fa-dollar-sign text-indigo-400"></i>
|
| 242 |
</div>
|
| 243 |
<div>
|
| 244 |
-
<h3 class="text-xl font-semibold mb-2">Affordable Art</h3>
|
| 245 |
-
<p class="text-gray-400">High-quality artwork at a fraction of traditional prices</p>
|
| 246 |
</div>
|
| 247 |
</div>
|
| 248 |
</div>
|
|
@@ -263,8 +265,8 @@
|
|
| 263 |
<section class="py-20 bg-gradient-to-b from-slate-800 to-slate-900">
|
| 264 |
<div class="container mx-auto px-6">
|
| 265 |
<div class="text-center mb-16">
|
| 266 |
-
<h2 class="text-3xl md:text-4xl font-bold mb-4">What <span class="gradient-text">People Say</span></h2>
|
| 267 |
-
<p class="text-lg text-gray-300 max-w-2xl mx-auto">
|
| 268 |
Don't just take our word for it. Here's what early adopters think about AI-generated art.
|
| 269 |
</p>
|
| 270 |
</div>
|
|
@@ -276,10 +278,10 @@
|
|
| 276 |
<img src="https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=200&auto=format" class="w-12 h-12 rounded-full mr-4">
|
| 277 |
<div>
|
| 278 |
<h4 class="font-semibold">Sarah Johnson</h4>
|
| 279 |
-
<p class="text-sm text-gray-400">Digital Artist</p>
|
| 280 |
</div>
|
| 281 |
</div>
|
| 282 |
-
<p class="text-gray-300 mb-4">
|
| 283 |
"As a traditional artist, I was skeptical at first. But AI art has become an incredible tool in my creative process, helping me explore ideas I never would have considered."
|
| 284 |
</p>
|
| 285 |
<div class="flex text-yellow-400">
|
|
@@ -297,10 +299,10 @@
|
|
| 297 |
<img src="https://images.unsplash.com/photo-1566492031773-4f4e44671857?w=200&auto=format" class="w-12 h-12 rounded-full mr-4">
|
| 298 |
<div>
|
| 299 |
<h4 class="font-semibold">Michael Chen</h4>
|
| 300 |
-
<p class="text-sm text-gray-400">Art Collector</p>
|
| 301 |
</div>
|
| 302 |
</div>
|
| 303 |
-
<p class="text-gray-300 mb-4">
|
| 304 |
"The AI-generated pieces in my collection consistently get the most attention from visitors. There's something uniquely captivating about them."
|
| 305 |
</p>
|
| 306 |
<div class="flex text-yellow-400">
|
|
@@ -318,10 +320,10 @@
|
|
| 318 |
<img src="https://images.unsplash.com/photo-1580489944761-15a19d654956?w=200&auto=format" class="w-12 h-12 rounded-full mr-4">
|
| 319 |
<div>
|
| 320 |
<h4 class="font-semibold">Emma Rodriguez</h4>
|
| 321 |
-
<p class="text-sm text-gray-400">Interior Designer</p>
|
| 322 |
</div>
|
| 323 |
</div>
|
| 324 |
-
<p class="text-gray-300 mb-4">
|
| 325 |
"My clients love the unique AI art pieces I incorporate into their spaces. The ability to generate artwork that perfectly matches their style is revolutionary."
|
| 326 |
</p>
|
| 327 |
<div class="flex text-yellow-400">
|
|
@@ -347,8 +349,8 @@
|
|
| 347 |
|
| 348 |
<div class="container mx-auto px-6 relative z-10">
|
| 349 |
<div class="max-w-4xl mx-auto text-center">
|
| 350 |
-
<h2 class="text-3xl md:text-5xl font-bold mb-6">Ready to Explore the <span class="gradient-text">Future of Art</span>?</h2>
|
| 351 |
-
<p class="text-xl text-gray-300 mb-8">
|
| 352 |
Join our waitlist today and be among the first to experience the next evolution in artistic creation.
|
| 353 |
</p>
|
| 354 |
|
|
@@ -357,22 +359,22 @@
|
|
| 357 |
<div class="bg-white/10 backdrop-blur-md rounded-xl p-4 flex space-x-4">
|
| 358 |
<div class="text-center">
|
| 359 |
<div class="countdown-number bg-purple-600 text-white font-bold rounded-lg py-2 px-3 text-xl">07</div>
|
| 360 |
-
<div class="text-xs mt-1 text-gray-300">Days</div>
|
| 361 |
</div>
|
| 362 |
<div class="text-center">
|
| 363 |
<div class="countdown-number bg-pink-600 text-white font-bold rounded-lg py-2 px-3 text-xl">23</div>
|
| 364 |
-
<div class="text-xs mt-1 text-gray-300">Hours</div>
|
| 365 |
</div>
|
| 366 |
<div class="text-center">
|
| 367 |
<div class="countdown-number bg-indigo-600 text-white font-bold rounded-lg py-2 px-3 text-xl">45</div>
|
| 368 |
-
<div class="text-xs mt-1 text-gray-300">Minutes</div>
|
| 369 |
</div>
|
| 370 |
</div>
|
| 371 |
</div>
|
| 372 |
|
| 373 |
<!-- Email Collection Form -->
|
| 374 |
<div class="max-w-md mx-auto bg-white/10 backdrop-blur-md rounded-xl p-6 glow">
|
| 375 |
-
<h3 class="text-xl font-semibold mb-4">Limited Early Access</h3>
|
| 376 |
<form id="email-form-2" class="space-y-4">
|
| 377 |
<div>
|
| 378 |
<input type="email" id="email-2" placeholder="Your email address"
|
|
@@ -380,10 +382,10 @@
|
|
| 380 |
</div>
|
| 381 |
<button type="submit"
|
| 382 |
class="w-full bg-gradient-to-r from-purple-600 to-pink-600 text-white font-medium py-3 px-6 rounded-lg hover:opacity-90 transition-all transform hover:scale-[1.02]">
|
| 383 |
-
Join Waitlist Now
|
| 384 |
</button>
|
| 385 |
</form>
|
| 386 |
-
<p class="text-xs text-gray-400 mt-3">Only 247 spots remaining</p>
|
| 387 |
</div>
|
| 388 |
</div>
|
| 389 |
</div>
|
|
@@ -395,7 +397,7 @@
|
|
| 395 |
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 396 |
<div class="mb-6 md:mb-0">
|
| 397 |
<h2 class="text-2xl font-bold gradient-text">ArtAI</h2>
|
| 398 |
-
<p class="text-gray-400 mt-2">Exploring the intersection of art and artificial intelligence</p>
|
| 399 |
</div>
|
| 400 |
|
| 401 |
<div class="flex space-x-6">
|
|
@@ -415,15 +417,15 @@
|
|
| 415 |
</div>
|
| 416 |
|
| 417 |
<div class="border-t border-white/10 mt-8 pt-8 flex flex-col md:flex-row justify-between">
|
| 418 |
-
<div class="text-gray-400 text-sm mb-4 md:mb-0">
|
| 419 |
© 2023 ArtAI. All rights reserved.
|
| 420 |
</div>
|
| 421 |
|
| 422 |
<div class="flex flex-wrap gap-4">
|
| 423 |
-
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Privacy Policy</a>
|
| 424 |
-
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Terms of Service</a>
|
| 425 |
-
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Contact Us</a>
|
| 426 |
-
<a href="#" class="text-gray-400 hover:text-white text-sm transition">FAQ</a>
|
| 427 |
</div>
|
| 428 |
</div>
|
| 429 |
</div>
|
|
@@ -439,24 +441,192 @@
|
|
| 439 |
<div class="w-20 h-20 bg-green-500/20 rounded-full flex items-center justify-center mx-auto mb-6">
|
| 440 |
<i class="fas fa-check text-green-400 text-3xl"></i>
|
| 441 |
</div>
|
| 442 |
-
<h3 class="text-2xl font-bold mb-2">You're on the list!</h3>
|
| 443 |
-
<p class="text-gray-300 mb-6">
|
| 444 |
Thank you for joining our waitlist. We'll be in touch soon with exclusive access to our AI art platform.
|
| 445 |
</p>
|
| 446 |
<button id="modal-close-btn" class="bg-gradient-to-r from-purple-600 to-pink-600 text-white font-medium py-2 px-6 rounded-lg hover:opacity-90 transition">
|
| 447 |
-
Continue Exploring
|
| 448 |
</button>
|
| 449 |
</div>
|
| 450 |
</div>
|
| 451 |
</div>
|
| 452 |
|
| 453 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 454 |
// Form submission
|
| 455 |
document.getElementById('email-form').addEventListener('submit', function(e) {
|
| 456 |
e.preventDefault();
|
| 457 |
const email = document.getElementById('email').value;
|
| 458 |
if(email) {
|
| 459 |
-
// In a real app, you would send this to your backend
|
| 460 |
console.log('Email submitted:', email);
|
| 461 |
document.getElementById('success-modal').classList.remove('hidden');
|
| 462 |
document.body.style.overflow = 'hidden';
|
|
@@ -467,7 +637,6 @@
|
|
| 467 |
e.preventDefault();
|
| 468 |
const email = document.getElementById('email-2').value;
|
| 469 |
if(email) {
|
| 470 |
-
// In a real app, you would send this to your backend
|
| 471 |
console.log('Email submitted:', email);
|
| 472 |
document.getElementById('success-modal').classList.remove('hidden');
|
| 473 |
document.body.style.overflow = 'hidden';
|
|
@@ -485,20 +654,12 @@
|
|
| 485 |
document.body.style.overflow = 'auto';
|
| 486 |
});
|
| 487 |
|
| 488 |
-
// Language selector functionality (simplified)
|
| 489 |
-
document.getElementById('language-select').addEventListener('change', function() {
|
| 490 |
-
// In a real app, this would change the page language
|
| 491 |
-
console.log('Language changed to:', this.value);
|
| 492 |
-
});
|
| 493 |
-
|
| 494 |
// Countdown timer (example)
|
| 495 |
function updateCountdown() {
|
| 496 |
-
// This is just for demo purposes
|
| 497 |
const days = document.querySelector('.countdown-number:nth-child(1)');
|
| 498 |
const hours = document.querySelector('.countdown-number:nth-child(2)');
|
| 499 |
const minutes = document.querySelector('.countdown-number:nth-child(3)');
|
| 500 |
|
| 501 |
-
// Random changes for demo
|
| 502 |
if(Math.random() > 0.7) {
|
| 503 |
const current = parseInt(minutes.textContent);
|
| 504 |
if(current > 0) minutes.textContent = (current - 1).toString().padStart(2, '0');
|
|
@@ -530,5 +691,5 @@
|
|
| 530 |
observer.observe(el);
|
| 531 |
});
|
| 532 |
</script>
|
| 533 |
-
|
| 534 |
</html>
|
|
|
|
| 66 |
<div class="language-selector fixed top-4 right-4 z-50 rounded-full p-2">
|
| 67 |
<select id="language-select" class="bg-transparent text-white border-none focus:ring-0 text-sm">
|
| 68 |
<option value="en">English</option>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
<option value="zh">中文</option>
|
| 70 |
</select>
|
| 71 |
</div>
|
|
|
|
| 83 |
<div class="flex flex-col lg:flex-row items-center">
|
| 84 |
<div class="lg:w-1/2 mb-12 lg:mb-0">
|
| 85 |
<h1 class="text-4xl md:text-6xl font-bold mb-6 leading-tight">
|
| 86 |
+
<span class="gradient-text" id="hero-title-1">AI-Generated Art</span><br>
|
| 87 |
+
<span id="hero-title-2">Is This The Future?</span>
|
| 88 |
</h1>
|
| 89 |
+
<p class="text-lg text-gray-300 mb-8 max-w-lg" id="hero-subtitle">
|
| 90 |
Join our exclusive waitlist to help validate the market for AI-generated artwork.
|
| 91 |
Early subscribers will get special access to our platform and discounts.
|
| 92 |
</p>
|
| 93 |
|
| 94 |
<!-- Email Collection Form -->
|
| 95 |
<div class="max-w-md bg-white/10 backdrop-blur-md rounded-xl p-6 glow">
|
| 96 |
+
<h3 class="text-xl font-semibold mb-4" id="form-title">Get Early Access</h3>
|
| 97 |
<form id="email-form" class="space-y-4">
|
| 98 |
<div>
|
| 99 |
<input type="email" id="email" placeholder="Your email address"
|
|
|
|
| 101 |
</div>
|
| 102 |
<button type="submit"
|
| 103 |
class="w-full bg-gradient-to-r from-purple-600 to-pink-600 text-white font-medium py-3 px-6 rounded-lg hover:opacity-90 transition-all transform hover:scale-[1.02]">
|
| 104 |
+
<span id="join-button">Join Waitlist</span>
|
| 105 |
</button>
|
| 106 |
</form>
|
| 107 |
+
<p class="text-xs text-gray-400 mt-3" id="privacy-text">We respect your privacy. Unsubscribe at any time.</p>
|
| 108 |
</div>
|
| 109 |
|
| 110 |
<div class="mt-8 flex items-center space-x-4">
|
|
|
|
| 114 |
<img src="https://images.unsplash.com/photo-1554151228-14d9def656e4?w=200&auto=format" class="w-10 h-10 rounded-full border-2 border-white">
|
| 115 |
</div>
|
| 116 |
<div>
|
| 117 |
+
<p class="text-sm font-medium"><span id="join-text">Join</span> <span class="text-purple-300">1,200+</span> <span id="members-text">artists and collectors</span></p>
|
| 118 |
<div class="flex items-center">
|
| 119 |
<div class="flex text-yellow-400">
|
| 120 |
<i class="fas fa-star"></i>
|
|
|
|
| 123 |
<i class="fas fa-star"></i>
|
| 124 |
<i class="fas fa-star"></i>
|
| 125 |
</div>
|
| 126 |
+
<span class="text-xs ml-1" id="rating-text">5.0 (300+ reviews)</span>
|
| 127 |
</div>
|
| 128 |
</div>
|
| 129 |
</div>
|
|
|
|
| 144 |
<section class="py-20 bg-gradient-to-b from-slate-900 to-slate-800">
|
| 145 |
<div class="container mx-auto px-6">
|
| 146 |
<div class="text-center mb-16">
|
| 147 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4"><span id="showcase-title">Witness the Power of</span> <span class="gradient-text">AI Creativity</span></h2>
|
| 148 |
+
<p class="text-lg text-gray-300 max-w-2xl mx-auto" id="showcase-subtitle">
|
| 149 |
These stunning artworks were generated entirely by artificial intelligence.
|
| 150 |
No human artist was involved in the creation process.
|
| 151 |
</p>
|
|
|
|
| 158 |
<img src="https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=600&auto=format" alt="AI Art 1" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
|
| 159 |
</div>
|
| 160 |
<div class="p-6">
|
| 161 |
+
<h3 class="text-xl font-semibold mb-2" id="art-title-1">Cosmic Dreams</h3>
|
| 162 |
+
<p class="text-gray-400 text-sm mb-4" id="art-desc-1">Generated in 12 seconds using our AI model</p>
|
| 163 |
<div class="flex justify-between items-center">
|
| 164 |
<span class="text-purple-300 font-medium">$249</span>
|
| 165 |
+
<button class="text-sm bg-white/10 hover:bg-white/20 px-4 py-2 rounded-lg transition">
|
| 166 |
+
<span id="view-button-1">View Details</span>
|
| 167 |
+
</button>
|
| 168 |
</div>
|
| 169 |
</div>
|
| 170 |
</div>
|
|
|
|
| 175 |
<img src="https://images.unsplash.com/photo-1631679706909-1844bbd07221?w=600&auto=format" alt="AI Art 2" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
|
| 176 |
</div>
|
| 177 |
<div class="p-6">
|
| 178 |
+
<h3 class="text-xl font-semibold mb-2" id="art-title-2">Neural Nebula</h3>
|
| 179 |
+
<p class="text-gray-400 text-sm mb-4" id="art-desc-2">Generated in 8 seconds using our AI model</p>
|
| 180 |
<div class="flex justify-between items-center">
|
| 181 |
<span class="text-purple-300 font-medium">$189</span>
|
| 182 |
+
<button class="text-sm bg-white/10 hover:bg-white/20 px-4 py-2 rounded-lg transition">
|
| 183 |
+
<span id="view-button-2">View Details</span>
|
| 184 |
+
</button>
|
| 185 |
</div>
|
| 186 |
</div>
|
| 187 |
</div>
|
|
|
|
| 192 |
<img src="https://images.unsplash.com/photo-1634117623696-62659227e1a1?w=600&auto=format" alt="AI Art 3" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
|
| 193 |
</div>
|
| 194 |
<div class="p-6">
|
| 195 |
+
<h3 class="text-xl font-semibold mb-2" id="art-title-3">Digital Utopia</h3>
|
| 196 |
+
<p class="text-gray-400 text-sm mb-4" id="art-desc-3">Generated in 15 seconds using our AI model</p>
|
| 197 |
<div class="flex justify-between items-center">
|
| 198 |
<span class="text-purple-300 font-medium">$329</span>
|
| 199 |
+
<button class="text-sm bg-white/10 hover:bg-white/20 px-4 py-2 rounded-lg transition">
|
| 200 |
+
<span id="view-button-3">View Details</span>
|
| 201 |
+
</button>
|
| 202 |
</div>
|
| 203 |
</div>
|
| 204 |
</div>
|
|
|
|
| 211 |
<div class="container mx-auto px-6">
|
| 212 |
<div class="flex flex-col lg:flex-row items-center">
|
| 213 |
<div class="lg:w-1/2 mb-12 lg:mb-0 lg:pr-12">
|
| 214 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-6"><span id="value-title">Why</span> <span class="gradient-text">AI Art</span> <span id="matters-text">Matters</span></h2>
|
| 215 |
+
<p class="text-lg text-gray-300 mb-8" id="value-description">
|
| 216 |
AI-generated art is revolutionizing the creative industry by making artistic expression
|
| 217 |
accessible to everyone while pushing the boundaries of what's possible.
|
| 218 |
</p>
|
|
|
|
| 223 |
<i class="fas fa-bolt text-purple-400"></i>
|
| 224 |
</div>
|
| 225 |
<div>
|
| 226 |
+
<h3 class="text-xl font-semibold mb-2" id="feature-1-title">Instant Creation</h3>
|
| 227 |
+
<p class="text-gray-400" id="feature-1-desc">Generate unique artworks in seconds, not weeks</p>
|
| 228 |
</div>
|
| 229 |
</div>
|
| 230 |
|
|
|
|
| 233 |
<i class="fas fa-infinity text-pink-400"></i>
|
| 234 |
</div>
|
| 235 |
<div>
|
| 236 |
+
<h3 class="text-xl font-semibold mb-2" id="feature-2-title">Infinite Possibilities</h3>
|
| 237 |
+
<p class="text-gray-400" id="feature-2-desc">Explore styles and concepts beyond human imagination</p>
|
| 238 |
</div>
|
| 239 |
</div>
|
| 240 |
|
|
|
|
| 243 |
<i class="fas fa-dollar-sign text-indigo-400"></i>
|
| 244 |
</div>
|
| 245 |
<div>
|
| 246 |
+
<h3 class="text-xl font-semibold mb-2" id="feature-3-title">Affordable Art</h3>
|
| 247 |
+
<p class="text-gray-400" id="feature-3-desc">High-quality artwork at a fraction of traditional prices</p>
|
| 248 |
</div>
|
| 249 |
</div>
|
| 250 |
</div>
|
|
|
|
| 265 |
<section class="py-20 bg-gradient-to-b from-slate-800 to-slate-900">
|
| 266 |
<div class="container mx-auto px-6">
|
| 267 |
<div class="text-center mb-16">
|
| 268 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4"><span id="testimonial-title">What</span> <span class="gradient-text">People Say</span></h2>
|
| 269 |
+
<p class="text-lg text-gray-300 max-w-2xl mx-auto" id="testimonial-subtitle">
|
| 270 |
Don't just take our word for it. Here's what early adopters think about AI-generated art.
|
| 271 |
</p>
|
| 272 |
</div>
|
|
|
|
| 278 |
<img src="https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=200&auto=format" class="w-12 h-12 rounded-full mr-4">
|
| 279 |
<div>
|
| 280 |
<h4 class="font-semibold">Sarah Johnson</h4>
|
| 281 |
+
<p class="text-sm text-gray-400" id="person-1-role">Digital Artist</p>
|
| 282 |
</div>
|
| 283 |
</div>
|
| 284 |
+
<p class="text-gray-300 mb-4" id="testimonial-1">
|
| 285 |
"As a traditional artist, I was skeptical at first. But AI art has become an incredible tool in my creative process, helping me explore ideas I never would have considered."
|
| 286 |
</p>
|
| 287 |
<div class="flex text-yellow-400">
|
|
|
|
| 299 |
<img src="https://images.unsplash.com/photo-1566492031773-4f4e44671857?w=200&auto=format" class="w-12 h-12 rounded-full mr-4">
|
| 300 |
<div>
|
| 301 |
<h4 class="font-semibold">Michael Chen</h4>
|
| 302 |
+
<p class="text-sm text-gray-400" id="person-2-role">Art Collector</p>
|
| 303 |
</div>
|
| 304 |
</div>
|
| 305 |
+
<p class="text-gray-300 mb-4" id="testimonial-2">
|
| 306 |
"The AI-generated pieces in my collection consistently get the most attention from visitors. There's something uniquely captivating about them."
|
| 307 |
</p>
|
| 308 |
<div class="flex text-yellow-400">
|
|
|
|
| 320 |
<img src="https://images.unsplash.com/photo-1580489944761-15a19d654956?w=200&auto=format" class="w-12 h-12 rounded-full mr-4">
|
| 321 |
<div>
|
| 322 |
<h4 class="font-semibold">Emma Rodriguez</h4>
|
| 323 |
+
<p class="text-sm text-gray-400" id="person-3-role">Interior Designer</p>
|
| 324 |
</div>
|
| 325 |
</div>
|
| 326 |
+
<p class="text-gray-300 mb-4" id="testimonial-3">
|
| 327 |
"My clients love the unique AI art pieces I incorporate into their spaces. The ability to generate artwork that perfectly matches their style is revolutionary."
|
| 328 |
</p>
|
| 329 |
<div class="flex text-yellow-400">
|
|
|
|
| 349 |
|
| 350 |
<div class="container mx-auto px-6 relative z-10">
|
| 351 |
<div class="max-w-4xl mx-auto text-center">
|
| 352 |
+
<h2 class="text-3xl md:text-5xl font-bold mb-6"><span id="cta-title">Ready to Explore the</span> <span class="gradient-text">Future of Art</span>?</h2>
|
| 353 |
+
<p class="text-xl text-gray-300 mb-8" id="cta-subtitle">
|
| 354 |
Join our waitlist today and be among the first to experience the next evolution in artistic creation.
|
| 355 |
</p>
|
| 356 |
|
|
|
|
| 359 |
<div class="bg-white/10 backdrop-blur-md rounded-xl p-4 flex space-x-4">
|
| 360 |
<div class="text-center">
|
| 361 |
<div class="countdown-number bg-purple-600 text-white font-bold rounded-lg py-2 px-3 text-xl">07</div>
|
| 362 |
+
<div class="text-xs mt-1 text-gray-300" id="days-label">Days</div>
|
| 363 |
</div>
|
| 364 |
<div class="text-center">
|
| 365 |
<div class="countdown-number bg-pink-600 text-white font-bold rounded-lg py-2 px-3 text-xl">23</div>
|
| 366 |
+
<div class="text-xs mt-1 text-gray-300" id="hours-label">Hours</div>
|
| 367 |
</div>
|
| 368 |
<div class="text-center">
|
| 369 |
<div class="countdown-number bg-indigo-600 text-white font-bold rounded-lg py-2 px-3 text-xl">45</div>
|
| 370 |
+
<div class="text-xs mt-1 text-gray-300" id="minutes-label">Minutes</div>
|
| 371 |
</div>
|
| 372 |
</div>
|
| 373 |
</div>
|
| 374 |
|
| 375 |
<!-- Email Collection Form -->
|
| 376 |
<div class="max-w-md mx-auto bg-white/10 backdrop-blur-md rounded-xl p-6 glow">
|
| 377 |
+
<h3 class="text-xl font-semibold mb-4" id="limited-access">Limited Early Access</h3>
|
| 378 |
<form id="email-form-2" class="space-y-4">
|
| 379 |
<div>
|
| 380 |
<input type="email" id="email-2" placeholder="Your email address"
|
|
|
|
| 382 |
</div>
|
| 383 |
<button type="submit"
|
| 384 |
class="w-full bg-gradient-to-r from-purple-600 to-pink-600 text-white font-medium py-3 px-6 rounded-lg hover:opacity-90 transition-all transform hover:scale-[1.02]">
|
| 385 |
+
<span id="join-now">Join Waitlist Now</span>
|
| 386 |
</button>
|
| 387 |
</form>
|
| 388 |
+
<p class="text-xs text-gray-400 mt-3" id="spots-left">Only 247 spots remaining</p>
|
| 389 |
</div>
|
| 390 |
</div>
|
| 391 |
</div>
|
|
|
|
| 397 |
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 398 |
<div class="mb-6 md:mb-0">
|
| 399 |
<h2 class="text-2xl font-bold gradient-text">ArtAI</h2>
|
| 400 |
+
<p class="text-gray-400 mt-2" id="footer-tagline">Exploring the intersection of art and artificial intelligence</p>
|
| 401 |
</div>
|
| 402 |
|
| 403 |
<div class="flex space-x-6">
|
|
|
|
| 417 |
</div>
|
| 418 |
|
| 419 |
<div class="border-t border-white/10 mt-8 pt-8 flex flex-col md:flex-row justify-between">
|
| 420 |
+
<div class="text-gray-400 text-sm mb-4 md:mb-0" id="copyright">
|
| 421 |
© 2023 ArtAI. All rights reserved.
|
| 422 |
</div>
|
| 423 |
|
| 424 |
<div class="flex flex-wrap gap-4">
|
| 425 |
+
<a href="#" class="text-gray-400 hover:text-white text-sm transition" id="privacy-link">Privacy Policy</a>
|
| 426 |
+
<a href="#" class="text-gray-400 hover:text-white text-sm transition" id="terms-link">Terms of Service</a>
|
| 427 |
+
<a href="#" class="text-gray-400 hover:text-white text-sm transition" id="contact-link">Contact Us</a>
|
| 428 |
+
<a href="#" class="text-gray-400 hover:text-white text-sm transition" id="faq-link">FAQ</a>
|
| 429 |
</div>
|
| 430 |
</div>
|
| 431 |
</div>
|
|
|
|
| 441 |
<div class="w-20 h-20 bg-green-500/20 rounded-full flex items-center justify-center mx-auto mb-6">
|
| 442 |
<i class="fas fa-check text-green-400 text-3xl"></i>
|
| 443 |
</div>
|
| 444 |
+
<h3 class="text-2xl font-bold mb-2" id="modal-title">You're on the list!</h3>
|
| 445 |
+
<p class="text-gray-300 mb-6" id="modal-message">
|
| 446 |
Thank you for joining our waitlist. We'll be in touch soon with exclusive access to our AI art platform.
|
| 447 |
</p>
|
| 448 |
<button id="modal-close-btn" class="bg-gradient-to-r from-purple-600 to-pink-600 text-white font-medium py-2 px-6 rounded-lg hover:opacity-90 transition">
|
| 449 |
+
<span id="modal-button">Continue Exploring</span>
|
| 450 |
</button>
|
| 451 |
</div>
|
| 452 |
</div>
|
| 453 |
</div>
|
| 454 |
|
| 455 |
<script>
|
| 456 |
+
// Language translations
|
| 457 |
+
const translations = {
|
| 458 |
+
en: {
|
| 459 |
+
// Hero section
|
| 460 |
+
"hero-title-1": "AI-Generated Art",
|
| 461 |
+
"hero-title-2": "Is This The Future?",
|
| 462 |
+
"hero-subtitle": "Join our exclusive waitlist to help validate the market for AI-generated artwork. Early subscribers will get special access to our platform and discounts.",
|
| 463 |
+
"form-title": "Get Early Access",
|
| 464 |
+
"email-placeholder": "Your email address",
|
| 465 |
+
"join-button": "Join Waitlist",
|
| 466 |
+
"privacy-text": "We respect your privacy. Unsubscribe at any time.",
|
| 467 |
+
"join-text": "Join",
|
| 468 |
+
"members-text": "artists and collectors",
|
| 469 |
+
"rating-text": "5.0 (300+ reviews)",
|
| 470 |
+
|
| 471 |
+
// Showcase section
|
| 472 |
+
"showcase-title": "Witness the Power of",
|
| 473 |
+
"showcase-subtitle": "These stunning artworks were generated entirely by artificial intelligence. No human artist was involved in the creation process.",
|
| 474 |
+
"art-title-1": "Cosmic Dreams",
|
| 475 |
+
"art-title-2": "Neural Nebula",
|
| 476 |
+
"art-title-3": "Digital Utopia",
|
| 477 |
+
"art-desc-1": "Generated in 12 seconds using our AI model",
|
| 478 |
+
"art-desc-2": "Generated in 8 seconds using our AI model",
|
| 479 |
+
"art-desc-3": "Generated in 15 seconds using our AI model",
|
| 480 |
+
"view-button-1": "View Details",
|
| 481 |
+
"view-button-2": "View Details",
|
| 482 |
+
"view-button-3": "View Details",
|
| 483 |
+
|
| 484 |
+
// Value proposition
|
| 485 |
+
"value-title": "Why",
|
| 486 |
+
"matters-text": "Matters",
|
| 487 |
+
"value-description": "AI-generated art is revolutionizing the creative industry by making artistic expression accessible to everyone while pushing the boundaries of what's possible.",
|
| 488 |
+
"feature-1-title": "Instant Creation",
|
| 489 |
+
"feature-2-title": "Infinite Possibilities",
|
| 490 |
+
"feature-3-title": "Affordable Art",
|
| 491 |
+
"feature-1-desc": "Generate unique artworks in seconds, not weeks",
|
| 492 |
+
"feature-2-desc": "Explore styles and concepts beyond human imagination",
|
| 493 |
+
"feature-3-desc": "High-quality artwork at a fraction of traditional prices",
|
| 494 |
+
|
| 495 |
+
// Testimonials
|
| 496 |
+
"testimonial-title": "What",
|
| 497 |
+
"testimonial-subtitle": "Don't just take our word for it. Here's what early adopters think about AI-generated art.",
|
| 498 |
+
"person-1-role": "Digital Artist",
|
| 499 |
+
"person-2-role": "Art Collector",
|
| 500 |
+
"person-3-role": "Interior Designer",
|
| 501 |
+
"testimonial-1": "\"As a traditional artist, I was skeptical at first. But AI art has become an incredible tool in my creative process, helping me explore ideas I never would have considered.\"",
|
| 502 |
+
"testimonial-2": "\"The AI-generated pieces in my collection consistently get the most attention from visitors. There's something uniquely captivating about them.\"",
|
| 503 |
+
"testimonial-3": "\"My clients love the unique AI art pieces I incorporate into their spaces. The ability to generate artwork that perfectly matches their style is revolutionary.\"",
|
| 504 |
+
|
| 505 |
+
// CTA
|
| 506 |
+
"cta-title": "Ready to Explore the",
|
| 507 |
+
"cta-subtitle": "Join our waitlist today and be among the first to experience the next evolution in artistic creation.",
|
| 508 |
+
"days-label": "Days",
|
| 509 |
+
"hours-label": "Hours",
|
| 510 |
+
"minutes-label": "Minutes",
|
| 511 |
+
"limited-access": "Limited Early Access",
|
| 512 |
+
"join-now": "Join Waitlist Now",
|
| 513 |
+
"spots-left": "Only 247 spots remaining",
|
| 514 |
+
|
| 515 |
+
// Footer
|
| 516 |
+
"footer-tagline": "Exploring the intersection of art and artificial intelligence",
|
| 517 |
+
"privacy-link": "Privacy Policy",
|
| 518 |
+
"terms-link": "Terms of Service",
|
| 519 |
+
"contact-link": "Contact Us",
|
| 520 |
+
"faq-link": "FAQ",
|
| 521 |
+
|
| 522 |
+
// Modal
|
| 523 |
+
"modal-title": "You're on the list!",
|
| 524 |
+
"modal-message": "Thank you for joining our waitlist. We'll be in touch soon with exclusive access to our AI art platform.",
|
| 525 |
+
"modal-button": "Continue Exploring"
|
| 526 |
+
},
|
| 527 |
+
zh: {
|
| 528 |
+
// Hero section
|
| 529 |
+
"hero-title-1": "AI生成艺术",
|
| 530 |
+
"hero-title-2": "这是未来吗?",
|
| 531 |
+
"hero-subtitle": "加入我们的专属等候名单,帮助验证AI生成艺术品的市场。早期订阅者将获得平台特别访问权限和折扣。",
|
| 532 |
+
"form-title": "获取早期访问权限",
|
| 533 |
+
"email-placeholder": "您的电子邮件地址",
|
| 534 |
+
"join-button": "加入等候名单",
|
| 535 |
+
"privacy-text": "我们尊重您的隐私。可随时取消订阅。",
|
| 536 |
+
"join-text": "加入",
|
| 537 |
+
"members-text": "艺术家和收藏家",
|
| 538 |
+
"rating-text": "5.0 (300+ 评价)",
|
| 539 |
+
|
| 540 |
+
// Showcase section
|
| 541 |
+
"showcase-title": "见证",
|
| 542 |
+
"showcase-subtitle": "这些令人惊叹的艺术作品完全由人工智能生成。创作过程中没有任何人类艺术家参与。",
|
| 543 |
+
"art-title-1": "宇宙梦境",
|
| 544 |
+
"art-title-2": "神经星云",
|
| 545 |
+
"art-title-3": "数字乌托邦",
|
| 546 |
+
"art-desc-1": "使用我们的AI模型在12秒内生成",
|
| 547 |
+
"art-desc-2": "使用我们的AI模型在8秒内生成",
|
| 548 |
+
"art-desc-3": "使用我们的AI模型在15秒内生成",
|
| 549 |
+
"view-button-1": "查看详情",
|
| 550 |
+
"view-button-2": "查看详情",
|
| 551 |
+
"view-button-3": "查看详情",
|
| 552 |
+
|
| 553 |
+
// Value proposition
|
| 554 |
+
"value-title": "为何",
|
| 555 |
+
"matters-text": "重要",
|
| 556 |
+
"value-description": "AI生成艺术正在革命创意产业,它让艺术表达人人可及,同时突破了可能性的边界。",
|
| 557 |
+
"feature-1-title": "即时创作",
|
| 558 |
+
"feature-2-title": "无限可能",
|
| 559 |
+
"feature-3-title": "价格亲民",
|
| 560 |
+
"feature-1-desc": "几秒钟即可生成独特艺术品,无需数周",
|
| 561 |
+
"feature-2-desc": "探索超越人类想象力的风格和概念",
|
| 562 |
+
"feature-3-desc": "高品质艺术品,价格仅为传统艺术的一小部分",
|
| 563 |
+
|
| 564 |
+
// Testimonials
|
| 565 |
+
"testimonial-title": "用户",
|
| 566 |
+
"testimonial-subtitle": "不要只听我们说。以下是早期采用者对AI生成艺术的看法。",
|
| 567 |
+
"person-1-role": "数字艺术家",
|
| 568 |
+
"person-2-role": "艺术收藏家",
|
| 569 |
+
"person-3-role": "室内设计师",
|
| 570 |
+
"testimonial-1": "\"作为传统艺术家,起初我很怀疑。但AI艺术已成为我创作过程中不可思议的工具,帮助我探索从未考虑过的想法。\"",
|
| 571 |
+
"testimonial-2": "\"在我的收藏中,AI生成的作品总是最能吸引访客的注意。它们有种独特的魅力。\"",
|
| 572 |
+
"testimonial-3": "\"我的客户非常喜欢我为他们的空间挑选的独特AI艺术品。能够生成完全匹配他们风格的艺术作品是革命性的。\"",
|
| 573 |
+
|
| 574 |
+
// CTA
|
| 575 |
+
"cta-title": "准备好探索",
|
| 576 |
+
"cta-subtitle": "立即加入我们的等候名单,成为首批体验艺术创作下一阶段的人。",
|
| 577 |
+
"days-label": "天",
|
| 578 |
+
"hours-label": "小时",
|
| 579 |
+
"minutes-label": "分钟",
|
| 580 |
+
"limited-access": "限量早期访问",
|
| 581 |
+
"join-now": "立即加入等候名单",
|
| 582 |
+
"spots-left": "仅剩247个名额",
|
| 583 |
+
|
| 584 |
+
// Footer
|
| 585 |
+
"footer-tagline": "探索艺术与人工智能的交汇点",
|
| 586 |
+
"privacy-link": "隐私政策",
|
| 587 |
+
"terms-link": "服务条款",
|
| 588 |
+
"contact-link": "联系我们",
|
| 589 |
+
"faq-link": "常见问题",
|
| 590 |
+
|
| 591 |
+
// Modal
|
| 592 |
+
"modal-title": "您已加入列表!",
|
| 593 |
+
"modal-message": "感��您加入我们的等候名单。我们将很快与您联系,提供AI艺术平台的专属访问权限。",
|
| 594 |
+
"modal-button": "继续探索"
|
| 595 |
+
}
|
| 596 |
+
};
|
| 597 |
+
|
| 598 |
+
// Function to change language
|
| 599 |
+
function changeLanguage(language) {
|
| 600 |
+
document.documentElement.lang = language;
|
| 601 |
+
const elements = document.querySelectorAll('[id]');
|
| 602 |
+
|
| 603 |
+
elements.forEach(element => {
|
| 604 |
+
const id = element.id;
|
| 605 |
+
if (translations[language][id]) {
|
| 606 |
+
if (element.placeholder) {
|
| 607 |
+
element.placeholder = translations[language][id];
|
| 608 |
+
} else {
|
| 609 |
+
element.textContent = translations[language][id];
|
| 610 |
+
}
|
| 611 |
+
}
|
| 612 |
+
});
|
| 613 |
+
}
|
| 614 |
+
|
| 615 |
+
// Initial language setup
|
| 616 |
+
let currentLanguage = 'en';
|
| 617 |
+
changeLanguage(currentLanguage);
|
| 618 |
+
|
| 619 |
+
// Language selector functionality
|
| 620 |
+
document.getElementById('language-select').addEventListener('change', function() {
|
| 621 |
+
currentLanguage = this.value;
|
| 622 |
+
changeLanguage(currentLanguage);
|
| 623 |
+
});
|
| 624 |
+
|
| 625 |
// Form submission
|
| 626 |
document.getElementById('email-form').addEventListener('submit', function(e) {
|
| 627 |
e.preventDefault();
|
| 628 |
const email = document.getElementById('email').value;
|
| 629 |
if(email) {
|
|
|
|
| 630 |
console.log('Email submitted:', email);
|
| 631 |
document.getElementById('success-modal').classList.remove('hidden');
|
| 632 |
document.body.style.overflow = 'hidden';
|
|
|
|
| 637 |
e.preventDefault();
|
| 638 |
const email = document.getElementById('email-2').value;
|
| 639 |
if(email) {
|
|
|
|
| 640 |
console.log('Email submitted:', email);
|
| 641 |
document.getElementById('success-modal').classList.remove('hidden');
|
| 642 |
document.body.style.overflow = 'hidden';
|
|
|
|
| 654 |
document.body.style.overflow = 'auto';
|
| 655 |
});
|
| 656 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 657 |
// Countdown timer (example)
|
| 658 |
function updateCountdown() {
|
|
|
|
| 659 |
const days = document.querySelector('.countdown-number:nth-child(1)');
|
| 660 |
const hours = document.querySelector('.countdown-number:nth-child(2)');
|
| 661 |
const minutes = document.querySelector('.countdown-number:nth-child(3)');
|
| 662 |
|
|
|
|
| 663 |
if(Math.random() > 0.7) {
|
| 664 |
const current = parseInt(minutes.textContent);
|
| 665 |
if(current > 0) minutes.textContent = (current - 1).toString().padStart(2, '0');
|
|
|
|
| 691 |
observer.observe(el);
|
| 692 |
});
|
| 693 |
</script>
|
| 694 |
+
</body>
|
| 695 |
</html>
|