Giter Club home page Giter Club logo

discourse-tab-bar-theme's Introduction

discourse-tab-bar-theme

This theme adds a tab bar to your Discourse forums to let your users on mobile quickly navigate to other pages on the forums.

The tab bar will only show to logged-in users on mobile devices.

This theme comes with 6 tabs. 5 of them are enabled out of the box.

Tabs are:

  1. Homepage (enabled)
  2. Profile (enabled)
  3. Messages (enabled)
  4. Bookmarks (enabled)
  5. Preferences (enabled)
  6. Notifications (disabled)

Screenshots:

Installation

Follow the instructions here:

https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682?u=osama

Theme Settings

display icon titles

Uncheck this setting if you don't want to have titles under the tabs.

icons size

This setting controls the size of the icons. Unit is EM.

tab x settings

There are 6 of these settings, each one controls a tab. The format of these settings is as follows:

title, icon_name, relative_url_or_route_name, enabled (optional)

The title attribute is self-explanatory, it controls the title under the tab.

icon_name, this controls the icon of the tab. A full list of all icons you can use is here. If the icon you want is not showing, see the extend fa5 icons setting below.

relative_url_or_route_name, the third attribute, determines where the tab links to. It can be either a relative URL such as /latest, or an Ember route name.

The enabled attribute is optional, if you don't include it it will be enabled. Set to false if you want to disable a certain tab.

extend fa5 icons

By default, Discourse ships only a subset of the full set of FontAwesome 5 icons. If you want to use icons that are not included in the default subset, simply add them to this setting.

Feedback

If you have an idea to improve this theme or want to report an issue, be sure to drop them in the topic dedicated to this theme on Discourse Meta:

https://meta.discourse.org/t/discourse-tab-bar-for-mobile/75696?u=osama

License

MIT

discourse-tab-bar-theme's People

Contributors

osamasayegh avatar hnb-ku avatar pmusaraj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.