Add sitemap to wpcarro.dev
- Create ./website directory - Add a sitemap to wpcarro.dev - Move covid-uk directory to sandbox directory TODO: Next sandbox, blog, and learn in the website directory
This commit is contained in:
parent
76210a217c
commit
54d1a0048a
14 changed files with 79 additions and 4 deletions
16
sandbox/covid-uk/default.nix
Normal file
16
sandbox/covid-uk/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "covid-uk";
|
||||
buildInputs = [];
|
||||
src = ./.;
|
||||
# TODO(wpcarro): Need to run `yarn install` somehow.
|
||||
# TODO(wpcarro): Need to run `npx tailwindcss build styles.css -o output.css`.
|
||||
buildPhase = ''
|
||||
mkdir -p $out
|
||||
mkdir -p $out/node_modules/chart.js/dist
|
||||
cp $src/node_modules/chart.js/dist/Chart.bundle.min.js $out/node_modules/chart.js/dist
|
||||
cp $src/index.html $src/output.css $out
|
||||
'';
|
||||
dontInstall = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue