Spaces:
Paused
Paused
Upload 5 files
Browse files
.gitattributes
CHANGED
|
@@ -34,3 +34,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
public/logo.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
public/logo.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
public/assets/logo[[:space:]](1)_1751088925103-PXg48O5r.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
public/assets/logo_1751082883139-DZHNeMRA.png filter=lfs diff=lfs merge=lfs -text
|
public/assets/index-CBzoifZf.css
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
public/assets/index-DsJRpZaF.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
public/assets/logo (1)_1751088925103-PXg48O5r.png
ADDED
|
Git LFS Details
|
public/assets/logo_1751082883139-DZHNeMRA.png
ADDED
|
Git LFS Details
|
public/index.html
CHANGED
|
@@ -1,1072 +1,14 @@
|
|
| 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 |
-
<
|
| 7 |
-
<
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
'apple-blue': '#0071e3',
|
| 16 |
-
'apple-light': '#f5f5f7',
|
| 17 |
-
'apple-dark': '#1d1d1f',
|
| 18 |
-
},
|
| 19 |
-
animation: {
|
| 20 |
-
'fade-in': 'fadeIn 0.5s ease-in-out',
|
| 21 |
-
'slide-up': 'slideUp 0.3s ease-out',
|
| 22 |
-
'pulse-slow': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
| 23 |
-
},
|
| 24 |
-
keyframes: {
|
| 25 |
-
fadeIn: {
|
| 26 |
-
'0%': { opacity: '0' },
|
| 27 |
-
'100%': { opacity: '1' }
|
| 28 |
-
},
|
| 29 |
-
slideUp: {
|
| 30 |
-
'0%': { transform: 'translateY(10px)', opacity: '0' },
|
| 31 |
-
'100%': { transform: 'translateY(0)', opacity: '1' }
|
| 32 |
-
}
|
| 33 |
-
}
|
| 34 |
-
}
|
| 35 |
-
}
|
| 36 |
-
}
|
| 37 |
-
</script>
|
| 38 |
-
<style>
|
| 39 |
-
:root {
|
| 40 |
-
--apple-blue: #0071e3;
|
| 41 |
-
--apple-gray: #1d1d1f;
|
| 42 |
-
--apple-light: #f5f5f7;
|
| 43 |
-
}
|
| 44 |
-
|
| 45 |
-
body {
|
| 46 |
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
| 47 |
-
-webkit-font-smoothing: antialiased;
|
| 48 |
-
-moz-osx-font-smoothing: grayscale;
|
| 49 |
-
}
|
| 50 |
-
|
| 51 |
-
.gradient-bg {
|
| 52 |
-
background: linear-gradient(135deg, #000000 0%, #1d1d1f 100%);
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
.glass-effect {
|
| 56 |
-
background: rgba(255, 255, 255, 0.08);
|
| 57 |
-
backdrop-filter: blur(20px);
|
| 58 |
-
-webkit-backdrop-filter: blur(20px);
|
| 59 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 60 |
-
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
.card-shadow {
|
| 64 |
-
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
|
| 65 |
-
}
|
| 66 |
-
|
| 67 |
-
.btn-primary {
|
| 68 |
-
background: var(--apple-blue);
|
| 69 |
-
transition: all 0.3s ease;
|
| 70 |
-
border-radius: 980px;
|
| 71 |
-
font-weight: 500;
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
.btn-primary:hover {
|
| 75 |
-
transform: translateY(-1px);
|
| 76 |
-
box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
|
| 77 |
-
}
|
| 78 |
-
|
| 79 |
-
.form-input {
|
| 80 |
-
background: rgba(255, 255, 255, 0.05) !important;
|
| 81 |
-
border-radius: 12px;
|
| 82 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 83 |
-
transition: all 0.3s ease;
|
| 84 |
-
}
|
| 85 |
-
|
| 86 |
-
.form-input:focus {
|
| 87 |
-
border-color: var(--apple-blue);
|
| 88 |
-
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
|
| 89 |
-
}
|
| 90 |
-
|
| 91 |
-
.feature-card {
|
| 92 |
-
transition: all 0.3s ease;
|
| 93 |
-
border-radius: 20px;
|
| 94 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 95 |
-
}
|
| 96 |
-
|
| 97 |
-
.feature-card:hover {
|
| 98 |
-
transform: translateY(-4px);
|
| 99 |
-
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
|
| 100 |
-
}
|
| 101 |
-
|
| 102 |
-
.status-badge {
|
| 103 |
-
border-radius: 980px;
|
| 104 |
-
font-size: 0.75rem;
|
| 105 |
-
font-weight: 500;
|
| 106 |
-
padding: 0.25rem 1rem;
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
.loading-spinner {
|
| 110 |
-
width: 20px;
|
| 111 |
-
height: 20px;
|
| 112 |
-
border: 2px solid rgba(255, 255, 255, 0.3);
|
| 113 |
-
border-top: 2px solid #ffffff;
|
| 114 |
-
border-radius: 50%;
|
| 115 |
-
animation: spin 1s linear infinite;
|
| 116 |
-
}
|
| 117 |
-
|
| 118 |
-
@keyframes spin {
|
| 119 |
-
to { transform: rotate(360deg); }
|
| 120 |
-
}
|
| 121 |
-
|
| 122 |
-
.modal-backdrop {
|
| 123 |
-
backdrop-filter: blur(10px);
|
| 124 |
-
-webkit-backdrop-filter: blur(10px);
|
| 125 |
-
}
|
| 126 |
-
|
| 127 |
-
.nav-link {
|
| 128 |
-
position: relative;
|
| 129 |
-
transition: all 0.3s ease;
|
| 130 |
-
}
|
| 131 |
-
|
| 132 |
-
.nav-link::after {
|
| 133 |
-
content: '';
|
| 134 |
-
position: absolute;
|
| 135 |
-
bottom: -2px;
|
| 136 |
-
left: 0;
|
| 137 |
-
width: 0;
|
| 138 |
-
height: 2px;
|
| 139 |
-
background: var(--apple-blue);
|
| 140 |
-
transition: width 0.3s ease;
|
| 141 |
-
}
|
| 142 |
-
|
| 143 |
-
.nav-link:hover::after {
|
| 144 |
-
width: 100%;
|
| 145 |
-
}
|
| 146 |
-
|
| 147 |
-
.apple-button {
|
| 148 |
-
background: var(--apple-blue);
|
| 149 |
-
color: white;
|
| 150 |
-
border-radius: 980px;
|
| 151 |
-
padding: 0.75rem 1.5rem;
|
| 152 |
-
font-weight: 500;
|
| 153 |
-
transition: all 0.3s ease;
|
| 154 |
-
}
|
| 155 |
-
|
| 156 |
-
.apple-button:hover {
|
| 157 |
-
transform: translateY(-1px);
|
| 158 |
-
box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
|
| 159 |
-
}
|
| 160 |
-
|
| 161 |
-
.apple-input {
|
| 162 |
-
background: rgba(255, 255, 255, 0.05);
|
| 163 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 164 |
-
border-radius: 12px;
|
| 165 |
-
padding: 0.75rem 1rem;
|
| 166 |
-
color: white;
|
| 167 |
-
transition: all 0.3s ease;
|
| 168 |
-
}
|
| 169 |
-
|
| 170 |
-
.apple-input:focus {
|
| 171 |
-
border-color: var(--apple-blue);
|
| 172 |
-
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
|
| 173 |
-
}
|
| 174 |
-
|
| 175 |
-
.apple-select {
|
| 176 |
-
appearance: none;
|
| 177 |
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
|
| 178 |
-
background-repeat: no-repeat;
|
| 179 |
-
background-position: right 1rem center;
|
| 180 |
-
background-size: 1.5em;
|
| 181 |
-
padding-right: 2.5rem;
|
| 182 |
-
}
|
| 183 |
-
|
| 184 |
-
.apple-card {
|
| 185 |
-
background: rgba(255, 255, 255, 0.05);
|
| 186 |
-
border-radius: 20px;
|
| 187 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 188 |
-
transition: all 0.3s ease;
|
| 189 |
-
}
|
| 190 |
-
|
| 191 |
-
.apple-card:hover {
|
| 192 |
-
transform: translateY(-4px);
|
| 193 |
-
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
|
| 194 |
-
}
|
| 195 |
-
|
| 196 |
-
.apple-header {
|
| 197 |
-
background: rgba(0, 0, 0, 0.8);
|
| 198 |
-
backdrop-filter: blur(20px);
|
| 199 |
-
-webkit-backdrop-filter: blur(20px);
|
| 200 |
-
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
| 201 |
-
}
|
| 202 |
-
|
| 203 |
-
.apple-footer {
|
| 204 |
-
background: rgba(0, 0, 0, 0.8);
|
| 205 |
-
backdrop-filter: blur(20px);
|
| 206 |
-
-webkit-backdrop-filter: blur(20px);
|
| 207 |
-
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
| 208 |
-
}
|
| 209 |
-
|
| 210 |
-
/* Splash fade-out animation */
|
| 211 |
-
#splashScreen.fade-out {
|
| 212 |
-
opacity: 0;
|
| 213 |
-
pointer-events: none;
|
| 214 |
-
transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
|
| 215 |
-
}
|
| 216 |
-
.main-content.fade-in {
|
| 217 |
-
display: block !important;
|
| 218 |
-
animation: fadeInMain 0.8s cubic-bezier(0.4,0,0.2,1);
|
| 219 |
-
}
|
| 220 |
-
@keyframes fadeInMain {
|
| 221 |
-
from { opacity: 0; transform: scale(0.98); }
|
| 222 |
-
to { opacity: 1; transform: scale(1); }
|
| 223 |
-
}
|
| 224 |
-
/* Splash logo slow zoom in/out */
|
| 225 |
-
.splash-zoom {
|
| 226 |
-
animation: splashZoom 6s ease-in-out infinite alternate;
|
| 227 |
-
}
|
| 228 |
-
@keyframes splashZoom {
|
| 229 |
-
0% { transform: scale(1); }
|
| 230 |
-
100% { transform: scale(1.5); }
|
| 231 |
-
}
|
| 232 |
-
</style>
|
| 233 |
-
</head>
|
| 234 |
-
<body class="min-h-screen bg-black text-white">
|
| 235 |
-
<!-- Splash Screen -->
|
| 236 |
-
<div id="splashScreen" class="fixed inset-0 flex items-center justify-center bg-black z-50 transition-opacity duration-700">
|
| 237 |
-
<img src="logo.png" alt="Logo" class="w-64 h-64 object-contain cursor-pointer splash-zoom" id="splashLogo">
|
| 238 |
-
</div>
|
| 239 |
-
|
| 240 |
-
<!-- Background Pattern -->
|
| 241 |
-
<div class="absolute inset-0 bg-black opacity-10 main-content hidden"></div>
|
| 242 |
-
<div class="absolute inset-0 main-content hidden" style="background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 0%, transparent 50%);"></div>
|
| 243 |
-
|
| 244 |
-
<div class="relative z-10 min-h-screen main-content hidden">
|
| 245 |
-
<!-- Auth Section -->
|
| 246 |
-
<div id="authSection" class="w-full max-w-md mx-auto py-12 animate-fade-in">
|
| 247 |
-
<div class="glass-effect rounded-2xl card-shadow p-8 space-y-8 hover-glow">
|
| 248 |
-
<!-- Logo/Header -->
|
| 249 |
-
<div class="text-center">
|
| 250 |
-
<div class="w-20 h-20 bg-white bg-opacity-10 rounded-full flex items-center justify-center mx-auto mb-4 glow">
|
| 251 |
-
<svg class="w-10 h-10 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 252 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1"></path>
|
| 253 |
-
</svg>
|
| 254 |
-
</div>
|
| 255 |
-
<h1 class="text-4xl font-bold text-white mb-2">GCX (Gift Card Exchange)</h1>
|
| 256 |
-
<p class="text-white text-opacity-70 text-lg">Secure gift card management system</p>
|
| 257 |
-
</div>
|
| 258 |
-
|
| 259 |
-
<!-- Login Form -->
|
| 260 |
-
<div id="loginSection">
|
| 261 |
-
<h2 class="text-2xl font-semibold text-white mb-6 text-center">Welcome Back</h2>
|
| 262 |
-
<form id="loginForm" class="space-y-6">
|
| 263 |
-
<div class="space-y-2">
|
| 264 |
-
<label for="loginEmail" class="block text-sm font-medium text-white text-opacity-90">Email Address</label>
|
| 265 |
-
<input type="email" id="loginEmail" name="email" required
|
| 266 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 267 |
-
</div>
|
| 268 |
-
<div class="space-y-2">
|
| 269 |
-
<label for="loginPassword" class="block text-sm font-medium text-white text-opacity-90">Password</label>
|
| 270 |
-
<input type="password" id="loginPassword" name="password" required
|
| 271 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 272 |
-
</div>
|
| 273 |
-
<button type="submit" id="loginButton"
|
| 274 |
-
class="w-full btn-primary text-white py-3 px-6 rounded-xl font-semibold flex items-center justify-center space-x-2 disabled:opacity-50">
|
| 275 |
-
<span>Sign In</span>
|
| 276 |
-
</button>
|
| 277 |
-
</form>
|
| 278 |
-
<div class="mt-6 text-center">
|
| 279 |
-
<span class="text-white text-opacity-70">Don't have an account? </span>
|
| 280 |
-
<button id="showRegisterBtn" class="text-white font-semibold hover:text-opacity-80 transition-colors">
|
| 281 |
-
Create Account
|
| 282 |
-
</button>
|
| 283 |
-
</div>
|
| 284 |
-
</div>
|
| 285 |
-
|
| 286 |
-
<!-- Register Form -->
|
| 287 |
-
<div id="registerSection" class="hidden">
|
| 288 |
-
<h2 class="text-2xl font-semibold text-white mb-6 text-center">Create Account</h2>
|
| 289 |
-
<form id="registerForm" class="space-y-6">
|
| 290 |
-
<div class="space-y-2">
|
| 291 |
-
<label for="registerName" class="block text-sm font-medium text-white text-opacity-90">Full Name</label>
|
| 292 |
-
<input type="text" id="registerName" name="name" required
|
| 293 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 294 |
-
</div>
|
| 295 |
-
<div class="space-y-2">
|
| 296 |
-
<label for="registerEmail" class="block text-sm font-medium text-white text-opacity-90">Email Address</label>
|
| 297 |
-
<input type="email" id="registerEmail" name="email" required
|
| 298 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 299 |
-
</div>
|
| 300 |
-
<div class="space-y-2">
|
| 301 |
-
<label for="registerPassword" class="block text-sm font-medium text-white text-opacity-90">Password</label>
|
| 302 |
-
<input type="password" id="registerPassword" name="password" required
|
| 303 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 304 |
-
</div>
|
| 305 |
-
<div class="space-y-2">
|
| 306 |
-
<label for="confirmPassword" class="block text-sm font-medium text-white text-opacity-90">Confirm Password</label>
|
| 307 |
-
<input type="password" id="confirmPassword" name="confirmPassword" required
|
| 308 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 309 |
-
</div>
|
| 310 |
-
<button type="submit" id="registerButton"
|
| 311 |
-
class="w-full btn-secondary text-white py-3 px-6 rounded-xl font-semibold flex items-center justify-center space-x-2 disabled:opacity-50">
|
| 312 |
-
<span>Create Account</span>
|
| 313 |
-
</button>
|
| 314 |
-
</form>
|
| 315 |
-
<div class="mt-6 text-center">
|
| 316 |
-
<span class="text-white text-opacity-70">Already have an account? </span>
|
| 317 |
-
<button id="showLoginBtn" class="text-white font-semibold hover:text-opacity-80 transition-colors">
|
| 318 |
-
Sign In
|
| 319 |
-
</button>
|
| 320 |
-
</div>
|
| 321 |
-
</div>
|
| 322 |
-
</div>
|
| 323 |
-
</div>
|
| 324 |
-
|
| 325 |
-
<!-- OTP Section -->
|
| 326 |
-
<div id="otpSection" class="w-full max-w-md mx-auto py-12 animate-fade-in hidden">
|
| 327 |
-
<div class="glass-effect rounded-2xl card-shadow p-8 space-y-8">
|
| 328 |
-
<div class="text-center">
|
| 329 |
-
<div class="w-16 h-16 bg-white bg-opacity-20 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 330 |
-
<svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 331 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path>
|
| 332 |
-
</svg>
|
| 333 |
-
</div>
|
| 334 |
-
<h2 class="text-2xl font-semibold text-white mb-2">Verify Your Email</h2>
|
| 335 |
-
<p class="text-white text-opacity-70">We've sent a 6-digit code to your email address</p>
|
| 336 |
-
</div>
|
| 337 |
-
|
| 338 |
-
<form id="otpForm" class="space-y-6">
|
| 339 |
-
<div class="space-y-2">
|
| 340 |
-
<label for="otp" class="block text-sm font-medium text-white text-opacity-90">Verification Code</label>
|
| 341 |
-
<input type="text" id="otp" name="otp" required maxlength="6"
|
| 342 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent text-center text-2xl tracking-widest"
|
| 343 |
-
placeholder="000000">
|
| 344 |
-
</div>
|
| 345 |
-
<button type="submit" id="verifyOtpButton"
|
| 346 |
-
class="w-full btn-primary text-white py-3 px-6 rounded-xl font-semibold flex items-center justify-center space-x-2 disabled:opacity-50">
|
| 347 |
-
<span>Verify Code</span>
|
| 348 |
-
</button>
|
| 349 |
-
<button type="button" id="resendOtpButton"
|
| 350 |
-
class="w-full bg-white bg-opacity-10 text-white py-3 px-6 rounded-xl font-semibold hover:bg-opacity-20 transition-all disabled:opacity-50">
|
| 351 |
-
Resend Code
|
| 352 |
-
</button>
|
| 353 |
-
</form>
|
| 354 |
-
</div>
|
| 355 |
-
</div>
|
| 356 |
-
|
| 357 |
-
<!-- Home Page Section -->
|
| 358 |
-
<div id="homeSection" class="w-full animate-fade-in hidden">
|
| 359 |
-
<div class="glass-effect min-h-screen">
|
| 360 |
-
<!-- Header with Logout -->
|
| 361 |
-
<div class="flex justify-between items-center p-6 border-b border-white border-opacity-10">
|
| 362 |
-
<h1 class="text-3xl font-bold text-white">GCX (Gift Card Exchange)</h1>
|
| 363 |
-
<button id="homeLogoutButton"
|
| 364 |
-
class="btn-danger text-white px-4 py-2 rounded-lg font-medium flex items-center space-x-2">
|
| 365 |
-
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 366 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path>
|
| 367 |
-
</svg>
|
| 368 |
-
<span>Logout</span>
|
| 369 |
-
</button>
|
| 370 |
-
</div>
|
| 371 |
-
|
| 372 |
-
<div class="max-w-7xl mx-auto px-6 py-8">
|
| 373 |
-
<!-- Welcome Section -->
|
| 374 |
-
<div class="text-center mb-12">
|
| 375 |
-
<h2 class="text-4xl font-bold text-white mb-4">Welcome to GCX (Gift Card Exchange)</h2>
|
| 376 |
-
<p class="text-white text-opacity-90 text-xl">Your One-Stop Portal for Converting Gift Cards to Real Cash & Unlocking Digital Reward Secrets.</p>
|
| 377 |
-
</div>
|
| 378 |
-
|
| 379 |
-
<!-- Gift Card Conversion Section -->
|
| 380 |
-
<div class="bg-white bg-opacity-10 rounded-xl p-8 mb-12 feature-card">
|
| 381 |
-
<h3 class="text-3xl font-bold text-white mb-6">💳 Convert Gift Cards to Cash</h3>
|
| 382 |
-
<p class="text-white text-opacity-90 mb-8 text-lg">Got useless gift cards lying around? We make it super simple to turn them into actual money. No shady middlemen. No delays. Just fast payouts.</p>
|
| 383 |
-
|
| 384 |
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-8">
|
| 385 |
-
<div class="space-y-4">
|
| 386 |
-
<div class="flex items-center text-white bg-white bg-opacity-5 p-4 rounded-xl">
|
| 387 |
-
<svg class="w-6 h-6 mr-3 text-indigo-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 388 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
| 389 |
-
</svg>
|
| 390 |
-
<span class="text-lg">100% safe & verified</span>
|
| 391 |
-
</div>
|
| 392 |
-
<div class="flex items-center text-white bg-white bg-opacity-5 p-4 rounded-xl">
|
| 393 |
-
<svg class="w-6 h-6 mr-3 text-indigo-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 394 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
| 395 |
-
</svg>
|
| 396 |
-
<span class="text-lg">Support for Roblox, Overwatch, and Amazon</span>
|
| 397 |
-
</div>
|
| 398 |
-
</div>
|
| 399 |
-
<div class="space-y-4">
|
| 400 |
-
<div class="flex items-center text-white bg-white bg-opacity-5 p-4 rounded-xl">
|
| 401 |
-
<svg class="w-6 h-6 mr-3 text-indigo-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 402 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
| 403 |
-
</svg>
|
| 404 |
-
<span class="text-lg">UPI, Paytm & crypto transfer options available</span>
|
| 405 |
-
</div>
|
| 406 |
-
<div class="flex items-center text-white bg-white bg-opacity-5 p-4 rounded-xl">
|
| 407 |
-
<svg class="w-6 h-6 mr-3 text-indigo-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 408 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
|
| 409 |
-
</svg>
|
| 410 |
-
<span class="text-lg">AI Powered verification system</span>
|
| 411 |
-
</div>
|
| 412 |
-
</div>
|
| 413 |
-
</div>
|
| 414 |
-
|
| 415 |
-
<button id="submitGiftCardBtn" class="w-full btn-primary text-white py-4 px-8 rounded-xl font-semibold text-lg flex items-center justify-center space-x-3 hover-glow">
|
| 416 |
-
<span>💸 Start Selling Your Gift Card</span>
|
| 417 |
-
</button>
|
| 418 |
-
</div>
|
| 419 |
-
|
| 420 |
-
<!-- YouTube Tips Section -->
|
| 421 |
-
<div class="bg-white bg-opacity-10 rounded-xl p-8 mb-12">
|
| 422 |
-
<h3 class="text-2xl font-bold text-white mb-6">🎯 Latest Tips from YouTube</h3>
|
| 423 |
-
<p class="text-white text-opacity-90 mb-6">Powered by <a href="https://www.youtube.com/@shirtlessdigital" class="text-white font-semibold hover:text-opacity-80">@ShirtLessDigital</a>, we bring you top tricks on how to <strong>maximize Microsoft Rewards, qualify more surveys</strong>, and <strong>stay updated on VPN workarounds</strong> to boost your digital earnings.</p>
|
| 424 |
-
|
| 425 |
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 426 |
-
<div class="bg-white bg-opacity-5 rounded-xl p-6">
|
| 427 |
-
<h4 class="text-xl font-bold text-white mb-4">🎥 Trick To Qualify Most Surveys</h4>
|
| 428 |
-
<ul class="space-y-2 text-white text-opacity-90">
|
| 429 |
-
<li>• Update your profile regularly</li>
|
| 430 |
-
<li>• Use desktop mode for better matching</li>
|
| 431 |
-
<li>• Enable all categories for more availability</li>
|
| 432 |
-
</ul>
|
| 433 |
-
<p class="text-white text-opacity-70 mt-4 italic">Quick win: Try these today and watch your earnings grow.</p>
|
| 434 |
-
</div>
|
| 435 |
-
<div class="bg-white bg-opacity-5 rounded-xl p-6">
|
| 436 |
-
<h4 class="text-xl font-bold text-white mb-4">🎥 Microsoft Rewards VPN Update</h4>
|
| 437 |
-
<ul class="space-y-2 text-white text-opacity-90">
|
| 438 |
-
<li>• New rules affecting point tracking</li>
|
| 439 |
-
<li>• Best VPN setup guide (country/server)</li>
|
| 440 |
-
<li>• How to avoid flagging your account</li>
|
| 441 |
-
</ul>
|
| 442 |
-
<p class="text-white text-opacity-70 mt-4 italic">Stay ahead of Microsoft's latest policy tweaks.</p>
|
| 443 |
-
</div>
|
| 444 |
-
</div>
|
| 445 |
-
</div>
|
| 446 |
-
|
| 447 |
-
<!-- How It Works Section -->
|
| 448 |
-
<div class="bg-white bg-opacity-10 rounded-xl p-8 mb-12">
|
| 449 |
-
<h3 class="text-3xl font-bold text-white mb-8">⚙️ How It Works</h3>
|
| 450 |
-
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 451 |
-
<div class="text-center feature-card p-6 rounded-xl">
|
| 452 |
-
<div class="w-20 h-20 bg-white bg-opacity-10 rounded-full flex items-center justify-center mx-auto mb-4 glow">
|
| 453 |
-
<span class="text-3xl">1</span>
|
| 454 |
-
</div>
|
| 455 |
-
<h4 class="text-2xl font-bold text-white mb-3">Submit Gift Card Details</h4>
|
| 456 |
-
<p class="text-white text-opacity-90 text-lg">Choose your card type and value, upload proof video</p>
|
| 457 |
-
</div>
|
| 458 |
-
<div class="text-center feature-card p-6 rounded-xl">
|
| 459 |
-
<div class="w-20 h-20 bg-white bg-opacity-10 rounded-full flex items-center justify-center mx-auto mb-4 glow">
|
| 460 |
-
<span class="text-3xl">2</span>
|
| 461 |
-
</div>
|
| 462 |
-
<h4 class="text-2xl font-bold text-white mb-3">Verification</h4>
|
| 463 |
-
<p class="text-white text-opacity-90 text-lg">AI Powered system checks and validates your card</p>
|
| 464 |
-
</div>
|
| 465 |
-
<div class="text-center feature-card p-6 rounded-xl">
|
| 466 |
-
<div class="w-20 h-20 bg-white bg-opacity-10 rounded-full flex items-center justify-center mx-auto mb-4 glow">
|
| 467 |
-
<span class="text-3xl">3</span>
|
| 468 |
-
</div>
|
| 469 |
-
<h4 class="text-2xl font-bold text-white mb-3">Get Paid</h4>
|
| 470 |
-
<p class="text-white text-opacity-90 text-lg">Choose from UPI, Paytm, or crypto transfer</p>
|
| 471 |
-
</div>
|
| 472 |
-
</div>
|
| 473 |
-
</div>
|
| 474 |
-
|
| 475 |
-
<!-- Trusted By Section -->
|
| 476 |
-
<div class="bg-white bg-opacity-10 rounded-xl p-8 mb-12 feature-card">
|
| 477 |
-
<h3 class="text-3xl font-bold text-white mb-6">📲 Trusted By 100+ Users</h3>
|
| 478 |
-
<div class="bg-white bg-opacity-5 rounded-xl p-8">
|
| 479 |
-
<p class="text-white text-opacity-90 italic text-lg">"SLD GC Portal helped me not only cash out my card but also taught me how to earn more with daily reward hacks. 10/10!"</p>
|
| 480 |
-
<p class="text-white font-semibold mt-4 text-lg">– Ravi, Lucknow</p>
|
| 481 |
-
</div>
|
| 482 |
-
</div>
|
| 483 |
-
|
| 484 |
-
<!-- FAQ Section -->
|
| 485 |
-
<div class="bg-white bg-opacity-10 rounded-xl p-8 feature-card">
|
| 486 |
-
<h3 class="text-3xl font-bold text-white mb-8">🧾 Frequently Asked Questions</h3>
|
| 487 |
-
<div class="space-y-8">
|
| 488 |
-
<div class="bg-white bg-opacity-5 p-6 rounded-xl">
|
| 489 |
-
<h4 class="text-2xl font-bold text-white mb-3">Which gift cards do you support?</h4>
|
| 490 |
-
<p class="text-white text-opacity-90 text-lg">Amazon, Overwatch, and Roblox.</p>
|
| 491 |
-
</div>
|
| 492 |
-
<div class="bg-white bg-opacity-5 p-6 rounded-xl">
|
| 493 |
-
<h4 class="text-2xl font-bold text-white mb-3">How do I prove my card is real?</h4>
|
| 494 |
-
<p class="text-white text-opacity-90 text-lg">Record a short video showing the card redemption, and upload it during the submission process.</p>
|
| 495 |
-
</div>
|
| 496 |
-
<div class="bg-white bg-opacity-5 p-6 rounded-xl">
|
| 497 |
-
<h4 class="text-2xl font-bold text-white mb-3">Is this legit?</h4>
|
| 498 |
-
<p class="text-white text-opacity-90 text-lg">100%. We verify every transaction and offer real-time support.</p>
|
| 499 |
-
</div>
|
| 500 |
-
</div>
|
| 501 |
-
</div>
|
| 502 |
-
|
| 503 |
-
<!-- Footer -->
|
| 504 |
-
<div class="text-center text-white text-opacity-70 mt-12 pb-8">
|
| 505 |
-
<p>© 2025 GCX (Gift Card Exchange). All rights reserved.</p>
|
| 506 |
-
<div class="mt-4 space-x-4">
|
| 507 |
-
<a href="https://www.youtube.com/@shirtlessdigital" class="hover:text-opacity-100">YouTube</a>
|
| 508 |
-
<a href="mailto:contact@shirtlessdigital.com" class="hover:text-opacity-100">Email</a>
|
| 509 |
-
</div>
|
| 510 |
-
</div>
|
| 511 |
-
</div>
|
| 512 |
-
</div>
|
| 513 |
-
</div>
|
| 514 |
-
|
| 515 |
-
<!-- Gift Card Form Section -->
|
| 516 |
-
<div id="giftCardSection" class="w-full animate-fade-in hidden">
|
| 517 |
-
<div class="glass-effect min-h-screen">
|
| 518 |
-
<!-- Header -->
|
| 519 |
-
<div class="flex justify-between items-center p-6 border-b border-white border-opacity-10">
|
| 520 |
-
<div>
|
| 521 |
-
<h2 class="text-2xl font-bold text-white">Submit Gift Card</h2>
|
| 522 |
-
<p class="text-white text-opacity-70 mt-1">Fill in the details below to submit your gift card</p>
|
| 523 |
-
</div>
|
| 524 |
-
<button id="logoutButton"
|
| 525 |
-
class="btn-danger text-white px-4 py-2 rounded-lg font-medium flex items-center space-x-2">
|
| 526 |
-
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 527 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path>
|
| 528 |
-
</svg>
|
| 529 |
-
<span>Logout</span>
|
| 530 |
-
</button>
|
| 531 |
-
</div>
|
| 532 |
-
|
| 533 |
-
<div class="max-w-4xl mx-auto px-6 py-8">
|
| 534 |
-
<!-- Status Message -->
|
| 535 |
-
<div id="uploadStatus" class="hidden status-message"></div>
|
| 536 |
-
|
| 537 |
-
<form id="giftCardForm" class="space-y-8">
|
| 538 |
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 539 |
-
<div class="space-y-2">
|
| 540 |
-
<label for="ticket_user_name" class="block text-sm font-medium text-white text-opacity-90">Ticket User Name</label>
|
| 541 |
-
<input type="text" id="ticket_user_name" name="ticket_user_name" required
|
| 542 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 543 |
-
</div>
|
| 544 |
-
<div class="space-y-2">
|
| 545 |
-
<label for="ticket_number" class="block text-sm font-medium text-white text-opacity-90">Ticket Number</label>
|
| 546 |
-
<input type="text" id="ticket_number" name="ticket_number" required
|
| 547 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 548 |
-
</div>
|
| 549 |
-
<div class="space-y-2">
|
| 550 |
-
<label for="gc_code" class="block text-sm font-medium text-white text-opacity-90">Gift Card Code</label>
|
| 551 |
-
<input type="text" id="gc_code" name="gc_code" required
|
| 552 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 553 |
-
</div>
|
| 554 |
-
<div class="space-y-2">
|
| 555 |
-
<label for="card_name" class="block text-sm font-medium text-white text-opacity-90">Card Name</label>
|
| 556 |
-
<select id="card_name" name="card_name" required
|
| 557 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 558 |
-
<option value="">Select Card</option>
|
| 559 |
-
<option value="roblox">Roblox</option>
|
| 560 |
-
<option value="overwatch">Overwatch</option>
|
| 561 |
-
<option value="amazon">Amazon</option>
|
| 562 |
-
</select>
|
| 563 |
-
</div>
|
| 564 |
-
<div class="space-y-2">
|
| 565 |
-
<label for="gc_phone" class="block text-sm font-medium text-white text-opacity-90">Gift Card Phone</label>
|
| 566 |
-
<input type="text" id="gc_phone" name="gc_phone" required
|
| 567 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 568 |
-
</div>
|
| 569 |
-
<div class="space-y-2">
|
| 570 |
-
<label for="upi_id" class="block text-sm font-medium text-white text-opacity-90">UPI ID</label>
|
| 571 |
-
<input type="text" id="upi_id" name="upi_id" required
|
| 572 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent"
|
| 573 |
-
placeholder="example@upi">
|
| 574 |
-
</div>
|
| 575 |
-
<div class="space-y-2">
|
| 576 |
-
<label for="amount" class="block text-sm font-medium text-white text-opacity-90">Amount</label>
|
| 577 |
-
<select id="amount" name="amount" required
|
| 578 |
-
class="form-input w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30 focus:border-transparent">
|
| 579 |
-
<option value="">Select Amount</option>
|
| 580 |
-
</select>
|
| 581 |
-
</div>
|
| 582 |
-
</div>
|
| 583 |
-
|
| 584 |
-
<div class="space-y-2">
|
| 585 |
-
<label for="proof_video" class="block text-sm font-medium text-white text-opacity-90">Proof Video</label>
|
| 586 |
-
<div class="relative">
|
| 587 |
-
<input type="file" id="proof_video" name="proof_video" accept="video/*" required
|
| 588 |
-
class="w-full px-4 py-3 bg-white bg-opacity-10 border border-white border-opacity-20 rounded-xl text-white file:mr-4 file:py-2 file:px-4 file:rounded-lg file:border-0 file:text-sm file:font-semibold file:bg-white file:bg-opacity-20 file:text-white hover:file:bg-opacity-30 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-30">
|
| 589 |
-
</div>
|
| 590 |
-
<p class="text-white text-opacity-50 text-sm">Maximum file size: 100MB. Supported formats: MP4, AVI, MOV</p>
|
| 591 |
-
</div>
|
| 592 |
-
|
| 593 |
-
<button type="submit" id="submitButton"
|
| 594 |
-
class="w-full btn-primary text-white py-4 px-8 rounded-xl font-semibold text-lg flex items-center justify-center space-x-3 disabled:opacity-50">
|
| 595 |
-
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 596 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8"></path>
|
| 597 |
-
</svg>
|
| 598 |
-
<span>Submit Gift Card</span>
|
| 599 |
-
</button>
|
| 600 |
-
</form>
|
| 601 |
-
</div>
|
| 602 |
-
</div>
|
| 603 |
-
</div>
|
| 604 |
-
|
| 605 |
-
<!-- Dashboard -->
|
| 606 |
-
<div id="dashboard" class="w-full animate-fade-in hidden">
|
| 607 |
-
<div class="glass-effect min-h-screen">
|
| 608 |
-
<!-- Header -->
|
| 609 |
-
<div class="flex justify-between items-center p-6 border-b border-white border-opacity-10">
|
| 610 |
-
<div>
|
| 611 |
-
<h1 class="text-3xl font-bold text-white">Dashboard</h1>
|
| 612 |
-
<p class="text-white text-opacity-70 mt-1">Welcome back, <span id="userName" class="font-semibold">User</span></p>
|
| 613 |
-
<p class="text-white text-opacity-50 text-sm" id="userEmail"></p>
|
| 614 |
-
</div>
|
| 615 |
-
<button onclick="logout()" class="btn-danger text-white px-6 py-3 rounded-xl font-semibold flex items-center space-x-2">
|
| 616 |
-
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 617 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path>
|
| 618 |
-
</svg>
|
| 619 |
-
<span>Logout</span>
|
| 620 |
-
</button>
|
| 621 |
-
</div>
|
| 622 |
-
|
| 623 |
-
<div class="max-w-7xl mx-auto px-6 py-8">
|
| 624 |
-
<!-- Submissions List -->
|
| 625 |
-
<div id="submissionsList" class="space-y-4">
|
| 626 |
-
<div class="text-center text-white text-opacity-70 py-12">
|
| 627 |
-
<svg class="w-16 h-16 mx-auto mb-4 text-white text-opacity-30" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
| 628 |
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path>
|
| 629 |
-
</svg>
|
| 630 |
-
<p class="text-lg">PLEASE LOGOUT AND LOGIN AGAIN</p>
|
| 631 |
-
<p class="text-sm">YOU CANNOT SUBMIT GIFT CARDS WITHOUT LOGIN</p>
|
| 632 |
-
</div>
|
| 633 |
-
</div>
|
| 634 |
-
</div>
|
| 635 |
-
</div>
|
| 636 |
-
</div>
|
| 637 |
-
</div>
|
| 638 |
-
|
| 639 |
-
<script>
|
| 640 |
-
// Clear any existing session data on page load
|
| 641 |
-
localStorage.clear();
|
| 642 |
-
sessionStorage.clear();
|
| 643 |
-
|
| 644 |
-
// DOM Elements
|
| 645 |
-
const authSection = document.getElementById('authSection');
|
| 646 |
-
const otpSection = document.getElementById('otpSection');
|
| 647 |
-
const homeSection = document.getElementById('homeSection');
|
| 648 |
-
const giftCardSection = document.getElementById('giftCardSection');
|
| 649 |
-
const loginForm = document.getElementById('loginForm');
|
| 650 |
-
const registerForm = document.getElementById('registerForm');
|
| 651 |
-
const otpForm = document.getElementById('otpForm');
|
| 652 |
-
const giftCardForm = document.getElementById('giftCardForm');
|
| 653 |
-
const submitGiftCardBtn = document.getElementById('submitGiftCardBtn');
|
| 654 |
-
const homeLogoutButton = document.getElementById('homeLogoutButton');
|
| 655 |
-
|
| 656 |
-
// Show loading state
|
| 657 |
-
function setLoading(buttonId, isLoading) {
|
| 658 |
-
const button = document.getElementById(buttonId);
|
| 659 |
-
if (isLoading) {
|
| 660 |
-
button.disabled = true;
|
| 661 |
-
button.innerHTML = `
|
| 662 |
-
<div class="loading-spinner"></div>
|
| 663 |
-
<span>Processing...</span>
|
| 664 |
-
`;
|
| 665 |
-
} else {
|
| 666 |
-
button.disabled = false;
|
| 667 |
-
button.innerHTML = button.getAttribute('data-original-text') || 'Submit';
|
| 668 |
-
}
|
| 669 |
-
}
|
| 670 |
-
|
| 671 |
-
// Show error message
|
| 672 |
-
function showError(message) {
|
| 673 |
-
const statusDiv = document.getElementById('uploadStatus');
|
| 674 |
-
statusDiv.className = 'status-message bg-red-500 bg-opacity-20 text-white p-4 rounded-xl';
|
| 675 |
-
statusDiv.textContent = message;
|
| 676 |
-
statusDiv.classList.remove('hidden');
|
| 677 |
-
setTimeout(() => {
|
| 678 |
-
statusDiv.classList.add('hidden');
|
| 679 |
-
}, 5000);
|
| 680 |
-
}
|
| 681 |
-
|
| 682 |
-
// Show success message
|
| 683 |
-
function showSuccess(message) {
|
| 684 |
-
const statusDiv = document.getElementById('uploadStatus');
|
| 685 |
-
statusDiv.className = 'status-message bg-green-500 bg-opacity-20 text-white p-4 rounded-xl';
|
| 686 |
-
statusDiv.textContent = message;
|
| 687 |
-
statusDiv.classList.remove('hidden');
|
| 688 |
-
setTimeout(() => {
|
| 689 |
-
statusDiv.classList.add('hidden');
|
| 690 |
-
}, 5000);
|
| 691 |
-
}
|
| 692 |
-
|
| 693 |
-
// Handle login form submission
|
| 694 |
-
loginForm.addEventListener('submit', async function(event) {
|
| 695 |
-
event.preventDefault();
|
| 696 |
-
setLoading('loginButton', true);
|
| 697 |
-
|
| 698 |
-
try {
|
| 699 |
-
const email = document.getElementById('loginEmail').value;
|
| 700 |
-
const password = document.getElementById('loginPassword').value;
|
| 701 |
-
|
| 702 |
-
const response = await fetch('/api/login', {
|
| 703 |
-
method: 'POST',
|
| 704 |
-
headers: {
|
| 705 |
-
'Content-Type': 'application/json'
|
| 706 |
-
},
|
| 707 |
-
body: JSON.stringify({ email, password })
|
| 708 |
-
});
|
| 709 |
-
|
| 710 |
-
const result = await response.json();
|
| 711 |
-
if (result.success) {
|
| 712 |
-
// Store user data from response
|
| 713 |
-
sessionStorage.setItem('userId', result.user.id);
|
| 714 |
-
sessionStorage.setItem('userEmail', result.user.email);
|
| 715 |
-
sessionStorage.setItem('userName', result.user.name);
|
| 716 |
-
|
| 717 |
-
// Send OTP
|
| 718 |
-
const otpResponse = await fetch('/api/send-otp', {
|
| 719 |
-
method: 'POST',
|
| 720 |
-
headers: {
|
| 721 |
-
'Content-Type': 'application/json'
|
| 722 |
-
},
|
| 723 |
-
body: JSON.stringify({ email, type: 'user' })
|
| 724 |
-
});
|
| 725 |
-
|
| 726 |
-
const otpResult = await otpResponse.json();
|
| 727 |
-
if (otpResult.success) {
|
| 728 |
-
showSuccess('OTP sent to your email!');
|
| 729 |
-
authSection.classList.add('hidden');
|
| 730 |
-
otpSection.classList.remove('hidden');
|
| 731 |
-
} else {
|
| 732 |
-
showError(otpResult.error || 'Failed to send OTP');
|
| 733 |
-
}
|
| 734 |
-
} else {
|
| 735 |
-
showError(result.error || 'Login failed');
|
| 736 |
-
}
|
| 737 |
-
} catch (error) {
|
| 738 |
-
showError('Login failed: ' + error.message);
|
| 739 |
-
} finally {
|
| 740 |
-
setLoading('loginButton', false);
|
| 741 |
-
}
|
| 742 |
-
});
|
| 743 |
-
|
| 744 |
-
// Handle register form submission
|
| 745 |
-
registerForm.addEventListener('submit', async function(event) {
|
| 746 |
-
event.preventDefault();
|
| 747 |
-
setLoading('registerButton', true);
|
| 748 |
-
|
| 749 |
-
const name = document.getElementById('registerName').value.trim();
|
| 750 |
-
const email = document.getElementById('registerEmail').value.trim();
|
| 751 |
-
const password = document.getElementById('registerPassword').value;
|
| 752 |
-
const confirmPassword = document.getElementById('confirmPassword').value;
|
| 753 |
-
|
| 754 |
-
if (!name || !email || !password || !confirmPassword) {
|
| 755 |
-
showError('Please fill in all fields');
|
| 756 |
-
setLoading('registerButton', false);
|
| 757 |
-
return;
|
| 758 |
-
}
|
| 759 |
-
|
| 760 |
-
if (password !== confirmPassword) {
|
| 761 |
-
showError('Passwords do not match');
|
| 762 |
-
setLoading('registerButton', false);
|
| 763 |
-
return;
|
| 764 |
-
}
|
| 765 |
-
|
| 766 |
-
try {
|
| 767 |
-
const response = await fetch('/api/register', {
|
| 768 |
-
method: 'POST',
|
| 769 |
-
headers: {
|
| 770 |
-
'Content-Type': 'application/json'
|
| 771 |
-
},
|
| 772 |
-
body: JSON.stringify({ name, email, password })
|
| 773 |
-
});
|
| 774 |
-
|
| 775 |
-
const result = await response.json();
|
| 776 |
-
if (result.success) {
|
| 777 |
-
showSuccess('Account created successfully! Please login.');
|
| 778 |
-
// Switch back to login form
|
| 779 |
-
document.getElementById('registerSection').classList.add('hidden');
|
| 780 |
-
document.getElementById('loginSection').classList.remove('hidden');
|
| 781 |
-
// Clear register form
|
| 782 |
-
document.getElementById('registerForm').reset();
|
| 783 |
-
} else {
|
| 784 |
-
showError(result.error || 'Registration failed');
|
| 785 |
-
}
|
| 786 |
-
} catch (error) {
|
| 787 |
-
showError('Registration failed: ' + error.message);
|
| 788 |
-
} finally {
|
| 789 |
-
setLoading('registerButton', false);
|
| 790 |
-
}
|
| 791 |
-
});
|
| 792 |
-
|
| 793 |
-
// Handle OTP form submission
|
| 794 |
-
otpForm.addEventListener('submit', async function(event) {
|
| 795 |
-
event.preventDefault();
|
| 796 |
-
setLoading('verifyOtpButton', true);
|
| 797 |
-
|
| 798 |
-
try {
|
| 799 |
-
const otp = document.getElementById('otp').value;
|
| 800 |
-
const email = sessionStorage.getItem('userEmail');
|
| 801 |
-
|
| 802 |
-
const response = await fetch('/api/verify-otp', {
|
| 803 |
-
method: 'POST',
|
| 804 |
-
headers: {
|
| 805 |
-
'Content-Type': 'application/json'
|
| 806 |
-
},
|
| 807 |
-
body: JSON.stringify({ email, otp, type: 'user' })
|
| 808 |
-
});
|
| 809 |
-
|
| 810 |
-
const result = await response.json();
|
| 811 |
-
if (result.success) {
|
| 812 |
-
// Store OTP token for future requests
|
| 813 |
-
sessionStorage.setItem('otpToken', otp);
|
| 814 |
-
showSuccess('OTP verified successfully!');
|
| 815 |
-
otpSection.classList.add('hidden');
|
| 816 |
-
homeSection.classList.remove('hidden');
|
| 817 |
-
} else {
|
| 818 |
-
showError(result.error || 'Invalid OTP');
|
| 819 |
-
}
|
| 820 |
-
} catch (error) {
|
| 821 |
-
showError('Failed to verify OTP: ' + error.message);
|
| 822 |
-
} finally {
|
| 823 |
-
setLoading('verifyOtpButton', false);
|
| 824 |
-
}
|
| 825 |
-
});
|
| 826 |
-
|
| 827 |
-
// Handle resend OTP
|
| 828 |
-
document.getElementById('resendOtpButton').addEventListener('click', async function() {
|
| 829 |
-
setLoading('resendOtpButton', true);
|
| 830 |
-
const email = sessionStorage.getItem('userEmail');
|
| 831 |
-
|
| 832 |
-
try {
|
| 833 |
-
const response = await fetch('/api/send-otp', {
|
| 834 |
-
method: 'POST',
|
| 835 |
-
headers: {
|
| 836 |
-
'Content-Type': 'application/json'
|
| 837 |
-
},
|
| 838 |
-
body: JSON.stringify({ email, type: 'user' })
|
| 839 |
-
});
|
| 840 |
-
|
| 841 |
-
const result = await response.json();
|
| 842 |
-
if (result.success) {
|
| 843 |
-
showSuccess('OTP resent successfully!');
|
| 844 |
-
} else {
|
| 845 |
-
showError(result.error || 'Failed to resend OTP');
|
| 846 |
-
}
|
| 847 |
-
} catch (error) {
|
| 848 |
-
showError('Failed to resend OTP: ' + error.message);
|
| 849 |
-
} finally {
|
| 850 |
-
setLoading('resendOtpButton', false);
|
| 851 |
-
}
|
| 852 |
-
});
|
| 853 |
-
|
| 854 |
-
// Handle gift card form submission
|
| 855 |
-
giftCardForm.addEventListener('submit', async function(event) {
|
| 856 |
-
event.preventDefault();
|
| 857 |
-
setLoading('submitButton', true);
|
| 858 |
-
|
| 859 |
-
try {
|
| 860 |
-
// First upload the video to file2link
|
| 861 |
-
const videoFile = document.getElementById('proof_video').files[0];
|
| 862 |
-
if (!videoFile) {
|
| 863 |
-
showError('Please select a video file');
|
| 864 |
-
setLoading('submitButton', false);
|
| 865 |
-
return;
|
| 866 |
-
}
|
| 867 |
-
|
| 868 |
-
// Create form data for video upload
|
| 869 |
-
const videoFormData = new FormData();
|
| 870 |
-
videoFormData.append('file', videoFile);
|
| 871 |
-
|
| 872 |
-
// Upload video to file2link
|
| 873 |
-
const uploadResponse = await fetch('https://shashwatidrnpo-inv.hf.space/upload', {
|
| 874 |
-
method: 'POST',
|
| 875 |
-
body: videoFormData
|
| 876 |
-
});
|
| 877 |
-
|
| 878 |
-
const uploadResult = await uploadResponse.json();
|
| 879 |
-
if (!uploadResult.success) {
|
| 880 |
-
showError('Failed to upload video: ' + uploadResult.error);
|
| 881 |
-
setLoading('submitButton', false);
|
| 882 |
-
return;
|
| 883 |
-
}
|
| 884 |
-
|
| 885 |
-
// Get user data from session storage
|
| 886 |
-
const userId = sessionStorage.getItem('userId');
|
| 887 |
-
const userEmail = sessionStorage.getItem('userEmail');
|
| 888 |
-
const otpToken = sessionStorage.getItem('otpToken');
|
| 889 |
-
|
| 890 |
-
if (!userId || !userEmail || !otpToken) {
|
| 891 |
-
showError('Please login again to submit gift card');
|
| 892 |
-
setLoading('submitButton', false);
|
| 893 |
-
return;
|
| 894 |
-
}
|
| 895 |
-
|
| 896 |
-
// Create request body with all form fields
|
| 897 |
-
const requestBody = {
|
| 898 |
-
ticket_user_name: document.getElementById('ticket_user_name').value,
|
| 899 |
-
ticket_number: document.getElementById('ticket_number').value,
|
| 900 |
-
gc_code: document.getElementById('gc_code').value,
|
| 901 |
-
gc_phone: document.getElementById('gc_phone').value,
|
| 902 |
-
upi_id: document.getElementById('upi_id').value,
|
| 903 |
-
amount: document.getElementById('amount').value,
|
| 904 |
-
proof_video_url: uploadResult.access_url
|
| 905 |
-
};
|
| 906 |
-
|
| 907 |
-
console.log('Submitting gift card with data:', requestBody); // Debug log
|
| 908 |
-
|
| 909 |
-
const response = await fetch('/api/gift-cards', {
|
| 910 |
-
method: 'POST',
|
| 911 |
-
headers: {
|
| 912 |
-
'Content-Type': 'application/json',
|
| 913 |
-
'x-otp-token': otpToken,
|
| 914 |
-
'x-user-email': userEmail,
|
| 915 |
-
'x-user-id': userId
|
| 916 |
-
},
|
| 917 |
-
body: JSON.stringify(requestBody)
|
| 918 |
-
});
|
| 919 |
-
|
| 920 |
-
const result = await response.json();
|
| 921 |
-
if (result.success) {
|
| 922 |
-
showSuccess('Gift card submitted successfully!');
|
| 923 |
-
giftCardForm.reset();
|
| 924 |
-
// Switch back to home page
|
| 925 |
-
giftCardSection.classList.add('hidden');
|
| 926 |
-
homeSection.classList.remove('hidden');
|
| 927 |
-
} else {
|
| 928 |
-
showError(result.error || 'Failed to submit gift card');
|
| 929 |
-
}
|
| 930 |
-
} catch (error) {
|
| 931 |
-
showError('Failed to submit gift card: ' + error.message);
|
| 932 |
-
} finally {
|
| 933 |
-
setLoading('submitButton', false);
|
| 934 |
-
}
|
| 935 |
-
});
|
| 936 |
-
|
| 937 |
-
// Handle submit gift card button click
|
| 938 |
-
submitGiftCardBtn.addEventListener('click', function() {
|
| 939 |
-
homeSection.classList.add('hidden');
|
| 940 |
-
giftCardSection.classList.remove('hidden');
|
| 941 |
-
});
|
| 942 |
-
|
| 943 |
-
// Handle logout
|
| 944 |
-
function logout() {
|
| 945 |
-
// Clear session data
|
| 946 |
-
sessionStorage.clear();
|
| 947 |
-
// Show auth section
|
| 948 |
-
homeSection.classList.add('hidden');
|
| 949 |
-
giftCardSection.classList.add('hidden');
|
| 950 |
-
authSection.classList.remove('hidden');
|
| 951 |
-
// Reset forms
|
| 952 |
-
loginForm.reset();
|
| 953 |
-
registerForm.reset();
|
| 954 |
-
otpForm.reset();
|
| 955 |
-
giftCardForm.reset();
|
| 956 |
-
}
|
| 957 |
-
|
| 958 |
-
// Add logout handlers
|
| 959 |
-
homeLogoutButton.addEventListener('click', logout);
|
| 960 |
-
document.getElementById('logoutButton').addEventListener('click', logout);
|
| 961 |
-
|
| 962 |
-
// Toggle between login and register forms
|
| 963 |
-
document.getElementById('showRegisterBtn').addEventListener('click', function() {
|
| 964 |
-
document.getElementById('loginSection').classList.add('hidden');
|
| 965 |
-
document.getElementById('registerSection').classList.remove('hidden');
|
| 966 |
-
});
|
| 967 |
-
|
| 968 |
-
document.getElementById('showLoginBtn').addEventListener('click', function() {
|
| 969 |
-
document.getElementById('registerSection').classList.add('hidden');
|
| 970 |
-
document.getElementById('loginSection').classList.remove('hidden');
|
| 971 |
-
});
|
| 972 |
-
|
| 973 |
-
// Check if already logged in on page load
|
| 974 |
-
window.onload = function() {
|
| 975 |
-
const storedUser = localStorage.getItem('user');
|
| 976 |
-
if (storedUser) {
|
| 977 |
-
const user = JSON.parse(storedUser);
|
| 978 |
-
window.currentUser = user; // Set window.currentUser if you use it
|
| 979 |
-
sessionStorage.setItem('userId', user.id);
|
| 980 |
-
sessionStorage.setItem('userEmail', user.email);
|
| 981 |
-
showDashboard();
|
| 982 |
-
}
|
| 983 |
-
}
|
| 984 |
-
|
| 985 |
-
// Add smooth transitions and animations
|
| 986 |
-
document.addEventListener('DOMContentLoaded', function() {
|
| 987 |
-
// Add fade-in animation to main container
|
| 988 |
-
const container = document.querySelector('.container');
|
| 989 |
-
if (container) {
|
| 990 |
-
container.classList.add('animate-fade-in');
|
| 991 |
-
}
|
| 992 |
-
|
| 993 |
-
// Add focus effects to inputs
|
| 994 |
-
const inputs = document.querySelectorAll('input');
|
| 995 |
-
inputs.forEach(input => {
|
| 996 |
-
input.addEventListener('focus', function() {
|
| 997 |
-
this.parentElement.classList.add('transform', 'scale-105');
|
| 998 |
-
});
|
| 999 |
-
|
| 1000 |
-
input.addEventListener('blur', function() {
|
| 1001 |
-
this.parentElement.classList.remove('transform', 'scale-105');
|
| 1002 |
-
});
|
| 1003 |
-
});
|
| 1004 |
-
});
|
| 1005 |
-
|
| 1006 |
-
// Add card amount options based on selection
|
| 1007 |
-
document.getElementById('card_name').addEventListener('change', function(e) {
|
| 1008 |
-
const amountSelect = document.getElementById('amount');
|
| 1009 |
-
amountSelect.innerHTML = '<option value="">Select Amount</option>';
|
| 1010 |
-
|
| 1011 |
-
const amounts = {
|
| 1012 |
-
'roblox': ['100', '400', '1000'],
|
| 1013 |
-
'overwatch': ['200', '500', '1000'],
|
| 1014 |
-
'amazon': ['50', '100', '500']
|
| 1015 |
-
};
|
| 1016 |
-
|
| 1017 |
-
const selectedCard = e.target.value;
|
| 1018 |
-
if (selectedCard && amounts[selectedCard]) {
|
| 1019 |
-
amounts[selectedCard].forEach(amount => {
|
| 1020 |
-
const option = document.createElement('option');
|
| 1021 |
-
option.value = amount;
|
| 1022 |
-
option.textContent = amount;
|
| 1023 |
-
amountSelect.appendChild(option);
|
| 1024 |
-
});
|
| 1025 |
-
}
|
| 1026 |
-
});
|
| 1027 |
-
|
| 1028 |
-
// Add real-time validation for UPI ID
|
| 1029 |
-
document.getElementById('upi_id').addEventListener('input', function(e) {
|
| 1030 |
-
const value = e.target.value;
|
| 1031 |
-
const upiRegex = /^[a-zA-Z0-9.\-_]+@[a-zA-Z0-9.\-_]+$/;
|
| 1032 |
-
|
| 1033 |
-
if (value && !upiRegex.test(value)) {
|
| 1034 |
-
e.target.style.borderColor = 'rgba(239, 68, 68, 0.5)';
|
| 1035 |
-
} else {
|
| 1036 |
-
e.target.style.borderColor = 'rgba(255, 255, 255, 0.2)';
|
| 1037 |
-
}
|
| 1038 |
-
});
|
| 1039 |
-
|
| 1040 |
-
// Add OTP input formatting
|
| 1041 |
-
document.getElementById('otp').addEventListener('input', function(e) {
|
| 1042 |
-
// Only allow numbers
|
| 1043 |
-
e.target.value = e.target.value.replace(/[^0-9]/g, '');
|
| 1044 |
-
|
| 1045 |
-
// Limit to 6 digits
|
| 1046 |
-
if (e.target.value.length > 6) {
|
| 1047 |
-
e.target.value = e.target.value.slice(0, 6);
|
| 1048 |
-
}
|
| 1049 |
-
});
|
| 1050 |
-
|
| 1051 |
-
// Splash screen logic
|
| 1052 |
-
document.addEventListener('DOMContentLoaded', function() {
|
| 1053 |
-
const splash = document.getElementById('splashScreen');
|
| 1054 |
-
const logo = document.getElementById('splashLogo');
|
| 1055 |
-
const mainContent = document.querySelectorAll('.main-content');
|
| 1056 |
-
// Hide scroll while splash is visible
|
| 1057 |
-
document.body.style.overflow = 'hidden';
|
| 1058 |
-
logo.addEventListener('click', function() {
|
| 1059 |
-
splash.classList.add('fade-out');
|
| 1060 |
-
setTimeout(() => {
|
| 1061 |
-
splash.style.display = 'none';
|
| 1062 |
-
mainContent.forEach(el => {
|
| 1063 |
-
el.classList.remove('hidden');
|
| 1064 |
-
el.classList.add('fade-in');
|
| 1065 |
-
});
|
| 1066 |
-
document.body.style.overflow = '';
|
| 1067 |
-
}, 700);
|
| 1068 |
-
});
|
| 1069 |
-
});
|
| 1070 |
-
</script>
|
| 1071 |
-
</body>
|
| 1072 |
-
</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, maximum-scale=1" />
|
| 6 |
+
<script type="module" crossorigin src="/assets/index-DsJRpZaF.js"></script>
|
| 7 |
+
<link rel="stylesheet" crossorigin href="/assets/index-CBzoifZf.css">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<div id="root"></div>
|
| 11 |
+
<!-- This is a replit script which adds a banner on the top of the page when opened in development mode outside the replit environment -->
|
| 12 |
+
<script type="text/javascript" src="https://replit.com/public/js/replit-dev-banner.js"></script>
|
| 13 |
+
</body>
|
| 14 |
+
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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