summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-08-02 10:41:26 +0800
committerEltrac <hi@guhub.cn>2025-08-02 10:41:26 +0800
commit1af3985b0ed5fcca5a0d8eef930795ba56914404 (patch)
treecd323ba96947f7a7dc818dbef2fe1ef73eea5111
parentaf09283e00095924f0413dc229c6fffc43412676 (diff)
docs: replace Telegram group link with channel link
Former-commit-id: ec534fd5e0c75e11be0f29e5f0e3ec93f66eca2c
-rw-r--r--layouts/_partials/posts/action-menu.html8
-rw-r--r--static/img/radio.svg6
-rw-r--r--static/img/telegram.svg1
3 files changed, 9 insertions, 6 deletions
diff --git a/layouts/_partials/posts/action-menu.html b/layouts/_partials/posts/action-menu.html
index 602004c8..ce91239c 100644
--- a/layouts/_partials/posts/action-menu.html
+++ b/layouts/_partials/posts/action-menu.html
@@ -25,15 +25,13 @@
</div>
<div class="flex gap-1">
- <a href="https://t.me/teaparty418" target="_blank" data-tooltip
- class="dark:invert flex items-center justify-center gap-1.5 min-w-8 h-8 px-1 border-none bg-transparent text-gray-600 cursor-pointer relative transition-all duration-200 hover:opacity-70 group" title="Telegram 群组" data-umami-event="✈️ Click Telegram link from post tabs">
- <img src="/img/paper-plane.svg" width="16" height="16" alt="Telegram" class="brightness-40 flex-shrink-0 dark:brightness-70 dark:contrast-120" />
- <div class="absolute bottom-full left-1/2 transform -translate-x-1/2 translate-y-1 bg-black/80 text-white px-2.5 py-1.5 rounded text-xs whitespace-nowrap opacity-0 invisible transition-all duration-300 pointer-events-none mb-2 z-1000 group-hover:opacity-100 group-hover:visible group-hover:translate-y-0 dark:bg-white/90 dark:text-black">Telegram 群组</div>
+ <a href="https://t.me/+gVxBuTa0qSc1ZGY9" target="_blank" data-tooltip
+ class="dark:invert flex items-center justify-center gap-1.5 min-w-8 h-8 px-1 border-none bg-transparent text-gray-600 cursor-pointer relative transition-all duration-200 hover:opacity-70 group" title="Telegram 频道:大脑充血" data-umami-event="✈️ Click Telegram link from post tabs">
+ <img src="/img/radio.svg" width="16" height="16" alt="Telegram" class="brightness-40 flex-shrink-0 dark:brightness-70 dark:contrast-120" />
</a>
<a href="/sponsor" data-tooltip
class="dark:invert flex items-center justify-center gap-1.5 min-w-8 h-8 px-1 border-none bg-transparent text-gray-600 cursor-pointer relative transition-all duration-200 hover:opacity-70 group" title="赞助作者" data-umami-event="💗 Click sponsor button from post tabs">
<img src="/img/coffee.svg" width="16" height="16" alt="赞助" class="brightness-40 flex-shrink-0 dark:brightness-70 dark:contrast-120" />
- <div class="absolute bottom-full left-1/2 transform -translate-x-1/2 translate-y-1 bg-black/80 text-white px-2.5 py-1.5 rounded text-xs whitespace-nowrap opacity-0 invisible transition-all duration-300 pointer-events-none mb-2 z-1000 group-hover:opacity-100 group-hover:visible group-hover:translate-y-0 dark:bg-white/90 dark:text-black">赞助作者</div>
</a>
</div>
</div>
diff --git a/static/img/radio.svg b/static/img/radio.svg
new file mode 100644
index 00000000..cf54c267
--- /dev/null
+++ b/static/img/radio.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
+<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
+<title>wireless-signal</title>
+<path d="M8.623 2.424c-4.412 2.534-7.398 7.265-7.398 12.718 0 5.482 3.019 10.231 7.47 12.754-2.961-2.913-4.883-7.522-4.883-12.754-0-5.195 1.885-9.8 4.811-12.718zM23.455 2.571c2.844 2.924 4.664 7.461 4.664 12.572 0 5.125-1.844 9.65-4.701 12.572 4.286-2.566 7.179-7.214 7.179-12.572s-2.872-10.004-7.142-12.572zM7.966 15.143c0-4.141 1.734-7.765 4.3-9.657-3.833 1.536-6.56 5.275-6.56 9.657 0 4.393 2.746 8.129 6.596 9.657-2.58-1.888-4.337-5.503-4.337-9.657zM26.551 15.143c0.001-3.924-2.186-7.336-5.393-9.111 2.195 1.994 3.608 5.339 3.608 9.111 0 3.815-1.442 7.161-3.681 9.147 3.245-1.763 5.466-5.194 5.466-9.147zM11.169 15.144c0-2.781 1.151-5.183 2.8-6.361-2.661 0.895-4.563 3.398-4.563 6.361 0 2.989 1.934 5.522 4.632 6.395-1.688-1.158-2.869-3.574-2.869-6.395zM18.843 8.991c1.488 1.243 2.455 3.54 2.455 6.153 0 2.653-0.998 4.958-2.524 6.188 2.397-1.027 4.079-3.415 4.079-6.188-0-2.745-1.651-5.109-4.010-6.153zM16.349 13.187c-1.267 0-2.294 1.027-2.294 2.294 0 0.966 0.598 1.792 1.443 2.13v13.3h1.7v-13.3c0.846-0.338 1.444-1.164 1.444-2.13 0-1.266-1.027-2.293-2.294-2.294z"></path>
+</svg> \ No newline at end of file
diff --git a/static/img/telegram.svg b/static/img/telegram.svg
deleted file mode 100644
index 854bb6a5..00000000
--- a/static/img/telegram.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><path fill="#29b6f6" d="M24 4A20 20 0 1 0 24 44A20 20 0 1 0 24 4Z"/><path fill="#fff" d="M33.95,15l-3.746,19.126c0,0-0.161,0.874-1.245,0.874c-0.576,0-0.873-0.274-0.873-0.274l-8.114-6.733 l-3.97-2.001l-5.095-1.355c0,0-0.907-0.262-0.907-1.012c0-0.625,0.933-0.923,0.933-0.923l21.316-8.468 c-0.001-0.001,0.651-0.235,1.126-0.234C33.667,14,34,14.125,34,14.5C34,14.75,33.95,15,33.95,15z"/><path fill="#b0bec5" d="M23,30.505l-3.426,3.374c0,0-0.149,0.115-0.348,0.12c-0.069,0.002-0.143-0.009-0.219-0.043 l0.964-5.965L23,30.505z"/><path fill="#cfd8dc" d="M29.897,18.196c-0.169-0.22-0.481-0.26-0.701-0.093L16,26c0,0,2.106,5.892,2.427,6.912 c0.322,1.021,0.58,1.045,0.58,1.045l0.964-5.965l9.832-9.096C30.023,18.729,30.064,18.416,29.897,18.196z"/></svg> \ No newline at end of file