diff options
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | Justfile | 5 | ||||
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | flake.lock | 61 | ||||
| -rw-r--r-- | flake.nix | 31 | ||||
| -rw-r--r-- | src/index.html | 51 | ||||
| -rw-r--r-- | util/lighttpd.conf | 4 |
7 files changed, 158 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1a3ccd3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/.direnv +/.envrc +*.tar.gz diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..df17baa --- /dev/null +++ b/Justfile @@ -0,0 +1,5 @@ +serve: + lighttpd -Df util/lighttpd.conf + +package: + tar -czvf etc.tar.gz src/* diff --git a/README.md b/README.md new file mode 100644 index 0000000..f12f5b2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# www.eviltransgenders.club + +Source code for the [Evil Transgenders Club](https://www.eviltransgenders.club) website. diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..92ac56b --- /dev/null +++ b/flake.lock @@ -0,0 +1,61 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1777954456, + "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..b875fd9 --- /dev/null +++ b/flake.nix @@ -0,0 +1,31 @@ +{ + description = "Dev flake for a simple static website."; + inputs = { + flake-utils.url = "github:numtide/flake-utils"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + }; + + outputs = + { + self, + flake-utils, + nixpkgs, + }: + flake-utils.lib.eachDefaultSystem ( + system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = pkgs.mkShellNoCC { + nativeBuildInputs = with pkgs; [ + just + lighttpd + vscode-langservers-extracted + ]; + }; + + formatter = pkgs.nixfmt; + } + ); +} diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..3d2c0cd --- /dev/null +++ b/src/index.html @@ -0,0 +1,51 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <title>the evil transgenders club</title> + <style> + :root { + --trans-blue: #5bcefa; + --trans-pink: #f5a9b8; + } + + body { + background: black; + color: white; + font-family: monospace; + } + + h1 { + color: var(--trans-blue); + text-align: center; + } + + .trans-shadow { + text-shadow: 1px 1px var(--trans-pink), 2px 2px #fff, 3px 3px var(--trans-pink), 4px 4px var(--trans-blue); + } + + .subtitle { + text-align: center; + } + + .main-navigation { + text-align: center; + } + + a { + color: #fff; + } + + a:hover { + background-color: #fff; + color: #000; + } + </style> +</head> + +<body> + <header> + <h1 class="trans-shadow">the evil transgenders club</h1> + <p class="subtitle">soon...</p> + </header> +</body> +</html> diff --git a/util/lighttpd.conf b/util/lighttpd.conf new file mode 100644 index 0000000..6c06da6 --- /dev/null +++ b/util/lighttpd.conf @@ -0,0 +1,4 @@ +index-file.names = ( "index.html" ) +server.bind = "127.0.0.1" +server.document-root = var.CWD + "/src" +server.port = 8888 |
