From 72e302c5b567ab63a8ce51219c78d6002484c188 Mon Sep 17 00:00:00 2001 From: Christoph Schindlbeck Date: Fri, 5 Apr 2024 14:28:10 +0200 Subject: [PATCH] add matrix link --- config.toml | 6 +++ static/images/matrix.svg | 66 +++++++++++++++++++++++ themes/infinity-hugo/static/css/style.css | 9 ++++ 3 files changed, 81 insertions(+) create mode 100644 static/images/matrix.svg diff --git a/config.toml b/config.toml index d6e9d35..3c6a463 100644 --- a/config.toml +++ b/config.toml @@ -159,6 +159,12 @@ title = "IRC" description = "irc://irc.hackint.org/vvoid.camp" enable = true +[[params.service.serviceItem]] +icon = "matrix" +title = "Matrix" +description = "#VVoidCamp2024:fairydust.space" +enable = true + [[params.service.serviceItem]] icon = "mastodon" title = "Mastodon" diff --git a/static/images/matrix.svg b/static/images/matrix.svg new file mode 100644 index 0000000..27fb371 --- /dev/null +++ b/static/images/matrix.svg @@ -0,0 +1,66 @@ + + + + + Matrix (protocol) logo + + + + + + + + + Matrix (protocol) logo + + + + diff --git a/themes/infinity-hugo/static/css/style.css b/themes/infinity-hugo/static/css/style.css index 31bf6e8..ba7cdd6 100644 --- a/themes/infinity-hugo/static/css/style.css +++ b/themes/infinity-hugo/static/css/style.css @@ -633,6 +633,15 @@ a:focus, a:hover { color: #6700f4; } + +.matrix { + &::before { + content: url('../images/matrix.svg'); + display: block; + height: 1em; + width: 1em; + } +} .mastodon { &::before { content: url('../images/mastodon.svg');