about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-04-21T03·03+0100
committerVincent Ambo <tazjin@google.com>2020-04-21T03·03+0100
commit848aca85801d3c2995f61528564b4bb6918bfcb1 (patch)
treee23c2a617859c19d11faabf315a5abd7c63cb58d /web
parent38712efe0e9b64f2d08df27c6b49347f2cd67b71 (diff)
feat(web/tvl): Add clickable homepage links for most people r/656
Diffstat (limited to 'web')
-rw-r--r--web/tvl/default.nix12
-rw-r--r--web/tvl/tvl.dot46
2 files changed, 31 insertions, 27 deletions
diff --git a/web/tvl/default.nix b/web/tvl/default.nix
index aa155c4adc2b..16bbddd9c566 100644
--- a/web/tvl/default.nix
+++ b/web/tvl/default.nix
@@ -3,10 +3,10 @@
 let
   inherit (pkgs) graphviz runCommandNoCC writeText;
 
-  tvlGraph = runCommandNoCC "tvl.png" {
+  tvlGraph = runCommandNoCC "tvl.svg" {
     nativeBuildInputs = with pkgs; [ fontconfig freetype cairo jetbrains-mono ];
   } ''
-    ${graphviz}/bin/neato -Tpng ${./tvl.dot} > $out
+    ${graphviz}/bin/neato -Tsvg ${./tvl.dot} > $out
   '';
 
   homepage = writeText "index.html" ''
@@ -55,7 +55,11 @@ let
       <p>
         It's pretty straightforward.
       </p>
-      <img src="/static/tvl.png" alt="Who's who?">
+      <img src="/static/tvl.svg" alt="Who's who?">
+      <br>
+      <span style="text-align:center;font-style:italic;">
+        (Protip: Most of these names are clickable!)
+      </span>
 
       <hr>
       <footer>
@@ -74,7 +78,7 @@ in runCommandNoCC "website" {} ''
   mkdir -p $out/static
   cp ${homepage} $out/index.html
   cp -r ${./static}/* $out/static
-  cp ${tvlGraph} $out/static/tvl.png
+  cp ${tvlGraph} $out/static/tvl.svg
 
   # Some assets are stolen from the blog
   cp ${depot.web.homepage}/static/jetbrains-* $out/static
diff --git a/web/tvl/tvl.dot b/web/tvl/tvl.dot
index db18aaaacf7c..b68218d4e41f 100644
--- a/web/tvl/tvl.dot
+++ b/web/tvl/tvl.dot
@@ -8,36 +8,36 @@ digraph tvl {
 
   // people
   ac;
-  andi;
-  anna;
+  andi href=["https://andreas.rammhold.de/"];
+  anna [href="https://femalelegends.com/"];
   anon1 [color="grey" fontcolor="grey"];
-  aurora;
-  benjojo;
-  cynthia;
-  edef;
+  aurora [href="https://nonegenderleftfox.aventine.se/"];
+  benjojo [href="https://benjojo.co.uk/"];
+  cynthia [href="https://cynthia.re/"];
+  edef [href="https://edef.eu/files/edef.hs"];
   espes;
-  eta;
+  eta [href="https://theta.eu.org/"];
   firefly;
-  flokli;
-  geoffrey;
-  glittershark;
-  grahamc;
-  isomer;
-  joern;
-  justinw;
-  leah2;
+  flokli [href="https://flokli.de/"];
+  geoffrey [href="https://ghuntley.com/"];
+  glittershark [href="https://gws.fyi"];
+  grahamc [href="https://grahamc.com/"];
+  isomer [href="https://www.lorier.net/"];
+  joern [href="https://twitter.com/FR31H31T"];
+  justinw [href="https://jusrin.dev/"];
+  leah2 [href="https://leahneukirchen.org/"];
   loke;
-  lukegb;
-  marcusr;
+  lukegb [href="https://lukegb.com/"];
+  marcusr [href="http://marcus.nordaaker.com/"];
   multi;
   ncl;
   poigon;
-  profpatsch;
-  puck;
-  qyliss;
-  seven;
-  tazjin;
-  wpcarro;
+  profpatsch [href="http://profpatsch.de/"];
+  puck [href="https://puckipedia.com/"];
+  qyliss [href="https://alyssa.is"];
+  seven [href="https://open.spotify.com/user/so7"];
+  tazjin [href="https://tazj.in/"];
+  wpcarro [href="https://wpcarro.dev/"];
 
   // companies (blue)
   spotify [color="#4285f4" fontcolor="#4285f4"];