This commit is contained in:
Lukas Wurzinger 2024-12-30 11:34:26 +01:00
parent cfca404631
commit 2439c5ef8e
No known key found for this signature in database
3 changed files with 48 additions and 43 deletions

View file

@ -4,14 +4,9 @@
pkgs.rsync
];
env.MINISERVE_INDEX = "index.html";
pre-commit.hooks = {
# Nix
alejandra.enable = true;
deadnix.enable = true;
statix.enable = true;
};
processes.miniserve.exec = ''
miniserve public --port 8080 --index index.html
'';
scripts = {
publish.exec = ''
@ -37,4 +32,11 @@
${league-spartan}/share/fonts/woff2/ public/static/fonts/league-spartan
'';
};
pre-commit.hooks = {
# Nix
alejandra.enable = true;
deadnix.enable = true;
statix.enable = true;
};
}

View file

@ -1,13 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<head>
<meta charset="UTF-8" />
<title>wrz.one</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/style.css?v=1" rel="stylesheet" />
<link rel="icon" href="/static/assets/favicon.svg" sizes="any" type="image/svg+xml" />
</head>
<body>
</head>
<body>
<header>
<img class="logo" src="/static/assets/logo.svg" alt="Logo" draggable="false" />
</header>
@ -35,5 +37,6 @@
<span class="external-text visit-log">Visit log.wrz.one</span>
</a>
</main>
</body>
</body>
</html>