From 5d90d9f64fb2773a15ad4d86a412d59d08bef926 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sun, 10 Dec 2023 19:52:59 -0300 Subject: [PATCH] Switch to an SVG favicon --- src/favicon.png | Bin 8097 -> 0 bytes src/{images/quran.svg => favicon.svg} | 2 +- src/html/index.html.erb | 2 +- src/html/random.html.erb | 1 + src/html/redirect.html.erb | 2 +- src/html/stream.html.erb | 2 +- 6 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 src/favicon.png rename src/{images/quran.svg => favicon.svg} (94%) diff --git a/src/favicon.png b/src/favicon.png deleted file mode 100644 index 2d3e6f779551143bd1f01c04f1a09ed23b076425..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8097 zcmZu$Ra6vAyx(Q%mQcF8L%NoRC0yy0kVd+tyJ11PyAhD?1_kL*iKSU2r5i5aeYj8e zOg_w+I`fM;|7fVXA`T`QCIA4yQC5=Ecxi+FE9j^%^`NBL_)CLouA(Rhc>XUHbeDet z0H}48<)pQ|bB=Po+$k2iM|-_ITZB@LZA-PC(st;6G3$n4F%97gau%X~$AS&{yyUPn zQ>2ZVfnsFzFhwyfa*B_k4ZNn#gKcB3sf^?M9=fx3_s2h1t|K`N{g-PPzC7k^xz+q> z_c}g)oXEYuhp#>2;L|I_k?@)iMZNleIwQRx2L}fONTo&7GH)_$#<5Q?C{Lugz9D7- z@B{!O^~na~0w}{~6(CB4U@^e#W8yR}L0u}U=Es+ct#tdAW^Vz2_H!UzKk3-lh}UNlX_69`7g07e3`zn5*RCy z`T%}snDs7UcM%^{BnPkrC;=+~L)TJ?CzpYS{`?(e2Huc$^Sr0Qa#_T<#V*A?d&v@o`9*q9|v7$Ar&C@US^uyR}=u|f-HF!h9L zw$d~qKyy$Q9~ol@g>%ZymI9GKcK3GyBtz zyEY`Udhf4}XzG`=uz;5X<^1yqInmL#*%-A9a7Y9>3eU{p8&5$RqU)mvR6zWtM)$X7 z457~eWEKm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^KcaHZ2xnQzy~TtNr4=8t%wG zH&aWA%Lbdzl% z+7+Xfgqm?>(dU|~@{Of@m%pP>C~H^5KZYmaPR)F)@ku9Wgz}-g;rVK6(8^W|k%u8VhR~_@Q zZJ)}K2hwj~U!0-O|2t|1a93=(v)^tPYU^`7#0P)*FOLeFnzPEhow`ms2?bs#4u3o3 zkPo?qvNC-{FN*Z&vP9*H`8 ZE^7;#? + diff --git a/src/html/index.html.erb b/src/html/index.html.erb index 742d49a..6a3765e 100644 --- a/src/html/index.html.erb +++ b/src/html/index.html.erb @@ -5,7 +5,7 @@ - + <%= inline_css('/css/postman.scss') %> <%= opengraph(context) %> diff --git a/src/html/random.html.erb b/src/html/random.html.erb index f728364..5fbfc86 100644 --- a/src/html/random.html.erb +++ b/src/html/random.html.erb @@ -2,6 +2,7 @@ <%= t(context.locale, "TheNobleQuran") %> + <%= inline_json("/slugs.json") %> diff --git a/src/html/redirect.html.erb b/src/html/redirect.html.erb index 8f0a377..65ed532 100644 --- a/src/html/redirect.html.erb +++ b/src/html/redirect.html.erb @@ -2,7 +2,7 @@ <%= t("en", "TheNobleQuran") %> - + diff --git a/src/html/stream.html.erb b/src/html/stream.html.erb index 16cfea2..abe30dd 100644 --- a/src/html/stream.html.erb +++ b/src/html/stream.html.erb @@ -19,8 +19,8 @@ href="https://al-quran.reflectslight.io/<%= locale %>/<%= context.surah.slug %>/" /> <% end %> + <%= opengraph(context) %> -