-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (78 loc) · 3.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<noscript>
<h1 a>
PLEASE TURN ON JAVASCRIPT! IT IS REQUIRED TO WORK ON THIS SITE
</h1 a>
</noscript>
<head>
<title>
Ludos
</title>
<meta name="description" content="Ludos is a site designed for playing online HTML games in your browser!">
<meta name="keywords" content="ludos, html, browser, games, online, fun, 3kh0, mythicaltrashcan">
<meta name="author" content="Mythical Trashcan">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-adsense-account" content="ca-pub-1576606614118788">
<script type="text/javascript" src="./EaglerEmbed/embed.js"></script>
<link href="style.css" rel="stylesheet">
<script src="script.js"></script>
<link type="image/png" rel="shortcut icon" href="./favicons/ludos-favicon.png" />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1576606614118788"
crossorigin="anonymous"></script>
</head>
<body>
<h1 style="margin-bottom: 100px;">
Welcome to <img draggable="false" class="ludosLogo" src="./favicons/ludos.png" width="250" height="250">
</h1>
<h2 style="font-size: 40px;">
A site designed for playing online HTML games in your browser!
</h2>
<div>
<button class="main" onmouseover="randomTilt()" onclick="viewProjects()">View Projects</button>
</div>
<div>
<button class="legacy" onclick="openLegacyDesign()">Legacy Design</button>
</div>
<div class="navLinks">
<h2>
<a class="mirror" style="color: #e4cd4f;" onclick="selectMirror()">Mirror Sites</a>
<a class="revolt" style="color: #ff002b;" onclick="openRevolt()">Community Revolt</a>
<a class="revolt" style="color: #ff002b;" onclick="openRevite()">Revolt Copy</a>
<a class="github" style="color: #afafaf;" onclick="openGithub()">GitHub</a>
<a class="youtube" style="color: #df0000;" onclick="openYoutube()">YouTube</a>
<a class="about" style="color: #e68a00;" onclick="openAbout()">About Me!</a>
</h2>
</div>
<div id="embed"></div>
</script>
<table style="margin-top: 50px;">
<td class="footer">
<a>Made by</a>
<a href="https://github.com/MythicalTrashcan"><strong>Mythical Trashcan</strong></a>
<a>2022-2024</a>
</td>
</table>
</body>
<script>
function openRevite() {
const Revite = document.querySelector('revite');
window.open(localStorage.getItem("reviteLink"));
}
function openLegacyDesign() {
window.location.href = location.protocol + '//' + location.host.replace('www','legacy');
}
if (localStorage.getItem("assetsLink") === null) {
localStorage.setItem("assetsLink", location.protocol + '//' + location.host.replace('www','assets'));
}
if (localStorage.getItem("villadeLink") === null) {
localStorage.setItem("villadeLink", location.protocol + '//' + location.host.replace('www','villade'));
}
if (localStorage.getItem("reviteLink") === null) {
localStorage.setItem("reviteLink", location.protocol + '//' + location.host.replace('www','revite'));
}
if (localStorage.getItem("legacyLink") === null) {
localStorage.setItem("legacyLink", location.protocol + '//' + location.host.replace('www','legacy'));
}
</script>
</html>