-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
311 lines (277 loc) · 12.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FinQuest - Financial Literacy Game</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body {
font-family: 'Press Start 2P', cursive;
background-color: #000;
background-image:
linear-gradient(to right, rgba(0, 255, 0, 0.15) 1px, transparent 1px),
linear-gradient(to bottom, rgba(0, 255, 0, 0.15) 1px, transparent 1px);
background-size: 50px 50px;
}
.title {
color: #00ff00;
text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
animation: glow 1.5s ease-in-out infinite alternate;
}
@keyframes glow {
from { text-shadow: 0 0 10px #00ff00; }
to { text-shadow: 0 0 20px #00ff00; }
}
.level-card {
background: rgba(0, 0, 0, 0.7);
border: 2px solid #00ff00;
transition: all 0.3s ease;
}
.level-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}
@keyframes slide {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
.module-slider {
position: relative;
overflow: hidden;
padding: 2rem 0;
}
.module-container {
display: flex;
gap: 2rem;
animation: slide 30s linear infinite;
}
.module-container:hover {
animation-play-state: paused;
}
.module-card {
flex: 0 0 300px;
backdrop-filter: blur(10px);
transition: transform 0.3s ease;
}
.module-card:hover {
transform: scale(1.05);
}
.module-wrapper {
overflow: hidden;
position: relative;
width: 100%;
padding: 2rem 0;
}
.module-track {
display: flex;
gap: 2rem;
position: relative;
width: max-content;
animation: slideLeft 10s linear infinite;
}
.module-track:hover {
animation-play-state: paused;
}
.module-item {
flex: 0 0 300px;
transition: transform 0.3s ease;
}
.module-item:hover {
transform: scale(1.05);
}
@keyframes slideLeft {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
</style>
</head>
<body class="min-h-screen">
<!-- Header -->
<header class="py-8 text-center">
<h1 class="title text-4xl md:text-6xl mb-4">FinQuest</h1>
<p class="text-green-400 text-lg md:text-xl">Master Your Financial Future</p>
</header>
<!-- Game Levels -->
<main class="container mx-auto px-4 py-8">
<h2 class="text-green-400 text-3xl text-center mb-8">Game Levels</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Levels 1-8 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 1</h2>
<p class="text-gray-400 mb-4">Budget Your First Paycheck</p>
<a href="levels/level1.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
<!-- Level 2 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 2</h2>
<p class="text-gray-400 mb-4">Smart Savings Strategy</p>
<a href="levels/level2.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
<!-- Level 3 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 3</h2>
<p class="text-gray-400 mb-4">Investment Portfolio</p>
<a href="levels/level3.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
<!-- Level 4 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 4</h2>
<p class="text-gray-400 mb-4">Emergency Fund Planning</p>
<a href="levels/level4.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
<!-- Level 5 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 5</h2>
<p class="text-gray-400 mb-4">Tax Management</p>
<a href="levels/level5.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
<!-- Level 6 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 6</h2>
<p class="text-gray-400 mb-4">Debt Management</p>
<a href="levels/level6.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
<!-- Level 7 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 7</h2>
<p class="text-gray-400 mb-4">Retirement Planning</p>
<a href="levels/level7.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
<!-- Level 8 -->
<div class="level-card rounded-lg p-6 text-center">
<h2 class="text-green-400 text-xl mb-4">Level 8</h2>
<p class="text-gray-400 mb-4">Real Estate Investment</p>
<a href="levels/level8.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Start Level
</a>
</div>
</div>
</main>
<section class="module-section py-12">
<h2 class="text-3xl text-green-400 text-center mb-8">Learning Modules</h2>
<div class="module-wrapper">
<div class="module-track">
<!-- Module 1 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 1</h3>
<p class="text-gray-400 mb-4">Budgeting Basics</p>
<a href="Learning/module1.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
<!-- Module 2 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 2</h3>
<p class="text-gray-400 mb-4">Smart Savings</p>
<a href="Learning/module2.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
<!-- Module 3 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 3</h3>
<p class="text-gray-400 mb-4">Investment Portfolio</p>
<a href="Learning/module3.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
<!-- Module 4 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 4</h3>
<p class="text-gray-400 mb-4">Emergency Fund</p>
<a href="Learning/module4.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
<!-- Module 5 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 5</h3>
<p class="text-gray-400 mb-4">Tax Management</p>
<a href="Learning/module5.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
<!-- Module 6 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 6</h3>
<p class="text-gray-400 mb-4">Debt Management</p>
<a href="Learning/module6.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
<!-- Module 7 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 7</h3>
<p class="text-gray-400 mb-4">Retirement Planning</p>
<a href="Learning/module7.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
<!-- Module 8 -->
<div class="module-item bg-black bg-opacity-50 p-6 rounded-lg border border-green-600">
<h3 class="text-2xl text-green-400 mb-4">Module 8</h3>
<p class="text-gray-400 mb-4">Real Estate Investment</p>
<a href="Learning/module8.html" class="inline-block bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded transition-all duration-300">
Learn More →
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-black bg-opacity-50 mt-16 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-green-400 text-lg mb-4">About FinQuest</h3>
<p class="text-gray-400">Interactive financial literacy through gamification.</p>
</div>
<div>
<h3 class="text-green-400 text-lg mb-4">Learning Path</h3>
<ul class="text-gray-400 space-y-2">
<li>• Basic Financial Skills</li>
<li>• Investment Strategies</li>
<li>• Advanced Planning</li>
<li>• Wealth Building</li>
</ul>
</div>
<div>
<h3 class="text-green-400 text-lg mb-4">Resources</h3>
<ul class="text-gray-400 space-y-2">
<li>• Financial Calculator</li>
<li>• Glossary</li>
<li>• Study Materials</li>
<li>• FAQs</li>
</ul>
</div>
<div>
<h3 class="text-green-400 text-lg mb-4">Connect</h3>
<ul class="text-gray-400 space-y-2">
<li>• Support</li>
<li>• Feedback</li>
<li>• Social Media</li>
<li>• Newsletter</li>
</ul>
</div>
</div>
</div>
</footer>
</body>
</html>