Commit graph

859 commits

Author SHA1 Message Date
e4af56c162 Add Quran.Ayah 2023-03-12 11:20:10 -03:00
ad84105776 Add Quran.Surah.mapFromJSON 2023-03-11 18:52:47 -03:00
Robert
55a52a7e4f
Merge pull request #108 from ReflectsLight/seo_favicon
Add /favicon.png
2023-03-11 18:10:06 -03:00
a22be0413e Add /favicon.png
Enhances SEO and provides a familiar icon when used with bookmarks.
2023-03-11 18:03:38 -03:00
Robert
9e51676d2a
Merge pull request #104 from ReflectsLight/sitemap_xml
Add src/sitemap.xml.erb
2023-03-11 16:05:54 -03:00
c1d23f27c7 Re-implement id_redirect.ts without a JS redirect 2023-03-11 16:04:21 -03:00
3f3032dfcb Add canonical link tag to id_redirect.html.erb 2023-03-11 16:04:21 -03:00
1ab56c61bf Add src/sitemap.xml.erb 2023-03-11 16:04:21 -03:00
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