Commit graph

865 commits

Author SHA1 Message Date
4debbe218e Add 'url' to package.json 2023-10-13 00:37:16 -03:00
0927a76085 Add option to provide 'RequestInit' to items that use fetch 2023-10-08 06:31:29 -03:00
9415547461 Remove 'fetchOptions' 2023-10-08 06:31:29 -03:00
1d641e7c71 Re-organize project files
Attempt to simplify the layout of project files.
2023-10-08 06:31:29 -03:00
10931146bd Add absolute canonical / alternate links 2023-10-07 19:39:28 -03:00
7bae3dad82 README: update 2023-10-07 19:39:28 -03:00
6e1a7aec51 Add Nanoc::Filters::Tidy
Add a nanoc filter that runs HTML content through
[tidy-html](https://github.com/htacg/tidy-html5).

The content that is first run through ERB is often indented
incorrectly and inconsistently, and 'tidy' can fix that for us.
2023-10-07 19:29:52 -03:00
9ac57086a1 Run rubocop 2023-10-07 19:29:52 -03:00
5e8d099589 Close <meta> 2023-10-07 19:29:52 -03:00
b418b47685 Add 'memoize' 2023-10-07 19:29:52 -03:00
599f37d2fe Update t 2023-10-07 19:29:52 -03:00
88630bae1b 'erb' is relative to the html directory 2023-10-07 19:29:52 -03:00
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