Kaynağa Gözat

Merge branch 'master' of https://github.com/Sv443-Network/sv443.net

Sven Fehler 3 yıl önce
ebeveyn
işleme
643ceaa12f
11 değiştirilmiş dosya ile 205 ekleme ve 45 silme
  1. 1 1
      LICENSE.txt
  2. 2 2
      README.md
  3. 19 4
      css/index.css
  4. 6 0
      css/redirect.css
  5. 34 28
      discord/index.html
  6. 4 1
      discord/tos_summary.html
  7. 4 1
      discord/townly.html
  8. 42 0
      docs/jokeapi.html
  9. 42 0
      docs/scl.html
  10. 42 0
      docs/teng.html
  11. 9 8
      index.html

+ 1 - 1
LICENSE.txt

@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2020 Sv443 Network
+Copyright (c) 2020-2021 Sv443 Network
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 2 - 2
README.md

@@ -1,2 +1,2 @@
-# sv443.net
-The homepage of the Sv443 Network
+# [sv443.net](https://sv443.net/)
+The homepage of the Sv443 Network, made by https://github.com/IllusionMan1212

+ 19 - 4
css/index.css

@@ -4,21 +4,32 @@
 .img-link {
     text-decoration: none;
     color: initial;
-    transition: transform 0.2s;
     cursor: pointer;
 }
 
-.img-link:hover {
+.img-link:not(.not-block) {
+    transition: transform 0.2s;
+}
+
+.img-link:not(.not-block):hover {
     transform: scale(1.1);
     transition: transform 0.5s;
-    color: initial;
-    text-decoration: initial;
 }
 
 .img-link:visited {
     color: initial;
 }
 
+.img-link > div.ilb {
+    display: inline-block;
+    transition: transform 0.2s;
+}
+
+.img-link > div.ilb:hover {
+    transform: scale(1.1);
+    transition: transform 0.5s;
+}
+
 p {
     word-wrap: break-word;
 }
@@ -198,6 +209,10 @@ main {
     margin: 0;
 }
 
+#kofi-img {
+    width: 250px;
+}
+
 img.circle {
     width: 65px;
     height: 65px;

+ 6 - 0
css/redirect.css

@@ -30,6 +30,12 @@ main {
     text-align: center;
 }
 
+img#logo {
+    display: block;
+    height: 250px;
+    margin-bottom: 25px;
+}
+
 h1 {
     margin: 26px 0;
 }

+ 34 - 28
discord/index.html

@@ -1,35 +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.">
+    <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 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 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>
-        <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>
+        <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>

+ 42 - 0
docs/jokeapi.html

@@ -0,0 +1,42 @@
+<!-- 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="JokeAPI - Documentation">
+        <meta name="application-name" content="JokeAPI - Documentation">
+        <meta property="og:title" content="JokeAPI - Documentation">
+        <meta name="description" content="JokeAPI is a REST API that serves uniformly and well formatted jokes in JSON, XML, YAML or plain text format that also offers a great variety of filtering methods.">
+        <meta name="twitter:card" content="JokeAPI is a REST API that serves uniformly and well formatted jokes in JSON, XML, YAML or plain text format that also offers a great variety of filtering methods.">
+        <meta property="og:description" content="JokeAPI is a REST API that serves uniformly and well formatted jokes in JSON, XML, YAML or plain text format that also offers a great variety of filtering methods.">
+
+        <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/jokeapi.png">
+        <link rel="icon" href="https://sv443.net/resources/images/jokeapi.png">
+
+        <meta http-equiv="refresh" content="1; URL=https://jokeapi.dev/">
+
+        <title>JokeAPI - Documentation</title>
+
+        <link rel="stylesheet" href="https://sv443.net/css/redirect.css">
+        <!-- <link rel="stylesheet" href="../css/redirect.css"> -->
+
+        <script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
+        <script src="https://sv443.net/js/redirect.js"></script>
+    </head>
+    <body onload="otheronload(); redirect('https://jokeapi.dev/');">
+        <main>
+            <a href="https://jokeapi.dev/" target="_self">
+                <img id="logo" src="https://sv443.net/resources/images/jokeapi.png">
+            </a>
+            <h2>You are being redirected to JokeAPI</h2>
+            <h3>If not, please <a href="https://jokeapi.dev/" target="_self">click here</a></h3>
+        </main>
+    </body>
+</html>

+ 42 - 0
docs/scl.html

