about summary refs log tree commit diff stats
path: root/src/pages/widgets/links.pug
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-12-31 11:01:50 +0300
committerManeraKai <manerakai@protonmail.com>2022-12-31 11:01:50 +0300
commitd9cdea797fe26cc02d213b5fb040be8b38958be6 (patch)
tree648522de68e02346d8adb47974c4a90d7f405d2d /src/pages/widgets/links.pug
parentwill merge later (diff)
downloadlibredirect-d9cdea797fe26cc02d213b5fb040be8b38958be6.zip
Switched back to pug
Diffstat (limited to 'src/pages/widgets/links.pug')
-rw-r--r--src/pages/widgets/links.pug16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pages/widgets/links.pug b/src/pages/widgets/links.pug
new file mode 100644
index 00000000..8c5a3915
--- /dev/null
+++ b/src/pages/widgets/links.pug
@@ -0,0 +1,16 @@
+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)
+                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