blob: af6501362e34199a07cccc4e8d29d38ae45500fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ html, data, ... }:
let
basics = data.basics;
col = html.div {
class = "col";
style = "align-self: center";
};
center = container: content:
container { style = "text-align: center"; } content;
in {
title = "About me";
priority = 0;
body = with html;
with data.basics;
lines [
br
(div { class = "row"; } [
(col [
(imgWith {
src = avatar;
style = ''
border-radius: 50%;
padding-left: 20%;
padding-right: 20%;
'';
})
(center h3 name)
(center p (with institution; [ position br "@ ${href url name}" ]))
])
(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
];
}
|