Commit graph

1230 commits

Author SHA1 Message Date
4a362b7db8 Reduce re-renders of SurahStream (SurahStream/index.tsx) 2024-05-24 14:02:02 -03:00
91216c6005 Try to fix CI 2024-05-20 00:05:32 -03:00
715adb8901 Trigger a production build on CI 2024-05-19 23:47:51 -03:00
ca1352b4e3 Update job name 2024-05-19 23:44:23 -03:00
ee7c5a1518 Update README 2024-05-19 23:36:41 -03:00
a89b6bcbde Update README 2024-05-19 23:35:43 -03:00
96bf486ad2 Add "rake ci" 2024-05-19 23:24:47 -03:00
ce3a3f9690 Update submodules/quran-json 2024-05-19 23:12:59 -03:00
d6c7d7d043 v0.8.2 2024-05-19 22:53:47 -03:00
bcf6e6d0e2 Update info.json (farsi) 2024-05-19 22:46:15 -03:00
6d60da78b1 Update farsi translation 2024-05-19 22:45:41 -03:00
8892444a79 Update submodules/quran-json/ 2024-05-19 22:45:16 -03:00
cfca6dc099 Update submodules/quran-json 2024-05-19 22:28:05 -03:00
5e202a01fd Close select after an option is clicked 2024-05-19 21:51:49 -03:00
488c13f45a v0.8.1 2024-05-19 21:42:14 -03:00
2ead06cf05 Adjust margin based on direction (rtl / ltr) 2024-05-19 20:53:47 -03:00
d7c140bca1 Add "jsondir" 2024-05-19 20:46:37 -03:00
716096e911 Try to improve ThemeSelect.tsx (mobile) 2024-05-19 20:37:56 -03:00
5acb5484df Add padding (mostly for mobile) 2024-05-19 20:35:16 -03:00
9627c60021 Add translatedBy to surahs.json 2024-05-19 20:22:14 -03:00
4d5ddcbfe0 Shorten opengraph description
Shorten the opengraph description to be just
the surah's name. The page's meta description
remains the same.
2024-05-19 18:01:16 -03:00
5bd0973b0d v0.8.0 2024-05-19 17:37:13 -03:00
32271ff792 v0.8.0beta 2024-05-19 17:31:44 -03:00
0ac9e415a6 Update Filter.tsx 2024-05-19 17:30:04 -03:00
e1249e7b81 Add Farsi support
This change is a big one. It adds Farsi support,
which by itself is significant. In the process of
adding Farsi support other significant improvements
were made:

* Select.tsx component
* TLocale (Quran/index.ts)
* ...
2024-05-19 16:51:37 -03:00
6bb59a776d Recover when deploy.rake doesn't exist 2024-05-17 03:02:13 -03:00
a955c15ca6 Update .github/ 2024-05-17 02:58:19 -03:00
793954b0aa Fix prettier + eslint 2024-05-17 02:55:11 -03:00
0fe927fd33 v0.7.27 2024-05-16 20:38:11 -03:00
d299621488 Add opengraph to root path
Default to the canonical (/en/) for the
title, description, and images.
2024-05-16 17:02:35 -03:00
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