diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-11 18:38:28 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-11 18:38:28 +0100 |
| commit | 056ee77ab2ed3cf488ac9b1b8ac82664948a42a3 (patch) | |
| tree | 54c202aae529c00b86e413aee66bc77f332f2d17 /content/basics.html.nix | |
initial ocommit
Diffstat (limited to 'content/basics.html.nix')
| -rw-r--r-- | content/basics.html.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/content/basics.html.nix b/content/basics.html.nix new file mode 100644 index 0000000..d7f7a90 --- /dev/null +++ b/content/basics.html.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 + ]; +} |
