Commit graph

619 commits

Author SHA1 Message Date
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
2df40785db README: update 2023-02-20 21:26:59 -03:00
1d905691b5 Switch to 0BSD license 2023-02-20 21:06:23 -03:00
cc1791c836 Add .editorconfig
Fix #19
2023-02-20 20:56:37 -03:00
42d803e411 Create logs, and destination directories on deploy 2023-02-14 18:09:41 -03:00
13234d34d1 Set background color of .box-shape to $gold
This was overlooked when renaming .container.shape to .box-shape
2023-01-13 12:37:55 -03:00
7af6147172 Replace Ayah[] with Ayat type (LanguageSelect.tsx) 2023-01-12 21:51:52 -03:00
7945a1667a Add slice support to the LanguageSelect component 2023-01-12 21:51:52 -03:00
c911322429 Change base width to 470px
And when the vertical scroll bar is present, reduce the width
of a paragraph to 98% of 470px.
2023-01-12 21:51:52 -03:00
13789768a1 Add ability to pause, and resume the stream
This change allows the stream to be paused, and
resumed on-demand.
2023-01-12 21:51:52 -03:00
44fdb443f8 Enable eslint rule "object-curly-spacing" 2023-01-09 07:03:05 -03:00
25e5703e1a Add random redirect from the paths /en, and /ar
When the theme logo is clicked, the user will be redirected
to a random surah and the current active language will remain
the same.
2023-01-09 05:15:18 -03:00
2c81c044f6 Upgrade to nanoc-webpack.rb v0.1.5 2023-01-08 06:23:05 -03:00
a5e69e6c23 Fix bug when "slice.coversOneAyah"
I discovered a bug where when the "ayah" parameter is set to a single
ayah, and the end of the surah is reached - the "endOfStream" variable
would continue to return false. This would lead to an error in the Timer
component where "ayah" would be accessed as an undefined value.
2023-01-06 21:14:41 -03:00
bc0078f5d4 Fix: remove 'slice' prop from Timer 2023-01-05 19:31:32 -03:00
5376b632dd mv lib/slice.ts lib/Quran/slice.ts 2023-01-05 19:31:32 -03:00
affa6bee33 Change GitHub build name 2023-01-05 19:31:32 -03:00
88ca256355 Remove "ayah" prop from Timer component 2023-01-05 19:31:32 -03:00