aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorrimthekid <farbod@nigge.rs>2021-12-06 23:25:57 +0400
committerrimthekid <farbod@nigge.rs>2021-12-06 23:25:57 +0400
commit1a724571f832b1dd9e28552c7fd4465b86d641cc (patch)
treee0960a321489d50a84292f6b6a2ed5ab6d45cc78 /src
parenttest kiri (diff)
parentCreate codeql-analysis.yml (diff)
downloadlibredirect-1a724571f832b1dd9e28552c7fd4465b86d641cc.zip
Merge branch 'master' of https://github.com/libredirect/libredirect
Diffstat (limited to '')
-rw-r--r--src/assets/images/libredirect.svg103
-rw-r--r--src/assets/javascripts/helpers/google-translate.js8
2 files changed, 110 insertions, 1 deletions
diff --git a/src/assets/images/libredirect.svg b/src/assets/images/libredirect.svg
new file mode 100644
index 00000000..0eb5909f
--- /dev/null
+++ b/src/assets/images/libredirect.svg
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ width="333.36893mm"
+ height="333.3689mm"
+ viewBox="0 0 333.36893 333.3689"
+ version="1.1"
+ id="svg5"
+ inkscape:export-filename="/home/parsarch/bitmap.png"
+ inkscape:export-xdpi="4.8200002"
+ inkscape:export-ydpi="4.8200002"
+ inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
+ sodipodi:docname="libredirect.svg"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <sodipodi:namedview
+ id="namedview7"
+ pagecolor="#272727"
+ bordercolor="#ffffff"
+ borderopacity="1"
+ inkscape:pageshadow="0"
+ inkscape:pageopacity="0"
+ inkscape:pagecheckerboard="false"
+ inkscape:document-units="mm"
+ showgrid="false"
+ inkscape:snap-bbox="true"
+ inkscape:bbox-paths="true"
+ inkscape:bbox-nodes="true"
+ inkscape:snap-bbox-edge-midpoints="true"
+ inkscape:snap-bbox-midpoints="true"
+ inkscape:snap-page="true"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ showborder="true"
+ inkscape:zoom="0.31892536"
+ inkscape:cx="-112.87907"
+ inkscape:cy="421.72876"
+ inkscape:window-width="1920"
+ inkscape:window-height="1080"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="layer2"
+ inkscape:snap-global="true"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:object-paths="true"
+ inkscape:snap-intersection-paths="true"
+ inkscape:snap-smooth-nodes="true" />
+ <defs
+ id="defs2" />
+ <g
+ inkscape:label="canvas"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-5.29776,-1.5258789e-5)"
+ sodipodi:insensitive="true">
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.29775;stop-color:#000000"
+ id="rect5300"
+ width="333.36893"
+ height="333.3689"
+ x="5.29776"
+ y="1.5258789e-05" />
+ </g>
+ <g
+ inkscape:groupmode="layer"
+ id="layer2"
+ inkscape:label="contents"
+ transform="translate(0,-1.5258789e-5)">
+ <rect
+ style="fill:#000000;fill-opacity:1;stroke-width:5.29904;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
+ id="rect15885"
+ width="333.36893"
+ height="333.3689"
+ x="0"
+ y="1.5258789e-05"
+ ry="0" />
+ <path
+ id="rect10261"
+ style="fill:#fbc118;fill-opacity:1;stroke-width:10.6446;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
+ d="m 166.68447,1.5258789e-5 c -3.52434,0 -7.04775,1.350880241211 -9.74829,4.051407541211 L 4.050805,156.93523 c -5.4010733,5.40105 -5.4010733,14.09797 0,19.49903 l 152.885375,152.8838 c 5.40106,5.40105 14.09676,5.40105 19.49783,0 l 152.88412,-152.8838 c 5.40106,-5.40106 5.40106,-14.09798 0,-19.49903 L 176.43401,4.0514228 C 173.73349,1.3508955 170.2088,1.5258789e-5 166.68447,1.5258789e-5 Z m 0,10.719943741211 c 3.2977,0 6.5954,1.263101 9.12228,3.78996 L 318.85962,157.56247 c 5.05373,5.05374 5.05373,13.1908 0,18.24454 L 175.80675,318.85957 c -5.05375,5.05374 -13.19085,5.05374 -18.24457,0 L 14.509325,175.80701 c -5.0537517,-5.05374 -5.0537517,-13.1908 0,-18.24454 L 157.56218,14.509919 c 2.52687,-2.526859 5.82459,-3.78996 9.12229,-3.78996 z" />
+ <rect
+ style="fill:#fbc117;fill-opacity:1;stroke-width:9.25578;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
+ id="rect8504"
+ width="211.97903"
+ height="211.97903"
+ x="-105.98952"
+ y="129.73819"
+ transform="matrix(0.70710753,-0.70710617,0.70710753,0.70710617,0,0)"
+ ry="11.988618" />
+ <path
+ style="fill:#000000;fill-opacity:1;stroke-width:11.7733;stroke-linejoin:bevel;paint-order:stroke markers fill;stop-color:#000000"
+ d="m 184.9484,150.31257 c -47.94368,20.63825 -46.95176,86.74351 -46.95176,86.74351 l -33.49195,2e-5 c 0,0 -0.43631,-96.71487 73.1579,-116.43438 -6.91258,-13.8541 -10.36137,-19.42664 -5.93301,-21.619621 5.93589,-2.939527 68.02199,11.715951 70.34687,20.392521 2.28516,8.52832 -46.82723,53.14308 -53.65602,53.14308 -5.85198,0 -4.22909,-7.02227 -3.47216,-22.22513 z"
+ id="path983"
+ sodipodi:nodetypes="ccccssscc" />
+ </g>
+</svg>
diff --git a/src/assets/javascripts/helpers/google-translate.js b/src/assets/javascripts/helpers/google-translate.js
index 98bd09d3..1fcd18b7 100644
--- a/src/assets/javascripts/helpers/google-translate.js
+++ b/src/assets/javascripts/helpers/google-translate.js
@@ -1,6 +1,12 @@
const targets = ["translate.google.com", "translate.google.no"];
-const redirects = ["https://translate.metalune.xyz"];
+const targets = [
+ "simplytranslate.org",
+ "st.alefvanoon.xyz",
+ "translate.josias.dev",
+ "translate.namazso.eu",
+ "translate.riverside.rocks",
+];
export default {
targets,