BSOD
This commit is contained in:
parent
dec7cd7f41
commit
7d26156b9b
8 changed files with 142 additions and 1 deletions
BIN
public/assets/rickroll-blue.png
Normal file
BIN
public/assets/rickroll-blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 435 B |
BIN
public/assets/rickroll.png
Normal file
BIN
public/assets/rickroll.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 396 B |
53
public/css/bsod.css
Normal file
53
public/css/bsod.css
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: ms-segoeui;
|
||||||
|
src: url(/fonts/segoeui.ttf);
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
background-color: #0078d7;
|
||||||
|
color: #ffffff;
|
||||||
|
font-family: ms-segoeui;
|
||||||
|
|
||||||
|
a:link {
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
a:visited {
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #ffffff
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.frown {
|
||||||
|
font-size: 200px;
|
||||||
|
margin-left: 200px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-top: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtext1 {
|
||||||
|
font-size: 42px;
|
||||||
|
margin-left: 200px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-right: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.qr {
|
||||||
|
margin-left: 200px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-top: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.error-text {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-left: 10px;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
BIN
public/fonts/segoeui.ttf
Normal file
BIN
public/fonts/segoeui.ttf
Normal file
Binary file not shown.
|
@ -19,7 +19,7 @@ function redirect() {
|
||||||
navigator.userAgent
|
navigator.userAgent
|
||||||
);
|
);
|
||||||
let disclaimer = `<div class="web-disclaimer">`;
|
let disclaimer = `<div class="web-disclaimer">`;
|
||||||
if (chromium) window.location.replace("/nochrome");
|
if (chromium) window.location.replace("/bsod");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resizable textarea
|
// Resizable textarea
|
||||||
|
|
53
src/components/bsod-head.astro
Executable file
53
src/components/bsod-head.astro
Executable file
|
@ -0,0 +1,53 @@
|
||||||
|
---
|
||||||
|
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
title: string;
|
||||||
|
description: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
||||||
|
const page = Astro.url.pathname;
|
||||||
|
---
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/css/bsod.css" />
|
||||||
|
<link
|
||||||
|
rel="alternate"
|
||||||
|
type="application/rss+xml"
|
||||||
|
title="Oops!"
|
||||||
|
href={new URL("rss.xml", Astro.site)}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!-- Global Metadata -->
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
|
|
||||||
|
<!-- <link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />-->
|
||||||
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
|
||||||
|
<meta name="robots" content={"noindex, nofollow"} />
|
||||||
|
|
||||||
|
<!-- Canonical URL -->
|
||||||
|
<link rel="canonical" href={canonicalURL} />
|
||||||
|
|
||||||
|
<!-- Primary Meta Tags -->
|
||||||
|
<title>Oops!</title>
|
||||||
|
<meta name="title" content="Oops!" />
|
||||||
|
<meta name="description" content={SITE_DESCRIPTION} />
|
||||||
|
|
||||||
|
<!-- Open Graph / Facebook -->
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:url" content={Astro.url} />
|
||||||
|
<meta property="og:title" content="Oops!" />
|
||||||
|
<meta property="og:description" content={SITE_DESCRIPTION} />
|
||||||
|
<meta property="og:profile:gender" content="woman(ish)" />
|
||||||
|
|
||||||
|
<!-- Twitter -->
|
||||||
|
<meta property="twitter:card" content="summary_large_image" />
|
||||||
|
<meta property="twitter:url" content={Astro.url} />
|
||||||
|
<meta property="twitter:title" content="Oops!" />
|
||||||
|
<meta property="twitter:description" content={SITE_DESCRIPTION} />
|
||||||
|
|
||||||
|
<!-- Other -->
|
||||||
|
<meta content="she/they" property="pronouns" />
|
||||||
|
<link href="https://ouroboros.gay/@limepot" rel="me" />
|
13
src/layouts/bsod.astro
Executable file
13
src/layouts/bsod.astro
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
import Head from "../components/bsod-head.astro";
|
||||||
|
---
|
||||||
|
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<Head />
|
||||||
|
</head>
|
||||||
|
<body onload="onload()" id="body">
|
||||||
|
<slot />
|
||||||
|
</body>
|
||||||
|
</html>
|
22
src/pages/bsod.astro
Normal file
22
src/pages/bsod.astro
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
import Layout from "../layouts/bsod.astro";
|
||||||
|
---
|
||||||
|
<Layout>
|
||||||
|
<main>
|
||||||
|
<h1 class="frown">:(</h1>
|
||||||
|
<h2 class="subtext1">Your browser ran into a problem and needs to die. Please try a different browser that isn't Chrome, and try again later.</h2>
|
||||||
|
<br><br>
|
||||||
|
<h2 class="subtext1">100% Completely Shitty Browser</h2>
|
||||||
|
<div class="container">
|
||||||
|
<div class="qr">
|
||||||
|
<img src="/assets/rickroll-blue.png" height="142px">
|
||||||
|
</div>
|
||||||
|
<div class="error-text">
|
||||||
|
<br>
|
||||||
|
<p>For more information about this issue and possible fixes, visit <a href="/nochrome" style="color=#ffffff;">https://limepot.xyz/nochrome</a></p>
|
||||||
|
<p>If you contact me about this, please give me this error:</p>
|
||||||
|
<p>Stop Code: EW_CHROME_YUCK</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</Layout>
|
Loading…
Reference in a new issue