Commit graph

286 commits

Author SHA1 Message Date
e96795f077 await in async function 2023-03-11 08:11:52 -03:00
7b27a645ab Allow non-null assertions 2023-03-11 08:11:41 -03:00
1dedc03e54 Turn on strict mode in tsconfig.json 2023-03-11 08:04:18 -03:00
4d8a19cd95 React: add strict mode support 2023-03-11 08:04:06 -03:00
f1e1f69d56 WebPackage: add strict mode support 2023-03-11 08:03:02 -03:00
Robert
b124503196
Merge pull request #93 from ReflectsLight/read_random
Add link to /<locale>/random
2023-03-10 13:24:57 -03:00
667f63fa06 Add link to /<locale>/random
Fix #87
2023-03-10 13:13:21 -03:00
Robert
7e5d755b2c
Merge pull request #92 from ReflectsLight/iphone_fix
Hide surah.name.transliterated on iPhone
2023-03-10 12:28:54 -03:00
1a55879015 Hide surah.name.transliterated on iPhone
Fix #89
2023-03-10 12:04:33 -03:00
a58c94e782 rules/: update 2023-03-10 10:51:55 -03:00
a5cd792d71 rules/: update 2023-03-10 10:41:44 -03:00
b8ab4d2559 Remove src/css/fonts.scss
No need to declare the fonts in CSS.
Handled by loader.ts
2023-03-10 09:23:14 -03:00
ecd498942e Update .projectile 2023-03-10 09:21:54 -03:00
9203553cd9 rules/: update comments 2023-03-10 09:10:59 -03:00
Robert
4ed48dce75
Merge pull request #91 from ReflectsLight/one_tab
Open surah stream in the same tab
2023-03-10 08:57:27 -03:00
f6d061a93a Fix GitHub build 2023-03-10 08:55:39 -03:00
ce44f2e4d3 Open surah stream in the same tab 2023-03-10 08:52:53 -03:00
Robert
83776cde87
Merge pull request #90 from ReflectsLight/reorg_files
Reorganize file layout
2023-03-10 08:18:23 -03:00
8aaab06170 rules/: update comments 2023-03-10 08:16:41 -03:00
9fef5122eb Add surah/id_redirect 2023-03-10 07:48:47 -03:00
2dfadcb937 Add surah/random 2023-03-10 07:39:03 -03:00
20b7420ac9 Replace TheSurahPage with surah/stream 2023-03-10 06:47:35 -03:00
eac53f8da1 Add surah/redirect 2023-03-10 06:13:49 -03:00
bec0b99c0a Fix GitHub build 2023-03-10 06:13:49 -03:00
d8b63e4fd0 Replace TheSurahIndex with surah/index 2023-03-10 06:13:49 -03:00
6cedcd99fb README: update 2023-03-08 13:06:10 -03:00
Robert
58045bf406
Merge pull request #88 from ReflectsLight/minify_json
Add Nanoc::Filters::MinifyJSON
2023-03-08 12:55:10 -03:00
d9b5ce6a7d Add Nanoc::Filters::MinifyJSON 2023-03-08 12:52:41 -03:00
2e937c2a2a Fix TheSurahStream on low-height devices 2023-03-08 00:48:57 -03:00
Robert
414ef6f703
Merge pull request #86 from ReflectsLight/new_index
Redirect to the surah index from the root path
2023-03-08 00:31:25 -03:00
c892d88e65 Redirect to the surah index from the root path
When a browser visits the root path (/) then redirect to
the surah index with the appropriate locale (eg /en/, /ar/).
2023-03-08 00:27:01 -03:00
c3e84202a2 Apply kanit regular to transliterated name 2023-03-06 17:37:18 -03:00
Robert
0221d903c2
Merge pull request #84 from ReflectsLight/surahs_page
Add TheSurahIndex.tsx
2023-03-06 17:33:38 -03:00
3b9bd762f1 Replace surah.translatedName with surah.localizedName 2023-03-06 17:31:36 -03:00
0158b89f42 Add src/css/webpackage.scss 2023-03-06 17:31:36 -03:00
0073c76fbb Add TheSurahIndex.tsx
TheSurahIndex.tsx provides a list of surahs (aka chapters) from
The Quran. Fix #2.
2023-03-06 17:30:38 -03:00
f710d46ac8 Add .projectile 2023-03-01 22:04:50 -03:00
29bc167fa0 Split 'Rules' file across multiple files
This change will hopefuly make it easier  to scale the Rules file
over time. Rather than having one file with all rules, there are
multiple files that are categorized.

Ref #2
2023-03-01 22:04:50 -03:00
97f3add66a Remove unused imports 2023-02-28 19:19:48 -03:00
18d84fa90c Decouple LanguageSelect.tsx from TheSurahPage.
Ref #2
2023-02-28 19:19:48 -03:00
f62b3df8c5 linter: fix 2023-02-28 05:03:09 -03:00
941ba2b1e0 Replace custom i18n with toLocaleString
And remove IDObject. The ayah ID, and surah ID are now simple
integers.
2023-02-28 05:03:09 -03:00
481ff9274a Namespace classes, types, etc within "Quran" 2023-02-28 05:03:09 -03:00
51b7a523ce s/theme-and-language/dropdown-row/g 2023-02-28 05:03:09 -03:00
95be842bc4 Add src/css/layout.scss 2023-02-28 05:03:09 -03:00
78a0146cf9 Generalize the CSS 2023-02-28 05:03:09 -03:00
278292dc89 src/css/components/TheQuran/ -> src/css/components/TheSurahPage/ 2023-02-28 05:03:09 -03:00
438e327ea1 src/js/components/TheQuran -> src/js/components/TheSurahPage 2023-02-28 05:03:09 -03:00
50b7f8d0e3 Run rsync.sh 2023-02-23 23:33:07 -03:00
a5731df6bc README: update 2023-02-20 22:40:40 -03:00