Commit ·
019ce5d
1
Parent(s): 5cdd313
add contact us
Browse files- frontend/app/games/[game_id]/page.tsx +3 -3
- frontend/app/games/page.jsx +11 -11
- frontend/app/layout.tsx +25 -18
- frontend/app/page.tsx +163 -56
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="
|
| 9 |
-
<section className="px-6 max-w-6xl mx-auto" data-oid="
|
| 10 |
<div
|
| 11 |
className="flex flex-col md:flex-row items-center gap-12 text-gray-200"
|
| 12 |
-
data-oid="
|
| 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="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>
|
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="
|
| 13 |
>
|
| 14 |
-
<div className="overflow-hidden rounded" data-oid="
|
| 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="
|
| 22 |
/>
|
| 23 |
</div>
|
| 24 |
-
<h2 className="mt-2 text-xl font-bold text-center text-gray-300" data-oid="
|
| 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="
|
| 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="
|
| 61 |
-
<section className="px-6 max-w-6xl mx-auto" data-oid="
|
| 62 |
<SearchBar
|
| 63 |
searchQuery={searchQuery}
|
| 64 |
setSearchQuery={setSearchQuery}
|
| 65 |
-
data-oid="
|
| 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="
|
| 72 |
>
|
| 73 |
{filteredGames.map((game) => (
|
| 74 |
-
<GameCard key={game.id} game={game} data-oid="
|
| 75 |
))}
|
| 76 |
</div>
|
| 77 |
) : (
|
| 78 |
-
<p className="text-center text-gray-400 text-xl" data-oid="
|
| 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="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 |
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 |
);
|
| 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 |
)}
|
frontend/app/layout.tsx
CHANGED
|
@@ -9,68 +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="
|
| 13 |
-
<head data-oid="
|
| 14 |
<meta
|
| 15 |
name="viewport"
|
| 16 |
content="width=device-width, initial-scale=1.0"
|
| 17 |
-
data-oid="
|
| 18 |
/>
|
| 19 |
</head>
|
| 20 |
-
<body className={`${inter.className} overflow-x-hidden`} data-oid="
|
| 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="
|
| 24 |
>
|
| 25 |
<nav
|
| 26 |
-
className="px-
|
| 27 |
-
data-oid="
|
| 28 |
>
|
| 29 |
-
<div className="flex justify-between items-center" data-oid="
|
| 30 |
-
<div className="flex items-center space-x-2" data-oid="
|
| 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="
|
| 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="
|
| 43 |
>
|
| 44 |
CAM
|
| 45 |
</h1>
|
| 46 |
</div>
|
| 47 |
-
<div className="md:flex space-x-6" data-oid="
|
| 48 |
<Link
|
| 49 |
href="/"
|
| 50 |
className="text-gray-300 hover:text-indigo-400 transition-colors"
|
| 51 |
-
data-oid="
|
| 52 |
>
|
| 53 |
Home
|
| 54 |
</Link>
|
| 55 |
<Link
|
| 56 |
href="/games"
|
| 57 |
className="text-gray-300 hover:text-indigo-400 transition-colors"
|
| 58 |
-
data-oid="
|
| 59 |
>
|
| 60 |
Games
|
| 61 |
</Link>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
</div>
|
| 63 |
</div>
|
| 64 |
</nav>
|
| 65 |
-
<div className="flex-grow pt-[60px] pb-12" data-oid="
|
| 66 |
{children}
|
| 67 |
</div>
|
| 68 |
-
<footer className="mt-auto bg-gray-900 py-4" data-oid="
|
| 69 |
<div
|
| 70 |
className="max-w-6xl mx-auto px-6 text-center text-gray-400"
|
| 71 |
-
data-oid="
|
| 72 |
>
|
| 73 |
-
<p data-oid="
|
| 74 |
© 2025 Community for Active Mathematics. All rights reserved.
|
| 75 |
</p>
|
| 76 |
</div>
|
|
|
|
| 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>
|
frontend/app/page.tsx
CHANGED
|
@@ -8,123 +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="
|
| 12 |
-
<section className="px-6 max-w-6xl mx-auto" data-oid="
|
| 13 |
-
<div className="flex flex-col md:flex-row items-center gap-12" data-oid="
|
| 14 |
-
<div className="flex-1 space-y-6" data-oid="
|
| 15 |
-
<h2 className="text-5xl font-bold text-gray-100" data-oid="
|
| 16 |
Making Math
|
| 17 |
-
<span className="text-indigo-400" data-oid="
|
| 18 |
{' '}
|
| 19 |
Fun{' '}
|
| 20 |
</span>
|
| 21 |
and
|
| 22 |
-
<span className="text-purple-400" data-oid="
|
| 23 |
{' '}
|
| 24 |
Engaging
|
| 25 |
</span>
|
| 26 |
</h2>
|
| 27 |
-
<p className="text-lg text-gray-300" data-oid="
|
| 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="
|
| 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="
|
| 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="
|
| 43 |
>
|
| 44 |
Explore Games
|
| 45 |
</Link>
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
-
<div className="flex-1 relative" data-oid="
|
| 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="
|
| 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="
|
| 56 |
></div>
|
| 57 |
-
<div className="relative" data-oid="
|
| 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="
|
| 61 |
>
|
| 62 |
-
<div className="grid grid-cols-2 gap-4" data-oid="
|
| 63 |
-
<
|
|
|
|
| 64 |
className="bg-indigo-950/50 p-4 rounded-lg border border-indigo-800/20 hover:border-indigo-700/30 transition-colors"
|
| 65 |
-
data-oid="
|
| 66 |
>
|
| 67 |
-
<span className="text-2xl" data-oid="
|
| 68 |
🎮
|
| 69 |
</span>
|
| 70 |
<h3
|
| 71 |
className="font-bold text-gray-300 mt-2"
|
| 72 |
-
data-oid="
|
| 73 |
>
|
| 74 |
Math Games
|
| 75 |
</h3>
|
| 76 |
-
<p className="text-sm text-gray-400" data-oid="
|
| 77 |
Interactive learning through play
|
| 78 |
</p>
|
| 79 |
-
</
|
| 80 |
<div
|
| 81 |
className="bg-purple-950/50 p-4 rounded-lg border border-purple-800/20 hover:border-purple-700/30 transition-colors"
|
| 82 |
-
data-oid="
|
| 83 |
>
|
| 84 |
-
<span className="text-2xl" data-oid="
|
| 85 |
🧮
|
| 86 |
</span>
|
| 87 |
<h3
|
| 88 |
className="font-bold text-gray-300 mt-2"
|
| 89 |
-
data-oid="
|
| 90 |
>
|
| 91 |
Tools
|
| 92 |
</h3>
|
| 93 |
-
<p className="text-sm text-gray-400" data-oid="
|
| 94 |
Smart calculators & visualizers
|
| 95 |
</p>
|
| 96 |
</div>
|
| 97 |
<div
|
| 98 |
className="bg-pink-950/50 p-4 rounded-lg border border-pink-800/20 hover:border-pink-700/30 transition-colors"
|
| 99 |
-
data-oid="
|
| 100 |
>
|
| 101 |
-
<span className="text-2xl" data-oid="
|
| 102 |
👥
|
| 103 |
</span>
|
| 104 |
<h3
|
| 105 |
className="font-bold text-gray-300 mt-2"
|
| 106 |
-
data-oid="
|
| 107 |
>
|
| 108 |
Community
|
| 109 |
</h3>
|
| 110 |
-
<p className="text-sm text-gray-400" data-oid="
|
| 111 |
Learn together, grow together
|
| 112 |
</p>
|
| 113 |
</div>
|
| 114 |
<div
|
| 115 |
className="bg-blue-950/50 p-4 rounded-lg border border-blue-800/20 hover:border-blue-700/30 transition-colors"
|
| 116 |
-
data-oid="
|
| 117 |
>
|
| 118 |
-
<span className="text-2xl" data-oid="
|
| 119 |
📈
|
| 120 |
</span>
|
| 121 |
<h3
|
| 122 |
className="font-bold text-gray-300 mt-2"
|
| 123 |
-
data-oid="
|
| 124 |
>
|
| 125 |
Progress
|
| 126 |
</h3>
|
| 127 |
-
<p className="text-sm text-gray-400" data-oid="-
|
| 128 |
Track your learning journey
|
| 129 |
</p>
|
| 130 |
</div>
|
|
@@ -135,84 +136,190 @@ export default function Page() {
|
|
| 135 |
</div>
|
| 136 |
</section>
|
| 137 |
|
| 138 |
-
<section id="learn-more" className="mt-32 px-6 max-w-6xl mx-auto" data-oid="
|
| 139 |
<h2
|
| 140 |
className="text-3xl font-bold mb-12 text-gray-100 text-center"
|
| 141 |
-
data-oid="
|
| 142 |
>
|
| 143 |
Community for Active Mathematics
|
| 144 |
</h2>
|
| 145 |
-
<div className="grid md:grid-cols-3 gap-8" data-oid="
|
| 146 |
</div>
|
| 147 |
</section>
|
| 148 |
|
| 149 |
-
<section id="why-choose-us" className="mt-32 px-6 max-w-6xl mx-auto" data-oid="
|
| 150 |
<h2
|
| 151 |
className="text-3xl font-bold text-center mb-12 text-gray-100"
|
| 152 |
-
data-oid="
|
| 153 |
>
|
| 154 |
Why Choose Us?
|
| 155 |
</h2>
|
| 156 |
-
<div className="grid md:grid-cols-3 gap-8" data-oid="
|
| 157 |
<div
|
| 158 |
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"
|
| 159 |
-
data-oid="
|
| 160 |
>
|
| 161 |
<div
|
| 162 |
className="w-12 h-12 bg-indigo-950/50 rounded-full flex items-center justify-center mb-4 border border-indigo-800/20"
|
| 163 |
-
data-oid="
|
| 164 |
>
|
| 165 |
-
<span className="text-2xl" data-oid="
|
| 166 |
🎯
|
| 167 |
</span>
|
| 168 |
</div>
|
| 169 |
-
<h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="
|
| 170 |
Engaging Content
|
| 171 |
</h3>
|
| 172 |
-
<p className="text-gray-300" data-oid="
|
| 173 |
Interactive games and puzzles that make learning mathematics enjoyable
|
| 174 |
</p>
|
| 175 |
</div>
|
| 176 |
<div
|
| 177 |
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"
|
| 178 |
-
data-oid="
|
| 179 |
>
|
| 180 |
<div
|
| 181 |
className="w-12 h-12 bg-purple-950/50 rounded-full flex items-center justify-center mb-4 border border-purple-800/20"
|
| 182 |
-
data-oid="
|
| 183 |
>
|
| 184 |
-
<span className="text-2xl" data-oid="
|
| 185 |
🤝
|
| 186 |
</span>
|
| 187 |
</div>
|
| 188 |
-
<h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="
|
| 189 |
Active Community
|
| 190 |
</h3>
|
| 191 |
-
<p className="text-gray-300" data-oid="
|
| 192 |
Connect with fellow learners and share your mathematical journey
|
| 193 |
</p>
|
| 194 |
</div>
|
| 195 |
<div
|
| 196 |
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"
|
| 197 |
-
data-oid="
|
| 198 |
>
|
| 199 |
<div
|
| 200 |
className="w-12 h-12 bg-pink-950/50 rounded-full flex items-center justify-center mb-4 border border-pink-800/20"
|
| 201 |
-
data-oid="
|
| 202 |
>
|
| 203 |
-
<span className="text-2xl" data-oid="
|
| 204 |
📱
|
| 205 |
</span>
|
| 206 |
</div>
|
| 207 |
-
<h3 className="font-bold text-xl mb-2 text-gray-100" data-oid="
|
| 208 |
Accessible Learning
|
| 209 |
</h3>
|
| 210 |
-
<p className="text-gray-300" data-oid="
|
| 211 |
Learn anytime, anywhere with our mobile-friendly platform
|
| 212 |
</p>
|
| 213 |
</div>
|
| 214 |
</div>
|
| 215 |
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 216 |
</main>
|
| 217 |
);
|
| 218 |
}
|
|
|
|
| 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 |
</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
|
| 273 |
+
href="#"
|
| 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>
|
| 310 |
+
<a
|
| 311 |
+
href="https://www.youtube.com/@mathslabsrilanka"
|
| 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>
|
| 319 |
+
</div>
|
| 320 |
+
</div>
|
| 321 |
+
</div>
|
| 322 |
+
</section>
|
| 323 |
</main>
|
| 324 |
);
|
| 325 |
}
|