Spaces:
Configuration error
Configuration error
Add 3 files
Browse files- README.md +7 -5
- index.html +381 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: prointerv-s-stuff
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: pink
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,381 @@
|
|
| 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">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Tournament Registration | BattleZone</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.gradient-bg {
|
| 11 |
+
background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
|
| 12 |
+
}
|
| 13 |
+
.card-hover:hover {
|
| 14 |
+
transform: translateY(-5px);
|
| 15 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 16 |
+
}
|
| 17 |
+
.input-error {
|
| 18 |
+
border-color: #ef4444;
|
| 19 |
+
}
|
| 20 |
+
.error-message {
|
| 21 |
+
color: #ef4444;
|
| 22 |
+
font-size: 0.875rem;
|
| 23 |
+
margin-top: 0.25rem;
|
| 24 |
+
}
|
| 25 |
+
@keyframes pulse {
|
| 26 |
+
0%, 100% {
|
| 27 |
+
opacity: 1;
|
| 28 |
+
}
|
| 29 |
+
50% {
|
| 30 |
+
opacity: 0.5;
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
.animate-pulse {
|
| 34 |
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
| 35 |
+
}
|
| 36 |
+
</style>
|
| 37 |
+
</head>
|
| 38 |
+
<body class="bg-gray-100 font-sans">
|
| 39 |
+
<!-- Navigation -->
|
| 40 |
+
<nav class="gradient-bg text-white shadow-lg">
|
| 41 |
+
<div class="container mx-auto px-6 py-3">
|
| 42 |
+
<div class="flex items-center justify-between">
|
| 43 |
+
<div class="flex items-center space-x-4">
|
| 44 |
+
<i class="fas fa-trophy text-2xl"></i>
|
| 45 |
+
<span class="text-xl font-bold">BattleZone</span>
|
| 46 |
+
</div>
|
| 47 |
+
<div class="hidden md:flex items-center space-x-8">
|
| 48 |
+
<a href="#" class="hover:text-blue-200">Home</a>
|
| 49 |
+
<a href="#" class="hover:text-blue-200">Tournaments</a>
|
| 50 |
+
<a href="#" class="hover:text-blue-200">Rules</a>
|
| 51 |
+
<a href="#" class="hover:text-blue-200">Prizes</a>
|
| 52 |
+
</div>
|
| 53 |
+
<button class="md:hidden focus:outline-none">
|
| 54 |
+
<i class="fas fa-bars text-xl"></i>
|
| 55 |
+
</button>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
</nav>
|
| 59 |
+
|
| 60 |
+
<!-- Hero Section -->
|
| 61 |
+
<header class="gradient-bg text-white py-20">
|
| 62 |
+
<div class="container mx-auto px-6 text-center">
|
| 63 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-6">Join the Ultimate Tournament</h1>
|
| 64 |
+
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">Register now for the biggest gaming event of the year with massive prizes and global recognition.</p>
|
| 65 |
+
<a href="#registration" class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-bold py-3 px-8 rounded-full text-lg transition duration-300 inline-block">
|
| 66 |
+
Register Now <i class="fas fa-arrow-right ml-2"></i>
|
| 67 |
+
</a>
|
| 68 |
+
</div>
|
| 69 |
+
</header>
|
| 70 |
+
|
| 71 |
+
<!-- Tournament Info -->
|
| 72 |
+
<section class="py-16 bg-white">
|
| 73 |
+
<div class="container mx-auto px-6">
|
| 74 |
+
<h2 class="text-3xl font-bold text-center mb-12">Tournament Details</h2>
|
| 75 |
+
|
| 76 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 77 |
+
<!-- Card 1 -->
|
| 78 |
+
<div class="bg-gray-50 rounded-xl p-8 shadow-md card-hover transition duration-300">
|
| 79 |
+
<div class="text-blue-600 mb-4">
|
| 80 |
+
<i class="fas fa-calendar-alt text-4xl"></i>
|
| 81 |
+
</div>
|
| 82 |
+
<h3 class="text-xl font-bold mb-3">Event Schedule</h3>
|
| 83 |
+
<p class="text-gray-600 mb-4">
|
| 84 |
+
<span class="font-semibold">Registration:</span> June 1 - July 15<br>
|
| 85 |
+
<span class="font-semibold">Qualifiers:</span> July 20-25<br>
|
| 86 |
+
<span class="font-semibold">Finals:</span> August 5-7
|
| 87 |
+
</p>
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
<!-- Card 2 -->
|
| 91 |
+
<div class="bg-gray-50 rounded-xl p-8 shadow-md card-hover transition duration-300">
|
| 92 |
+
<div class="text-purple-600 mb-4">
|
| 93 |
+
<i class="fas fa-award text-4xl"></i>
|
| 94 |
+
</div>
|
| 95 |
+
<h3 class="text-xl font-bold mb-3">Prize Pool</h3>
|
| 96 |
+
<p class="text-gray-600 mb-4">
|
| 97 |
+
<span class="font-semibold">1st Place:</span> $50,000<br>
|
| 98 |
+
<span class="font-semibold">2nd Place:</span> $20,000<br>
|
| 99 |
+
<span class="font-semibold">3rd Place:</span> $10,000<br>
|
| 100 |
+
Plus sponsorships and merchandise
|
| 101 |
+
</p>
|
| 102 |
+
</div>
|
| 103 |
+
|
| 104 |
+
<!-- Card 3 -->
|
| 105 |
+
<div class="bg-gray-50 rounded-xl p-8 shadow-md card-hover transition duration-300">
|
| 106 |
+
<div class="text-green-600 mb-4">
|
| 107 |
+
<i class="fas fa-gamepad text-4xl"></i>
|
| 108 |
+
</div>
|
| 109 |
+
<h3 class="text-xl font-bold mb-3">Game Formats</h3>
|
| 110 |
+
<p class="text-gray-600">
|
| 111 |
+
<span class="font-semibold">Single Elimination:</span> Early rounds<br>
|
| 112 |
+
<span class="font-semibold">Double Elimination:</span> Semi-finals<br>
|
| 113 |
+
<span class="font-semibold">Best of 5:</span> Grand finals<br>
|
| 114 |
+
All matches streamed live
|
| 115 |
+
</p>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
</section>
|
| 120 |
+
|
| 121 |
+
<!-- Registration Form -->
|
| 122 |
+
<section id="registration" class="py-16 bg-gray-100">
|
| 123 |
+
<div class="container mx-auto px-6">
|
| 124 |
+
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden">
|
| 125 |
+
<div class="gradient-bg text-white py-4 px-8">
|
| 126 |
+
<h2 class="text-2xl font-bold">Tournament Registration</h2>
|
| 127 |
+
<p class="text-blue-100">Fill out the form below to secure your spot</p>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<form id="registrationForm" class="p-8">
|
| 131 |
+
<div class="mb-6">
|
| 132 |
+
<h3 class="text-xl font-semibold mb-4 text-gray-800">Personal Information</h3>
|
| 133 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 134 |
+
<div>
|
| 135 |
+
<label for="firstName" class="block text-gray-700 font-medium mb-2">First Name *</label>
|
| 136 |
+
<input type="text" id="firstName" name="firstName" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" required>
|
| 137 |
+
<p id="firstNameError" class="error-message hidden">Please enter your first name</p>
|
| 138 |
+
</div>
|
| 139 |
+
<div>
|
| 140 |
+
<label for="lastName" class="block text-gray-700 font-medium mb-2">Last Name *</label>
|
| 141 |
+
<input type="text" id="lastName" name="lastName" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" required>
|
| 142 |
+
<p id="lastNameError" class="error-message hidden">Please enter your last name</p>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
|
| 147 |
+
<div class="mb-6">
|
| 148 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 149 |
+
<div>
|
| 150 |
+
<label for="email" class="block text-gray-700 font-medium mb-2">Email Address *</label>
|
| 151 |
+
<input type="email" id="email" name="email" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" required>
|
| 152 |
+
<p id="emailError" class="error-message hidden">Please enter a valid email address</p>
|
| 153 |
+
</div>
|
| 154 |
+
<div>
|
| 155 |
+
<label for="phone" class="block text-gray-700 font-medium mb-2">Phone Number</label>
|
| 156 |
+
<input type="tel" id="phone" name="phone" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
|
| 161 |
+
<div class="mb-6">
|
| 162 |
+
<h3 class="text-xl font-semibold mb-4 text-gray-800">Tournament Details</h3>
|
| 163 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 164 |
+
<div>
|
| 165 |
+
<label for="game" class="block text-gray-700 font-medium mb-2">Game *</label>
|
| 166 |
+
<select id="game" name="game" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" required>
|
| 167 |
+
<option value="">Select a game</option>
|
| 168 |
+
<option value="valorant">Valorant</option>
|
| 169 |
+
<option value="lol">League of Legends</option>
|
| 170 |
+
<option value="csgo">CS:GO</option>
|
| 171 |
+
<option value="dota2">Dota 2</option>
|
| 172 |
+
<option value="fortnite">Fortnite</option>
|
| 173 |
+
<option value="rocket-league">Rocket League</option>
|
| 174 |
+
</select>
|
| 175 |
+
<p id="gameError" class="error-message hidden">Please select a game</p>
|
| 176 |
+
</div>
|
| 177 |
+
<div>
|
| 178 |
+
<label for="team" class="block text-gray-700 font-medium mb-2">Team Name (if applicable)</label>
|
| 179 |
+
<input type="text" id="team" name="team" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<div class="mb-6">
|
| 185 |
+
<label for="experience" class="block text-gray-700 font-medium mb-2">Competitive Experience Level *</label>
|
| 186 |
+
<div class="grid grid-cols-1 sm:grid-cols-3 gap-4">
|
| 187 |
+
<label class="flex items-center space-x-2">
|
| 188 |
+
<input type="radio" name="experience" value="beginner" class="text-blue-500" required>
|
| 189 |
+
<span>Beginner</span>
|
| 190 |
+
</label>
|
| 191 |
+
<label class="flex items-center space-x-2">
|
| 192 |
+
<input type="radio" name="experience" value="intermediate" class="text-blue-500">
|
| 193 |
+
<span>Intermediate</span>
|
| 194 |
+
</label>
|
| 195 |
+
<label class="flex items-center space-x-2">
|
| 196 |
+
<input type="radio" name="experience" value="professional" class="text-blue-500">
|
| 197 |
+
<span>Professional</span>
|
| 198 |
+
</label>
|
| 199 |
+
</div>
|
| 200 |
+
<p id="experienceError" class="error-message hidden">Please select your experience level</p>
|
| 201 |
+
</div>
|
| 202 |
+
|
| 203 |
+
<div class="mb-6">
|
| 204 |
+
<label for="additional" class="block text-gray-700 font-medium mb-2">Additional Information</label>
|
| 205 |
+
<textarea id="additional" name="additional" rows="4" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500" placeholder="Any special requests or information we should know?"></textarea>
|
| 206 |
+
</div>
|
| 207 |
+
|
| 208 |
+
<div class="mb-6">
|
| 209 |
+
<label class="flex items-start space-x-2">
|
| 210 |
+
<input type="checkbox" id="terms" name="terms" class="mt-1 text-blue-500" required>
|
| 211 |
+
<span>I agree to the <a href="#" class="text-blue-600 hover:underline">Terms and Conditions</a> and <a href="#" class="text-blue-600 hover:underline">Tournament Rules</a> *</span>
|
| 212 |
+
</label>
|
| 213 |
+
<p id="termsError" class="error-message hidden">You must agree to the terms and conditions</p>
|
| 214 |
+
</div>
|
| 215 |
+
|
| 216 |
+
<div class="flex justify-center">
|
| 217 |
+
<button type="submit" class="gradient-bg hover:opacity-90 text-white font-bold py-3 px-8 rounded-full text-lg transition duration-300 flex items-center">
|
| 218 |
+
Submit Registration <i class="fas fa-paper-plane ml-2"></i>
|
| 219 |
+
</button>
|
| 220 |
+
</div>
|
| 221 |
+
</form>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
</section>
|
| 225 |
+
|
| 226 |
+
<!-- Success Modal -->
|
| 227 |
+
<div id="successModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden z-50">
|
| 228 |
+
<div class="bg-white rounded-xl p-8 max-w-md w-full mx-4">
|
| 229 |
+
<div class="text-center">
|
| 230 |
+
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 231 |
+
<i class="fas fa-check text-green-500 text-2xl"></i>
|
| 232 |
+
</div>
|
| 233 |
+
<h3 class="text-2xl font-bold text-gray-800 mb-2">Registration Successful!</h3>
|
| 234 |
+
<p class="text-gray-600 mb-6">Thank you for registering. We've sent a confirmation email with further details.</p>
|
| 235 |
+
<button id="closeModal" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-6 rounded-lg transition duration-300">
|
| 236 |
+
Close
|
| 237 |
+
</button>
|
| 238 |
+
</div>
|
| 239 |
+
</div>
|
| 240 |
+
</div>
|
| 241 |
+
|
| 242 |
+
<!-- Footer -->
|
| 243 |
+
<footer class="bg-gray-900 text-white py-12">
|
| 244 |
+
<div class="container mx-auto px-6">
|
| 245 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 246 |
+
<div>
|
| 247 |
+
<h3 class="text-xl font-bold mb-4">BattleZone</h3>
|
| 248 |
+
<p class="text-gray-400">The premier destination for competitive gaming tournaments and events.</p>
|
| 249 |
+
<div class="flex space-x-4 mt-4">
|
| 250 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
|
| 251 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-discord"></i></a>
|
| 252 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
|
| 253 |
+
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitch"></i></a>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
<div>
|
| 257 |
+
<h4 class="font-semibold mb-4">Quick Links</h4>
|
| 258 |
+
<ul class="space-y-2">
|
| 259 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
|
| 260 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Tournaments</a></li>
|
| 261 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Rules</a></li>
|
| 262 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Prizes</a></li>
|
| 263 |
+
</ul>
|
| 264 |
+
</div>
|
| 265 |
+
<div>
|
| 266 |
+
<h4 class="font-semibold mb-4">Support</h4>
|
| 267 |
+
<ul class="space-y-2">
|
| 268 |
+
<li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li>
|
| 269 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Contact Us</a></li>
|
| 270 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Refund Policy</a></li>
|
| 271 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
|
| 272 |
+
</ul>
|
| 273 |
+
</div>
|
| 274 |
+
<div>
|
| 275 |
+
<h4 class="font-semibold mb-4">Newsletter</h4>
|
| 276 |
+
<p class="text-gray-400 mb-4">Subscribe to get updates on upcoming tournaments.</p>
|
| 277 |
+
<div class="flex">
|
| 278 |
+
<input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg focus:outline-none text-gray-900 w-full">
|
| 279 |
+
<button class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-r-lg">
|
| 280 |
+
<i class="fas fa-paper-plane"></i>
|
| 281 |
+
</button>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
| 284 |
+
</div>
|
| 285 |
+
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
|
| 286 |
+
<p>© 2023 BattleZone. All rights reserved.</p>
|
| 287 |
+
</div>
|
| 288 |
+
</div>
|
| 289 |
+
</footer>
|
| 290 |
+
|
| 291 |
+
<script>
|
| 292 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 293 |
+
const form = document.getElementById('registrationForm');
|
| 294 |
+
const successModal = document.getElementById('successModal');
|
| 295 |
+
const closeModal = document.getElementById('closeModal');
|
| 296 |
+
|
| 297 |
+
// Form validation
|
| 298 |
+
form.addEventListener('submit', function(e) {
|
| 299 |
+
e.preventDefault();
|
| 300 |
+
|
| 301 |
+
// Reset error states
|
| 302 |
+
document.querySelectorAll('.error-message').forEach(el => el.classList.add('hidden'));
|
| 303 |
+
document.querySelectorAll('.input-error').forEach(el => el.classList.remove('input-error'));
|
| 304 |
+
|
| 305 |
+
let isValid = true;
|
| 306 |
+
|
| 307 |
+
// Validate required fields
|
| 308 |
+
const firstName = document.getElementById('firstName');
|
| 309 |
+
if (!firstName.value.trim()) {
|
| 310 |
+
document.getElementById('firstNameError').classList.remove('hidden');
|
| 311 |
+
firstName.classList.add('input-error');
|
| 312 |
+
isValid = false;
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
const lastName = document.getElementById('lastName');
|
| 316 |
+
if (!lastName.value.trim()) {
|
| 317 |
+
document.getElementById('lastNameError').classList.remove('hidden');
|
| 318 |
+
lastName.classList.add('input-error');
|
| 319 |
+
isValid = false;
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
const email = document.getElementById('email');
|
| 323 |
+
if (!email.value.trim() || !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email.value)) {
|
| 324 |
+
document.getElementById('emailError').classList.remove('hidden');
|
| 325 |
+
email.classList.add('input-error');
|
| 326 |
+
isValid = false;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
const game = document.getElementById('game');
|
| 330 |
+
if (!game.value) {
|
| 331 |
+
document.getElementById('gameError').classList.remove('hidden');
|
| 332 |
+
game.classList.add('input-error');
|
| 333 |
+
isValid = false;
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
const experience = document.querySelector('input[name="experience"]:checked');
|
| 337 |
+
if (!experience) {
|
| 338 |
+
document.getElementById('experienceError').classList.remove('hidden');
|
| 339 |
+
isValid = false;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
const terms = document.getElementById('terms');
|
| 343 |
+
if (!terms.checked) {
|
| 344 |
+
document.getElementById('termsError').classList.remove('hidden');
|
| 345 |
+
isValid = false;
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
if (isValid) {
|
| 349 |
+
// In a real app, you would send the data to a server here
|
| 350 |
+
console.log('Form submitted:', {
|
| 351 |
+
firstName: firstName.value,
|
| 352 |
+
lastName: lastName.value,
|
| 353 |
+
email: email.value,
|
| 354 |
+
phone: document.getElementById('phone').value,
|
| 355 |
+
game: game.value,
|
| 356 |
+
team: document.getElementById('team').value,
|
| 357 |
+
experience: experience ? experience.value : null,
|
| 358 |
+
additional: document.getElementById('additional').value
|
| 359 |
+
});
|
| 360 |
+
|
| 361 |
+
// Show success modal
|
| 362 |
+
successModal.classList.remove('hidden');
|
| 363 |
+
form.reset();
|
| 364 |
+
}
|
| 365 |
+
});
|
| 366 |
+
|
| 367 |
+
// Close modal
|
| 368 |
+
closeModal.addEventListener('click', function() {
|
| 369 |
+
successModal.classList.add('hidden');
|
| 370 |
+
});
|
| 371 |
+
|
| 372 |
+
// Close modal when clicking outside
|
| 373 |
+
successModal.addEventListener('click', function(e) {
|
| 374 |
+
if (e.target === successModal) {
|
| 375 |
+
successModal.classList.add('hidden');
|
| 376 |
+
}
|
| 377 |
+
});
|
| 378 |
+
});
|
| 379 |
+
</script>
|
| 380 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=prointerv/prointerv-s-stuff" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 381 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|