瀏覽代碼

made discord redirects look like docs redirects

Sven 3 年之前
父節點
當前提交
8c47f849cc
共有 3 個文件被更改,包括 49 次插入2 次删除
  1. 41 0
      discord/index.html
  2. 4 1
      discord/tos_summary.html
  3. 4 1
      discord/townly.html

+ 41 - 0
discord/index.html

@@ -0,0 +1,41 @@
+<!-- Direct copy of the file at ../discord.html, in case nginx redirects to this index file instead (because the "discord" folder exists now) -->
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="UTF-8">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <meta name="pagename" content="Sv443 Network Discord Server">
+        <meta name="application-name" content="Sv443 Network Discord Server">
+        <meta property="og:title" content="Sv443 Network Discord Server">
+        <meta name="description" content="Visit this website to join the official Sv443 Network Discord server.">
+        <meta name="twitter:card" content="Visit this website to join the official Sv443 Network Discord server.">
+        <meta property="og:description" content="Visit this website to join the official Sv443 Network Discord server.">
+
+        <meta name="HandheldFriendly" content="true">
+        <meta name="copyright" content="Sv443 Network">
+        <meta name="author" content="Sv443 Network ([email protected] - https://github.com/Sv443-Network)">
+        <meta property="og:url" content="https://sv443.net/">
+        <meta property="og:type" content="profile">
+
+        <meta property="og:image" content="https://sv443.net/resources/images/Sv443NetworkIcon.png">
+        <link rel="icon" href="https://sv443.net/resources/images/Sv443NetworkIcon.png">
+
+        <meta http-equiv="refresh" content="1; URL=https://discord.gg/aBH4uRG">
+
+        <title>Sv443 - Discord</title>
+
+        <link rel="stylesheet" href="https://sv443.net/css/redirect.css">
+
+        <script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
+        <script type="text/javascript" src="https://sv443.net/js/redirect.js"></script>
+    </head>
+    <body onload="otheronload(); redirect('https://discord.gg/aBH4uRG');">
+        <main>
+            <a href="https://discord.gg/aBH4uRG" target="_self">
+                <img id="logo" src="https://sv443.net/resources/images/Sv443NetworkIcon.png">
+            </a>
+            <h2>You are being redirected to Discord</h2>
+            <h3>If not, please <a href="https://discord.gg/aBH4uRG" target="_self">click here</a></h3>
+        </main>
+    </body>
+</html>

+ 4 - 1
discord/tos_summary.html

@@ -18,7 +18,7 @@
     <meta property="og:type" content="website">
 
     <meta property="og:image" content="https://sv443.net/resources/images/discord.png">
-    <link rel="icon" href=".https://sv443.net/resources/images/discord.png">
+    <link rel="icon" href="https://sv443.net/resources/images/discord.png">
 
     <meta http-equiv="refresh" content="1; URL=https://tosdr.org/en/service/536">
     <title>Discord ToS summary</title>
@@ -27,6 +27,9 @@
 </head>
 <body onload="otheronload(); redirect('https://tosdr.org/en/service/536');">
     <main>
+        <a href="https://tosdr.org/en/service/536" target="_self">
+            <img id="logo" src="https://sv443.net/resources/images/discord.png">
+        </a>
         <h2>You are being redirected to ToS;DR</h2>
         <h3>If not, please <a href="https://tosdr.org/en/service/536" target="_self">click here</a></h3>
 

+ 4 - 1
discord/townly.html

@@ -27,7 +27,10 @@
     </head>
     <body onload="otheronload(); redirect('https://discord.gg/yH2VWjpAEW');">
         <main>
-            <h2>You are being redirected to Discord...</h2>
+            <a href="https://discord.gg/yH2VWjpAEW" target="_self">
+                <img id="logo" src="https://sv443.net/resources/images/townly.png">
+            </a>
+            <h2>You are being redirected to Discord</h2>
             <h3>If not, please <a href="https://discord.gg/yH2VWjpAEW" target="_self">click here</a></h3>
         </main>
     </body>