diff --git a/src/App.svelte b/src/App.svelte index 72067f54..c37d28aa 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -9,7 +9,7 @@ import "$utils/checkURLParameters"; import { Router, Route } from "svelte-routing"; - import { currentPageStore } from "$utils/stores"; + import { __currentPage } from "$utils/stores"; import { checkOldBookmarks } from "$utils/checkOldBookmarks"; // views @@ -37,7 +37,7 @@ -
+
diff --git a/src/components/morphology/MorphologyTable.svelte b/src/components/morphology/MorphologyTable.svelte index a01cec74..c066a04a 100644 --- a/src/components/morphology/MorphologyTable.svelte +++ b/src/components/morphology/MorphologyTable.svelte @@ -2,7 +2,7 @@ export let wordData, tableType; import { Link } from "svelte-routing"; - import { wordTypeStore } from "$utils/stores"; + import { __wordType } from "$utils/stores"; import { buttonElement } from "$utils/commonStyles"; const tableTitles = { @@ -43,7 +43,7 @@ {#each Array.from(Array(lastWordToLoad + 1).keys()).slice(1) as word} {word} - {wordData[word - 1].arabic} + {wordData[word - 1].arabic} {wordData[word - 1].translation} {wordData[word - 1].transliteration} {wordData[word - 1].key.split(":")[0]}:{wordData[word - 1].key.split(":")[1]} diff --git a/src/components/ui/BottomNavbar.svelte b/src/components/ui/BottomNavbar.svelte index 898e684e..17bf812f 100644 --- a/src/components/ui/BottomNavbar.svelte +++ b/src/components/ui/BottomNavbar.svelte @@ -1,7 +1,7 @@ -
-
+
+
- + Previous Chapter - @@ -51,13 +51,13 @@
@@ -69,7 +69,7 @@ - + Next Chapter diff --git a/src/components/ui/Drawer.svelte b/src/components/ui/Drawer.svelte index c8fc2592..c3b60508 100644 --- a/src/components/ui/Drawer.svelte +++ b/src/components/ui/Drawer.svelte @@ -1,5 +1,5 @@ -
+
Settings @@ -44,7 +44,7 @@
- updateSettings({ type: "websiteTheme", value: +event.target.value })} bind:value={$__websiteTheme} class="w-32 border border-gray-300 text-gray-900 rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-slate-700 dark:placeholder-gray-400 dark:text-slate-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"> {#each Object.entries(selectableThemes) as [id, theme]} {/each} @@ -57,9 +57,9 @@
- updateSettings({ type: "displayType", value: +event.target.selectedIndex + 1 })} class="w-32 border border-gray-300 text-gray-900 rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-slate-700 dark:placeholder-gray-400 dark:text-slate-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"> {#each Object.entries(displayOptions) as [id, displayOption]} - + {/each}
@@ -71,8 +71,8 @@
Word Translation -
@@ -84,8 +84,8 @@
Word Transliteration -
@@ -103,7 +103,7 @@
- updateSettings({ type: "wordType", value: +event.target.value })} bind:value={$__wordType} class="w-32 border border-gray-300 text-gray-900 rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-slate-700 dark:placeholder-gray-400 dark:text-slate-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"> {#each Object.entries(selectableFontTypes) as [id, font]} {/each} @@ -112,7 +112,7 @@

Multiple Quranic fonts to choose from depending on your Mushaf or region preference.

- {#if $wordTypeStore === 2} + {#if $__wordType === 2}

Note: The Uthmanic Hafs Mushaf font type is still under development and may contain errors and we are aware of them. In case you find any issues, please use a different font type.

{/if}
@@ -188,7 +188,7 @@
- updateSettings({ type: "wordTranslation", value: +event.target.value })} class="w-32 border border-gray-300 text-gray-900 rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-slate-700 dark:placeholder-gray-400 dark:text-slate-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"> {#each Object.entries(selectableWordTranslations) as [id, translation]} {/each} @@ -201,12 +201,12 @@
- +

Verse translations from multiple authors and languages.

- -
-
- {#each Object.entries(mostRead) as [id, item]} - -
- {quranMetaData[item.chapter].transliteration} ({item.verses}) -
{item.title}
-
- - {/each} +
+ +
+ +
+ {#each Object.entries(mostRead) as [id, item]} + +
+ {quranMetaData[item.chapter].transliteration} ({item.verses}) +
{item.title}
+
+ + {/each} +
diff --git a/src/components/ui/Navbar.svelte b/src/components/ui/Navbar.svelte index 2d24f46f..feb0a65a 100644 --- a/src/components/ui/Navbar.svelte +++ b/src/components/ui/Navbar.svelte @@ -1,7 +1,7 @@ -