DEV: port sidebar new topic component into theme (#129)

This moves the [sidebar new topic button
component](https://github.com/discourse/discourse-sidebar-new-topic-button)
into the theme directly

If you have installed this theme previously, you should manually remove
the component.
This commit is contained in:
Kris
2025-04-14 08:58:46 -04:00
committed by GitHub
parent b40a5a6e9a
commit 1e6a4a8a57
7 changed files with 207 additions and 3 deletions
@@ -0,0 +1,6 @@
import { apiInitializer } from "discourse/lib/api";
import SidebarNewTopicButton from "../components/sidebar-new-topic-button";
export default apiInitializer("1.8.0", (api) => {
api.renderInOutlet("before-sidebar-sections", SidebarNewTopicButton);
});