ChandimaPrabath commited on
Commit
27cfe49
·
1 Parent(s): 019ce5d
frontend/app/games/[game_id]/page.tsx CHANGED
@@ -5,11 +5,11 @@ import { useParams } from 'next/navigation';
5
  export default function GamePage() {
6
  const { game_id } = useParams();
7
  return (
8
- <main className="pt-24" data-oid="mb8qk5q">
9
- <section className="px-6 max-w-6xl mx-auto" data-oid="-wtdbza">
10
  <div
11
  className="flex flex-col md:flex-row items-center gap-12 text-gray-200"
12
- data-oid="5__6:mx"
13
  >
14
  {game_id}
15
  </div>
 
5
  export default function GamePage() {
6
  const { game_id } = useParams();
7
  return (
8
+ <main className="pt-24" data-oid="q4lhmyr">
9
+ <section className="px-6 max-w-6xl mx-auto" data-oid="hsz.ge-">
10
  <div
11
  className="flex flex-col md:flex-row items-center gap-12 text-gray-200"
12
+ data-oid="asd6y95"
13
  >
14
  {game_id}
15
  </div>
frontend/app/games/page.jsx CHANGED
@@ -9,19 +9,19 @@ function GameCard({ game }) {
9
  <Link
10
  href={`/games/${game.id}`}
11
  className="fade-scale-in group block bg-gray-900/50 p-2 rounded-xl shadow-lg hover:shadow-xl transition-shadow border border-gray-800/50 hover:border-gray-700/50"
12
- data-oid="e7l_iso"
13
  >
14
- <div className="overflow-hidden rounded" data-oid="8dphux0">
15
  <Image
16
  src={game.thumbnail}
17
  alt={game.name}
18
  width={200}
19
  height={200}
20
  className="w-full h-auto group-hover:scale-105 transition-transform"
21
- data-oid="y_p3r17"
22
  />
23
  </div>
24
- <h2 className="mt-2 text-xl font-bold text-center text-gray-300" data-oid="damqhlf">
25
  {game.name}
26
  </h2>
27
  </Link>
@@ -36,7 +36,7 @@ function SearchBar({ searchQuery, setSearchQuery }) {
36
  onChange={(e) => setSearchQuery(e.target.value)}
37
  placeholder="Find Games"
38
  className="w-full mb-8 text-lg font-extralight text-center bg-gray-900/50 p-2 shadow-lg border-2 border-t-0 border-r-0 border-indigo-400 text-indigo-400 rounded-xl hover:border-b-0 hover:border-l-0 hover:border-t-2 hover:border-r-2 hover:bg-indigo-950/50 transform hover:scale-105 transition-all ease-in-out focus:outline-none"
39
- data-oid="trg9yl6"
40
  />
41
  );
42
  }
@@ -57,25 +57,25 @@ export default function GamesPage() {
57
  );
58
 
59
  return (
60
- <main className="pt-14 min-h-screen" data-oid="-0h7zon">
61
- <section className="px-6 max-w-6xl mx-auto" data-oid="01qjrzt">
62
  <SearchBar
63
  searchQuery={searchQuery}
64
  setSearchQuery={setSearchQuery}
65
- data-oid="q65tjuk"
66
  />
67
 
68
  {filteredGames.length > 0 ? (
69
  <div
70
  className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6"
71
- data-oid="hpbi7du"
72
  >
73
  {filteredGames.map((game) => (
74
- <GameCard key={game.id} game={game} data-oid="2_b4wkl" />
75
  ))}
76
  </div>
77
  ) : (
78
- <p className="text-center text-gray-400 text-xl" data-oid="nzxxbpw">
79
  No games found.
80
  </p>
81
  )}
 
9
  <Link
10
  href={`/games/${game.id}`}
11
  className="fade-scale-in group block bg-gray-900/50 p-2 rounded-xl shadow-lg hover:shadow-xl transition-shadow border border-gray-800/50 hover:border-gray-700/50"
12
+ data-oid="zocok_q"
13
  >
14
+ <div className="overflow-hidden rounded" data-oid="ecp755_">
15
  <Image
16
  src={game.thumbnail}
17
  alt={game.name}
18
  width={200}
19
  height={200}
20
  className="w-full h-auto group-hover:scale-105 transition-transform"
21
+ data-oid="0c3j6cc"
22
  />
23
  </div>
24
+ <h2 className="mt-2 text-xl font-bold text-center text-gray-300" data-oid="on9swy.">
25
  {game.name}
26
  </h2>
27
  </Link>
 
36
  onChange={(e) => setSearchQuery(e.target.value)}
37
  placeholder="Find Games"
38
  className="w-full mb-8 text-lg font-extralight text-center bg-gray-900/50 p-2 shadow-lg border-2 border-t-0 border-r-0 border-indigo-400 text-indigo-400 rounded-xl hover:border-b-0 hover:border-l-0 hover:border-t-2 hover:border-r-2 hover:bg-indigo-950/50 transform hover:scale-105 transition-all ease-in-out focus:outline-none"
39
+ data-oid="a-vqlr."
40
  />
41
  );
42
  }
 
57
  );
58
 
59
  return (
60
+ <main className="pt-14 min-h-screen" data-oid="vwdkbu2">
61
+ <section className="px-6 max-w-6xl mx-auto" data-oid="jbx7bq1">
62
  <SearchBar
63
  searchQuery={searchQuery}
64
  setSearchQuery={setSearchQuery}
65
+ data-oid="rm5546f"
66
  />
67
 
68
  {filteredGames.length > 0 ? (
69
  <div
70
  className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6"
71
+ data-oid="0ltugeb"
72
  >
73
  {filteredGames.map((game) => (
74
+ <GameCard key={game.id} game={game} data-oid="uot2cmv" />
75
  ))}
76
  </div>
77
  ) : (
78
+ <p className="text-center text-gray-400 text-xl" data-oid="4.e332x">
79
  No games found.
80
  </p>
81
  )}
frontend/app/layout.tsx CHANGED
@@ -9,75 +9,75 @@ const inter = Inter({ subsets: ['latin'] });
9
 
10
  export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
11
  return (
12
- <html lang="en" className="overflow-x-hidden" data-oid="wj461ww">
13
- <head data-oid="fm0wt8h">
14
  <meta
15
  name="viewport"
16
  content="width=device-width, initial-scale=1.0"
17
- data-oid="czf1upe"
18
  />
19
  </head>
20
- <body className={`${inter.className} overflow-x-hidden`} data-oid="jpj55d-">
21
  <div
22
  className="min-h-screen bg-gradient-to-br from-[var(--gradient-start)] via-[var(--gradient-middle)] to-[var(--gradient-end)] flex flex-col overflow-x-hidden"
23
- data-oid="92f8nn4"
24
  >
25
  <nav
26
  className="px-4 py-4 bg-gray-950/90 backdrop-blur-sm fixed w-full z-50 border-b border-gray-800/50"
27
- data-oid="n7z_dnt"
28
  >
29
- <div className="flex justify-between items-center" data-oid="i.df4-z">
30
- <div className="flex items-center space-x-2" data-oid="e0-0u:r">
31
  <Image
32
  className="w-auto h-12 rounded-full"
33
  src="/images/logo.jpg"
34
  width={50}
35
  height={50}
36
  alt="Logo"
37
- data-oid="nk5uy1m"
38
  />
39
 
40
  <h1
41
  className="text-xl font-bold bg-gradient-to-r from-indigo-400 to-purple-400 bg-clip-text text-transparent"
42
- data-oid="72g8_m."
43
  >
44
  CAM
45
  </h1>
46
  </div>
47
- <div className="md:flex space-x-6" data-oid="qk-_9ag">
48
  <Link
49
  href="/"
50
  className="text-gray-300 hover:text-indigo-400 transition-colors"
51
- data-oid="2bvld4k"
52
  >
53
  Home
54
  </Link>
55
  <Link
56
  href="/games"
57
  className="text-gray-300 hover:text-indigo-400 transition-colors"
58
- data-oid="gmala8q"
59
  >
60
  Games
61
  </Link>
62
  <Link
63
  href="/#contact-us"
64
  className="text-gray-300 hover:text-indigo-400 transition-colors"
65
- data-oid="r5-mrc1"
66
  >
67
  Contact Us
68
  </Link>
69
  </div>
70
  </div>
71
  </nav>
72
- <div className="flex-grow pt-[60px] pb-12" data-oid="t-r6jll">
73
  {children}
74
  </div>
75
- <footer className="mt-auto bg-gray-900 py-4" data-oid="l-ta0fb">
76
  <div
77
  className="max-w-6xl mx-auto px-6 text-center text-gray-400"
78
- data-oid="q42-kjm"
79
  >
80
- <p data-oid="4xn2nas">
81
  © 2025 Community for Active Mathematics. All rights reserved.
82
  </p>
83
  </div>
 
9
 
10
  export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
11
  return (
12
+ <html lang="en" className="overflow-x-hidden" data-oid="br11-xo">
13
+ <head data-oid="21yetuw">
14
  <meta
15
  name="viewport"
16
  content="width=device-width, initial-scale=1.0"
17
+ data-oid="dczqb5n"
18
  />
19
  </head>
20
+ <body className={`${inter.className} overflow-x-hidden`} data-oid="huyy5mf">
21
  <div
22
  className="min-h-screen bg-gradient-to-br from-[var(--gradient-start)] via-[var(--gradient-middle)] to-[var(--gradient-end)] flex flex-col overflow-x-hidden"
23
+ data-oid="inxak3p"
24
  >
25
  <nav
26
  className="px-4 py-4 bg-gray-950/90 backdrop-blur-sm fixed w-full z-50 border-b border-gray-800/50"
27
+ data-oid="phwfud7"
28
  >
29
+ <div className="flex justify-between items-center" data-oid="yhffl86">
30
+ <div className="flex items-center space-x-2" data-oid="0xac83v">
31
  <Image
32
  className="w-auto h-12 rounded-full"
33
  src="/images/logo.jpg"
34
  width={50}
35
  height={50}
36
  alt="Logo"
37
+ data-oid="_2pf.by"
38
  />
39
 
40
  <h1
41
  className="text-xl font-bold bg-gradient-to-r from-indigo-400 to-purple-400 bg-clip-text text-transparent"
42
+ data-oid="a43yshw"
43
  >
44
  CAM
45
  </h1>
46
  </div>
47
+ <div className="md:flex space-x-6" data-oid="r1fhku7">
48
  <Link
49
  href="/"
50
  className="text-gray-300 hover:text-indigo-400 transition-colors"
51
+ data-oid="12r47c:"
52
  >
53
  Home
54
  </Link>
55
  <Link
56
  href="/games"
57
  className="text-gray-300 hover:text-indigo-400 transition-colors"
58
+ data-oid="bvs4hy6"
59
  >
60
  Games
61
  </Link>
62
  <Link
63
  href="/#contact-us"
64
  className="text-gray-300 hover:text-indigo-400 transition-colors"
65
+ data-oid="s.65e50"
66
  >
67
  Contact Us
68
  </Link>
69
  </div>
70
  </div>
71
  </nav>
72
+ <div className="flex-grow pt-[60px] pb-12" data-oid="jn88w5k">
73
  {children}
74
  </div>
75
+ <footer className="mt-auto bg-gray-900 py-4" data-oid="nl0ccp7">
76
  <div
77
  className="max-w-6xl mx-auto px-6 text-center text-gray-400"
78
+ data-oid="9bh:l-8"
79
  >
80
+ <p data-oid="p.-x_8c">
81
  © 2025 Community for Active Mathematics. All rights reserved.
82
  </p>
83
  </div>
frontend/app/page.tsx CHANGED
@@ -8,124 +8,124 @@ export default function Page() {
8
  const [isMenuOpen, setIsMenuOpen] = useState(false);
9
 
10
  return (
11
- <main className="pt-14 fade-scale-in" data-oid="iio4n2p">
12
- <section className="px-6 max-w-6xl mx-auto" data-oid="rpm6b5v">
13
- <div className="flex flex-col md:flex-row items-center gap-12" data-oid="592yvzq">
14
- <div className="flex-1 space-y-6" data-oid="92h6mfy">
15
- <h2 className="text-5xl font-bold text-gray-100" data-oid="7k_nq5_">
16
  Making Math
17
- <span className="text-indigo-400" data-oid="k9vw0fi">
18
  {' '}
19
  Fun{' '}
20
  </span>
21
  and
22
- <span className="text-purple-400" data-oid="qe.y-lg">
23
  {' '}
24
  Engaging
25
  </span>
26
  </h2>
27
- <p className="text-lg text-gray-300" data-oid="orx1hpw">
28
  Join our vibrant community of math enthusiasts and discover a new way to
29
  learn mathematics through interactive games and creative tools.
30
  </p>
31
- <div className="flex gap-4" data-oid="si_1gx9">
32
  <Link
33
  href={'#learn-more'}
34
  className="px-6 py-3 bg-indigo-500 text-white rounded-full hover:bg-indigo-400 transform hover:scale-105 transition-all"
35
- data-oid="cp8n0me"
36
  >
37
  Learn More
38
  </Link>
39
  <Link
40
  href={'/games'}
41
  className="px-6 py-3 border-2 border-indigo-400 text-indigo-400 rounded-full hover:bg-indigo-950/50 transform hover:scale-105 transition-all"
42
- data-oid="1iunr:o"
43
  >
44
  Explore Games
45
  </Link>
46
  </div>
47
  </div>
48
- <div className="flex-1 relative" data-oid="iy1k9am">
49
  <div
50
  className="absolute -top-10 -left-10 w-40 h-40 bg-purple-500 rounded-full mix-blend-screen filter blur-xl opacity-20 animate-blob"
51
- data-oid="6t3g8g-"
52
  ></div>
53
  <div
54
  className="absolute -bottom-10 -right-10 w-40 h-40 bg-indigo-500 rounded-full mix-blend-screen filter blur-xl opacity-20 animate-blob animation-delay-2000"
55
- data-oid="jojrdr-"
56
  ></div>
57
- <div className="relative" data-oid="ayic03:">
58
  <div
59
  className="bg-gray-900/50 p-8 rounded-2xl shadow-xl transform rotate-3 skew-x-6 skew-y-2 hover:rotate-0 hover:skew-x-0 hover:skew-y-0 transition duration-700 ease-in-out border border-gray-800/50"
60
- data-oid="af-fmjz"
61
  >
62
- <div className="grid grid-cols-2 gap-4" data-oid="n76aql-">
63
  <Link
64
  href={'/games'}
65
  className="bg-indigo-950/50 p-4 rounded-lg border border-indigo-800/20 hover:border-indigo-700/30 transition-colors"
66
- data-oid="w1-cdp9"
67
  >
68
- <span className="text-2xl" data-oid=".h200ax">
69
  🎮
70
  </span>
71
  <h3
72
  className="font-bold text-gray-300 mt-2"
73
- data-oid="tdnrwcg"
74
  >
75
  Math Games
76
  </h3>
77
- <p className="text-sm text-gray-400" data-oid="1die_yr">
78
  Interactive learning through play
79
  </p>
80
  </Link>
81
  <div
82
  className="bg-purple-950/50 p-4 rounded-lg border border-purple-800/20 hover:border-purple-700/30 transition-colors"
83
- data-oid="ji0erm0"
84
  >
85
- <span className="text-2xl" data-oid="k2zc-w7">
86
  🧮
87
  </span>
88
  <h3
89
  className="font-bold text-gray-300 mt-2"
90
- data-oid="04pjpf_"
91
  >
92
  Tools
93
  </h3>
94
- <p className="text-sm text-gray-400" data-oid="l25qgc:">
95
  Smart calculators & visualizers
96
  </p>
97
  </div>
98
  <div
99
  className="bg-pink-950/50 p-4 rounded-lg border border-pink-800/20 hover:border-pink-700/30 transition-colors"
100
- data-oid="s6r:mry"
101
  >
102
- <span className="text-2xl" data-oid="fh-bdcq">
103
  👥
104
  </span>
105
  <h3
106
  className="font-bold text-gray-300 mt-2"
107
- data-oid="zz8p.ms"
108
  >
109
  Community
110
  </h3>
111
- <p className="text-sm text-gray-400" data-oid="cqhan_1">
112
  Learn together, grow together
113
  </p>
114
  </div>
115
  <div
116
  className="bg-blue-950/50 p-4 rounded-lg border border-blue-800/20 hover:border-blue-700/30 transition-colors"
117
- data-oid="43r8t08"
118
  >
119
- <span className="text-2xl" data-oid="p:ia8gw">
120
  📈
121
  </span>
122
  <h3
123
  className="font-bold text-gray-300 mt-2"
124
- data-oid="ftei:_y"
125
  >
126
  Progress
127
  </h3>
128
- <p className="text-sm text-gray-400" data-oid="novh-x2">
129
  Track your learning journey
130
  </p>
131
  </div>
@@ -136,137 +136,137 @@ export default function Page() {
136
  </div>
137
  </section>
138
 
139
- <section id="learn-more" className="mt-32 px-6 max-w-6xl mx-auto" data-oid="5q1mp25">
140
  <h2
141
  className="text-3xl font-bold mb-12 text-gray-100 text-center"
142
- data-oid="_xuymbu"
143
  >
144
  Community for Active Mathematics
145
  </h2>
146
- <div className="grid md:grid-cols-3 gap-8" data-oid="xr4tvmv">
147
  </div>
148
  </section>
149
 
150
- <section id="why-choose-us" className="mt-32 px-6 max-w-6xl mx-auto" data-oid="fcu07.r">
151
  <h2
152
  className="text-3xl font-bold text-center mb-12 text-gray-100"
153
- data-oid="o1pmly_"
154
  >
155
  Why Choose Us?
156
  </h2>
157
- <div className="grid md:grid-cols-3 gap-8" data-oid="at5o7t6">
158
  <div
159
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out"
160
- data-oid="cmlyyj:"
161
  >
162
  <div
163
  className="w-12 h-12 bg-indigo-950/50 rounded-full flex items-center justify-center mb-4 border border-indigo-800/20"
164
- data-oid="v08ly.p"
165
  >
166
- <span className="text-2xl" data-oid="z7l6ag7">
167
  🎯
168
  </span>
169
  </div>
170
- <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="kcq-xu_">
171
  Engaging Content
172
  </h3>
173
- <p className="text-gray-300" data-oid="e7jq4cg">
174
  Interactive games and puzzles that make learning mathematics enjoyable
175
  </p>
176
  </div>
177
  <div
178
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out"
179
- data-oid="z::w5g4"
180
  >
181
  <div
182
  className="w-12 h-12 bg-purple-950/50 rounded-full flex items-center justify-center mb-4 border border-purple-800/20"
183
- data-oid="87z0q2e"
184
  >
185
- <span className="text-2xl" data-oid="dwe24-n">
186
  🤝
187
  </span>
188
  </div>
189
- <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="fgksh93">
190
  Active Community
191
  </h3>
192
- <p className="text-gray-300" data-oid="2fqax4u">
193
  Connect with fellow learners and share your mathematical journey
194
  </p>
195
  </div>
196
  <div
197
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out"
198
- data-oid="-xx5--4"
199
  >
200
  <div
201
  className="w-12 h-12 bg-pink-950/50 rounded-full flex items-center justify-center mb-4 border border-pink-800/20"
202
- data-oid="nao-.vw"
203
  >
204
- <span className="text-2xl" data-oid="y8vf54p">
205
  📱
206
  </span>
207
  </div>
208
- <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="2csys9d">
209
  Accessible Learning
210
  </h3>
211
- <p className="text-gray-300" data-oid="-8vn_we">
212
  Learn anytime, anywhere with our mobile-friendly platform
213
  </p>
214
  </div>
215
  </div>
216
  </section>
217
- <section id="contact-us" className="mt-16 px-6 max-w-6xl mx-auto" data-oid="pzh-00m">
218
- <div className="text-center mb-4" data-oid="0qo0e9v">
219
- <h2 className="text-3xl font-bold text-gray-100" data-oid="txu1i85">
220
  Get in Touch
221
  </h2>
222
- <p className="text-gray-400 mt-4 max-w-2xl mx-auto" data-oid="ychht0l">
223
- Have questions or suggestions? We'd love to hear from you. Here's how you
224
- can reach us.
225
  </p>
226
  </div>
227
- <div className="grid md:grid-cols-3 gap-4" data-oid="dmol.t8">
228
  <div
229
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out group"
230
- data-oid="0u7cmmg"
231
  >
232
  <div
233
  className="w-12 h-12 bg-indigo-950/50 rounded-full flex items-center justify-center mb-4 border border-indigo-800/20 group-hover:border-indigo-500/50 transition-colors"
234
- data-oid="94dk0ch"
235
  >
236
- <span className="text-2xl" data-oid="big6on:">
237
  📧
238
  </span>
239
  </div>
240
- <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="5ufcl7p">
241
  Email Us
242
  </h3>
243
- <p className="text-gray-300 mb-3" data-oid="gctvet5">
244
  For general inquiries and support
245
  </p>
246
  <a
247
  href="mailto:#"
248
  className="text-indigo-600 hover:text-indigo-400 transition-colors"
249
- data-oid="qjt:zrg"
250
  >
251
  Email
252
  </a>
253
  </div>
254
  <div
255
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out group"
256
- data-oid="skepks5"
257
  >
258
  <div
259
  className="w-12 h-12 bg-purple-950/50 rounded-full flex items-center justify-center mb-4 border border-purple-800/20 group-hover:border-purple-500/50 transition-colors"
260
- data-oid="nah:p-8"
261
  >
262
- <span className="text-2xl" data-oid="9r59gi2">
263
  💬
264
  </span>
265
  </div>
266
- <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="_pnmx.7">
267
  Community
268
  </h3>
269
- <p className="text-gray-300 mb-3" data-oid="amvk.w5">
270
  Join our Discord community
271
  </p>
272
  <a
@@ -274,36 +274,36 @@ export default function Page() {
274
  target="_blank"
275
  rel="noopener noreferrer"
276
  className="text-purple-600 hover:text-purple-400 transition-colors"
277
- data-oid="pmfyfue"
278
  >
279
  Discord
280
  </a>
281
  </div>
282
  <div
283
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out group"
284
- data-oid="5usrto8"
285
  >
286
  <div
287
  className="w-12 h-12 bg-pink-950/50 rounded-full flex items-center justify-center mb-4 border border-pink-800/20 group-hover:border-pink-500/50 transition-colors"
288
- data-oid="-e161sv"
289
  >
290
- <span className="text-2xl" data-oid="thty60c">
291
  📱
292
  </span>
293
  </div>
294
- <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="az-.pfs">
295
  Social Media
296
  </h3>
297
- <p className="text-gray-300 mb-3" data-oid="w7pm51i">
298
  Follow us for updates
299
  </p>
300
- <div className="flex gap-4 justify-center" data-oid="fi0r3tc">
301
  <a
302
  href="https://www.facebook.com/mathslabsl"
303
  target="_blank"
304
  rel="noopener noreferrer"
305
  className="text-blue-600 hover:text-blue-400 transition-colors"
306
- data-oid="cykmscr"
307
  >
308
  Facebook
309
  </a>
@@ -312,7 +312,7 @@ export default function Page() {
312
  target="_blank"
313
  rel="noopener noreferrer"
314
  className="text-red-600 hover:text-red-400 transition-colors"
315
- data-oid="33524uv"
316
  >
317
  Youtube
318
  </a>
 
8
  const [isMenuOpen, setIsMenuOpen] = useState(false);
9
 
10
  return (
11
+ <main className="pt-14 fade-scale-in" data-oid="8zlg0-n">
12
+ <section className="px-6 max-w-6xl mx-auto" data-oid="s-v.62h">
13
+ <div className="flex flex-col md:flex-row items-center gap-12" data-oid="-qkhegd">
14
+ <div className="flex-1 space-y-6" data-oid=".0qcbul">
15
+ <h2 className="text-5xl font-bold text-gray-100" data-oid=".6e8bfv">
16
  Making Math
17
+ <span className="text-indigo-400" data-oid="lp_rhvh">
18
  {' '}
19
  Fun{' '}
20
  </span>
21
  and
22
+ <span className="text-purple-400" data-oid="ttlxct_">
23
  {' '}
24
  Engaging
25
  </span>
26
  </h2>
27
+ <p className="text-lg text-gray-300" data-oid="rctt8dl">
28
  Join our vibrant community of math enthusiasts and discover a new way to
29
  learn mathematics through interactive games and creative tools.
30
  </p>
31
+ <div className="flex gap-4" data-oid="96e2.-f">
32
  <Link
33
  href={'#learn-more'}
34
  className="px-6 py-3 bg-indigo-500 text-white rounded-full hover:bg-indigo-400 transform hover:scale-105 transition-all"
35
+ data-oid="mzeb87p"
36
  >
37
  Learn More
38
  </Link>
39
  <Link
40
  href={'/games'}
41
  className="px-6 py-3 border-2 border-indigo-400 text-indigo-400 rounded-full hover:bg-indigo-950/50 transform hover:scale-105 transition-all"
42
+ data-oid=":mtq4w9"
43
  >
44
  Explore Games
45
  </Link>
46
  </div>
47
  </div>
48
+ <div className="flex-1 relative" data-oid="8kr:6_u">
49
  <div
50
  className="absolute -top-10 -left-10 w-40 h-40 bg-purple-500 rounded-full mix-blend-screen filter blur-xl opacity-20 animate-blob"
51
+ data-oid="_cg2_1c"
52
  ></div>
53
  <div
54
  className="absolute -bottom-10 -right-10 w-40 h-40 bg-indigo-500 rounded-full mix-blend-screen filter blur-xl opacity-20 animate-blob animation-delay-2000"
55
+ data-oid="ef6ogot"
56
  ></div>
57
+ <div className="relative" data-oid="4xdliky">
58
  <div
59
  className="bg-gray-900/50 p-8 rounded-2xl shadow-xl transform rotate-3 skew-x-6 skew-y-2 hover:rotate-0 hover:skew-x-0 hover:skew-y-0 transition duration-700 ease-in-out border border-gray-800/50"
60
+ data-oid="u3ypj8v"
61
  >
62
+ <div className="grid grid-cols-2 gap-4" data-oid="dy7jd89">
63
  <Link
64
  href={'/games'}
65
  className="bg-indigo-950/50 p-4 rounded-lg border border-indigo-800/20 hover:border-indigo-700/30 transition-colors"
66
+ data-oid="rx-.c9u"
67
  >
68
+ <span className="text-2xl" data-oid="xbm9272">
69
  🎮
70
  </span>
71
  <h3
72
  className="font-bold text-gray-300 mt-2"
73
+ data-oid="lle-961"
74
  >
75
  Math Games
76
  </h3>
77
+ <p className="text-sm text-gray-400" data-oid="dw783iv">
78
  Interactive learning through play
79
  </p>
80
  </Link>
81
  <div
82
  className="bg-purple-950/50 p-4 rounded-lg border border-purple-800/20 hover:border-purple-700/30 transition-colors"
83
+ data-oid="r5vyy9z"
84
  >
85
+ <span className="text-2xl" data-oid="3x-5o:a">
86
  🧮
87
  </span>
88
  <h3
89
  className="font-bold text-gray-300 mt-2"
90
+ data-oid="bxy:fnz"
91
  >
92
  Tools
93
  </h3>
94
+ <p className="text-sm text-gray-400" data-oid="04-ahph">
95
  Smart calculators & visualizers
96
  </p>
97
  </div>
98
  <div
99
  className="bg-pink-950/50 p-4 rounded-lg border border-pink-800/20 hover:border-pink-700/30 transition-colors"
100
+ data-oid="fx8fgbx"
101
  >
102
+ <span className="text-2xl" data-oid="e:a_ouv">
103
  👥
104
  </span>
105
  <h3
106
  className="font-bold text-gray-300 mt-2"
107
+ data-oid="1eqfsav"
108
  >
109
  Community
110
  </h3>
111
+ <p className="text-sm text-gray-400" data-oid="kyq6p4k">
112
  Learn together, grow together
113
  </p>
114
  </div>
115
  <div
116
  className="bg-blue-950/50 p-4 rounded-lg border border-blue-800/20 hover:border-blue-700/30 transition-colors"
117
+ data-oid="umo-2gp"
118
  >
119
+ <span className="text-2xl" data-oid="i95z_3n">
120
  📈
121
  </span>
122
  <h3
123
  className="font-bold text-gray-300 mt-2"
124
+ data-oid="c21thtk"
125
  >
126
  Progress
127
  </h3>
128
+ <p className="text-sm text-gray-400" data-oid="o37g:8n">
129
  Track your learning journey
130
  </p>
131
  </div>
 
136
  </div>
137
  </section>
138
 
139
+ <section id="learn-more" className="mt-32 px-6 max-w-6xl mx-auto" data-oid="vwy0vq_">
140
  <h2
141
  className="text-3xl font-bold mb-12 text-gray-100 text-center"
142
+ data-oid="5gu2yrb"
143
  >
144
  Community for Active Mathematics
145
  </h2>
146
+ <div className="grid md:grid-cols-3 gap-8" data-oid="vu-0agj">
147
  </div>
148
  </section>
149
 
150
+ <section id="why-choose-us" className="mt-32 px-6 max-w-6xl mx-auto" data-oid="5-zmzpc">
151
  <h2
152
  className="text-3xl font-bold text-center mb-12 text-gray-100"
153
+ data-oid="qvn2opj"
154
  >
155
  Why Choose Us?
156
  </h2>
157
+ <div className="grid md:grid-cols-3 gap-8" data-oid="7ted2gy">
158
  <div
159
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out"
160
+ data-oid="uga_qtt"
161
  >
162
  <div
163
  className="w-12 h-12 bg-indigo-950/50 rounded-full flex items-center justify-center mb-4 border border-indigo-800/20"
164
+ data-oid="ntqn45o"
165
  >
166
+ <span className="text-2xl" data-oid="hobj60k">
167
  🎯
168
  </span>
169
  </div>
170
+ <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="a7xn_pi">
171
  Engaging Content
172
  </h3>
173
+ <p className="text-gray-300" data-oid="a7bb1ps">
174
  Interactive games and puzzles that make learning mathematics enjoyable
175
  </p>
176
  </div>
177
  <div
178
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out"
179
+ data-oid="s58l-e0"
180
  >
181
  <div
182
  className="w-12 h-12 bg-purple-950/50 rounded-full flex items-center justify-center mb-4 border border-purple-800/20"
183
+ data-oid="bsd5v2r"
184
  >
185
+ <span className="text-2xl" data-oid="kd7cf71">
186
  🤝
187
  </span>
188
  </div>
189
+ <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="k0cn8b3">
190
  Active Community
191
  </h3>
192
+ <p className="text-gray-300" data-oid="9.rg9_1">
193
  Connect with fellow learners and share your mathematical journey
194
  </p>
195
  </div>
196
  <div
197
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out"
198
+ data-oid="yq3_cf-"
199
  >
200
  <div
201
  className="w-12 h-12 bg-pink-950/50 rounded-full flex items-center justify-center mb-4 border border-pink-800/20"
202
+ data-oid="bmiyort"
203
  >
204
+ <span className="text-2xl" data-oid="glo.r-m">
205
  📱
206
  </span>
207
  </div>
208
+ <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="hmpl5nq">
209
  Accessible Learning
210
  </h3>
211
+ <p className="text-gray-300" data-oid="6qvzv16">
212
  Learn anytime, anywhere with our mobile-friendly platform
213
  </p>
214
  </div>
215
  </div>
216
  </section>
217
+ <section id="contact-us" className="mt-16 px-6 max-w-6xl mx-auto" data-oid="dw8yjp.">
218
+ <div className="text-center mb-4" data-oid="d0zwrbf">
219
+ <h2 className="text-3xl font-bold text-gray-100" data-oid="eix9u1g">
220
  Get in Touch
221
  </h2>
222
+ <p className="text-gray-400 mt-4 max-w-2xl mx-auto" data-oid="krawc39">
223
+ Have questions or suggestions? We&apos;d love to hear from you. Here's how
224
+ you can reach us.
225
  </p>
226
  </div>
227
+ <div className="grid md:grid-cols-3 gap-4" data-oid=".ifg177">
228
  <div
229
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out group"
230
+ data-oid="f7em4or"
231
  >
232
  <div
233
  className="w-12 h-12 bg-indigo-950/50 rounded-full flex items-center justify-center mb-4 border border-indigo-800/20 group-hover:border-indigo-500/50 transition-colors"
234
+ data-oid="dyr82_j"
235
  >
236
+ <span className="text-2xl" data-oid="jgb9::a">
237
  📧
238
  </span>
239
  </div>
240
+ <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="921fba9">
241
  Email Us
242
  </h3>
243
+ <p className="text-gray-300 mb-3" data-oid=":gp0kqh">
244
  For general inquiries and support
245
  </p>
246
  <a
247
  href="mailto:#"
248
  className="text-indigo-600 hover:text-indigo-400 transition-colors"
249
+ data-oid="umeo9pk"
250
  >
251
  Email
252
  </a>
253
  </div>
254
  <div
255
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out group"
256
+ data-oid="q-av0.u"
257
  >
258
  <div
259
  className="w-12 h-12 bg-purple-950/50 rounded-full flex items-center justify-center mb-4 border border-purple-800/20 group-hover:border-purple-500/50 transition-colors"
260
+ data-oid="qmvcmsb"
261
  >
262
+ <span className="text-2xl" data-oid="et_twsr">
263
  💬
264
  </span>
265
  </div>
266
+ <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="o4.baq3">
267
  Community
268
  </h3>
269
+ <p className="text-gray-300 mb-3" data-oid="pcrku_p">
270
  Join our Discord community
271
  </p>
272
  <a
 
274
  target="_blank"
275
  rel="noopener noreferrer"
276
  className="text-purple-600 hover:text-purple-400 transition-colors"
277
+ data-oid="w_6suco"
278
  >
279
  Discord
280
  </a>
281
  </div>
282
  <div
283
  className="bg-gray-900/50 p-6 rounded-xl shadow-lg hover:shadow-xl border border-gray-800/50 hover:border-purple-600 border-t-0 border-b-0 transition-all duration-300 ease-in-out group"
284
+ data-oid="pfih:5b"
285
  >
286
  <div
287
  className="w-12 h-12 bg-pink-950/50 rounded-full flex items-center justify-center mb-4 border border-pink-800/20 group-hover:border-pink-500/50 transition-colors"
288
+ data-oid="nwswbkj"
289
  >
290
+ <span className="text-2xl" data-oid="lv6l-ra">
291
  📱
292
  </span>
293
  </div>
294
+ <h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="0oj.t:f">
295
  Social Media
296
  </h3>
297
+ <p className="text-gray-300 mb-3" data-oid="2fulqte">
298
  Follow us for updates
299
  </p>
300
+ <div className="flex gap-4 justify-center" data-oid="c54-m_4">
301
  <a
302
  href="https://www.facebook.com/mathslabsl"
303
  target="_blank"
304
  rel="noopener noreferrer"
305
  className="text-blue-600 hover:text-blue-400 transition-colors"
306
+ data-oid="gir4p77"
307
  >
308
  Facebook
309
  </a>
 
312
  target="_blank"
313
  rel="noopener noreferrer"
314
  className="text-red-600 hover:text-red-400 transition-colors"
315
+ data-oid="f-bdjjg"
316
  >
317
  Youtube
318
  </a>