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,39 +1,42 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<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>
<header>
<img class="logo" src="/static/assets/logo.svg" alt="Logo" draggable="false" />
</header>
<main> <head>
<nav id="menu"> <meta charset="UTF-8" />
<ul> <title>wrz.one</title>
<li> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<a title="Forgejo profile" href="https://tea.wrz.one/lukas">Forgejo</a> <link href="/static/style.css?v=1" rel="stylesheet" />
</li> <link rel="icon" href="/static/assets/favicon.svg" sizes="any" type="image/svg+xml" />
<li> </head>
<a title="GitHub profile" href="https://github.com/lukaswrz">GitHub</a>
</li>
<li>
<a title="Codeberg profile" href="https://codeberg.org/lukaswrz">Codeberg</a>
</li>
</ul>
</nav>
<a class="external" title="Send me an email at lukas@wrz.one" href="mailto:lukas@wrz.one"> <body>
<span class="external-text email-me">Email me</span> <header>
</a> <img class="logo" src="/static/assets/logo.svg" alt="Logo" draggable="false" />
</header>
<a class="external" href="https://log.wrz.one"> <main>
<span class="external-text visit-log">Visit log.wrz.one</span> <nav id="menu">
</a> <ul>
</main> <li>
</body> <a title="Forgejo profile" href="https://tea.wrz.one/lukas">Forgejo</a>
</html> </li>
<li>
<a title="GitHub profile" href="https://github.com/lukaswrz">GitHub</a>
</li>
<li>
<a title="Codeberg profile" href="https://codeberg.org/lukaswrz">Codeberg</a>
</li>
</ul>
</nav>
<a class="external" title="Send me an email at lukas@wrz.one" href="mailto:lukas@wrz.one">
<span class="external-text email-me">Email me</span>
</a>
<a class="external" href="https://log.wrz.one">
<span class="external-text visit-log">Visit log.wrz.one</span>
</a>
</main>
</body>
</html>

View file

@ -310,4 +310,4 @@ span.email-me::before {
span.visit-log::before { span.visit-log::before {
content: '\1F4DC'; content: '\1F4DC';
margin-right: .5em; margin-right: .5em;
} }