Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4055d469 authored by escuriola's avatar escuriola
Browse files

OEL-779: Navigation fixes.

parent 21105f79
No related branches found
No related tags found
2 merge requests!64Update epic user profile,!63OEL-779: Update templates to use new pattern definitions
......@@ -81,10 +81,7 @@ class SearchForm extends FormBase {
'#id' => 'button',
'#variant' => 'light',
'#fields' => [
'icon' => [
'name' => 'search',
'size' => 'xs',
],
'icon' => 'search',
'settings' => [
'type' => 'submit',
],
......
......@@ -17,7 +17,7 @@
{% set _header_attributes = create_attribute() %}
{% block header %}
<header {{ _header_attributes }}>
{% endblock %}
{% endblock %}
<nav {{ _nav_attributes }}>
<div class="container">
{{ navbar_branding }}
......@@ -28,9 +28,9 @@
</nav>
{%
set _project_attributes = create_attribute().addClass([
'bcl-header__project',
bcl_header_style == 'light' ? bcl_header_style,
])
'bcl-header__project',
bcl_header_style == 'light' ? bcl_header_style,
])
%}
<div {{ _project_attributes }}>
<div class="container">
......@@ -38,10 +38,9 @@
</div>
</div>
{{ pattern('navbar', {
navbar_left: header_left,
navbar_right: header_right,
color_set: 'dark',
collapse_id: 'navbarNavDropdown',
navigation: header_left,
right: header_right,
color_scheme: 'dark',
attributes: navbar_attributes,
}) }}
<div class="container">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment