From 2439c5ef8e907107b9ca48d2b7396e13232fde9f Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Mon, 30 Dec 2024 11:34:26 +0100 Subject: [PATCH] style --- devenv.nix | 18 ++++++----- public/index.html | 71 +++++++++++++++++++++-------------------- public/static/style.css | 2 +- 3 files changed, 48 insertions(+), 43 deletions(-) diff --git a/devenv.nix b/devenv.nix index 1e9a1e6..a579149 100644 --- a/devenv.nix +++ b/devenv.nix @@ -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; + }; } diff --git a/public/index.html b/public/index.html index e45971b..c82fc60 100644 --- a/public/index.html +++ b/public/index.html @@ -1,39 +1,42 @@ - - - wrz.one - - - - - -
- -
-
- + + + wrz.one + + + + - - - + +
+ +
- - Visit log.wrz.one - -
- - +
+ + + + + + + + Visit log.wrz.one + +
+ + + \ No newline at end of file diff --git a/public/static/style.css b/public/static/style.css index 33972bf..7019564 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -310,4 +310,4 @@ span.email-me::before { span.visit-log::before { content: '\1F4DC'; margin-right: .5em; -} +} \ No newline at end of file