Commit graph

1240 commits

Author SHA1 Message Date
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
d04f8d01e3 Fix prop order in Stream
As a general rule the locale prop should come first
2024-05-01 09:40:27 -03:00
17dc9a8499 Fix prop order in Filter
As a general rule the 'locale' prop should come first
2024-05-01 09:37:21 -03:00
3fc4e47f9d Fix prop order in Timer 2024-05-01 09:36:28 -03:00
537cd3f780 Add 'onComplete' prop to Timer 2024-05-01 09:34:45 -03:00
ea496dfcc0 Swap arguments of 'formatNumber' 2024-05-01 09:12:48 -03:00
bbaf5f8161 v0.7.18 2024-05-01 08:35:22 -03:00
324c4a8c4b Adjust title (stream.html.erb) 2024-05-01 08:35:14 -03:00
7d0fa78efe Fix typo 2024-05-01 08:18:02 -03:00
2b7f4b2370 Adjust <title> (stream.html.erb) 2024-05-01 08:16:58 -03:00
d62e34dd3e Replace noise-y generic types 2024-05-01 08:07:00 -03:00