From c0e4b863c7aee1fe1746cebc38fb5f58e8195b9e Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 12 May 2021 16:57:07 +0200 Subject: refactor(web/tvl): translate to markdown This is mostly equivalent, but we need to accomodate cheddar a bit: * cheddar doesn't like markdown inside of HTML, so the
tag around the image needs to go. * cheddar messes with a top-level SVG for some reason, so we need to wrap it in a
in order to prevent that. Change-Id: If9ed516623e81e24f600ee9f1b6d4d611b5bcedd Reviewed-on: https://cl.tvl.fyi/c/depot/+/3117 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/tvl/default.nix | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/web/tvl/default.nix b/web/tvl/default.nix index aa1fc225fe71..2a471fadc325 100644 --- a/web/tvl/default.nix +++ b/web/tvl/default.nix @@ -12,28 +12,34 @@ let homepage = depot.web.tvl.template { title = "The Virus Lounge"; content = '' -
- The Virus Lounge -
+ ![The Virus Lounge](/static/virus_lounge.webp) -

- 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. -

+ 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.
-

Where did all these people come from?

-

- It's pretty straightforward. Feel free to click on people, too. -

- ${builtins.readFile tvlGraph} + ## Where did all these people come from? + + It's pretty straightforward. Feel free to click on people, too. + +
+ + ${builtins.readFile tvlGraph} +
''; extraHead = ''