Commit graph

682 commits

Author SHA1 Message Date
9627c60021 Add translatedBy to surahs.json 2024-05-19 20:22:14 -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
793954b0aa Fix prettier + eslint 2024-05-17 02:55: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
2367cc5792 Reduce max width (1024px -> 768px) 2024-05-16 11:12:10 -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
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
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
4f282e12f2 Fix format offenses 2024-05-02 10:46:40 -03:00
610297f60a Remove unused src/json/durations/ 2024-05-02 07:52:10 -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
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
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
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
644b19b8d4 Fix typo 2024-05-01 07:42:46 -03:00
7f9cc18961 Improve audio controls
This change builds on the previous commit. There is increased reliability,
and coverage of more scenarios involving audio.
2024-05-01 07:36:36 -03:00
9b69b6d43b Fix stream audio
The Sound(On|Off)Icon would turn off after the first track ends.
This happened thanks to code that handles audio tracks played for
a single ayah. We can identify the context where we don't want to
automatically disable via 'autoPlay'. Not a great fix but works.

We also top up the Timer count when sound is turned on. That helps
make sure the audio will finish before the timer.
2024-05-01 04:59:47 -03:00
3d78cd6fcf Update Timer.tsx 2024-05-01 04:36:20 -03:00
d3f075e98e Hoist 'audio' (HTMLAudioElement) into parent component
A new approach that gives the caller (parent) control over
the HTMLAudioElement. This will hopefully provide a framework
for a stable implementation that can handle multiple retries
over a slow network.
2024-05-01 03:47:09 -03:00
8890b67dbb Update /(en|ar)/index.html 2024-05-01 00:09:13 -03:00
f544be4144 Fix / improve render of meta tags (stream.html.erb) 2024-05-01 00:00:45 -03:00
6bec11a547 Add static JSON to .js files rather than .html files 2024-04-30 22:46:48 -03:00
e8347fa5a5 Add packages/typescript/Quran/ 2024-04-30 09:43:30 -03:00
9e6297f316 s/selected-option/selected/g 2024-04-30 01:46:22 -03:00
4f436062e5 Replace "ChangeEvent" 2024-04-30 01:38:23 -03:00
f59a971577 s/classnames/classNames/g 2024-04-30 01:28:38 -03:00
83e9021108 s/get/query/g 2024-04-30 01:26:53 -03:00
194d757ec3 Update Select.tsx 2024-04-30 01:25:12 -03:00
87a61cfe96 'npm run prettier' 2024-04-30 01:06:16 -03:00
8e7fc9d6d5 Fix eslint 2024-04-30 01:05:48 -03:00
0fb529a7bf Replace 'interface' with 'type' 2024-04-30 01:03:45 -03:00
c0712ac79c Add src/js/components/SurahIndex/ 2024-04-30 00:49:42 -03:00
0c05e5344c Move postman.scss to /css/vendor/postman.scss 2024-04-30 00:28:52 -03:00
8beaf71ac8 json: add parent directory (src/json/) 2024-04-30 00:11:00 -03:00
895135c4b7 Change priority (Between 0.8 <-> 1.0) 2024-04-29 23:56:04 -03:00
9b20c90e4c css: remove components/_Scrollbar.scss (unused) 2024-04-29 23:35:46 -03:00
5845f42454 css: s/icons/icon/g 2024-04-29 23:30:30 -03:00
7c05916998 css: add base/, main/ 2024-04-29 23:26:03 -03:00
28451d0ce4 Improve language dropdown
(SurahIndex|SurahStream).tsx
2024-04-29 20:46:43 -03:00
77c21511dc Assign div before if 2024-04-29 19:52:29 -03:00
05162ad888 Fix / improve Icon.tsx alignment 2024-04-29 19:32:30 -03:00
fe091ad202 Present ayat count on SurahIndex.tsx
Underneath the transliterated name, the ayat count is shown. Applies
to ltr languages (for now English only).
2024-04-29 13:03:12 -03:00
a55e6ba939 Update src/images/opengraph/ 2024-04-29 12:02:27 -03:00
1a199f1ffb Update src/images/opengraph/ 2024-04-29 11:46:56 -03:00
6ca99cf8d8 Merge branch 'main' into production 2024-04-29 11:43:20 -03:00
21d2e236b0 Update src/images/opengraph 2024-04-29 11:43:09 -03:00
54a266bb74 Merge branch 'main' into production 2024-04-29 11:36:32 -03:00
957124398c og:type = "article" 2024-04-29 11:36:26 -03:00
af70576394 Merge branch 'main' into production 2024-04-29 11:33:53 -03:00
e55c6835e9 Update src/images/opengraph 2024-04-29 11:33:38 -03:00
4100c91283 Merge branch 'main' into production 2024-04-22 01:05:14 -03:00
5bd669edf6 Remove stale reference to /favicon.svg 2024-04-22 01:03:23 -03:00
c0b9d9fc4a Apply color to ayah title 2024-04-22 01:01:47 -03:00
29d154c999 Merge branch 'main' into production 2024-03-25 04:59:24 -03:00
71d1029f85 Hide <RightArrow> for non-rtl locale 2024-03-25 04:58:51 -03:00
823fc6646a Merge branch 'main' into production 2024-03-25 02:08:07 -03:00
57e05b2cef Render AudioControl.tsx at end of stream 2024-03-25 02:06:59 -03:00
57d9ec91f1 Update SurahStream.{tsx,css}, SurahIndex.tsx 2024-03-25 02:03:25 -03:00
cfd59c97fa Add Head.tsx 2024-03-25 01:16:28 -03:00
b525108a56 Merge branch 'main' into production 2024-03-21 19:00:27 -03:00
ad5ab6c617 Update stream.html.erb 2024-03-21 18:00:08 -03:00
b3d0a8c6ad Merge branch 'main' into production 2024-03-16 21:38:09 -03:00
05ac909e80 Replace slugs.json with nameById.json 2024-03-16 21:31:06 -03:00
43bd4f1fc4 Update random.ts 2024-03-16 14:09:35 -03:00
ec5c463abe Store json in random.ts 2024-03-16 14:07:53 -03:00
6817f35e54 Replace src/js/lib/Locale.ts 2024-03-16 11:13:27 -03:00
168d86c01d Merge branch 'main' into production 2024-03-16 05:44:36 -03:00
25557888cd Add src/js/main/redirect.ts 2024-03-16 05:35:58 -03:00
047eac5b75 Add src/js/main/random.ts 2024-03-16 05:18:03 -03:00
60c8b9799b Add src/js/main/surah-stream.tsx 2024-03-16 04:56:56 -03:00
8dc06cd004 Add src/js/main/surah-index.tsx 2024-03-16 04:17:49 -03:00
c95da7197c Move top-level json files in src/ to src/json/ 2024-03-15 15:06:16 -03:00
7e04b66db3 Move favicon*.png to src/images/ 2024-03-15 15:06:16 -03:00
284c203489 src/time_slots/ has been replaced by src/durations/ 2024-03-15 15:06:16 -03:00
0cf95b6357 Merge branch 'main' into production 2024-03-15 14:11:37 -03:00
bb2d3549d3 Update src/images/opengraph/quran.png 2024-03-15 14:10:28 -03:00
fdc8de7cc6 Merge branch 'main' into production 2024-03-15 13:12:54 -03:00
7004918676 Update src/images/opengraph/ 2024-03-15 13:06:17 -03:00
b019b9a052 Merge branch 'main' into production 2024-03-12 12:35:57 -03:00
043523e48a Replace 'es-cookie' with 'document.cookie' 2024-03-12 12:34:18 -03:00
54d7e1e99e Merge branch 'main' into production 2024-03-10 08:55:03 -03:00
e2702ded25 Add src/favicon.ico 2024-03-10 08:54:42 -03:00
26a6a09cc0 Merge branch 'main' into production 2024-03-10 08:28:30 -03:00
60379b2de5 Rephrase meta descriptions 2024-03-10 08:27:48 -03:00
12c88fc358 Merge branch 'main' into production 2024-03-10 08:24:01 -03:00
abf06a13c0 Rephrase meta descriptions 2024-03-10 08:23:08 -03:00
a1f7ee3026 Set text-base on Timer.tsx 2024-02-29 14:52:09 -03:00
dd5d63d2b8 Merge branch 'main' into production 2024-02-29 13:40:34 -03:00
113c29439d Fix style / alignment issues 2024-02-29 13:39:22 -03:00
cca0fac05b Merge branch 'main' into production 2024-02-29 00:42:03 -03:00
05323a7ed0 Fix alignment of StalledIcon 2024-02-29 00:40:14 -03:00
73bf104dda Merge branch 'main' into production 2024-02-29 00:09:11 -03:00
1fb81c967b Hoist 'ms' 2024-02-29 00:07:27 -03:00
4696f5c724 Merge branch 'main' into production 2024-02-28 22:49:36 -03:00
ec0f7c480a Align items in footer 2024-02-28 22:45:51 -03:00
4b555a3141 Limit border-top to .surah-index 2024-02-28 21:27:27 -03:00
2123f27dae Remove font (Amiri Quran Regular) 2024-02-28 20:13:54 -03:00
0802c5340a Minor tweaks and improvements 2024-02-28 20:11:24 -03:00
b50192795d Rewrite SurahStream.tsx with tail.css 2024-02-28 19:41:48 -03:00
513fe07c8a Rewrite SurahIndex.tsx with tail.css 2024-02-28 19:41:48 -03:00
93e1898382 Merge branch 'main' into production 2024-02-26 19:19:25 -03:00
bda0c7dbcc Quote meta description within single quotes 2024-02-26 19:06:23 -03:00
f81da7f19a Merge branch 'main' into production 2024-02-26 18:50:47 -03:00
f09e76f26c Fix typo in stream.html.erb 2024-02-26 18:50:23 -03:00
6de0a931ad Merge branch 'main' into production 2024-02-26 18:14:50 -03:00
b784c2bb33 SEO: update meta descriptions. 2024-02-26 18:14:33 -03:00
0c7be46e8d Remove trailing newlines from src/favicon.svg 2024-02-26 17:44:59 -03:00
9846e37abb Merge branch 'main' into production 2024-02-26 17:21:02 -03:00
05f310c670 Update bin/build-favicons 2024-02-26 17:19:27 -03:00
fb9c7da188 Update bin/build-favicons 2024-02-26 16:29:41 -03:00
aecbb64817 Regen favicon-*.png 2024-02-25 22:28:05 -03:00
899c948d12 Regen src/favicon-*.png 2024-02-25 22:25:54 -03:00
84e43a1ba3 Fix transparency in favicon-*.png 2024-02-25 22:24:00 -03:00
78a045af58 Regen src/favicon*.png 2024-02-25 19:08:05 -03:00
7722f3672b Add favicon variants (in PNG format) 2024-02-25 16:19:51 -03:00
7f797ba706 Apply 60-30-10 to the 'green' theme
Add $primary-color, $secondary-color, $accent-color
2024-02-25 11:48:15 -03:00
81335ebeb2 Introduce $secondary-color ('blue' theme) 2024-02-25 11:13:24 -03:00
b2bcd644ff Hide SurahIndexFilter.tsx at low-resolution widths 2024-02-24 19:21:42 -03:00
573cb5ff4c overflow: 'visible' -> 'hidden' 2024-02-24 00:19:34 -03:00
58477688b0 Remove 'playing', 'stopped' CSS classes 2024-02-24 00:06:08 -03:00
c23cf266b9 Set scroll-y on demand (SurahStream.tsx) 2024-02-23 23:54:29 -03:00
e4a5754d79 Fix / improve scrollbars 2024-02-23 21:47:33 -03:00
3277fbd399 Show total number of ayah alongside the active ayah 2024-02-01 07:23:16 -03:00
6651577e86 Drop height (for iOS) 2024-01-31 07:06:17 -03:00
f7ead8b333 Drop height (iOS fix) 2024-01-31 07:03:58 -03:00
076870324d Fix arabic on iOS 2024-01-31 07:01:20 -03:00
f4b852d49e Improve SurahIndex.tsx on iOS 2024-01-31 06:53:35 -03:00
c212acf98f Merge branch 'main' into production 2024-01-30 19:08:53 -03:00
717e11944e Add filter to SurahIndex.tsx 2024-01-30 19:08:00 -03:00
e0cb55ebbb Merge branch 'main' into production 2024-01-05 05:27:48 -03:00
79af98b7b8 seo: update meta descriptions 2024-01-05 05:27:05 -03:00
b57125d8f5 Merge branch 'main' into production 2024-01-04 03:51:22 -03:00
f66e7de71d seo: improve Arabic, English meta descriptions 2024-01-04 03:50:29 -03:00
4140eb491b Merge branch 'main' into production 2024-01-04 00:02:13 -03:00
35bbb6bc39 bump font size (ar, footer) 2024-01-04 00:01:33 -03:00
e61ea49a67 Merge branch 'main' into production 2024-01-03 23:59:55 -03:00
36d84ba50c bump font-size to large (footer) 2024-01-03 23:59:30 -03:00
503be48359 Merge branch 'main' into production 2024-01-03 23:54:20 -03:00
f3f5234a34 Bump font-size to large (en locale) 2024-01-03 23:53:54 -03:00
177bce93cc Merge branch 'main' into production 2024-01-03 21:43:25 -03:00
69e321a238 seo: add new meta descriptions (english) 2024-01-03 21:07:49 -03:00
d0f46f8967 Merge branch 'main' into production 2024-01-03 20:41:50 -03:00
b2e460552d set /en/ as canonical on the root path 2024-01-03 20:40:49 -03:00
7d50c6aba1 Merge branch 'main' into production 2024-01-03 19:13:14 -03:00
4cd703052d Add $primary-color, $primary-dark-color ("blue" theme) 2024-01-03 19:10:15 -03:00
aef5ad40ee Merge branch 'main' into production 2024-01-03 15:57:13 -03:00
2ea3055305 seo-related changes 2024-01-03 15:55:21 -03:00
5f55d62ada Switch to an SVG favicon 2023-12-14 22:14:11 -03:00
5d90d9f64f Switch to an SVG favicon 2023-12-10 19:52:59 -03:00
fc25721e53 Adjust responsiveness on SurahStream.tsx 2023-12-04 09:08:23 -03:00
4c57ec4d80 Responsive improvements (on SurahStream) 2023-12-04 09:08:23 -03:00
acc049fb3d Adjust responsiveness on SurahStream.tsx 2023-12-04 09:07:05 -03:00
921453ea5a Responsive improvements (on SurahStream) 2023-12-04 08:48:23 -03:00
c943ace50b Fix language dropdown alignment on iOS 2023-12-04 07:57:56 -03:00
fadf792c3e Fix language dropdown alignment on iOS 2023-12-04 07:56:43 -03:00
c9e676a16a Reduce right offset on arabic layout 2023-12-04 07:43:51 -03:00
c25d3aedcb Remove dead CSS 2023-12-04 07:43:51 -03:00
7421f041e6 Avoid text jump when the stream is paused
When the scrollbar goes from display none to being visible, the
text beside it can jump in-place. This change avoids that by making
the scrollbar invisible.
2023-12-04 07:43:51 -03:00
a3a9f4abb5 Really fix auto-scroll on iOS 2023-12-04 07:43:51 -03:00
cbab7d1795 Reduce right offset on arabic layout 2023-12-04 07:43:15 -03:00
9f787c21bb Remove dead CSS 2023-12-04 07:26:00 -03:00
ac9992ece8 Avoid text jump when the stream is paused
When the scrollbar goes from display none to being visible, the
text beside it can jump in-place. This change avoids that by making
the scrollbar invisible.
2023-12-04 05:27:06 -03:00
446c4ed276 Really fix auto-scroll on iOS 2023-12-04 05:03:35 -03:00
6706f8a4a9 Remove scrollIntoView 2023-12-04 04:03:46 -03:00
74576b05aa Remove scrollIntoView 2023-12-04 03:57:27 -03:00
61c98d072f Remove deadcode 2023-12-04 02:08:30 -03:00
5264b846f6 fixup! Add "OFFSET" to Stream.tsx 2023-12-04 02:08:30 -03:00
01d7e4f6fb Add "OFFSET" to Stream.tsx 2023-12-04 02:08:30 -03:00
3acdaf8a2a Optimize memo of Stream.tsx
The Stream only has to re-render when 'stream.length' changes, but
could be re-rendered by a parent in scenarios where 'stream.length'
has not changed. This change optimizes that scenario by only
re-rendering the stream when 'stream.length' changes.
2023-12-04 02:08:30 -03:00
af92fafeb2 useRef / useMemo in Stream.tsx 2023-12-04 02:08:30 -03:00
e0ed29b812 scrollBy offsetHeight + scrollTop 2023-12-04 02:08:30 -03:00
454faac829 Fix auto-scroll in SurahStream.tsx (mobile / iOS) 2023-12-04 02:08:30 -03:00
9defa1bb47 Add /durations/
This change fixes SurahStream.tsx by hosting the durations for the
timer locally, within the app, rather than depending on
al-quran.reflectslight.io being accessible (eg when offline).
2023-12-04 02:08:30 -03:00
e72db010d7 Remove deadcode 2023-12-04 02:04:54 -03:00
8ae3585cbf Update quran.png 2023-12-04 02:03:29 -03:00
1e3922f140 Update quran.png 2023-12-04 02:03:29 -03:00
1d8f34b587 fixup! Add "OFFSET" to Stream.tsx 2023-12-04 02:03:29 -03:00
270e9a06ff Add "OFFSET" to Stream.tsx 2023-12-04 02:03:29 -03:00
46850a8cfb Optimize memo of Stream.tsx
The Stream only has to re-render when 'stream.length' changes, but
could be re-rendered by a parent in scenarios where 'stream.length'
has not changed. This change optimizes that scenario by only
re-rendering the stream when 'stream.length' changes.
2023-12-04 01:59:13 -03:00
1a7af1be2a useRef / useMemo in Stream.tsx 2023-12-04 01:36:58 -03:00
f2db229dd0 scrollBy offsetHeight + scrollTop 2023-12-04 00:39:20 -03:00
7d2bdf8a6b Fix auto-scroll in SurahStream.tsx (mobile / iOS) 2023-12-04 00:01:08 -03:00
89e4d50460 Add /durations/
This change fixes SurahStream.tsx by hosting the durations for the
timer locally, within the app, rather than depending on
al-quran.reflectslight.io being accessible (eg when offline).
2023-11-28 15:13:32 -03:00
df78d78455 Optimize height 2023-11-26 23:49:15 -03:00
adac9912b0 Misc UI / layout improvements
The Arabic layout is especially improved. The CSS still needs work,
I think the most tech debt is probably within the css.
2023-11-26 23:49:15 -03:00
47738b2937 Bump surah ID width to 45px
On the Surah Index page, in the "en" locale, there was not enough
space between a surah's ID and its name. This change fixes that.
2023-11-26 23:49:15 -03:00
eaa0113ad9 Optimize height 2023-11-26 23:45:12 -03:00
0f0d03fbd4 Misc UI / layout improvements
The Arabic layout is especially improved. The CSS still needs work,
I think the most tech debt is probably within the css.
2023-11-26 22:08:38 -03:00
ea23419aac Bump surah ID width to 45px
On the Surah Index page, in the "en" locale, there was not enough
space between a surah's ID and its name. This change fixes that.
2023-11-20 19:16:41 -03:00
2a1b296a6f Enable hover effect on devices with first-class hover support
On devices such as a phone, the hover effect will not be applied.
2023-11-20 16:20:53 -03:00
3b391131ff Remove height properties 2023-11-20 16:20:53 -03:00
a5ae22e16b Fix /ar/ alignment
align-items: center; appears to not have the desired effect, but
leaving it unset does. The en locale remains with align-items: center;
2023-11-20 16:20:53 -03:00
94619bab19 Enable hover effect on devices with first-class hover support
On devices such as a phone, the hover effect will not be applied.
2023-11-20 12:56:31 -03:00
c3b1d0be45 Remove height properties 2023-11-15 19:27:55 -03:00
1f0127192f Fix /ar/ alignment
align-items: center; appears to not have the desired effect, but
leaving it unset does. The en locale remains with align-items: center;
2023-11-12 19:33:56 -03:00
40746fe224 Update favicon.png 2023-11-12 18:34:48 -03:00
54cb5fbfc3 Update favicon.png 2023-11-12 18:26:32 -03:00
8c07d00930 Update quran.png 2023-11-12 17:51:24 -03:00
d384be27f3 Update quran.png 2023-11-12 17:51:24 -03:00
20683481cd Update quran.png 2023-11-12 17:50:51 -03:00
d0b046431d Add opengraph support to /en/, /ar/ 2023-11-12 17:09:57 -03:00
e358b65736 Add hover effect on SurahIndex.tsx 2023-11-12 12:54:02 -03:00
6c0819bfdd Improve language dropdown (take 2) 2023-10-30 06:55:24 -03:00
770c087868 Improve language dropdown 2023-10-30 06:28:21 -03:00
300188bbc4 Adjust "blue" theme 2023-10-30 06:10:51 -03:00
2496f2c309 Increase overall font-size for Arabic pages 2023-10-30 05:46:24 -03:00
2d24736614 Replace favicon.png 2023-10-30 05:03:30 -03:00
3afb9a0938 Replace favicon.png 2023-10-30 04:53:06 -03:00
5c629463dc Center <h1> content 2023-10-30 03:22:50 -03:00
7a943802ca Set height on ul.stream 2023-10-30 03:18:10 -03:00
864253c4b7 Add space between h1 and the content below it 2023-10-30 02:54:20 -03:00
714d2613d5 Further UI improvements 2023-10-30 02:34:35 -03:00
af0f1dd3fa Adjust header heights 2023-10-30 01:11:24 -03:00
aaea2cc7e6 Add custom scrollbar rules, improve CSS 2023-10-30 01:01:40 -03:00
48eda16678 Move /src/js/pages/* to /src/js/
And move `/src/css/pages/*` to `/src/css/`.
2023-10-29 20:24:26 -03:00
d381ec1522 Wrap theme / language dropdowns in a <nav> element. 2023-10-29 20:10:04 -03:00
43f7fc85c9 Add semantic-HTML improvements, CSS improvements 2023-10-29 20:03:16 -03:00
678aa186ea Increase retry frequency 2023-10-28 12:33:27 -03:00
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
a534e2eb79 CSS tweaks and fixes 2023-10-28 10:40:48 -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
c41a5cd2a7 Bug fixes 2023-10-28 07:47:27 -03:00
f720df5cda Localize random and redirect pages 2023-10-28 06:58:44 -03:00