about summary refs log tree commit diff stats
path: root/src/pages/widgets/links.pug
blob: 82e82dbed1f336cd3e336ec801a4cf7b8b00acb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
section(class="links" id="links")
    div(class="title")
        a(href="#general") 
            include /src/assets/images/general-icon.svg
            span(data-localise="__MSG_general__") General

    each val, key in services
        div(class="title")
            a(href="#"+key)
                if services[key].imageType == 'svgMono'
                    img(src=`/assets/images/${key}-icon.svg`)
                else
                    img(src=`/assets/images/${key}-icon.${services[key].imageType}`)
                span(data-localise="__MSG_"+key+"__")=services[key].name

    div(class="title")
        a(href="#about")
            img(src="/assets/images/about-icon.svg")
            span(data-localise="__MSG_about__") About