Commit graph

1251 commits

Author SHA1 Message Date
549e7ef905 rubocop'ing 2023-03-11 14:31:44 -03:00
f691875012 Replace "File.read" with inline_json 2023-03-11 14:20:28 -03:00
d547c5420a Add '.css.webpackage' class to inline style 2023-03-11 14:20:18 -03:00
14e5c82be3 README: update 2023-03-11 11:46:29 -03:00
0acba1f49a License = GPL 2023-03-11 11:42:30 -03:00
Robert
e6393eda19
Merge pull request #103 from ReflectsLight/inline_css
Add "inline_css" helper method
2023-03-11 10:47:12 -03:00
07812ffdaa Add "inline_css" helper method 2023-03-11 10:45:12 -03:00
6d358653c7 v0.1.0 2023-03-11 09:39:41 -03:00
Robert
f75a1764d4
Merge pull request #100 from ReflectsLight/i18n
Add a simpler, more organized i18n.ts implementation
2023-03-11 09:35:29 -03:00
145d5a4399 Run rubocop -A 2023-03-11 09:31:37 -03:00
3bbe8cf165 Inline surahs.json, slugs.json, and i18n.json 2023-03-11 09:27:31 -03:00
ce2a5d68bf Fix bug: generate /en/1/index.html
id_redirect.rules didn't scope the rule by locale, and because
of that /ar/X/index.html was generated but not /en/X/index.html
2023-03-11 09:26:35 -03:00
4e383ec107 numberToDecimal -> formatNumber 2023-03-11 08:35:50 -03:00
914c918eaa Add a simpler, more organized i18n.ts implementation 2023-03-11 08:35:49 -03:00
Robert
2105531d9a
Merge pull request #102 from ReflectsLight/enable_strict
Turn on "strict" TypeScript flag
2023-03-11 08:19:39 -03:00
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