From 6163288dfca68446b20b91b4ad553492847010a6 Mon Sep 17 00:00:00 2001
From: Romein van Buren
Date: Fri, 2 Jun 2023 20:58:04 +0200
Subject: [PATCH] Added Fosstodon link to website and readme
---
.github/fosstodon-badge.svg | 1 +
README.md | 2 +-
website/includes/githubstars.liquid | 6 ++++--
website/includes/mastodon.liquid | 6 ++++++
website/layouts/page.liquid | 5 ++++-
website/sass/styles.scss | 9 ++++++++-
6 files changed, 24 insertions(+), 5 deletions(-)
create mode 100644 .github/fosstodon-badge.svg
create mode 100644 website/includes/mastodon.liquid
diff --git a/.github/fosstodon-badge.svg b/.github/fosstodon-badge.svg
new file mode 100644
index 0000000..7b5adc5
--- /dev/null
+++ b/.github/fosstodon-badge.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 3cc99bd..3864111 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Robust, blazing-fast, comprehensive, yet simple [MongoDB](https://www.mongodb.com/) administration tool for Windows, macOS and Linux.
-[![CI](https://github.com/garraflavatra/rolens/actions/workflows/ci.yml/badge.svg)](https://github.com/garraflavatra/rolens/actions/workflows/ci.yml) [![Documentation](./.github/docs-badge.svg)](https://garraflavatra.github.io/rolens)
+
## Why another MongoDB client?
diff --git a/website/includes/githubstars.liquid b/website/includes/githubstars.liquid
index 31f3f14..64432b7 100644
--- a/website/includes/githubstars.liquid
+++ b/website/includes/githubstars.liquid
@@ -1,5 +1,7 @@
-
- ★
+
+
+
+
{% if github.stars %}
{{ github.stars }}
diff --git a/website/includes/mastodon.liquid b/website/includes/mastodon.liquid
new file mode 100644
index 0000000..4809853
--- /dev/null
+++ b/website/includes/mastodon.liquid
@@ -0,0 +1,6 @@
+
+
+
+
+ Follow @rolens on Fosstodon
+
diff --git a/website/layouts/page.liquid b/website/layouts/page.liquid
index 8d299c1..2deb113 100644
--- a/website/layouts/page.liquid
+++ b/website/layouts/page.liquid
@@ -55,7 +55,10 @@ navigationOptions:
edit the page
on GitHub.
- {% render "githubstars" %}
+
+ {% render "githubstars" %}
+ {% render "mastodon" %}
+
© Romein van Buren 2023.
The source code and compiled
diff --git a/website/sass/styles.scss b/website/sass/styles.scss
index 9cb2cf1..c3f909d 100644
--- a/website/sass/styles.scss
+++ b/website/sass/styles.scss
@@ -268,16 +268,23 @@ article {
// MISC
-.githubstars {
+.socialbadge {
display: inline-block;
text-decoration: none;
color: #000;
background-color: #ddd;
padding: 0 4px;
border-radius: 2px;
+ margin: 0 0 4px 0;
box-shadow: 0 1.25px #aaa;
&:hover { background-color: #ccc; }
.star { color: #a69e2c; }
+ .toot { color: #595aff; }
.count { font-weight: 700; margin-right: 8px; }
+
+ svg {
+ fill: currentColor;
+ stroke: none;
+ }
}