-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (114 loc) · 2.98 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ReinServer</title>
<link rel="icon" href="https://reinserver.com/reinserver.ico" type="image/x-icon">
<style>
body {
font-family: Helvetica, sans-serif;
text-align: center;
background-color: black;
color: white;
line-height: 1.2;
}
.big-text {
font-size: 100px;
font-weight: bold;
margin-top: 50px;
}
.med-text {
font-size: 30px;
font-weight: bold;
margin-top: 50px;
}
@media (max-width: 600px) {
.big-text {
font-size: 50px; /* Reduced font size for mobile */
}
}
.red-text {
color: red;
}
.green-text {
color: rgb(0,255,0);
}
.button {
display: inline-block;
padding: 10px 20px;
background-color: black;
color: white;
border: 2px solid white;
cursor: pointer;
text-decoration: none;
margin-top: 10px;
width: 200px;
}
</style>
</head>
<body>
<div class="big-text">Welcome to ReinServer</div>
<br>
<br>
<p>hi, i'm rein.</p>
<br>
<p>i host dedicated servers for my friends to play on.</p>
<br>
<p>if you're one of my friends, feel free to join.</p>
<br>
<div class="med-text">servers:</div>
<button class="button" onclick="goToServersPage()">ReinServers</button>
<br>
<button class="button" onclick="goToStatusPage()">status page</button>
<br>
<button class="button" onclick="goToRulesPage()">server rules</button>
<br>
<button class="button" onclick="goToDownloadsPage()">world downloads</button>
<br>
<br>
<div class="med-text">help ReinServer:</div>
<button class="button" onclick="goToStorePage()">store</button>
<br>
<br>
<div class="med-text">support:</div>
<button class="button" onclick="goToSupportPage()">knowledge base</button>
<br>
<button class="button" onclick="joinDiscord()">discord</button>
<br>
<br>
<script>
function goToServersPage() {
window.location.href = 'https://reinserver.com/servers';
}
function goToStatusPage() {
window.location.href = 'https://reinserver.instatus.com';
}
function goToSupportPage() {
window.location.href = 'https://reinserver.com/support';
}
function goToDownloadsPage() {
window.location.href = 'https://reinserver.com/downloads';
}
function goToDowntimesPage() {
window.location.href = 'https://reinserver.com/downtimes';
}
function goToRulesPage() {
window.location.href = 'https://reinserver.com/rules';
}
function goToStorePage() {
window.location.href = 'https://reinserver.tebex.io';
}
function joinDiscord() {
window.location.href = 'https://discord.gg/pSZrne8szT';
}
console.log("Bored in school?");
console.log("Play ReinServer.");
console.log("[rs]");
if (window.location.protocol === 'http:') {
// Redirect to HTTPS
window.location.href = 'https://reinserver.com';
}
</script>
</body>
</html>