7722f3672b
Add favicon variants (in PNG format)
2024-02-25 16:19:51 -03:00
f4b852d49e
Improve SurahIndex.tsx on iOS
2024-01-31 06:53:35 -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
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
d0b046431d
Add opengraph support to /en/, /ar/
2023-11-12 17:09:57 -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
f720df5cda
Localize random and redirect pages
2023-10-28 06:58:44 -03:00
04fb949a28
Add AudioControl
2023-10-13 00:37:16 -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
5e8d099589
Close <meta>
2023-10-07 19:29:52 -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
dc23ed29bf
Add opengraph
...
Fix #151
2023-10-05 02:36:47 -03:00
51ca9c292c
Add meta description for search engines
2023-07-21 10:27:17 -03:00
7c8134cd05
Remove remnants of webpackage
2023-07-12 21:31:38 -03:00
5455881498
Add audio support
2023-07-12 17:20:32 -03:00
190c3bde1c
Set charset as UTF-8
2023-07-09 23:08:36 -03:00
4ac82bab1e
Add JS redirect to id_redirect.html.erb
...
Otherwise we can't forward the query string (eg ?ayah=X). We should
consider handling redirects like this with ".htaccess" in the future.
2023-03-17 00:17:00 -03:00
5f957af84c
Set document title at compile time
...
This change will hopefully make it easier for search engines to
pick up a page's title.
2023-03-12 11:23:48 -03:00
a22be0413e
Add /favicon.png
...
Enhances SEO and provides a familiar icon when used with bookmarks.
2023-03-11 18:03:38 -03:00
c1d23f27c7
Re-implement id_redirect.ts without a JS redirect
2023-03-11 16:04:21 -03:00
3f3032dfcb
Add canonical link tag to id_redirect.html.erb
2023-03-11 16:04:21 -03:00
f691875012
Replace "File.read" with inline_json
2023-03-11 14:20:28 -03:00
07812ffdaa
Add "inline_css" helper method
2023-03-11 10:45:12 -03:00
3bbe8cf165
Inline surahs.json, slugs.json, and i18n.json
2023-03-11 09:27:31 -03:00
914c918eaa
Add a simpler, more organized i18n.ts implementation
2023-03-11 08:35:49 -03:00
9fef5122eb
Add surah/id_redirect
2023-03-10 07:48:47 -03:00
2dfadcb937
Add surah/random
2023-03-10 07:39:03 -03:00
20b7420ac9
Replace TheSurahPage with surah/stream
2023-03-10 06:47:35 -03:00
eac53f8da1
Add surah/redirect
2023-03-10 06:13:49 -03:00
d8b63e4fd0
Replace TheSurahIndex with surah/index
2023-03-10 06:13:49 -03:00
c892d88e65
Redirect to the surah index from the root path
...
When a browser visits the root path (/) then redirect to
the surah index with the appropriate locale (eg /en/, /ar/).
2023-03-08 00:27:01 -03:00
0158b89f42
Add src/css/webpackage.scss
2023-03-06 17:31:36 -03:00
0073c76fbb
Add TheSurahIndex.tsx
...
TheSurahIndex.tsx provides a list of surahs (aka chapters) from
The Quran. Fix #2 .
2023-03-06 17:30:38 -03:00
78a0146cf9
Generalize the CSS
2023-02-28 05:03:09 -03:00
25e5703e1a
Add random redirect from the paths /en, and /ar
...
When the theme logo is clicked, the user will be redirected
to a random surah and the current active language will remain
the same.
2023-01-09 05:15:18 -03:00
8626dad6d9
Revise HTML markup, and stylesheets
...
* Remove the 'AboutSurah' component:
It is too simple to be worth being a component.
* Prefer long-form CSS syntax over SCSS indentation:
I think it is easier to read, although there's probably
still a soft spot to find between the two.
* Rename root class from 'surah' to 'root-box'.
* Rename / revise other CSS class names.
2022-12-30 08:39:59 -03:00
c928f56601
Fit content on 1368x768 device (follow up)
...
Follow up to 80881311badb47133cbcdf440ee0cf470efae6ae
2022-12-24 13:01:53 -03:00
8dc3b4d9dd
add "title" to redirect-to-random-surah.html.erb page.
2022-11-19 19:28:10 -03:00
8b01a5f575
redirect from index.html with one redirect rather than two.
...
Fix #41
2022-11-19 19:28:10 -03:00
616f5d6073
add "WebPackage"
...
The "WebPackage" object allows for scripts, stylesheets, fonts, images
and other webpage assets to be downloaded for the page's primary content
to use afterwards.
2022-11-18 17:09:32 -03:00
73fba8cf00
src/: set html "lang" attribute
2022-11-08 06:12:32 -03:00
296aa9a165
src/: add src/js/pages/redirect-to-surah-slug.ts
2022-11-06 06:55:13 -03:00