about summary refs log tree commit diff stats
path: root/src/pages/widgets/links.ejs
blob: 2373a1016d3a71f6b8eca95f5315205f51895392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<section class="links" id="links">
  <div class="title">
  <a href="#general">
  <%- include ('src/assets/images/general-icon.svg') %>
  <span data-localise="__MSG_general__">General</span>
  </a></div>
  <% for (const service in services) { -%>
  <div class="title">
  <a href="#<%= service %>">
  <% if (services[service].imageType != "svgMono") { _%>
  <img src="../../../assets/images/<%= service %>-icon.<%= services[service].imageType %>">
  <% } else { _%>
  <%- include ('src/assets/images/' + service + '-icon.svg') %>
  <% } _%>
  <span data-localise="__MSG_<%= service %>__"><%= services[service].name %></span>
  </a></div>
  <% }; -%>
  <div class="title">
  <a href="#about">
  <%- include ('src/assets/images/about-icon.svg') %>
  <span data-localise="__MSG_about__">About</span>
  </a></div>
</section>