Commit graph

1058 commits

Author SHA1 Message Date
be79f36d2d update "package-lock.json" 2022-11-11 16:09:33 -03:00
Gyen Abubakar
eb724a14b4 redirect to Al-Kahf if today's Friday 2022-11-11 16:09:33 -03:00
Gyen Abubakar
5e2ab86e22 eslint & prettier setup 2022-11-11 16:09:33 -03:00
7c42805787 lib/filters/gzip.rb: compress fonts, images, and javascript 2022-11-11 07:47:57 -03:00
a0600fb49e deploy: minify JS assets on production 2022-11-10 19:03:51 -03:00
7c58d7c82e Rakefile: add "nanoc:clean" task 2022-11-08 07:52:05 -03:00
172f25bd62 src/: add src/js/lib/locales.ts 2022-11-08 07:41:43 -03:00
73fba8cf00 src/: set html "lang" attribute 2022-11-08 06:12:32 -03:00
cdd4ce61ed src/: replace location.href = '...' with location.replace('...') 2022-11-08 05:59:45 -03:00
94ec17940b src/css/: 'ltr' on select
we only have english theme names (for now) - rtl doesn't make sense.
2022-11-06 07:16:52 -03:00
92ad7af99b src/: s/leaf/moon/ 2022-11-06 07:13:00 -03:00
0254d444e9 src/: allow locale-specific styles 2022-11-06 07:11:27 -03:00
37a3706b04 eslint: fix 2022-11-06 06:57:36 -03:00
296aa9a165 src/: add src/js/pages/redirect-to-surah-slug.ts 2022-11-06 06:55:13 -03:00
e31fac44bb src/: add src/js/pages/redirect-to-random-surah.ts 2022-11-06 06:55:13 -03:00
520c141d56 rename src/html/ files
* `src/html/surah.html.erb` -> `src/html/TheSurahPage.html.erb`
* `src/html/random_redirect.html` -> `src/html/redirect-to-random-surah.html`
* `src/html/slug_redirect.html.erb` -> `src/html/redirect-to-surah-slug.html.erb`
2022-11-06 06:53:30 -03:00
2b5da497d0 Gemfile: update ryo.rb 2022-11-05 23:55:44 -03:00
817b1305ac Rules: update 2022-11-05 21:46:23 -03:00
c99982cb86 fix redirect in slug_redirect.html.erb 2022-11-05 21:46:23 -03:00
2926183932 move html & erb files to src/html/ 2022-11-05 21:46:23 -03:00
d00b8277a3 redirect from /<locale>/<surah-id>/ to /<locale>/<surah-slug>/
This change will trigger redirects from - for example, "/en/1/"
to "/en/al-fatihah".
2022-11-05 19:49:11 -03:00
c6d1f7cc11 add src/index.html 2022-11-04 00:36:16 -03:00
3bf2354243 add README.md 2022-11-03 19:13:11 -03:00
34c5ee2efe add 'rake server' task 2022-11-03 19:09:51 -03:00
359cba7c39 add Tasks::Deploy::Remote
add a task for deploying the website to a remote - using rsync.
2022-11-02 13:54:21 -03:00
77790d70f9 add 'rake build' task. 2022-11-02 07:33:58 -03:00
bc6f6f4617 improve layout on mobile 2022-11-02 07:26:58 -03:00
5abd0d00a6 disable strict null checks (for now) 2022-11-02 06:23:24 -03:00
c28e7497d4 fix a couple of 404s, and 'rake deploy:local' 2022-11-02 06:23:24 -03:00
fc070c01b8 Ruby: fix linter errors 2022-11-02 00:53:00 -03:00
93fc88e869 add github linter actions (Ruby / TypeScript) 2022-11-02 00:53:00 -03:00
1fc7e9833b Rakefile: add linter tasks 2022-11-02 00:53:00 -03:00
2eeeb439ec TypeScript: add ts-standard 2022-11-02 00:53:00 -03:00
36f21c8936 s/readingTime/readTimeMs/g 2022-11-01 23:28:03 -03:00
cbcb909ced Rules: fix comment 2022-11-01 22:37:25 -03:00
dfee1d25e2 s/surahByNum/surahId/g 2022-11-01 22:37:25 -03:00
1c59b46612 delete yarn.lock (use "npm" instead) 2022-11-01 22:37:25 -03:00
757b66f6f0 ThemeSelect.jsx: store theme choice in a cookie
Fix #1
2022-11-01 19:22:37 -03:00
e3c794448f src/surah.html: add title to page
Fix #4
2022-11-01 09:28:06 -03:00
93c8b110b8 themes/leaf.scss: bold, green font 2022-10-31 15:39:30 -03:00
071a4e9059 add ruby-related files 2022-10-31 15:36:25 -03:00
b60d2beff4 src/: add src/fonts, src/images 2022-10-31 15:36:18 -03:00
d948a12453 add nanoc-related files 2022-10-31 15:36:17 -03:00
8c4646ca5b src/: add src/css 2022-10-31 15:36:12 -03:00
b90a4b54fc add TypeScript / React related configuration files 2022-10-31 15:35:43 -03:00
cc4c4399c0 src/: add src/surah.html 2022-10-31 15:35:43 -03:00
efd2aeed23 TheSurahPage.tsx: place Timer below Stream 2022-10-31 15:35:43 -03:00
4c0077da57 Stream.tsx: fix auto-scroll 2022-10-31 15:35:43 -03:00
4dd2d20766 Surah.ts: add getters 2022-10-31 15:35:43 -03:00
f28725d0f3 src/js: extract surah id, and locale from location.pathname 2022-10-31 15:35:43 -03:00