-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
255 lines (253 loc) · 12.1 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap" rel="stylesheet">
<metasss name="description" content="Modernized, sleek, and user friendly, Mecha is everything you could ask for! With a stable and open TOS, privacy policy and more. Mecha is all about user experience, and creating a better tomorrow. For you, your members, and your server.">
<meta name="theme-color" content="#ede0d4"/>
<link rel="apple-touch-icon" href="images/mechastatic.png">
<meta name="author" content="Mecha Bot">
<meta property="og:type" content="website">
<meta property="og:site_name" content="mechabot.tk">
<meta property="og:title" content="Mecha">
<meta property="og:description" content="Modernized, sleek, and user friendly, Mecha is everything you could ask for! With a stable and open TOS, privacy policy and more. Mecha is all about user experience, and creating a better tomorrow. For you, your members, and your server." property="og:description">
<meta property="og:image" content="https://i.imgur.com/HaTL8Sb.png">
<meta property="og:thumbnail" content="https://raw.githubusercontent.com/ksIsCute/web-assets/main/mechabanners.gif">
<meta name="theme-color" content="#003356"/>
<meta name="twitter:card" content="https://raw.githubusercontent.com/ksIsCute/web-assets/main/mechabanners.gif">
<meta name="twitter:site" content="@discord">
<meta name="twitter:creator" content="@DiscordMecha">
<meta content="#003356" data-react-helmet="true" name="theme-color" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Mecha</title>
<link rel="shortcut icon" href="https://i.imgur.com/DCHin6s.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
</head>
<body>
<div class="container">
<header class="d-flex flex-wrap justify-content-center py-3 mb-4 border-bottom">
<a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-dark text-decoration-none splashlogo">
<img src="images/mechastatic.png" width="40" height="32" alt="icon">
<use xlink:href="/"></use>
<span class="fs-4"> Mecha</span>
</a>
<ul class="nav nav-pills">
<li class="nav-item"><a href="/" class="nav-link active" aria-current="page">Home</a></li>
<li class="nav-item"><a href="pages/security/tos" class="nav-link">TOS</a></li>
<li class="nav-item"><a href="pages/developers" class="nav-link">Developers</a></li>
<li class="nav-item"><a href="pages/support" class="nav-link">Support</a></li>
<li class="nav-item"><a href="pages/invite" class="nav-link">Invite</a></li>
<li class="nav-item"><a href="pages/security/privacy" class="nav-link">Privacy Policy</a></li>
</ul>
</header>
</div>
<div id='splash'">
<div class="animate__animated animate__zoomIn">
<img alt='MechaLogo' class='slogo animate__animated animate__heartBeat animate__infinite' src='images/mechastatic.png'/>
<br></br>
<h1 id="time"></h1>
</div>
<script>
var x = document.getElementById("time");
var d = new Date();
var hr = d.getHours();
console.log(hr);
if (hr < 10) {
x.innerHTML = "Good Morning!"
} else if (hr > 16) {
x.innerHTML = "Good Evening!"
} else if (hr > 9) {
x.innerHTML = "Good Afternoon!"
}
</script>
<script>
setTimeout(() => {
document.getElementById('splash').classList.toggle('sfade');
}, 2000);
console.log("Fading splash");
setTimeout(() => {
var el = document.getElementById('splash');
console.log("Removing splash element");
el.remove();
}, 3000);
setTimeout(() => {
console.log("Scrolling disabled!");
TopScroll = window.pageYOffset || document.documentElement.scrollTop;
LeftScroll = window.pageXOffset || document.documentElement.scrollLeft;
window.onscroll = function() {
window.scrollTo(0, 0);
};
}, 100);
setTimeout(() => {
console.log("Scrolling enabled!")
window.onscroll = function() {};
}, 2500)
</script>
</div>
<h1 style="font-size: 100px; font-family:UniSans" class="animate__animated animate__pulse animate__infinite">MECHA</h1>
<h2 id="redefining" style="font-family:Lexend Deca"h2>
<script>
var e = document.getElementById('redefining');
const array = ["Redefining Moderation", "Redefining Modernity", "Redefining Commitment", "Redefining Creativity", "Redefining Customization", "Redefining Efficiency"];
var random = Math.floor(Math.random()*array.length);
e.innerHTML = array[random];
</script>
<h3 id="rm"></h3>
<script>
x = document.getElementById("rm");
x.innerHTML = "(Beta)";
</script>
<br></br>
<img src="images/HelpCommand.webp" width=400 height=300 alt="Custom help command example">
<p> Automated Help Commands </p>
<p style="font-size:10px">(Image is older and does not include the amount of commands that are in Mecha today)</p>
<img src="images/Crypto.webp" width=400 height=200 alt="Crypto command example">
<p>Crypto Commands!</p>
<p style=font-size:10px>(image above is not accurate to current price of Bitcoin / BTC as it is a dated photo)</p>
<img src="images/Dog.webp" id="img3" width=400 height=300 alt="Dog Command Example">
<p> Animal pictures and facts! </p>
<br></br>
<div id="cookie" class="modal-dialog" role="document" style="position: absolute;bottom: 0; left: 0;background:#002945">
<div class="modal-content rounded-6 shadow">
<div class="modal-header border-bottom-0">
<h5 class="modal-title" style="color:#000000">Yummy!</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" onclick="CookieRem()"></button>
</div>
<div class="modal-body py-0">
<p style="color:#000000">Do you like cookies? We sure do! Infact Mecha uses cookies to enhance your experience here!</p>
</div>
<div class="modal-footer flex-column border-top-0">
<button type="button" class="btn btn-lg btn-primary w-100 mx-0 mb-2" onclick="CookieRem()">Ok!</button>
</div>
</div>
</div>
<script>
function CookieRem() {
let el = document.getElementById('cookie')
el.remove()
}
</script>
<h1> Why Mecha? </h1>
<ul>
<h3>
<li>Sleek GUIs and easy to configure commands</li>
</h3>
<h3>
<li>Low latency and advanced moderation with easy to learn syntax</li>
</h3>
<h3>
<li>Mecha is in <i>BETA</i>, so expect some errors, bugs, and weird encounters, but also expect some <i>easter eggs!</i></li>
</h3>
<h3>
<li>Let your creativity unleash with Mechas endless options of customization, fitting for your server.</li>
</h3>
</ul>
<div class="display:flex">
<p><img src="https://dcbadge.vercel.app/api/shield/bot/930821149644963900?theme=discord&logoColor=red" alt="Mecha's status" width=208px height=31px></p>
</div>
<img style = "position:fixed;bottom:0;right:0" onclick="darkmode()" src="https://i.imgur.com/9bd5R6w.png" class=imgh alt = "Toggle dark mode" width=50px height=50px>
<h1>Discord Features:</h1>
<div class="wrapper">
<div class="counter col_fourth">
<img src="images/server.png" height=70 width=70 alt="Server Icon">
<h2>40</h2>
<p class="count-text ">Current servers!</p>
</div>
<div class="counter col_fourth">
<img src="images/user.png" height=70 width=70 alt="User icon">
<h2>8947</h2>
<p class="count-text ">Active users!</p>
</div>
<div class="counter col_fourth">
<img src="images/stopwatch.png" height=70 width=70 alt="Timer icon">
<h2>24/7</h2>
<p class="count-text ">We're online! All the time!</p>
</div>
<br></br>
</div>
<div class="btn-wrap">
<a class="btn" href="pages/invite">Invite V1.5.0!</a>
<a class="btn" href="pages/support" TOS>Mecha's Support Server!</a>
</div>
<p>(Support and invite lead to the Discord versions)</p>
<h1> Revolt Features:</h1>
<div class="wrapper">
<div class="counter col_fourth">
<img src="images/server.png" height=70 width=70 alt="Server Icon">
<h2>15</h2>
<p class="count-text ">servers currently</p>
</div>
<div class="counter col_fourth">
<img src="images/user.png" height=70 width=70 alt="User icon">
<h2>873</h2>
<p class="count-text ">Active users!</p>
</div>
<div class="counter col_fourth">
<img src="images/stopwatch.png" height=70 width=70 alt="Timer icon">
<h2>24/7</h2>
<p class="count-text">We're online!</p>
</div>
<a href="https://github.com/MechaCore" class="beeg">
<div class="counter col_fourth">
<img src="images/code.png" height=70 width=70 alt="Code Icon">
<h2>Open Source!</h2>
<p class="count-text">Mecha's Revolt bot is completely open source! Using a python wrapper for revolt named <a href="https://app.revolt.chat/invite/Db5wFse4">Voltage!</a></p>
</div>
</a>
<br></br>
</div>
<div class="btn-wrap">
<a class="btn" href="https://app.revolt.chat/bot/01FZB4GBHDVYY6KT8JH4RBX4KR">Invite v1.0.7!</a>
<a class="btn" href="https://app.revolt.chat/invite/PQdbCVys" TOS>Mecha's Server!</a>
</div>
<p>(Support and invite lead to the Revolt versions)</p>
<div class="container">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<div class="col-md-4 d-flex align-items-center">
<a href="/" class="mb-3 me-2 mb-md-0 text-muted text-decoration-none lh-1">
<svg class="bi" width="30" height="24">
<use xlink:href="/"></use>
</svg>
</a>
<span style="color:#fff">© 2022 | Mecha</span>
</div>
<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
<li class="ms-3"><a class="text-muted" href="https://github.com/ksIsCute/MechaBot"><img class="imgh" width="24" height="24" src="images/github.png" alt="github"></a></li>
<li class="ms-3"><a class="text-muted" href="twitter.com/@discordMecha"><img class="imgh" width="24" height="24" src="images/twitter.png" alt="twitter"></a></li>
<li class="ms-3"><a class="text-muted" href="https://discord.gg/sfdKY7ZufY"><img class="imgh" width="24" height="24" src="images/discord.png" alt="discord"></a></li>
</ul>
</footer>
</div>
</body>
<script>
const counters = document.querySelectorAll('.count');
const speed = 2000;
counters.forEach((counter) => {
const updateCount = () => {
const target = parseInt(counter.getAttribute('data-target'));
const count = parseInt(counter.innerText);
const increment = Math.trunc(target / speed);
if (count < target) {
counter.innerText = count + increment;
setTimeout(updateCount, 1);
} else {
counter.innerText = target;
}
};
updateCount();
});
window.onbeforeunload = function () {
window.scrollTo(0, 0);
}
function darkmode() {
var element = document.body;
element.classList.toggle("dark-mode");
}
</script>
</html>