# Discourse 离线指示器 技巧

**URL:** https://meta.discourse.org/t/discourse-offline-indicator-hack/297679
**Category:** Development
**Created:** [2024年三月3日 09:58 UTC](https://meta.discourse.org/t/discourse-offline-indicator-hack/297679 "2024-03-03T09:58:35Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [2024年五月1日 11:27 UTC](https://meta.discourse.org/t/discourse-offline-indicator-hack/297679/4 "2024-05-01T11:27:00Z")

</div>

你好 👋

我已经更新了主题组件，因为现在的离线指示器组件是 `.gjs`，我们无法覆盖它的模板。

我使用了 [Discourse Easy ‘SVG Icon’ and ‘Emoji’ in CSS](https://meta.discourse.org/t/discourse-easy-svg-icon-and-emoji-in-css/300656) 辅助工具。我添加了 Google Material [Wifi Off](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Awifi_off%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4024) 图标。这样我们就无需合并两个单独的图标。

![Screenshot 2024-05-01 at 13.21.06](https://global.discourse-cdn.com/meta/original/4X/c/0/9/c0954acb514c8e117751632b3a0be0fcac2d096f.png)

> <https://github.com/VaperinaDEV/discourse-offline-indicator-hack/pull/1>

---

_[View the full topic](https://meta.discourse.org/t/discourse-offline-indicator-hack/297679)._
