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
a773da0a06
v0.7.3
2023-12-04 00:01:40 -03:00
7d2bdf8a6b
Fix auto-scroll in SurahStream.tsx (mobile / iOS)
2023-12-04 00:01:08 -03:00
f970cd9895
v0.7.2
2023-11-28 15:15:46 -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
ddce65ea84
Fix deadlock
2023-11-28 12:46:14 -03:00
57bf84c422
tasks: clean_css -> clean:css
2023-11-28 12:44:05 -03:00
7db3476239
Follow same pattern as other tasks
2023-11-27 18:18:10 -03:00
bf4b7484f9
Add lock to avoid builds running in parallel
...
When one build is running, we don't want a second one
to run as well as the two builds could step on each
other toes. This change adds a locking mechanism that
waits for the current build to finish before starting
the next build.
2023-11-27 18:16:03 -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
584f645ab9
v0.7.1
2023-11-20 16:20:11 -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
03ceabed10
v0.7.0
2023-11-12 19:34:50 -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
1e19e5e5ba
favicon.png has changed
2023-11-12 18:37:31 -03:00
085129ac64
Fix rubocop
2023-11-12 18:35:49 -03:00
aada5d7194
v0.6.2
2023-11-12 18:26:41 -03:00
54cb5fbfc3
Update favicon.png
2023-11-12 18:26:32 -03:00
cf60982baa
v0.6.1
2023-11-12 17:51:00 -03:00
20683481cd
Update quran.png
2023-11-12 17:50:51 -03:00
61fc900d80
v0.6.0
2023-11-12 17:10:07 -03:00
d0b046431d
Add opengraph support to /en/, /ar/
2023-11-12 17:09:57 -03:00
ea65f03dd8
v0.5.12
2023-11-12 12:54:18 -03:00
e358b65736
Add hover effect on SurahIndex.tsx
2023-11-12 12:54:02 -03:00
f391449789
v0.5.11
2023-11-07 02:00:33 -03:00
74eae72495
Replace filters/tidy.rb
with nanoc-tidy.rb (rubygem)
2023-11-07 01:59:45 -03:00
de67edadff
v0.5.10
2023-10-31 00:31:29 -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
9faf379a8e
v0.5.9
2023-10-30 05:03:43 -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
404a762e7f
v0.5.8
2023-10-30 03:23: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
b6b0e8bdc8
v0.5.7
2023-10-30 02:35:15 -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