Commit graph

481 commits

Author SHA1 Message Date
479106b13a Abide by 80col limit 2023-10-28 12:14:40 -03:00
b1d9be9806 Fix .husky/pre-commit 2023-10-28 11:19:41 -03:00
365c27d273 SurahStream: wrap content in <article> 2023-10-28 10:57:12 -03:00
f5488b578f Add <header> 2023-10-28 10:50:30 -03:00
94c1a06e0a Clear build/al-quran/css/ before every build
nanoc does not always detect changes to files in
the css directory.
2023-10-28 10:47:43 -03:00
a534e2eb79 CSS tweaks and fixes 2023-10-28 10:40:48 -03:00
e134aa83c2 v0.5.6 2023-10-28 09:53:54 -03:00
0c51b38079 Run eslint / prettier 2023-10-28 09:51:18 -03:00
3e703b6a3d Improve "Select a random chapter"
Add arrow, add <footer> to `SurahIndex`, and other
mprovements.
2023-10-28 09:50:13 -03:00
e798ba41ee Run pre-commit hook only when ts|tsx|js files have changed 2023-10-28 08:08:53 -03:00
c41a5cd2a7 Bug fixes 2023-10-28 07:47:27 -03:00
cfdd58661d Run tidy over random.html.erb, redirect.html.erb 2023-10-28 07:02:08 -03:00
f720df5cda Localize random and redirect pages 2023-10-28 06:58:44 -03:00
058fabd46b Run prettier / eslint 2023-10-28 06:09:16 -03:00
3682c4a3bd Fix alignment of items in footer 2023-10-28 06:08:37 -03:00
996325a13b Fix for Arabic layout 2023-10-26 09:48:22 -03:00
6f2e33366d Further UI improvements 2023-10-26 09:39:20 -03:00
820b0a4eb5 Tweak h1 2023-10-25 04:25:42 -03:00
0aedf7d359 Set role="banner" on <h1> 2023-10-25 03:55:33 -03:00
19d9dd2e53 Tweaks and fixes 2023-10-25 03:49:11 -03:00
3d69b44c1c Tweaks and fixes 2023-10-25 03:47:20 -03:00
3626eaa6de Run eslint / prettier 2023-10-25 03:14:28 -03:00
a3d9dd1446 Start transition to semantic HTML 2023-10-25 03:11:54 -03:00
b8af887718 opengraph: reduce border to 0.2px 2023-10-24 19:00:32 -03:00
7be7e74ebb Update opengraph images (x2) 2023-10-24 18:38:00 -03:00
cf8620e73b Update opengraph images 2023-10-24 16:31:17 -03:00
b238f361df Remove unneccesary unsets 2023-10-24 04:39:59 -03:00
56fe18ea95 Fix Icon (blue theme) 2023-10-24 04:35:38 -03:00
6768a6650b Fix icon 2023-10-24 04:31:26 -03:00
6179b8928c Replace $gold2 with $gold1 - 10% lighter than a gold-ish color. 2023-10-24 02:27:55 -03:00
e140d38931 Adjust $max-width 2023-10-24 02:19:37 -03:00
cb029d6b8a Increase $max-width 2023-10-24 02:11:24 -03:00
a83e8dd15f Further UI improvements 2023-10-24 02:01:06 -03:00
6515ee579f Blue theme is blended with gold more often (ar locale) 2023-10-24 01:54:44 -03:00
70e2e82753 Show surah name in blue (blue theme, ar locale) 2023-10-23 23:36:07 -03:00
7820d40d16 v0.5.5 2023-10-23 23:36:07 -03:00
28e7976d50 README: update 2023-10-23 23:36:07 -03:00
d64e9add78 Remove references to old svgs 2023-10-23 23:36:07 -03:00
6ac7c6ee04 Fix / improve layout of play / pause icon in footer 2023-10-23 22:35:20 -03:00
98f259fb22 Change language dropdown to be similar to the theme dropdown
Not yet perfect but a step in the right direction.
2023-10-23 22:35:20 -03:00
48329928e3 Update UI for surah's name (ar locale) 2023-10-23 18:58:55 -03:00
70d4bb424e Remove "invisible" class when theme changes 2023-10-23 15:00:43 -03:00
11bd1105fb Avoid re-render glitches
When changing between languages, the transition between pages can
cause UI glitches, where text could change font for a brief second.

The fix makes the main content invisible by default, and applies the
'invisible' class just before switching languages. After the main
content has rendered, the 'invisible' class is removed. These changes
effectively remove the UI glitches that were present when switching
languages.
2023-10-23 14:52:55 -03:00
764cf6709c Set selected language to $blue1 (blue theme) 2023-10-23 14:23:25 -03:00
c944c1afa7 Fix import path 2023-10-23 14:23:25 -03:00
d7cf081028 .stalled.icon is rendered outside .footer 2023-10-23 14:23:25 -03:00
16352bd37c Fix stalled icon within green theme 2023-10-23 14:23:25 -03:00
b1a8c053c5 Fix position of stalled icon 2023-10-23 14:23:25 -03:00
6eb62c7e5a Append / to redirect path 2023-10-23 14:23:25 -03:00
feae0ea6e6 Further UI improvements 2023-10-23 02:08:43 -03:00