From dbf48a4665a66dd37150f3886026ecd9bd82967f Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 12 Nov 2022 11:41:51 +0100 Subject: restructure directories --- html/basics/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 html/basics/default.nix (limited to 'html/basics') diff --git a/html/basics/default.nix b/html/basics/default.nix new file mode 100644 index 0000000..d7f7a90 --- /dev/null +++ b/html/basics/default.nix @@ -0,0 +1,26 @@ +{ html, data, ... }: + +let basics = data.basics; +in { + title = "About me"; + priority = 0; + body = with html; + with data.basics; + lines [ + (div { class = "row"; } [ + (div { class = "col"; } [ (imgWith { src = avatar; }) ]) + (div { class = "col"; } (dl [ + (dt "${icon "las la-at"} e-mail") + (dd (for email (email: "${mailto email.address} (${email.name}) ${br}"))) + (dt "${icon "las la-key"} keys") + (dd (for keys.pgp (name: path: href path name))) + (dt "${icon "las la-map-marker"} address") + (dd (with location; '' + ${number} ${street}${br} + ${postalCode} ${city} + '')) + ])) + ]) + description + ]; +} -- cgit v1.2.3