fix(web/tvl): Embed SVG file directly into the source

Without this, the links in the graph are not clickable.
This commit is contained in:
Vincent Ambo 2020-04-21 04:07:40 +01:00
parent 7647516751
commit e4676a2e0d

View file

@ -55,7 +55,7 @@ let
<p> <p>
It's pretty straightforward. It's pretty straightforward.
</p> </p>
<img src="/static/tvl.svg" alt="Who's who?"> ${builtins.readFile tvlGraph}
<br> <br>
<span style="text-align:center;font-style:italic;"> <span style="text-align:center;font-style:italic;">
(Protip: Most of these names are clickable!) (Protip: Most of these names are clickable!)
@ -78,7 +78,6 @@ in runCommandNoCC "website" {} ''
mkdir -p $out/static mkdir -p $out/static
cp ${homepage} $out/index.html cp ${homepage} $out/index.html
cp -r ${./static}/* $out/static cp -r ${./static}/* $out/static
cp ${tvlGraph} $out/static/tvl.svg
# Some assets are stolen from the blog # Some assets are stolen from the blog
cp ${depot.web.homepage}/static/jetbrains-* $out/static cp ${depot.web.homepage}/static/jetbrains-* $out/static