Шапка бренда

||||
-|-|
:discourse2: | Сводка | Brand Header добавляет дополнительную верхнюю шапку для брендинга с вашим логотипом, навигационными ссылками и иконками социальных сетей для мобильных и десктопных версий. Логотип бренда может быть изображением или текстом.
| :eyeglasses: | Предпросмотр | Предпросмотр в Discourse Theme Creator |
:hammer_and_wrench: | Ссылка на репозиторий | https://github.com/discourse/discourse-brand-header
:open_book: | Новичок в темах Discourse? | Руководство для начинающих по использованию тем Discourse

Установить этот компонент темы

Возможности

Предпросмотр на десктопе:

Предпросмотр на мобильном:

Настройки

| Название | Описание
|-|
| название бренда |
| URL веб-сайта |
| URL мобильного логотипа |
| ссылки | Текстовые ссылки, отображаемые в шапке
| иконки | Ссылки с иконками, отображаемые в шапке
| пользовательские иконки FontAwesome 6 | Список иконок FontAwesome 6, используемых в этом компоненте темы
| показывать панель на мобильном |
| выход плагина |


Использование иконок Font Awesome 6

Чтобы иконки Font Awesome 6 корректно отображались в этом компоненте темы, вам нужно добавить их в 3 места в Discourse:

  1. Настройку сайта svg icon subset
  2. Настройку custom font awesome icons в компоненте
  3. Настройку icons в компоненте

Кроме того, для некоторых иконок Font Awesome 6 вам может потребоваться указать префикс fa или fab перед названием иконки (например, «fab-bluesky»), поскольку некоторые иконки относятся к определенному подмножеству. Подробности об этом использовании см. в статье Мы обновляем наши иконки до Font Awesome 6!.

После того как вы добавите эти иконки во все три места, вы должны увидеть их корректное отображение в компоненте темы Brand Header.

:discourse2: Размещено у нас? Компоненты тем доступны для использования на наших тарифах Standard, Business и Enterprise.

87 лайков
Is there a setting to add Facebook, twitter , Instagram profile links?
Beginner's guide to using Discourse Themes
Reuse Discourse Hamburger Functionality
Introducing Font Awesome 5 and SVG icons
How to use brand header html in my WordPress site
WordPress in a Discourse iFrame?
How to create additional header?
How to put a backlink to our company website above the top-menu in discourse?
Can I add a icon and link back to my homesite at the top bar
Customise home login page
How to finely scroll out custom header?
Login with federated social networks
Customize Your Site Branding
Need to create good-looking front page with Discourse login option
How I can add a custom header
Horizon interaction with Brand Header
How to add a directory of people/businesses to my theme?
How to create custom theme component?
Custom website header with forum
Adding header in theme messes up topic progress bar (when docked)
Structuring a multilingual community
Are these possible only with a custom theme?
Horizon Theme
How do I move an image/banner to the VERY top of the page?
Combining Brand Header and Header Submenus Plugins
Brand Header breaks chat reply box on mobile (iOS)
Air Theme
Quick access to bookmarks and messages on user menu
Why does the logo navigate to Discourse home not main site home
TavoWEB theme for Discourse
How to make your side have a side-bar and external links
Display name of forum
DiscoTOC & Brand Header - using together
TypeError: Discourse._registerPluginCode is not a function
Brand header theme component breaks page layout on static and no_ember pages
Brand header theme component breaks page layout on static and no_ember pages
How to add top menu bar like try.discourse.org
Dropdown links in existing Header
Insert Link to External Website
Structuring a multilingual community
Help needed with theming and logo
How do the Links and Icons settings work?
Customizing your site with existing theme components
How to embed Discourse in Wordpress?
Customize the header with links, icons, or menus
🌅 Introducing Horizon, our newest theme