renge/onlypain.icu: Remove

The redirection didn’t really work anymore and I no longer have to to
this stuff, so it doesn’t really serve a purpose.
nazuna
Simon Bruder 2022-09-07 18:20:56 +02:00
parent 5750bdaa06
commit 45cdf7695e
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
6 changed files with 0 additions and 107 deletions

View File

@ -18,7 +18,6 @@
./services/matrix
./services/murmur.nix
./services/nitter.nix
./services/onlypain.icu
./services/password-hash-self-service.nix
./services/prometheus.nix
./services/sbruder.xyz

View File

@ -1,21 +0,0 @@
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"onlypain.icu" = {
forceSSL = true;
enableACME = true;
root = ./.;
locations = {
"/imprint/".alias = "${pkgs.sbruder.imprint}/";
};
};
"www.onlypain.icu" = {
forceSSL = true;
enableACME = true;
globalRedirect = "onlypain.icu";
};
};
}

View File

@ -1,22 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>OnlyPain Deutsch-Abitur</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" rel="stylesheet">
</head>
<body>
<main>
<img id="logo" src="logo.svg">
<div id="countdown"><noscript>Der Countdown und die Weiterleitung benötigen JavaScript :(</noscript></div>
</main>
<footer>
<ul>
<li><a href="/imprint/">Impressum</a></li>
<li>Diese Website steht in keiner Verbindung zu OnlyFans, dem Bayerischen Staatsministerium für Unterricht und Kultus und/oder Pearson.</li>
</ul>
</footer>
<script src="script.js"></script>
</body>
</html>

Binary file not shown.

View File

@ -1,14 +0,0 @@
document.addEventListener("DOMContentLoaded", () => {
let countdown = 5
let el = document.querySelector("#countdown")
const loop = () => {
if (countdown == 0) {
document.location = "https://www.pearson.de/abiturpruefung-bayern-2022-deutsch-9783849052010"
}
el.innerHTML = countdown--
}
loop()
setInterval(loop, 1000)
})

View File

@ -1,46 +0,0 @@
body {
font-family: Roboto, sans-serif;
}
main {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#logo {
width: 80vw;
}
#countdown {
margin-top: 1em;
font-size: 24px;
font-style: bold;
text-align: center;
}
footer {
position: absolute;
bottom: 0px;
left: 0px;
right: 0px;
}
footer ul {
list-style: none;
text-align: center;
}
footer ul li {
display: inline;
}
footer ul li:not(:first-child)::before {
content: "· "
}