Skip to content

Commit c5e4a40

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

3 files changed

Lines changed: 2584 additions & 2074 deletions

File tree

app/games/page.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,25 @@ export default function GamesPage() {
3131
</CardFooter>
3232
</Card>
3333

34+
35+
{/* Spiritual-Model Card */}
36+
<Card>
37+
<CardHeader>
38+
<CardTitle>Spiritual Model Game</CardTitle>
39+
<CardDescription>Move sliders & see how spiritual factors influence your deeds</CardDescription>
40+
</CardHeader>
41+
<CardContent>
42+
<p>See how spiritual factors influence your deeds based on Quran, which describes how deeds are weighed on Judgment Day.</p>
43+
</CardContent>
44+
<CardFooter>
45+
<Link href="/pages/spiritual-model" passHref>
46+
<Button>Play Now</Button>
47+
</Link>
48+
</CardFooter>
49+
</Card>
50+
51+
52+
3453
{/* Make Quranic Ayats Game Card */}
3554
<Card className="border-purple-200 bg-purple-50">
3655
<CardHeader>
@@ -202,7 +221,7 @@ export default function GamesPage() {
202221
</Card>
203222

204223

205-
{/* New DSD and Quranic Ayats Game Card */}
224+
{/* DSD and Quranic Ayats Game Card */}
206225
<Card className="border-purple-200 bg-purple-50">
207226
<CardHeader>
208227
<CardTitle className="text-purple-800">DSD in Quranic Ayats</CardTitle>

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)