Skip to content

Commit a6eddf9

Browse files
v0[bot]undefined
andcommitted
feat: add missing exports for deployment
Add `getRandomAyats` function to data file. Create `AuthButtons` component for auth states. Co-authored-by: undefined <undefined+undefined@users.noreply.github.com>
1 parent 11f4d0b commit a6eddf9

4 files changed

Lines changed: 2580 additions & 2089 deletions

File tree

app/games/page.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ export default function GamesPage() {
1313
<h1 className="text-3xl font-bold mb-8 text-center">Quranic Games</h1>
1414

1515
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
16-
{/* Spiritual-Model Card */}
17-
<Card className="border-indigo-200 bg-indigo-50">
16+
{/* Asma-Ul-Husna Puzzle Card */}
17+
<Card className="border-orange-200 bg-orange-50">
1818
<CardHeader>
19-
<CardTitle className="text-indigo-800">Spiritual Model Game</CardTitle>
20-
<CardDescription>Move sliders to see how spiritual factors influence your deeds</CardDescription>
19+
<CardTitle className="text-orange-800">Asma-Ul-Husna Puzzle</CardTitle>
20+
<CardDescription>Rearrange puzzles of the Most Beautiful Names of God</CardDescription>
2121
</CardHeader>
2222
<CardContent>
2323
<p>
24-
Move sliders and see how different spiritual factors influence your deeds based on Surah Al-Qariah, verses 6-9, which describes the fate of those whose deeds are weighed on the Day of Judgment.
24+
Arrange the puzzle of juggled Arabic and English names of Allah in order. Choose a group to start learning through play.
2525
</p>
2626
</CardContent>
2727
<CardFooter>
28-
<Link href="https://v0-kalam.vercel.app/pages/spiritual-model" target="_blank" rel="noopener noreferrer" className="w-full">
29-
<Button className="bg-indigo-600 hover:bg-indigo-700">Play Now</Button>
28+
<Link href="/pages/asma-puzzle" passHref>
29+
<Button className="bg-orange-600 hover:bg-orange-700">Play Now</Button>
3030
</Link>
3131
</CardFooter>
3232
</Card>
3333

34-
{/* New Make Quranic Ayats Game Card */}
34+
{/* Make Quranic Ayats Game Card */}
3535
<Card className="border-purple-200 bg-purple-50">
3636
<CardHeader>
3737
<CardTitle className="text-purple-800">Make Quranic Ayats</CardTitle>
@@ -83,7 +83,7 @@ export default function GamesPage() {
8383
</CardFooter>
8484
</Card>
8585

86-
{/* New Dua & Emotions Matching Game Card */}
86+
{/* Dua & Emotions Matching Game Card */}
8787
<Card className="border-indigo-200 bg-indigo-50">
8888
<CardHeader>
8989
<CardTitle className="text-purple-800">Match Dua and Emotions</CardTitle>
@@ -183,7 +183,7 @@ export default function GamesPage() {
183183
</Card>
184184

185185

186-
{/* New Make Dua Match Game Card */}
186+
{/* Match Dua & Prophets Game Card */}
187187
<Card className="border-orange-200 bg-orange-50">
188188
<CardHeader>
189189
<CardTitle className="text-orange-800">Match Duas</CardTitle>

app/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@ export default function HomePage() {
5959
<section className="mb-12">
6060
<h3 className="text-xl font-semibold mb-6 flex items-center justify-center space-x-2"><Gamepad2 className="h-6 w-6 text-black-600 mb-2" />{" "}Featured Games</h3>
6161
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
62-
{/* Barzaq Game */}
62+
{/* Asma Ul Husna Puzzle */}
6363
<Card className="border-indigo-200 bg-indigo-50 dark:bg-indigo-950 dark:border-indigo-800">
6464
<CardHeader>
6565
<Award className="h-6 w-6 text-blue-600 mb-2" />
66-
<CardTitle className="text-indigo-800 dark:text-indigo-200">Barzaq Game</CardTitle>
67-
<CardDescription>Learn about the intermediate state after death</CardDescription>
66+
<CardTitle className="text-indigo-800 dark:text-indigo-200"> Asma-Ul-Husna Puzzle</CardTitle>
67+
<CardDescription>Learn the Most Beautiful Names of God</CardDescription>
6868
</CardHeader>
6969
<CardContent>
7070
<p className="text-sm text-gray-600 dark:text-gray-300">
71-
Explore the concept of Barzaq through an interactive educational game based on Islamic teachings.
71+
Arrange the puzzle of juggled Arabic and English names of Allah in order. Choose a group to start learning through play.
7272
</p>
7373
</CardContent>
7474
<CardFooter>
75-
<Link href="https://v0-barzaq.vercel.app/" target="_blank" rel="noopener noreferrer" className="w-full">
75+
<Link href="https://v0-kalam.vercel.app/pages/asma-puzzle/" target="_blank" rel="noopener noreferrer" className="w-full">
7676
<Button className="w-full bg-indigo-600 hover:bg-indigo-700">Play Now</Button>
7777
</Link>
7878
</CardFooter>
@@ -145,7 +145,7 @@ export default function HomePage() {
145145
size="lg"
146146
className="text-emerald-600 hover:text-emerald-700 border-emerald-600 hover:border-emerald-700"
147147
>
148-
See all 18 games <ArrowRight className="ml-2 h-4 w-4" />
148+
See all 19 games <ArrowRight className="ml-2 h-4 w-4" />
149149
</Button>
150150
</Link>
151151
</div>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
"path": "latest",
6161
"react": "latest",
6262
"react-day-picker": "latest",
63-
"react-dnd": "^16.0.1",
64-
"react-dnd-html5-backend": "^16.0.1",
65-
"react-dnd-touch-backend": "^16.0.1",
63+
"react-dnd": "latest",
64+
"react-dnd-html5-backend": "latest",
65+
"react-dnd-touch-backend": "latest",
6666
"react-dom": "19.2.0",
6767
"react-hook-form": "latest",
6868
"react-resizable-panels": "latest",

0 commit comments

Comments
 (0)