From 557b6b0c5be1129ddc1aaa682cce26448540b8c5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 21 Apr 2020 03:16:17 +0100 Subject: feat(web/tvl): Add initial homepage for TVL --- web/tvl/default.nix | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 web/tvl/default.nix (limited to 'web/tvl/default.nix') diff --git a/web/tvl/default.nix b/web/tvl/default.nix new file mode 100644 index 000000000000..1a7be004b7fd --- /dev/null +++ b/web/tvl/default.nix @@ -0,0 +1,59 @@ +{ depot, pkgs, ... }: + +let + inherit (pkgs) writeText runCommandNoCC; + + homepage = writeText "index.html" '' + + + + + + + + The Virus Lounge + + +
+

The Virus Lounge

+
+
+ +
+ The Virus Lounge +
+ +

+ Welcome to The Virus Lounge. We're a random group of + people who feel undersocialised in these trying times, and + we've decided that there isn't enough spontaneous socialising + on the internet. +

+

+ Anyone can join The Virus Lounge, if it is currently open. Its + current status is shown in the topic of the ##tvl + channel on Freenode. +

+ +
+ + + ''; +in runCommandNoCC "website" {} '' + mkdir -p $out/static + cp ${homepage} $out/index.html + cp -r ${./static}/* $out/static + + # Some assets are stolen from the blog + cp ${depot.web.homepage}/static/jetbrains-* $out/static + cp ${depot.web.homepage}/static/tazjin.css $out/static +'' -- cgit 1.4.1