about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-04-21T03·07+0100
committerVincent Ambo <tazjin@google.com>2020-04-21T03·07+0100
commite4676a2e0d3ea33df5c38809be4cf01732ab4200 (patch)
tree211f1b206269503919a227c7c3aaa73a132def2b /web
parent76475167516dcd42b23d9cf6015993275ea3d8ce (diff)
fix(web/tvl): Embed SVG file directly into the source r/658
Without this, the links in the graph are not clickable.
Diffstat (limited to 'web')
-rw-r--r--web/tvl/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/tvl/default.nix b/web/tvl/default.nix
index 16bbddd9c566..c5ae8f038649 100644
--- a/web/tvl/default.nix
+++ b/web/tvl/default.nix
@@ -55,7 +55,7 @@ let
       <p>
         It's pretty straightforward.
       </p>
-      <img src="/static/tvl.svg" alt="Who's who?">
+      ${builtins.readFile tvlGraph}
       <br>
       <span style="text-align:center;font-style:italic;">
         (Protip: Most of these names are clickable!)
@@ -78,7 +78,6 @@ in runCommandNoCC "website" {} ''
   mkdir -p $out/static
   cp ${homepage} $out/index.html
   cp -r ${./static}/* $out/static
-  cp ${tvlGraph} $out/static/tvl.svg
 
   # Some assets are stolen from the blog
   cp ${depot.web.homepage}/static/jetbrains-* $out/static