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 pkgs.rsync
]; ];
env.MINISERVE_INDEX = "index.html"; processes.miniserve.exec = ''
miniserve public --port 8080 --index index.html
pre-commit.hooks = { '';
# Nix
alejandra.enable = true;
deadnix.enable = true;
statix.enable = true;
};
scripts = { scripts = {
publish.exec = '' publish.exec = ''
@ -37,4 +32,11 @@
${league-spartan}/share/fonts/woff2/ public/static/fonts/league-spartan ${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> <!DOCTYPE html>
<html> <html>
<head>
<meta charset="utf-8" /> <head>
<meta charset="UTF-8" />
<title>wrz.one</title> <title>wrz.one</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/style.css?v=1" rel="stylesheet" /> <link href="/static/style.css?v=1" rel="stylesheet" />
<link rel="icon" href="/static/assets/favicon.svg" sizes="any" type="image/svg+xml" /> <link rel="icon" href="/static/assets/favicon.svg" sizes="any" type="image/svg+xml" />
</head> </head>
<body>
<body>
<header> <header>
<img class="logo" src="/static/assets/logo.svg" alt="Logo" draggable="false" /> <img class="logo" src="/static/assets/logo.svg" alt="Logo" draggable="false" />
</header> </header>
@ -35,5 +37,6 @@
<span class="external-text visit-log">Visit log.wrz.one</span> <span class="external-text visit-log">Visit log.wrz.one</span>
</a> </a>
</main> </main>
</body> </body>
</html> </html>