feat(web/tvl): Add clickable homepage links for most people

This commit is contained in:
Vincent Ambo 2020-04-21 04:03:33 +01:00
parent 38712efe0e
commit 848aca8580
2 changed files with 31 additions and 27 deletions

View file

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

View file

@ -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"];