Make a YouTube auto-subscribe app with 1000 subscribers in one hour
Browse files- README.md +7 -4
- components/footer.js +56 -0
- components/navbar.js +63 -0
- index.html +180 -19
- script.js +35 -0
- style.css +44 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
title: Subscriber Surge Supreme
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Subscriber Surge Supreme
|
| 3 |
+
colorFrom: pink
|
| 4 |
+
colorTo: purple
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.social-icon {
|
| 7 |
+
transition: all 0.3s ease;
|
| 8 |
+
}
|
| 9 |
+
.social-icon:hover {
|
| 10 |
+
transform: translateY(-3px);
|
| 11 |
+
color: #FF0000;
|
| 12 |
+
}
|
| 13 |
+
.footer-link {
|
| 14 |
+
transition: color 0.3s ease;
|
| 15 |
+
}
|
| 16 |
+
.footer-link:hover {
|
| 17 |
+
color: #FF0000;
|
| 18 |
+
}
|
| 19 |
+
</style>
|
| 20 |
+
<footer class="bg-secondary-600 border-t border-secondary-700 py-12">
|
| 21 |
+
<div class="container mx-auto px-4">
|
| 22 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 23 |
+
<div>
|
| 24 |
+
<h3 class="text-xl font-bold mb-4 flex items-center">
|
| 25 |
+
<i data-feather="zap" class="text-primary-500 mr-2"></i>
|
| 26 |
+
Subscriber Surge
|
| 27 |
+
</h3>
|
| 28 |
+
<p class="text-gray-400">The fastest way to grow your YouTube channel with real, active subscribers.</p>
|
| 29 |
+
<div class="flex space-x-4 mt-4">
|
| 30 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
|
| 31 |
+
<i data-feather="twitter"></i>
|
| 32 |
+
</a>
|
| 33 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
|
| 34 |
+
<i data-feather="instagram"></i>
|
| 35 |
+
</a>
|
| 36 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
|
| 37 |
+
<i data-feather="facebook"></i>
|
| 38 |
+
</a>
|
| 39 |
+
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
|
| 40 |
+
<i data-feather="youtube"></i>
|
| 41 |
+
</a>
|
| 42 |
+
</div>
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
<div>
|
| 46 |
+
<h4 class="text-lg font-bold mb-4">Quick Links</h4>
|
| 47 |
+
<ul class="space-y-2">
|
| 48 |
+
<li><a href="#" class="footer-link text-gray-400">Home</a></li>
|
| 49 |
+
<li><a href="#how" class="footer-link text-gray-400">How It Works</a></li>
|
| 50 |
+
<li><a href="#" class="footer-link text-gray-400">Pricing</a></li>
|
| 51 |
+
<li><a href="#" class="footer-link text-gray-400">Testimonials</a></li>
|
| 52 |
+
</ul>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<div>
|
| 56 |
+
<h4 class="text-lg font-bold mb-4
|
components/navbar.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.navbar {
|
| 7 |
+
backdrop-filter: blur(10px);
|
| 8 |
+
}
|
| 9 |
+
.nav-link {
|
| 10 |
+
position: relative;
|
| 11 |
+
}
|
| 12 |
+
.nav-link::after {
|
| 13 |
+
content: '';
|
| 14 |
+
position: absolute;
|
| 15 |
+
width: 0;
|
| 16 |
+
height: 2px;
|
| 17 |
+
bottom: -2px;
|
| 18 |
+
left: 0;
|
| 19 |
+
background-color: #FF0000;
|
| 20 |
+
transition: width 0.3s ease;
|
| 21 |
+
}
|
| 22 |
+
.nav-link:hover::after {
|
| 23 |
+
width: 100%;
|
| 24 |
+
}
|
| 25 |
+
</style>
|
| 26 |
+
<nav class="navbar bg-secondary-600 bg-opacity-80 border-b border-secondary-700 fixed w-full z-10">
|
| 27 |
+
<div class="container mx-auto px-4">
|
| 28 |
+
<div class="flex justify-between items-center py-4">
|
| 29 |
+
<a href="#" class="flex items-center space-x-2">
|
| 30 |
+
<i data-feather="zap" class="text-primary-500"></i>
|
| 31 |
+
<span class="text-xl font-bold">Subscriber Surge</span>
|
| 32 |
+
</a>
|
| 33 |
+
|
| 34 |
+
<div class="hidden md:flex items-center space-x-8">
|
| 35 |
+
<a href="#" class="nav-link">Home</a>
|
| 36 |
+
<a href="#how" class="nav-link">How It Works</a>
|
| 37 |
+
<a href="#" class="nav-link">Pricing</a>
|
| 38 |
+
<a href="#" class="nav-link">Testimonials</a>
|
| 39 |
+
<a href="#start" class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-2 rounded-full transition-all">Get Started</a>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<button class="md:hidden focus:outline-none">
|
| 43 |
+
<i data-feather="menu" class="w-6 h-6"></i>
|
| 44 |
+
</button>
|
| 45 |
+
</div>
|
| 46 |
+
</div>
|
| 47 |
+
</nav>
|
| 48 |
+
`;
|
| 49 |
+
|
| 50 |
+
// Initialize feather icons in shadow DOM
|
| 51 |
+
const featherScript = document.createElement('script');
|
| 52 |
+
featherScript.src = 'https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js';
|
| 53 |
+
this.shadowRoot.appendChild(featherScript);
|
| 54 |
+
|
| 55 |
+
featherScript.onload = () => {
|
| 56 |
+
if (window.feather) {
|
| 57 |
+
window.feather.replace();
|
| 58 |
+
}
|
| 59 |
+
};
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,180 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Subscriber Surge Supreme</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
darkMode: 'class',
|
| 14 |
+
theme: {
|
| 15 |
+
extend: {
|
| 16 |
+
colors: {
|
| 17 |
+
primary: {
|
| 18 |
+
500: '#FF0000',
|
| 19 |
+
600: '#CC0000',
|
| 20 |
+
},
|
| 21 |
+
secondary: {
|
| 22 |
+
500: '#282828',
|
| 23 |
+
600: '#1F1F1F',
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
</script>
|
| 30 |
+
</head>
|
| 31 |
+
<body class="bg-secondary-500 min-h-screen text-white">
|
| 32 |
+
<custom-navbar></custom-navbar>
|
| 33 |
+
|
| 34 |
+
<main class="container mx-auto px-4 py-12">
|
| 35 |
+
<section class="max-w-4xl mx-auto text-center mb-16">
|
| 36 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-6 text-primary-500">Get 1000 Subscribers <span class="text-white">in 60 Minutes</span></h1>
|
| 37 |
+
<p class="text-xl md:text-2xl mb-8">Our AI-powered system will boost your YouTube channel with real, active subscribers faster than ever before.</p>
|
| 38 |
+
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
| 39 |
+
<a href="#start" class="bg-primary-500 hover:bg-primary-600 text-white font-bold py-4 px-8 rounded-full text-lg transition-all transform hover:scale-105">
|
| 40 |
+
Start Now
|
| 41 |
+
</a>
|
| 42 |
+
<a href="#how" class="bg-secondary-600 hover:bg-secondary-700 text-white font-bold py-4 px-8 rounded-full text-lg transition-all border border-gray-600">
|
| 43 |
+
How It Works
|
| 44 |
+
</a>
|
| 45 |
+
</div>
|
| 46 |
+
</section>
|
| 47 |
+
|
| 48 |
+
<section id="start" class="bg-secondary-600 rounded-2xl p-8 mb-16">
|
| 49 |
+
<h2 class="text-3xl font-bold mb-8 text-center">Start Your Subscriber Surge</h2>
|
| 50 |
+
<div class="grid md:grid-cols-2 gap-8">
|
| 51 |
+
<div class="space-y-6">
|
| 52 |
+
<div>
|
| 53 |
+
<label class="block text-lg mb-2">YouTube Channel URL</label>
|
| 54 |
+
<input type="text" placeholder="https://youtube.com/@yourchannel" class="w-full bg-secondary-500 border border-gray-600 rounded-lg py-3 px-4 text-white focus:outline-none focus:ring-2 focus:ring-primary-500">
|
| 55 |
+
</div>
|
| 56 |
+
<div>
|
| 57 |
+
<label class="block text-lg mb-2">Desired Subscribers</label>
|
| 58 |
+
<div class="relative">
|
| 59 |
+
<input type="range" min="100" max="1000" value="1000" step="100" class="w-full h-2 bg-secondary-400 rounded-lg appearance-none cursor-pointer">
|
| 60 |
+
<div class="flex justify-between text-sm mt-2">
|
| 61 |
+
<span>100</span>
|
| 62 |
+
<span>500</span>
|
| 63 |
+
<span>1000</span>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="text-center mt-4">
|
| 66 |
+
<span class="text-2xl font-bold text-primary-500">1000</span> subscribers selected
|
| 67 |
+
</div>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
<div class="space-y-6">
|
| 72 |
+
<div>
|
| 73 |
+
<label class="block text-lg mb-2">Delivery Speed</label>
|
| 74 |
+
<div class="grid grid-cols-3 gap-2">
|
| 75 |
+
<button class="bg-secondary-500 hover:bg-primary-500 py-3 rounded-lg transition-all">Slow</button>
|
| 76 |
+
<button class="bg-primary-500 py-3 rounded-lg">Medium</button>
|
| 77 |
+
<button class="bg-secondary-500 hover:bg-primary-500 py-3 rounded-lg transition-all">Fast</button>
|
| 78 |
+
</div>
|
| 79 |
+
<p class="text-sm mt-2 text-gray-400">Fast delivery (1 hour) recommended for best results</p>
|
| 80 |
+
</div>
|
| 81 |
+
<div>
|
| 82 |
+
<label class="block text-lg mb-2">Estimated Completion</label>
|
| 83 |
+
<div class="bg-secondary-500 rounded-lg p-4 text-center">
|
| 84 |
+
<div class="text-2xl font-bold text-primary-500">60 minutes</div>
|
| 85 |
+
<div class="text-sm text-gray-400">After payment confirmation</div>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
<button class="w-full bg-primary-500 hover:bg-primary-600 text-white font-bold py-4 px-8 rounded-lg text-lg transition-all transform hover:scale-[1.02] flex items-center justify-center gap-2">
|
| 89 |
+
<i data-feather="zap"></i>
|
| 90 |
+
Start Subscriber Surge ($49.99)
|
| 91 |
+
</button>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
</section>
|
| 95 |
+
|
| 96 |
+
<section id="how" class="mb-16">
|
| 97 |
+
<h2 class="text-3xl font-bold mb-8 text-center">How It Works</h2>
|
| 98 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 99 |
+
<div class="bg-secondary-600 p-6 rounded-xl">
|
| 100 |
+
<div class="bg-primary-500 w-12 h-12 rounded-full flex items-center justify-center mb-4">
|
| 101 |
+
<i data-feather="link" class="w-6 h-6"></i>
|
| 102 |
+
</div>
|
| 103 |
+
<h3 class="text-xl font-bold mb-2">1. Enter Your Channel</h3>
|
| 104 |
+
<p class="text-gray-300">Provide your YouTube channel URL and select how many subscribers you want.</p>
|
| 105 |
+
</div>
|
| 106 |
+
<div class="bg-secondary-600 p-6 rounded-xl">
|
| 107 |
+
<div class="bg-primary-500 w-12 h-12 rounded-full flex items-center justify-center mb-4">
|
| 108 |
+
<i data-feather="credit-card" class="w-6 h-6"></i>
|
| 109 |
+
</div>
|
| 110 |
+
<h3 class="text-xl font-bold mb-2">2. Secure Payment</h3>
|
| 111 |
+
<p class="text-gray-300">Complete the quick and secure payment process.</p>
|
| 112 |
+
</div>
|
| 113 |
+
<div class="bg-secondary-600 p-6 rounded-xl">
|
| 114 |
+
<div class="bg-primary-500 w-12 h-12 rounded-full flex items-center justify-center mb-4">
|
| 115 |
+
<i data-feather="users" class="w-6 h-6"></i>
|
| 116 |
+
</div>
|
| 117 |
+
<h3 class="text-xl font-bold mb-2">3. Watch Subscribers Grow</h3>
|
| 118 |
+
<p class="text-gray-300">Our network starts delivering real subscribers within minutes.</p>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
</section>
|
| 122 |
+
|
| 123 |
+
<section class="bg-secondary-600 rounded-2xl p-8 mb-16">
|
| 124 |
+
<h2 class="text-3xl font-bold mb-8 text-center">Real Results From Our Users</h2>
|
| 125 |
+
<div class="grid md:grid-cols-2 gap-8">
|
| 126 |
+
<div class="bg-secondary-500 p-6 rounded-xl">
|
| 127 |
+
<div class="flex items-center mb-4">
|
| 128 |
+
<img src="http://static.photos/people/200x200/1" alt="User" class="w-12 h-12 rounded-full mr-4">
|
| 129 |
+
<div>
|
| 130 |
+
<h4 class="font-bold">GamingWithAlex</h4>
|
| 131 |
+
<div class="flex text-yellow-400">
|
| 132 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 133 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 134 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 135 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 136 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
<p>"I went from 200 to 1200 subscribers in just one hour! My channel finally got monetized thanks to this service."</p>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="bg-secondary-500 p-6 rounded-xl">
|
| 143 |
+
<div class="flex items-center mb-4">
|
| 144 |
+
<img src="http://static.photos/people/200x200/2" alt="User" class="w-12 h-12 rounded-full mr-4">
|
| 145 |
+
<div>
|
| 146 |
+
<h4 class="font-bold">CookingWithMaria</h4>
|
| 147 |
+
<div class="flex text-yellow-400">
|
| 148 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 149 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 150 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 151 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 152 |
+
<i data-feather="star" class="w-4 h-4 fill-current"></i>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
<p>"The subscribers are real people who actually watch my videos. My watch time increased by 300%!"</p>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
</section>
|
| 160 |
+
</main>
|
| 161 |
+
|
| 162 |
+
<custom-footer></custom-footer>
|
| 163 |
+
|
| 164 |
+
<script src="components/navbar.js"></script>
|
| 165 |
+
<script src="components/footer.js"></script>
|
| 166 |
+
<script src="script.js"></script>
|
| 167 |
+
<script>
|
| 168 |
+
feather.replace();
|
| 169 |
+
|
| 170 |
+
// Update subscriber count when slider changes
|
| 171 |
+
const subscriberSlider = document.querySelector('input[type="range"]');
|
| 172 |
+
const subscriberCount = document.querySelector('.text-2xl.font-bold');
|
| 173 |
+
|
| 174 |
+
subscriberSlider.addEventListener('input', function() {
|
| 175 |
+
subscriberCount.textContent = this.value;
|
| 176 |
+
});
|
| 177 |
+
</script>
|
| 178 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 179 |
+
</body>
|
| 180 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Form validation for the YouTube URL input
|
| 2 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
+
const youtubeInput = document.querySelector('input[type="text"]');
|
| 4 |
+
const startButton = document.querySelector('button.bg-primary-500');
|
| 5 |
+
|
| 6 |
+
youtubeInput.addEventListener('input', function() {
|
| 7 |
+
const url = this.value;
|
| 8 |
+
const youtubeRegex = /^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.?be)\/.+$/;
|
| 9 |
+
|
| 10 |
+
if (youtubeRegex.test(url)) {
|
| 11 |
+
this.classList.remove('border-red-500');
|
| 12 |
+
this.classList.add('border-green-500');
|
| 13 |
+
startButton.disabled = false;
|
| 14 |
+
} else {
|
| 15 |
+
this.classList.remove('border-green-500');
|
| 16 |
+
this.classList.add('border-red-500');
|
| 17 |
+
startButton.disabled = true;
|
| 18 |
+
}
|
| 19 |
+
});
|
| 20 |
+
|
| 21 |
+
// Add animation to the main CTA button
|
| 22 |
+
const ctaButton = document.querySelector('a.bg-primary-500');
|
| 23 |
+
ctaButton.classList.add('animate-pulse');
|
| 24 |
+
|
| 25 |
+
// Smooth scrolling for anchor links
|
| 26 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 27 |
+
anchor.addEventListener('click', function (e) {
|
| 28 |
+
e.preventDefault();
|
| 29 |
+
|
| 30 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 31 |
+
behavior: 'smooth'
|
| 32 |
+
});
|
| 33 |
+
});
|
| 34 |
+
});
|
| 35 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,53 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Custom scrollbar */
|
| 2 |
+
::-webkit-scrollbar {
|
| 3 |
+
width: 8px;
|
| 4 |
}
|
| 5 |
|
| 6 |
+
::-webkit-scrollbar-track {
|
| 7 |
+
background: #1F1F1F;
|
|
|
|
| 8 |
}
|
| 9 |
|
| 10 |
+
::-webkit-scrollbar-thumb {
|
| 11 |
+
background: #FF0000;
|
| 12 |
+
border-radius: 4px;
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
+
::-webkit-scrollbar-thumb:hover {
|
| 16 |
+
background: #CC0000;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
+
/* Animation for the CTA button */
|
| 20 |
+
@keyframes pulse {
|
| 21 |
+
0% {
|
| 22 |
+
box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
|
| 23 |
+
}
|
| 24 |
+
70% {
|
| 25 |
+
box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
|
| 26 |
+
}
|
| 27 |
+
100% {
|
| 28 |
+
box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
|
| 29 |
+
}
|
| 30 |
}
|
| 31 |
+
|
| 32 |
+
.animate-pulse {
|
| 33 |
+
animation: pulse 2s infinite;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* Custom input range styling */
|
| 37 |
+
input[type="range"]::-webkit-slider-thumb {
|
| 38 |
+
-webkit-appearance: none;
|
| 39 |
+
appearance: none;
|
| 40 |
+
width: 20px;
|
| 41 |
+
height: 20px;
|
| 42 |
+
border-radius: 50%;
|
| 43 |
+
background: #FF0000;
|
| 44 |
+
cursor: pointer;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
input[type="range"]::-moz-range-thumb {
|
| 48 |
+
width: 20px;
|
| 49 |
+
height: 20px;
|
| 50 |
+
border-radius: 50%;
|
| 51 |
+
background: #FF0000;
|
| 52 |
+
cursor: pointer;
|
| 53 |
+
}
|