Skip to content
Snippets Groups Projects
Commit c7e99661 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3505: adding colour bar to the header

parent 0b90e64d
No related branches found
No related tags found
No related merge requests found
{% set lvls = 4 %}
<div id="color-bar" class="uw_site--colors">
<div class="uw-section--innner">
<div class="uw-site--cbar">
{% for lvl in range(1,lvls) %}
<div class="uw-colors--lvl{{ lvl }}--background uw-cbar"></div>
{% endfor %}
</div>
</div>
</div>
<header class="uw-header" role="banner"> {% set additional_attributes = {
'class': classes,
} %}
<header {{ add_attributes(additional_attributes) }} role="banner">
<div class="uw-header__wrapper"> <div class="uw-header__wrapper">
{% include "@components/site-logo/site-logo.twig"%} {% include "@components/site-logo/site-logo.twig"%}
{% block content %} {% block content %}
...@@ -7,4 +11,5 @@ ...@@ -7,4 +11,5 @@
} %} } %}
{% endblock %} {% endblock %}
</div> </div>
{% include "@global/01-colors-bars/_color-bar.twig" %}
</header> </header>
...@@ -35,4 +35,7 @@ items: ...@@ -35,4 +35,7 @@ items:
options: options:
attributes: attributes:
class: '' class: ''
in_active_trail: false in_active_trail: false
\ No newline at end of file classes:
- 'uw-header'
- 'default'
\ No newline at end of file
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