@@ -0,0 +1,42 @@
+<!-- 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="SvCoreLib - Documentation">
+        <meta name="application-name" content="SvCoreLib - Documentation">
+        <meta property="og:title" content="SvCoreLib - Documentation">
+        <meta name="description" content="SvCoreLib is a core library used in almost all of the Sv443 Network's projects. Feel free to use it if you want to, it contains a lot of very useful features.">
+        <meta name="twitter:card" content="SvCoreLib is a core library used in almost all of the Sv443 Network's projects. Feel free to use it if you want to, it contains a lot of very useful features.">
+        <meta property="og:description" content="SvCoreLib is a core library used in almost all of the Sv443 Network's projects. Feel free to use it if you want to, it contains a lot of very useful features.">
+
+        <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/svcorelib.png">
+        <link rel="icon" href="https://sv443.net/resources/images/svcorelib.png">
+
+        <meta http-equiv="refresh" content="1; URL=https://github.com/Sv443-Network/SvCoreLib/blob/master/docs.md#readme">
+
+        <title>SvCoreLib - Documentation</title>
+
+        <link rel="stylesheet" href="https://sv443.net/css/redirect.css">
+        <!-- <link rel="stylesheet" href="../css/redirect.css"> -->
+
+        <script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
+        <script src="https://sv443.net/js/redirect.js"></script>
+    </head>
+    <body onload="otheronload(); redirect('https://github.com/Sv443-Network/SvCoreLib/blob/master/docs.md#readme');">
+        <main>
+            <a href="https://github.com/Sv443-Network/SvCoreLib/blob/master/docs.md#readme" target="_self">
+                <img id="logo" src="https://sv443.net/resources/images/svcorelib.png">
+            </a>
+            <h2>You are being redirected to SvCoreLib on GitHub</h2>
+            <h3>If not, please <a href="https://github.com/Sv443-Network/SvCoreLib/blob/master/docs.md#readme" target="_self">click here</a></h3>
+        </main>
+    </body>
+</html>

+ 42 - 0
docs/teng.html

@@ -0,0 +1,42 @@
+<!-- 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="Teng - Documentation">
+        <meta name="application-name" content="Teng - Documentation">
+        <meta property="og:title" content="Teng - Documentation">
+        <meta name="description" content="JokeAPI is a 2D command line game engine written in and for TypeScript.">
+        <meta name="twitter:card" content="JokeAPI is a 2D command line game engine written in and for TypeScript.">
+        <meta property="og:description" content="JokeAPI is a 2D command line game engine written in and for TypeScript.">
+
+        <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/townly.png">
+        <link rel="icon" href="https://sv443.net/resources/images/townly.png">
+
+        <meta http-equiv="refresh" content="1; URL=https://github.com/Sv443/Teng/blob/main/docs/home.md#readme">
+
+        <title>Teng - Documentation</title>
+
+        <link rel="stylesheet" href="https://sv443.net/css/redirect.css">
+        <!-- <link rel="stylesheet" href="../css/redirect.css"> -->
+
+        <script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
+        <script src="https://sv443.net/js/redirect.js"></script>
+    </head>
+    <body onload="otheronload(); redirect('https://github.com/Sv443/Teng/blob/main/docs/home.md#readme');">
+        <main>
+            <a href="https://github.com/Sv443/Teng/blob/main/docs/home.md#readme" target="_self">
+                <img id="logo" src="https://sv443.net/resources/images/townly.png">
+            </a>
+            <h2>You are being redirected to Teng on GitHub</h2>
+            <h3>If not, please <a href="https://github.com/Sv443/Teng/blob/main/docs/home.md#readme" target="_self">click here</a></h3>
+        </main>
+    </body>
+</html>

+ 9 - 8
index.html

@@ -27,10 +27,11 @@
     <link rel="stylesheet" href="./css/global.css">
     <link rel="stylesheet" href="./css/index.css">
     <title>Sv443 Network - Homepage</title>
+
     <script src="https://unpkg.com/phosphor-icons"></script>
     <script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
-    <script type="text/javascript" src="js/index.js"></script>
-        
+    <script src="js/index.js"></script>
+
     <link rel="apple-touch-icon" sizes="180x180" href="./resources/favicons/apple-touch-icon.png">
     <link rel="icon" type="image/png" sizes="32x32" href="./resources/favicons/favicon-32x32.png">
     <link rel="icon" type="image/png" sizes="194x194" href="./resources/favicons/favicon-194x194.png">
@@ -44,8 +45,6 @@
     <meta name="theme-color" content="#101747">
 </head>
 <body onload="indexonload();">
-    <!-- TODO: replace all webp images with png -->
-    <!-- TODO: make footer non-sticky -->
     <header>
         <div id="options">
             <div id="themebtn" onclick="theme.change()" title="Switch to dark theme">
@@ -64,10 +63,12 @@
                 <div id="logo"></div>
             </div>
             <div style="display: flex; flex-direction: column;">
-                <p>A small network offering free to use and open source applications and services</p>
-                <a href="./ko-fi" class="img-link" target="_blank"><div>
-                    <img style="max-width: 100%;" src="./resources/images/ko-fi_button.png" alt="Ko-fi button">
-                </div></a>
+                <p>A small network offering free to use and open source applications and services.</p>
+                <a href="./ko-fi" class="img-link not-block" target="_blank">
+                    <div class="ilb">
+                        <img id="kofi-img" style="max-width: 100%;" src="./resources/images/ko-fi_button.png" alt="Ko-fi button">
+                    </div>
+                </a>
             </div>
         </div>
         <div id="projects">