The discussion revolves around creating a Theme Component for adding a Logout button to the top menu in Discourse. denvergeeks requests guidance on updating existing code, and Arkshine provides a sample code snippet using apiInitializer and a custom CSS style.
denvergeeks creates a Theme Component based on Carson’s code and shares it on GitHub for testing.
Arkshine reviews the code and suggests improvements, including using the discourse-theme-skeleton as a reference, renaming files with .gjs extension, and moving the template to a separate file. Arkshine also offers to create a pull request with an example.
I’ll roll up and post a Theme Component on GitHub for adding a Logout button to the top menu if someone could please let me know how to update @pfaffman’s code here…
(At the moment following those instructions and enabling the component only makes the entire Top Menu disappear )