summaryrefslogtreecommitdiff
path: root/content/basics.html.nix
blob: d7f7a9062d1275f8f6cabb746e4938bd939e0b3a (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
{ 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
    ];
}