diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-12 11:41:51 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-12 11:41:51 +0100 |
| commit | dbf48a4665a66dd37150f3886026ecd9bd82967f (patch) | |
| tree | 65bc5167f7c71952cf2ce4072197f6e23e81f98b /html/basics | |
| parent | 056ee77ab2ed3cf488ac9b1b8ac82664948a42a3 (diff) | |
restructure directories
Diffstat (limited to 'html/basics')
| -rw-r--r-- | html/basics/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
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 + ]; +} |
