@openeuropa/bcl-navbar 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/navbar.html.twig +22 -20
- package/package.json +4 -4
package/navbar.html.twig
CHANGED
|
@@ -45,26 +45,28 @@
|
|
|
45
45
|
{{ attributes }}
|
|
46
46
|
>
|
|
47
47
|
<div class='container'>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
{%
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
{% if _brand is not empty %}
|
|
49
|
+
<a class='navbar-brand' href='{{ _brand.link }}'>
|
|
50
|
+
{% for logo in _brand.logos %}
|
|
51
|
+
<img
|
|
52
|
+
src='{{ logo.src }}'
|
|
53
|
+
{% if logo.alt is not empty %}
|
|
54
|
+
alt='{{ logo.alt }}'
|
|
55
|
+
{% endif %}
|
|
56
|
+
{% if logo.class is not empty %}
|
|
57
|
+
class='{{ logo.class }}'
|
|
58
|
+
{% endif %}
|
|
59
|
+
/>
|
|
60
|
+
{% endfor %}
|
|
61
|
+
{%- if _brand.label is defined -%}
|
|
62
|
+
<div class="h5 ms-4-5 d-none d-lg-inline-block">
|
|
63
|
+
{{- _brand.label -}}
|
|
64
|
+
</div>
|
|
65
|
+
{% endif %}
|
|
66
|
+
</a>
|
|
67
|
+
{% endif %}
|
|
68
|
+
|
|
69
|
+
{% if not _disable_collapse %}
|
|
68
70
|
<button
|
|
69
71
|
class='navbar-toggler'
|
|
70
72
|
type='button'
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-navbar",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.16.0",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@openeuropa/bcl-form": "^0.
|
|
8
|
-
"@openeuropa/bcl-navigation": "^0.
|
|
7
|
+
"@openeuropa/bcl-form": "^0.16.0",
|
|
8
|
+
"@openeuropa/bcl-navigation": "^0.16.0"
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"design-system",
|
|
26
26
|
"twig"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "39a52d25c36789a0c4712b0f6e55cbc5cbbedcb5"
|
|
29
29
|
}
|