too late to deal with zola on my pi

This commit is contained in:
missing 2022-07-27 00:23:21 -07:00
parent 26a2a6603b
commit 86a3e9c5ab
14 changed files with 289 additions and 0 deletions

25
public/404.html Normal file
View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
404 Page missing
</title>
<link rel="icon" type="image/x-icon" href='https://missingpiece.dev/favicon.ico'>
<link rel="stylesheet" href='https://missingpiece.dev/css/index.css'>
</head>
<body>
<h1 id="uh-oh">Uh oh!</h1>
<p>Looks like the page you're looking for is <em>missing</em>. Get the joke? Haha, I'm so funny.</p>
<p>Anyway, <a href="/">here</a>'s a link back to the homepage.</p>
</body>
</html>

43
public/404/404/index.html Normal file
View file

@ -0,0 +1,43 @@
<html>
<head>
<title>Zola</title>
</head>
<body>
<div class="container">
<h1>Welcome to Zola!</h1>
<p>
You're seeing this page because we couldn't find a template to render.
</p>
<p>
To modify this page, create a <b>page.html</b> file in the templates directory or
<a href="https://www.getzola.org/documentation/themes/installing-and-using-themes/" target="_blank">install a theme</a>.
<br>
You can find what variables are available in this template in the <a href="https:&#x2F;&#x2F;www.getzola.org&#x2F;documentation&#x2F;templates&#x2F;pages-sections&#x2F;#page-variables" target="_blank">documentation</a>.
</p>
</div>
<footer>
<a href="https://www.getzola.org/documentation/getting-started/cli-usage/" target="_blank">Get started with Zola</a>
</footer>
<style>
html {
line-height: 1.5;
}
h1 {
margin-bottom: 2rem;
}
.container {
font-family: "sans-serif";
text-align: center;
margin-top: 20vh;
padding: 2rem;
background: #e9e9e9;
}
footer {
position: fixed;
width: 100%;
bottom: 1rem;
text-align: center;
}
</style>
</body>
</html>

BIN
public/FiraCode-VF.ttf Normal file

Binary file not shown.

BIN
public/SFPro-Bold.otf Normal file

Binary file not shown.

Binary file not shown.

BIN
public/SFPro-Italic.otf Normal file

Binary file not shown.

BIN
public/SFPro-Regular.otf Normal file

Binary file not shown.

112
public/css/index.css Normal file
View file

@ -0,0 +1,112 @@
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
font: inherit;
}
@font-face {
font-family: "Fira Code";
src: local("Fira Code"), url("/FiraCode-VF.ttf");
}
@font-face {
font-family: "SF Pro";
src: url("/SFPro-Regular.otf");
}
@font-face {
font-family: "SF Pro";
src: url("/SFPro-Bold.otf");
font-weight: bold;
}
@font-face {
font-family: "SF Pro";
src: url("/SFPro-Italic.otf");
font-style: italic;
}
@font-face {
font-family: "SF Pro";
src: url("/SFPro-Italic-Bold.otf");
font-weight: bold;
font-style: italic;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
body {
min-height: 100vh;
background-color: #555;
padding: min(7vh, 30px) 15vw;
font-family: "SF Pro";
color: white;
}
h1 {
font-size: max(30px, 2vh);
}
code {
font-family: "Fira Code", monospace;
color: inherit;
background-color: #444;
padding: 0.1em 0.2em;
border-radius: 0.3em;
}
li {
margin: 0.5em 0;
}
ul,
ol {
margin: 1em 0;
padding-left: 2.5em;
}
a {
color: orange;
}
a:visited,
a:visited * {
color: chocolate;
}
.navbar {
display: flex;
flex-direction: row;
justify-content: center;
gap: 0.5em;
}
p {
margin: 1em 0;
}
hr {
margin: 0.5em 0;
}
h1 {
margin: 0.67em 0;
}
.pfp {
height: 1em;
bottom: -0.15em;
position: relative;
}

37
public/dn42/index.html Normal file
View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
dn42
</title>
<link rel="icon" type="image/x-icon" href='https://missingpiece.dev/favicon.ico'>
<link rel="stylesheet" href='https://missingpiece.dev/css/index.css'>
</head>
<body>
<h1 id="dn42">DN42</h1>
<p>Dn42, short for decentralized network 42, is something that is better explained
by <a href="https://dn42.dev">the wiki</a>. As it turns out, I have a dn42 node! How I got
to this point with my limited networking knowledge is beyond me. My AS is
<code>4242422047</code>, and my IP ranges are <code>172.22.159.160/27</code> and <code>fdfd:bad:c0de::/48</code>.
I am open for peerings, so if you want to, just contact me through one of the ways
listed on the <a href="/">home page</a>.</p>
<hr />
<div class="navbar">
<a href="/">~</a> - <a href="..">..</a>
- <a href="https://missingpiece.dev/dn42/">dn42</a>
</div>
</body>
</html>

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

56
public/index.html Normal file
View file

@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
Missing&#x27;s website
</title>
<link rel="icon" type="image/x-icon" href='https://missingpiece.dev/favicon.ico'>
<link rel="stylesheet" href='https://missingpiece.dev/css/index.css'>
</head>
<body>
<h1 id="welcome-to-missing-s-website">Welcome to missing's website!</h1>
<p>Hey! I'm <img src="missing.png" class="pfp"> <strong>TheMissingPiece</strong>, but most people just call me missing. I am a nerd and
tech enthusiast who loves to rewrite things that already exist just because I can.
I know JavaScript, TypeScript, Java, C#, and Rust, but nowadays most of my code is
written in Rust. You can find my projects on my friend's <a href="https://git.karx.xyz/missing">Gitea</a>.</p>
<hr />
<p>Some projects I am currently working on:</p>
<ul>
<li><a href="https://git.karx.xyz/InfoshockTech/xcrab">Xcrab</a>, a window manager written in Rust</li>
<li><a href="https://git.karx.xyz/missing/dyn_vec"><code>dyn_vec</code></a>, a <code>Vec&lt;T: ?Sized&gt;</code> for Rust</li>
<li><a href="https://git.karx.xyz/missing/d3"><code>d3</code></a>, a 3d rendering engine</li>
<li><a href="https://git.karx.xyz/missing/os">My os</a>, which is still very much a work in progress</li>
</ul>
<hr />
<p>My friends' links:</p>
<ul>
<li><a href="https://karx.xyz">karx</a></li>
<li><a href="https://famfo.xyz">famfo</a></li>
<li><a href="https://lemonsh.moe">lemon</a></li>
</ul>
<hr />
<p>Ways to reach me:</p>
<ul>
<li>TheMissingPiece#6742 on discord</li>
<li>karx's <a href="https://discord.gg/ejamTPCVSB">discord</a> or <a href="ircs://karx.xyz">irc</a></li>
<li><a href="mailto:piecenotfound@gmail.com">piecenotfound@gmail.com</a></li>
</ul>
<hr />
<div class="navbar">
<a href="https://git.karx.xyz/missing/site">..</a>
- <a href="https://missingpiece.dev/dn42/">dn42</a>
</div>
</body>
</html>

BIN
public/missing.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

4
public/robots.txt Normal file
View file

@ -0,0 +1,4 @@
User-agent: *
Disallow:
Allow: /
Sitemap: https://missingpiece.dev/sitemap.xml

12
public/sitemap.xml Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://missingpiece.dev/</loc>
</url>
<url>
<loc>https://missingpiece.dev/404/404/</loc>
</url>
<url>
<loc>https://missingpiece.dev/dn42/</loc>
</url>
</urlset>