Commit graph

653 commits

Author SHA1 Message Date
4850546eb1 Add 'Mixin' 2023-10-07 19:29:52 -03:00
600f5cb799 Add / to end of links on the surah index
There is now a nginx rewrite rule in place that will automatically
redirect to a path with a trailing /.
2023-10-06 00:06:25 -03:00
8715361f17 Fix syntax error in erb 2023-10-06 00:06:25 -03:00
a2fc33bb7c Remove redirect from /en/1/ to /en/al-fatihah/
Rather than redirect /en/1/ to /en/al-fatihah/, render the surah
stream instead. A canonical `link` tag is included for the benefit
of search engines to differentiate between duplicates.

Preference is given to /en/al-fatihah/ over /en/1/.
2023-10-06 00:06:25 -03:00
a6b55b64b7 Add context to surah index (index.html.erb) 2023-10-05 12:25:23 -03:00
251dde6080 Merge various locals into context (stream.html.erb) 2023-10-05 12:25:23 -03:00
84a84b9af2 Fix build 2023-10-05 02:46:00 -03:00
716600a512 Update .gitignore 2023-10-05 02:43:04 -03:00
dc23ed29bf Add opengraph
Fix #151
2023-10-05 02:36:47 -03:00
84c91974ed Fix 'refresh'
When the 'refresh' icon is clicked, we should reset 'endOfStream'
to false or the stream will stop playing after the first ayah.
2023-10-05 01:11:52 -03:00
461b3a0092 Remove Quran.Slice
Fix #147
2023-10-05 01:11:52 -03:00
226621b979 Swap the footer after the last ayah has finished playing
Rather than swapping the footer when the last ayah starts playing,
swap the footer when the last ayah stops playing.
2023-09-15 09:26:54 -03:00
68fe5162b2 Fix "rake server" 2023-07-27 11:34:15 -03:00
d5992fa4e9 Add tasks/nanoc.rake 2023-07-25 15:32:57 -03:00
f473aaf1ba v0.5.4 2023-07-25 14:39:38 -03:00
Robert
5dd81c4841
Merge pull request #145 from ReflectsLight/ar_layout
Improve Arabic layout
2023-07-25 14:38:43 -03:00
7ed8d1207c Remove unused font 2023-07-25 14:26:02 -03:00
300b59aa14 Improve layout on stream page (Arabic) 2023-07-25 14:26:02 -03:00
731e951f2e Fix layout on index page (Arabic) 2023-07-25 14:26:02 -03:00
e866daaeb3 Fix Github action (take two) 2023-07-25 14:25:26 -03:00
d5279d04db Fix GitHub linter action 2023-07-25 14:23:51 -03:00
dedef4a40e Update .husky/pre-commit
Avoid "git add ." - it can check in files you might not
intend to commit.
2023-07-25 14:20:44 -03:00
436d660112 rubocop: add linter.rake 2023-07-25 14:19:00 -03:00
e16f6b261f Ensure the timer never displays a number less than 0
This can sometimes happen on iOS (eg -0, -0.1)
2023-07-23 18:10:54 -03:00
23d0daa7df rm config/ (not used anymore) 2023-07-23 14:22:25 -03:00
Robert
45a40e609f
Merge pull request #144 from ReflectsLight/npm_audit
package: npm audit fix
2023-07-23 14:15:09 -03:00
31f87e8b31 package: npm audit fix 2023-07-23 14:10:29 -03:00
99d254c33d deploy: update error message 2023-07-23 14:01:24 -03:00
df6a250b97 tasks: rm tasks.lib/ (not used anymore) 2023-07-23 13:59:56 -03:00
bba9e32d9b tasks: rm cmd.rb (not used anymore) 2023-07-23 13:58:08 -03:00
3efe5cddd3 deploy: 'rake deploy' deploys to production
And remove unused tasks
2023-07-23 13:54:37 -03:00
3b0a0c08ab Move "lib/" to "nanoc/lib/" 2023-07-21 13:26:26 -03:00
ee6db22175 Prefer 'format' over String#% 2023-07-21 13:19:14 -03:00
1b793dedf0 v0.5.3 2023-07-21 12:31:18 -03:00
edf7fdbd92 Minify reciters.json 2023-07-21 12:30:47 -03:00
ecfa23ca42 v0.5.2 2023-07-21 11:55:53 -03:00
d65e7da5eb Apply ChatGPT suggestion. 2023-07-21 11:55:16 -03:00
04f2c04bc5 v0.5.1 2023-07-21 10:36:58 -03:00
Robert
fff80b8558
Merge pull request #143 from ReflectsLight/seo
Add meta description for search engines
2023-07-21 10:36:17 -03:00
51ca9c292c Add meta description for search engines 2023-07-21 10:27:17 -03:00
23d1eeca2b Add robots.txt 2023-07-17 16:48:12 -03:00
d30c9d1c3b v0.5.0 2023-07-17 09:24:27 -03:00
Robert
7cc2c7f73a
Merge pull request #141 from ReflectsLight/add_spinner
Add spinner
2023-07-17 09:23:39 -03:00
2bb64eb390 Add spinner
When the audio is stalled or "waiting", show an animation
that indicates the loading state.
2023-07-17 09:16:22 -03:00
dd6857af7f Avoid setting the same src 2023-07-17 09:14:10 -03:00
Robert
67d1181a9b
Merge pull request #142 from ReflectsLight/osx_rules_fix
Move "rules/" to "nanoc/rules/".
2023-07-17 08:02:56 -03:00
Gyen Abubakar Sadick
a3eecef285
Merge pull request #140 from ReflectsLight/gyen/setup-husky
Setup Husky
2023-07-17 10:39:01 +00:00
d62c12060e Move "rules/" to "nanoc/rules/". 2023-07-17 07:19:43 -03:00
6a14d5f8fd Replace useState (tid, setTid) with a local variable 2023-07-16 06:50:05 -03:00
Gyen Abubakar Sadick
356daf6de4 don't install husky in CI context 2023-07-16 07:37:08 +00:00