Delete comms/index.html

This commit is contained in:
Voxel 2025-03-28 17:00:45 -04:00 committed by GitHub
parent ecbd08190c
commit 6f6c8f12b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,61 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>MilkNet | Comms</title>
<link rel="icon" type="image/png" href="/assets/img/milk.png"/>
<style>body{max-width:1000px;margin:auto;background-color:black;color:white;font-family:Arial;}a{color:#05d5ff}</style>
<style>
img {
display: block;
margin-left: auto;
margin-right: auto;
}
.center-text {
text-align: center;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function() {
let savedLink = localStorage.getItem("savedLink");
document.addEventListener("keydown", function(event) {
if (event.key === ",") {
if (!savedLink) {
savedLink = prompt("Escape to: https://YOURLINK.tld");
if (savedLink) {
localStorage.setItem("savedLink", savedLink);
}
} else {
window.open(savedLink, "_blank");
}
}
});
});
</script>
<script>
document.addEventListener('keydown', function(event) {
if (event.key === '.') {
document.title = "Student and Parent Sign In";
var link = document.querySelector("link[rel~='icon']");
if (!link) {
link = document.createElement('link');
link.rel = 'icon';
document.getElementsByTagName('head')[0].appendChild(link);
}
link.href = '/assets/img/new_favicon.ico';
}
});
</script>
</head>
<body>
<img src="/assets/img/milk_optimized.png" class="center">
<h1 class="center-text">MilkNet</h1>
<div class="center-text">
<p class="center-text">Chat | Choose:</p>
<a href="/chat">SchildiChat (Matrix hosted by whatware.net)</a><a href="/gamja">IRC (hosted by telepath.im)</a>
</div>
</body>
</html>
</head>