diff --git a/.gitignore b/.gitignore index b3ab104..fe429eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target /node_modules -.direnv \ No newline at end of file +.direnv +result \ No newline at end of file diff --git a/assets/main.css b/assets/main.css index 2fddeaa..b59031a 100644 --- a/assets/main.css +++ b/assets/main.css @@ -534,32 +534,10 @@ video { --tw-backdrop-sepia: ; } -.relative { - position: relative; -} - -.my-4 { - margin-top: 1rem; - margin-bottom: 1rem; -} - -.mx-auto { - margin-left: auto; - margin-right: auto; -} - -.mb-4 { - margin-bottom: 1rem; -} - .flex { display: flex; } -.flex-row { - flex-direction: row; -} - .flex-col { flex-direction: column; } @@ -572,8 +550,9 @@ video { border-radius: 0.5rem; } -.border { - border-width: 1px; +.bg-purple-500 { + --tw-bg-opacity: 1; + background-color: rgb(168 85 247 / var(--tw-bg-opacity)); } .bg-slate-700 { @@ -581,28 +560,10 @@ video { background-color: rgb(51 65 85 / var(--tw-bg-opacity)); } -.bg-green-500 { - --tw-bg-opacity: 1; - background-color: rgb(34 197 94 / var(--tw-bg-opacity)); -} - -.bg-purple-500 { - --tw-bg-opacity: 1; - background-color: rgb(168 85 247 / var(--tw-bg-opacity)); -} - .p-4 { padding: 1rem; } -.pb-4 { - padding-bottom: 1rem; -} - -.pb-12 { - padding-bottom: 3rem; -} - .text-2xl { font-size: 1.5rem; line-height: 2rem; diff --git a/flake.lock b/flake.lock index 840481f..606a787 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1690881714, - "narHash": "sha256-h/nXluEqdiQHs1oSgkOOWF+j8gcJMWhwnZ9PFabN6q0=", + "lastModified": 1685566663, + "narHash": "sha256-btHN1czJ6rzteeCuE/PNrdssqYD2nIA4w48miQAFloM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9e1960bc196baf6881340d53dccb203a951745a2", + "rev": "4ecab3273592f27479a583fb6d975d4aba3486fe", "type": "github" }, "original": { "id": "nixpkgs", - "ref": "nixos-unstable", + "ref": "23.05", "type": "indirect" } }, diff --git a/flake.nix b/flake.nix index fb66188..cb3854f 100644 --- a/flake.nix +++ b/flake.nix @@ -12,12 +12,12 @@ #!/usr/bin/env zsh set -e export PATH=${pkgs.nodejs_20}/bin:${pkgs.nodePackages_latest.pnpm}/bin:$PATH - pnpm dlx tailwindcss -i styles/tailwind.css -o assets/main.css --watch + pnpm dlx tailwindcss -i src/styles/tailwind.css -o assets/main.css --watch ''; run-dev = pkgs.writeShellScriptBin "run-dev" '' #!/usr/bin/env zsh set -e - cargo run test.json + cargo run test_data/test.json ''; in { @@ -30,7 +30,7 @@ pkgconfig rustc cargo - nodejs-20 + nodejs_20 nodePackages_latest.pnpm ];