Skip to content

Commit

Permalink
Added brand and global_search blocks to main layout
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Oct 29, 2023
1 parent 17f7e51 commit 75f7b0b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/bundle/Resources/views/themes/admin/ui/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,16 @@
{% block header_row %}
<header class="ibexa-main-header">
<div class="ibexa-main-header__brand-column">
<a class="ibexa-main-header__brand" href="{{ url('ibexa.dashboard') }}">
<img class="ibexa-main-header__brand-image" src="{{ asset('bundles/ibexaadminui/img/ibexa-logo.svg') }}" alt="Ibexa" />
</a>
{% block brand %}
<a class="ibexa-main-header__brand" href="{{ url('ibexa.dashboard') }}">
<img class="ibexa-main-header__brand-image" src="{{ asset('bundles/ibexaadminui/img/ibexa-logo.svg') }}" alt="Ibexa" />
</a>
{% endblock %}
</div>
<div class="ibexa-main-header__search-column">
{{ ibexa_render_component_group('global-search') }}
{% block global_search %}
{{ ibexa_render_component_group('global-search') }}
{% endblock %}
</div>
<div class="ibexa-main-header__user-menu-column">
{% block user_menu %}
Expand Down

0 comments on commit 75f7b0b

Please sign in to comment.