Skip to content

Commit

Permalink
Upload zip downloaded from mlum-website repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsMias authored Nov 26, 2024
0 parents commit 5eea8cd
Show file tree
Hide file tree
Showing 13 changed files with 150 additions and 0 deletions.
1 change: 1 addition & 0 deletions arrowdown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions arrowup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added background.webp
Binary file not shown.
Binary file added background2.webp
Binary file not shown.
Binary file added background3.webp
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>mlum</title>
<meta charset="utf-8">
<meta name="language" content="English">
<meta name="googlebot" content="index,archive,follow,noodp">
<meta name="robots" content="all,index,follow">
<meta name="Robots" content="All">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta property="og:site_name" content="mlum">
<meta property="author" content="mlum">
<meta property="og:image" content="https://mlum.io/image.png">
<meta property="og:locale" content="en_US">
<meta property="og:type" content="website">
<meta property="og:url" content="https://mlum.io">
<meta property="og:title" content="mlum">
<meta name="description" content="Welcome to the mlum website. We are a prison escape server hosted at Minehut - join at mlum.io or mlum.minehut.gg.">
<meta property="og:description" content="Welcome to the mlum website. We are a prison escape server hosted at Minehut - join at mlum.io or mlum.minehut.gg.">
<meta name="theme-color" content="#ff8800">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" type="image/png" href="favicon.png">
</head>
<body>
<section id="section1">
<div>
<img src="logo.webp" alt="mlum logo" height="256" width="256">
<h1>IP: mlum.io</h1>
<h3><a href="https://mlum.fandom.com">Wiki</a> - <a href="https://discord.gg/zPsUJJ2Nqp">Discord</a></h3>
<a href="#section2"><img src="arrowdown.svg" alt="Next slide" height="64" width="64"></a>
</div>
</section>
<section id="section2">
<div>
<h1>Information</h1>
<p>
mlum is an original prison escape server on Minecraft.<br>
Become a guard or riot against them, escape the prison and<br>
become a fugitive to unlock cool weapons or will you collect<br>
chocolate with the wide variety of jobs?
</p>
<a href="#section1"><img src="arrowup.svg" alt="Previous slide" height="64" width="64"></a>
<a href="#section3"><img src="arrowdown.svg" alt="Next slide" height="64" width="64"></a>
</div>
</section>
<section id="section3">
<div>
<h1>There are <span id="playerCount">0</span> players online.</h1>
<p>
Enter mlum.minehut.gg or mlum.io in your direct connect bar<br>
and press join server to start your prison adventure!
</p>
<a href="#section2"><img src="arrowup.svg" alt="Previous slide" height="64" width="64"></a>
</div>
</section>
<script src="main.js"></script>
</body>
</html>
Binary file added logo.webp
Binary file not shown.
7 changes: 7 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const data = async () => (await (await fetch('https://api.minehut.com/server/5a43d1ee1988867f8467f413')).json()).server;

(loop = async () => {
let currentData = await data();
document.getElementById('playerCount').innerText = currentData.playerCount;
setTimeout(loop, 10000);
})();
2 changes: 2 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Allow: /
80 changes: 80 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
html {
scroll-behavior: smooth;
}

body {
margin: 0;
overflow: overlay;
}

#players {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

#players > img {
margin: 12px;
height: 32px;
width: 32px;
}

a {
color: white;
text-decoration: none;
}

section {
position: absolute;
width: 100%;
height: 100vh;
}

#section1 {
background-image: url('background.webp');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
z-index: 2;
}

#section2 {
background-image: url('background2.webp');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
top: 100%;
z-index: 1;
}

#section3 {
background-image: url('background3.webp');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
top: 200%;
z-index: 0;
}

section > div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: #ffffff;
font-family: verdana;
}

::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-thumb {
background: #ffffff;
border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover {
background: #dddddd;
}

0 comments on commit 5eea8cd

Please sign in to comment.