Skip to content

Commit 17d1c1c

Browse files
authored
Update page.tsx
Creating 107
1 parent d4c0920 commit 17d1c1c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

app/quizzes/surah/page.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,18 @@ const surahs = [
271271
implementationStatus: "available" as ImplementationStatus,
272272
implementationPhase: 1,
273273
sections: [],
274+
},
275+
{
276+
id: 107,
277+
name: "Al-Maun",
278+
arabicName: "ٱلمَاعُون",
279+
verses: 7,
280+
type: "Meccan",
281+
vocabularyCount: 25,
282+
difficulty: "Beginner",
283+
implementationStatus: "available" as ImplementationStatus,
284+
implementationPhase: 1,
285+
sections: [],
274286
},
275287
{
276288
id: 108,
@@ -418,7 +430,7 @@ const getImplementationStatus = (status: ImplementationStatus) => {
418430
// Function to get the appropriate link for a surah
419431
const getSurahLink = (surahId: number) => {
420432
// List of implemented surahs
421-
const implementedSurahs = [1, 108, 109, 110, 111, 112, 113, 114]
433+
const implementedSurahs = [1, 107, 108, 109, 110, 111, 112, 113, 114]
422434

423435
if (implementedSurahs.includes(surahId)) {
424436
return `/quizzes/surah/${surahId}`

0 commit comments

Comments
 (0)