הוסף כפתור יציאה בכותרת עבור Discourse Themes

:information_source: Summary Add a logout button in header
:eyeglasses: Preview GitHub - pushpinder6805/logout-header
:hammer_and_wrench: Repository REPOSITORY_LINK
:question: Install Guide How to install a theme or theme component
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

A button in header to logout users

Screenshots…
image
image

Detailed description…

To remove logo

.logout svg{
    display: none;
}

To remove text

.logout span {
display:none;
}

Hello :wave: it looks like this component is empty and doesn’t do anything in this state…

2 לייקים

+1, I can reproduce this error.

לייק 1

Please wait updating code

לייק 1

I have unlisted this topic until code is provided.

3 לייקים

i have added the code , please list the topic

please check

Installed and checked; it works perfectly fine. Just two suggestions:

  1. It would be great to have either the logout text or the logout icon, but not both.
  2. In the Install this theme component section, it would be better to include only the repository link for easy installation.

I’ve attached the snippet below for your reference.

There could be some need to tune up a bit.

iPad:

iPhone:

Could you add an option to cancel the text? Thank you.

@Monikas I’ve opened a PR to add a setting to do just that:

לייק 1