From 59a2c9f7de04a0523f7d1389540043944d30a730 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Tue, 2 Jun 2026 13:44:15 +0200 Subject: [PATCH] Add social media icons --- src/back/routes/common/footer.tsx | 10 ++++--- src/front/controllers.ts | 3 --- src/icons/instagram.svg | 38 ++++++++++++++++++++++++++ src/icons/telegram.svg | 44 +++++++++++++++++++++++++++++++ src/icons/tiktok.svg | 43 ++++++++++++++++++++++++++++++ src/icons/twitter.svg | 38 ++++++++++++++++++++++++++ 6 files changed, 170 insertions(+), 6 deletions(-) create mode 100644 src/icons/instagram.svg create mode 100644 src/icons/telegram.svg create mode 100644 src/icons/tiktok.svg create mode 100644 src/icons/twitter.svg diff --git a/src/back/routes/common/footer.tsx b/src/back/routes/common/footer.tsx index 141e918..8f6ea75 100644 --- a/src/back/routes/common/footer.tsx +++ b/src/back/routes/common/footer.tsx @@ -4,9 +4,13 @@ import { icon } from "src/back/icons.js"; import { TempstreamJSX } from "tempstream"; const icons = [ - { name: "mastodon", url: "https://mastodon.com.pl" }, - { name: "peertube", url: "https://joinpeertube.org/pl" }, - { name: "matrix", url: "https://matrix.org/" }, + { name: "mastodon", url: "https://mastodon.strona-czynna.pl/@czynna" }, + { name: "peertube", url: "https://video.strona-czynna.pl/" }, + { name: "matrix", url: "https://matrix.to/#/#strona-czynna:matriks.chat" }, + { name: "telegram", url: "https://t.me/+JQl6ryW3_Ho5MDY0" }, + { name: "instagram", url: "https://www.instagram.com/strona_czynna" }, + { name: "twitter", url: "https://x.com/strona_czynna" }, + { name: "tiktok", url: "https://www.tiktok.com/@stronaczynna" }, ]; export default async function footer(ctx: Context) { diff --git a/src/front/controllers.ts b/src/front/controllers.ts index 86761ca..99310ed 100644 --- a/src/front/controllers.ts +++ b/src/front/controllers.ts @@ -40,9 +40,6 @@ application.register("jdd-table-paste", JddTablePaste); import { default as JsonEditor } from "./../../node_modules/@sealcode/jdd-editor/src/controllers/json-editor.stimulus.js"; application.register("json-editor", JsonEditor); -import { default as MarkdownTextarea } from "./../../node_modules/@sealcode/jdd-editor/src/controllers/markdown-textarea.stimulus.js"; -application.register("markdown-textarea", MarkdownTextarea); - import { default as RefreshOnTsChanges } from "./../../node_modules/@sealcode/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.js"; application.register("refresh-on-ts-changes", RefreshOnTsChanges); diff --git a/src/icons/instagram.svg b/src/icons/instagram.svg new file mode 100644 index 0000000..6782e60 --- /dev/null +++ b/src/icons/instagram.svg @@ -0,0 +1,38 @@ + + + + + + diff --git a/src/icons/telegram.svg b/src/icons/telegram.svg new file mode 100644 index 0000000..4fc0eb1 --- /dev/null +++ b/src/icons/telegram.svg @@ -0,0 +1,44 @@ + + + + + + + + diff --git a/src/icons/tiktok.svg b/src/icons/tiktok.svg new file mode 100644 index 0000000..a12f5ec --- /dev/null +++ b/src/icons/tiktok.svg @@ -0,0 +1,43 @@ + + + + + + diff --git a/src/icons/twitter.svg b/src/icons/twitter.svg new file mode 100644 index 0000000..e02e1d5 --- /dev/null +++ b/src/icons/twitter.svg @@ -0,0 +1,38 @@ + + + +