Commit graph

900 commits

Author SHA1 Message Date
a966e8a8e2 Restructure info.json
The schema has been changed to be easily
interchangeable between different locales,
and these changes make it easier to adopt
Farsi support as well.
2024-05-16 16:17:12 -03:00
f56a3aee41 v0.7.26 2024-05-16 12:36:06 -03:00
2367cc5792 Reduce max width (1024px -> 768px) 2024-05-16 11:12:10 -03:00
976f716aec Apply readonly more broadly 2024-05-15 22:18:20 -03:00
dda1f9abfd Group Quran/src/index.ts 2024-05-15 22:09:48 -03:00
bbceeec340 Add jsdoc documentation 2024-05-15 21:56:21 -03:00
deae96fc4b Add Quran.locales 2024-05-15 21:51:04 -03:00
fcb7aa391a Add self-closing icon links 2024-05-15 01:30:16 -03:00
1b96c0bbec v0.7.25 2024-05-15 01:22:28 -03:00
eeaf48bca8 Add canonical and alternate link tags to all 'main' pages 2024-05-15 00:59:40 -03:00
fe32825e2b src/html/*.html.erb => src/html/main/*.html.erb 2024-05-15 00:35:45 -03:00
8d44281079 Run info.json through JSON.pretty_generate() 2024-05-14 23:18:20 -03:00
82cb7e81e0 Populate surah via info.json 2024-05-14 23:09:31 -03:00
5a59e999b3 Separate information about the surah from surah.json
The first element of the array from surah.json has been
moved into its own file (info.json).

Now we have:
* /json/en/1/surah.json (surah content)
* /json/en/1/info.json (info about the surah)
2024-05-14 23:09:13 -03:00
ea8fe925af s|ref|articleRef|g 2024-05-14 16:26:04 -03:00
2e6952eacc Add SurahStream/ 2024-05-14 16:07:57 -03:00
23de2a524d v0.7.24 2024-05-09 19:36:15 -03:00
dc9edbe047 Fix render of refresh icon
It didn't appear quite right with an explicit height of 16px
2024-05-09 19:35:37 -03:00
7908b7f2a3 Update nanoc/rules/ 2024-05-03 21:28:26 -03:00
1452119439 Fix nanoc/rules/ 2024-05-02 11:56:23 -03:00
f06432b2ae Update nanoc/rules/ 2024-05-02 11:29:46 -03:00
40e8753161 v0.7.23 2024-05-02 10:56:49 -03:00
55c116d59e Remove submodules.rake 2024-05-02 10:48:29 -03:00
4f282e12f2 Fix format offenses 2024-05-02 10:46:40 -03:00
9c7ca2e7cc Drop 'allowJs' from tsconfig.json 2024-05-02 10:30:45 -03:00
0a2c75ecb3 Update Rules 2024-05-02 10:26:25 -03:00
f5bbeede07 Move nanoc/ruledsl/ to nanoc/lib/nanoc/ruledsl/ 2024-05-02 10:21:11 -03:00
4ea80a9476 Add RequireRules docs 2024-05-02 10:18:21 -03:00
4824d3cada Add nanoc/ruledsl/require_rules.rb 2024-05-02 10:14:04 -03:00
c4593eac90 Add nanoc/ruledsl/filter.rb 2024-05-02 10:08:15 -03:00
8dd8373116 v0.7.22 2024-05-02 09:02:19 -03:00
ca391e7219 Remove unused dependencies 2024-05-02 08:34:35 -03:00
7a3a696072 Depend on rubygems.org for server.rb 2024-05-02 08:27:11 -03:00
fd9d0b6cd6 Remove unused file 2024-05-02 08:19:25 -03:00
3df1145388 README: trim trailing whitespace 2024-05-02 08:17:25 -03:00
d4f1772a15 README: update 2024-05-02 08:12:56 -03:00
a07a784f7a Add bin/setup 2024-05-02 08:04:35 -03:00
610297f60a Remove unused src/json/durations/ 2024-05-02 07:52:10 -03:00
867b3207a1 v0.7.21 2024-05-02 07:35:52 -03:00
d7cb6f62be images/opengraph/ -> images/og/
But most importantly, for src/og/0.png:

* resize to 512x512
* apply a white background
* similar to the format for og/1.png, og/2.png, etc
2024-05-02 07:32:11 -03:00
cc3b8f27a9 quran.png -> 0.png 2024-05-02 07:15:01 -03:00
4df978e688 Remove src/images/flags/ 2024-05-02 07:12:26 -03:00
e394b884bf v0.7.20 2024-05-02 05:33:05 -03:00
adfe95103e !0 evaluates as true, returning early for a case we didn't expect
The if guard in this commit is aimed at catching null / undefined.
2024-05-02 05:31:46 -03:00
1d06b50300 Handle 'ms' being null as "zero" in Timer 2024-05-01 12:40:02 -03:00
eedf2a9c8a Enable 'strictNullChecks' 2024-05-01 12:35:56 -03:00
3a9d5ee022 Forward VERSION to SurahIndex.tsx 2024-05-01 11:51:18 -03:00
24c3a68d09 v0.7.19 2024-05-01 11:36:37 -03:00
16f92008d6 Remove line-height from src/css/_base.scss 2024-05-01 11:09:00 -03:00
5cd3d013f2 Add 'ayat' (arabic) 2024-05-01 10:49:05 -03:00