LE-Website/content-expansion/index.html

177 lines
8.1 KiB
HTML
Raw Normal View History

2024-05-10 00:30:39 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Content Expansion</title>
<link rel="icon" type="image/png" href="media/Logo.png">
2024-05-10 00:30:39 +00:00
<link rel="stylesheet" href="media/style.css">
<link href="https://fonts.bunny.net/css?family=Space+Grotesk:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<meta content="Content-Expansion" property="og:title" />
<meta content="Content Warning, but sillier." property="og:description" />
2024-05-10 00:30:39 +00:00
<meta content="https://lethal-extended.com/content-expansion" property="og:url" />
<meta content="https://lethal-extended.com/content-expansion/media/projects/ContentExpansion.png" property="og:image" />
<meta content="#db5b04" data-react-helmet="true" name="theme-color" />
2024-05-10 00:30:39 +00:00
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<nav class="desktop_navbar">
<a href="index.html"><img class="desktop_navbar_logo_img" src="media/erik.png" width="96" height="64" alt="logo"></a>
<a href="https://merch.lethal-extended.com" class="desktop_navbar_link">Merch</a>
<a href="./aboutus.html" class="desktop_navbar_link">About Us</a>
<a href="./credits.html" class="desktop_navbar_link">Credits</a>
<a href="./projects.html" class="desktop_navbar_link">Projects</a>
<a href="https://spook.tube" class="desktop_navbar_link">SpookTube</a>
<a class="desktop_navbar_link scroll">Current Version: 0.1.0</a>
2024-05-10 00:30:39 +00:00
<div class="desktop_navbar_link2_div">
<a href="./branches.html" class="desktop_navbar_link2">Download</a>
</div>
</div>
</nav>
<div class="mobile_navbar">
<a href="#" class="mobile_navbar_logo_img_a"><img class="mobile_navbar_logo_img" src="media/erik.png" alt="logo"></a>
<div id="mobile_navbar_links">
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://ko-fi.com/pengucc">Donate</a>
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://merch.lethal-extended.com">Merch</a>
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./aboutus.html">About Us</a>
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./credits.html">Credits</a>
</div>
<div class="icon" onclick="mobile_navbar_link_hider()">
<i class="fa fa-bars"></i>
</div>
<script>
function mobile_navbar_link_hider() {
var x = document.getElementById("mobile_navbar_links");
if (x.style.display === "flex") {
x.style.display = "none";
} else {
x.style.display = "flex";
}
}
</script>
</div>
<div class="mainflex">
<div class="main1">
<a class="main1_logo_a" href="#">
<img class="main1_logo" src="media/Logo.png" height="412" alt="logo">
</a>
<a href="https://www.youtube.com/watch?v=WILz5FH7DWY"><img alt="website" src="https://cdn.galactiq.net/lethalextended/website/icons/trailer-compact.svg"></a>
2024-05-10 00:30:39 +00:00
<div class="main1_description">
<a>Content Warning,<br>but</a>
<a class="main1_actcent">better</a><a>.</a>
</div>
<title>Player Counts</title>
<style>
#player-count {
font-size: 2em;
color: #ebe3e3;
}
#loading {
display: none;
color: #777;
}
</style>
<div class="main1_actcent" id="player-count">Loading...</div>
<script>
const playerCountElement = document.getElementById('player-count');
const prometheusURL = 'http://5.161.51.188:9090/api/v1/query?query=active_users';
// Function to fetch player count from Prometheus
async function fetchPlayerCount() {
try {
const response = await fetch(prometheusURL);
const data = await response.json();
// Extract the player count from the response
if (data.status === 'success' && data.data.result.length > 0) {
const playerCount = data.data.result[0].value[1];
playerCountElement.textContent = `Current Player Count: ${playerCount}`;
} else {
playerCountElement.textContent = 'No data';
}
} catch (error) {
console.error('Error fetching player count:', error);
playerCountElement.textContent = 'Error fetching data';
} finally {
}
}
// Fetch player count every 15 seconds
setInterval(fetchPlayerCount, 5000);
// Initial fetch when the page loads
fetchPlayerCount();
</script>
<p></p>
2024-05-10 00:30:39 +00:00
<div class="main1_ipcopier_div">
<button class="main1_ipcopier" type="button">
<span class="main1_ipcopier_text1"></span>
<a class="main1_ipcopier_text1" href="https://discord.gg/BkmEarDQxq">Discord Server</a>
</button>
<button class="main1_ipcopier" type="button">
2024-07-06 06:28:49 +00:00
<a class="main1_ipcopier_text1" href="https://forms.gle/xg75cWRE8jyiZ6ak6">Team Application</a>
2024-05-10 00:30:39 +00:00
</button>
</div>
<a href="#more" class="scroll">
<img alt="downarrow" class="main1_downarrow" src="media/downarrow.png">
</a>
<script>
const scrollLinks = document.querySelectorAll('.scroll');
scrollLinks.forEach(function(link) {
link.addEventListener('click', function(event) {
event.preventDefault();
const target = document.querySelector(link.getAttribute('href'));
const offsetTop = target.offsetTop;
window.scrollTo({
top: offsetTop,
behavior: 'smooth'
});
});
});
</script>
</div>
<div id="more"></div>
<div class="main2">
2024-07-06 06:28:49 +00:00
<a class="headline">Features</a>
2024-05-10 00:30:39 +00:00
<div class="main2_features_div">
<div class="main2_feature">
<img class="main2_feature_img" alt="Feature Image" src="media/features/MaxWasUnavailable-Virality-1.3.0.png.128x128_q95.png">
<a class="main2_feature_headline">Bigger Lobby</a>
<a class="main2_feature_text">Make a party bigger than 4!</a>
</div>
<div class="main2_feature">
<img class="main2_feature_img" alt="Feature Image" src="media/features/ViViKo-MoreColors-1.5.0.png.128x128_q95.jpg">
<a class="main2_feature_headline">More Colors</a>
<a class="main2_feature_text">Style yourself!</a>
</div>
<div class="main2_feature">
<img class="main2_feature_img" alt="Feature Image" src="media/features/Playboi-HellDivers-1.0.0.png.128x128_q95.png">
<a class="main2_feature_headline">Rag Dolling</a>
<a class="main2_feature_text">Fall on command!</a>
</div>
<div class="main2_feature">
<img class="main2_feature_img" alt="Feature Image" src="media/features/Clementinise-DeathStatus-1.1.0.png.128x128_q95.png">
<a class="main2_feature_headline">Death Status</a>
<a class="main2_feature_text">Know when your teammates are dead!</a>
</div>
<div class="main2_feature">
<img class="main2_feature_img" alt="Feature Image" src="media/features/more.png">
2024-05-10 00:30:39 +00:00
<a class="main2_feature_headline">More</a>
<a class="main2_feature_text">So many more mods (Check Credits for a full list)</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>