From 62df1af517e6f43aaf7eaac326b87553a8a73e24 Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 18 Mar 2023 12:54:46 +1000 Subject: [PATCH] add icon links to all pages --- view/articles/articles.pug | 2 +- view/main.pug | 10 +++++----- view/page/services.pug | 4 ++-- view/projects/blek_anal.pug | 2 +- view/projects/blek_bin.pug | 8 ++++---- view/projects/blek_id.pug | 2 +- view/projects/blek_sail.pug | 4 ++-- view/projects/cuteschedule.pug | 2 +- view/projects/winterredit.pug | 4 ++-- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/view/articles/articles.pug b/view/articles/articles.pug index bb17f93..b95291b 100644 --- a/view/articles/articles.pug +++ b/view/articles/articles.pug @@ -17,7 +17,7 @@ block content hr p= article.shortText p - a(href='/article/' + article.id) Open full article + a(href='/article/' + article.id class='web_link') Open full article tr td div(style='min-height:12px;max-height:12px') diff --git a/view/main.pug b/view/main.pug index 198ffa1..42ead6b 100644 --- a/view/main.pug +++ b/view/main.pug @@ -13,16 +13,16 @@ block content | This website was built using Express.js p | Check out my - a(href='https://github.com/b1ek') GitHub page + a(href='https://github.com/b1ek' class='web_link') GitHub page | and my - a(href='/resume') resume + a(href='/resume' class='web_link') resume hr table(style='position:relative;left:50%;transform:translateX(-50%);width:90%') tr td(width='20%') h4 Guest book | ( - a(href='/guestbook.rss') RSS + a(href='/guestbook.rss' class='web_link') RSS | ) if (gb_entries) ul(style='margin:0 10px;padding:0') @@ -31,7 +31,7 @@ block content | #{entry.name} says: br | #{entry.text} - a(href='/guestbook') Write something in my guestbook! + a(href='/guestbook' class='web_link') Write something in my guestbook! td(width='50%' style='border-left:1px solid #c2c4c2;border-right:1px solid #c2c4c2;padding:0 1%') h3 Articles ul @@ -43,5 +43,5 @@ block content td(width='20%') h4 Links - a(href='https://cameronsworld.net') cameronsworld.net + a(href='https://cameronsworld.net' class='web_link') cameronsworld.net a(href='https://') \ No newline at end of file diff --git a/view/page/services.pug b/view/page/services.pug index 8c14c17..72aa826 100644 --- a/view/page/services.pug +++ b/view/page/services.pug @@ -17,7 +17,7 @@ block content a(href='https://draw.blek.codes' class='web_link') draw.blek.codes td | A draw board. Has real-time collaborative features. - a(href='https://excalidraw.com') Official site + a(href='https://excalidraw.com' class='web_link') Official site tr td Gitea td @@ -30,7 +30,7 @@ block content a(href='https://bin.blek.codes' class='web_link') bin.blek.codes td | A privacy-respecting, js-free pastebin alternative (inspired by - a(href='https://github.com/hnhx/librebin') Librebin + a(href='https://github.com/hnhx/librebin' class='web_link') Librebin | ) a(href='/project/blek_bin' class='web_link') Project page tr diff --git a/view/projects/blek_anal.pug b/view/projects/blek_anal.pug index f9fd495..44fb844 100644 --- a/view/projects/blek_anal.pug +++ b/view/projects/blek_anal.pug @@ -11,7 +11,7 @@ block append content For now, the project exists just as an idea of creating a self-hosted alternative of Google Analytics. p. I like google analytics but it is created by a capitalist company and all the user data is sent to Google
- which is not very good, because it can be used (and it probably is used) for empowering Global Survelliance. + which is not very good, because it can be used (and it probably is used) for empowering Global Survelliance. p. With analytics being self-hosted, all the used data is available only to hoster and therefore cannot be used for mass-spying on people.
Of course, the hoster can access the data, but its only one person/company, not a global multinational conglomerate. \ No newline at end of file diff --git a/view/projects/blek_bin.pug b/view/projects/blek_bin.pug index f24c458..d5e27cd 100644 --- a/view/projects/blek_bin.pug +++ b/view/projects/blek_bin.pug @@ -12,15 +12,15 @@ block append content +label('Official instance (link)', '#90c137') p | blek! Bin is a free, self-hosted, nojs alternative to - a(href='https://pastebin.com') Pastebin + a(href='https://pastebin.com' class='web_link') Pastebin | . br | Or, in other words, a clean-code alternative to - a(href='https://github.com/hnhx/librebin') Librebin + a(href='https://github.com/hnhx/librebin' class='web_link') Librebin | . p | Basically, i got the idea of this project from - a(href='https://github.com/hnhx/librebin') Librebin + a(href='https://github.com/hnhx/librebin' class='web_link') Librebin | , which is built on bare PHP and the code is barely readable or maintainable. br | Also, Librebin has only 8 commits and the last commit was on May 30 2022 (at this moment), or @@ -35,5 +35,5 @@ block append content td Some words tr td - a(href='https://bin.blek.codes') bin.blek.codes + a(href='https://bin.blek.codes' class='web_link') bin.blek.codes td Official instance (NL) diff --git a/view/projects/blek_id.pug b/view/projects/blek_id.pug index 9111aba..95b38f5 100644 --- a/view/projects/blek_id.pug +++ b/view/projects/blek_id.pug @@ -10,4 +10,4 @@ block append content p | blek! ID provides authentication functionality for all blek! Services. br - | It was supposed to be something like OpenID Connect server, and perhaps you should use a production-ready implementation of this (like ory hydra) \ No newline at end of file + | It was supposed to be something like OpenID Connect server, and perhaps you should use a production-ready implementation of this (like ory hydra) \ No newline at end of file diff --git a/view/projects/blek_sail.pug b/view/projects/blek_sail.pug index e16d1fc..f3383f5 100644 --- a/view/projects/blek_sail.pug +++ b/view/projects/blek_sail.pug @@ -13,7 +13,7 @@ block append content | It runs on nginx + php-fpm on alpine linux p | Read the github - a(href='https://github.com/b1ek/sail') page + a(class='web_link' href='https://github.com/b1ek/sail') page | for more info. p - a(href='https://hub.docker.com/r/blekii/sail') Docker hub repo \ No newline at end of file + a(class='web_link' href='https://hub.docker.com/r/blekii/sail') Docker hub repo \ No newline at end of file diff --git a/view/projects/cuteschedule.pug b/view/projects/cuteschedule.pug index 361396a..b99c23a 100644 --- a/view/projects/cuteschedule.pug +++ b/view/projects/cuteschedule.pug @@ -24,5 +24,5 @@ block append content but i never got around to implementing it. p. It loads the config from a YAML file with - yaml-cpp
+ yaml-cpp
Funny part: it is stored in git as precompiled binary. \ No newline at end of file diff --git a/view/projects/winterredit.pug b/view/projects/winterredit.pug index f175c7d..b356185 100644 --- a/view/projects/winterredit.pug +++ b/view/projects/winterredit.pug @@ -4,7 +4,7 @@ block root block append content p(align='center') - a(href='https://github.com/nymda/WinTerrEdit' target='_blank') + a(class='web_link' href='https://github.com/nymda/WinTerrEdit' target='_blank') img(src='/content/winterredit.png' height=100) p. @@ -13,4 +13,4 @@ block append content The thing was a complete mess before i refactored it. (although it still needs some work) p. - See the github page. \ No newline at end of file + See the github page. \ No newline at end of file