feat(website): move to gensokyo-zone/website

This commit is contained in:
Kat Inskip 2024-01-27 22:27:21 -08:00
parent 5b1523c21f
commit 452033d672
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
7 changed files with 34 additions and 102 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 MiB

View file

@ -1,37 +0,0 @@
{ writeTextFile, linkFarm }:
let
mewp = writeTextFile {
name = "index.html";
text = ''
<html>
<head>
<title>Gensokyo</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<h1>Gensokyo</h1>
<img src="cute.png"/>
<nav>
<ul>
<li>
<a href="https://home.gensokyo.zone">Home Assistant</a>
</li>
<li>
<a href="https://z2m.gensokyo.zone">Zigbee2MQTT</a>
</li>
<li>
<a href="https://id.gensokyo.zone">Kanidm</a>
</li>
</ul>
</nav>
</body>
</html>
'';
};
in
linkFarm "index" [
{ name = "index.html"; path = mewp; }
{ name = "main.css"; path = ./main.css; }
{ name = "cute.png"; path = ./cute.png; }
]

View file

@ -1,23 +0,0 @@
{ writeTextFile, linkFarm }:
let
mewp = writeTextFile {
name = "index.html";
text = ''
<html>
<head>
<title>Gensokyo</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<img src="cute.png"/>
</body>
</html>
'';
};
in
linkFarm "index" [
{ name = "index.html"; path = mewp; }
{ name = "main.css"; path = ./main.css; }
{ name = "cute.png"; path = ./cute.png; }
]

View file

@ -1,40 +0,0 @@
html {
max-width: 70ch;
padding: 3em 1em;
margin: auto;
line-height: 1.75;
font-size: 1.25em;
min-height: 100%;
padding: 0;
}
h1,h2,h3,h4,h5,h6 {
margin: 3em 0 1em;
}
p,ul,ol {
margin-bottom: 2em;
color: #1d1d1d;
font-family: sans-serif;
}
img {
max-height: 33vh;
min-height: 500px;
margin: 1em auto;
display: block;
}
h1 {
text-align: center;
}
nav ul {
list-style-type: none;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
margin: 0;
padding: 0;
}
nav ul li {
text-align: center;
margin: 0;
padding: 0;
}