@openeuropa/bcl-twig-templates 0.24.0 → 0.25.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/package.json CHANGED
@@ -2,75 +2,75 @@
2
2
  "name": "@openeuropa/bcl-twig-templates",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.24.0",
5
+ "version": "0.25.0",
6
6
  "description": "OE Bcl Twig Templates",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "devDependencies": {
11
- "@openeuropa/bcl-accordion": "^0.24.0",
12
- "@openeuropa/bcl-alert": "^0.24.0",
13
- "@openeuropa/bcl-badge": "^0.24.0",
14
- "@openeuropa/bcl-banner": "^0.24.0",
15
- "@openeuropa/bcl-base-templates": "^0.24.0",
16
- "@openeuropa/bcl-blockquote": "^0.24.0",
17
- "@openeuropa/bcl-breadcrumb": "^0.24.0",
18
- "@openeuropa/bcl-button": "^0.24.0",
19
- "@openeuropa/bcl-button-group": "^0.24.0",
20
- "@openeuropa/bcl-card": "^0.24.0",
21
- "@openeuropa/bcl-card-layout": "^0.24.0",
22
- "@openeuropa/bcl-carousel": "^0.24.0",
23
- "@openeuropa/bcl-contact-form": "^0.24.0",
24
- "@openeuropa/bcl-content-banner": "^0.24.0",
25
- "@openeuropa/bcl-date-block": "^0.24.0",
26
- "@openeuropa/bcl-description-list": "^0.24.0",
27
- "@openeuropa/bcl-dropdown": "^0.24.0",
28
- "@openeuropa/bcl-event": "^0.24.0",
29
- "@openeuropa/bcl-fact-figures": "^0.24.0",
30
- "@openeuropa/bcl-featured-media": "^0.24.0",
31
- "@openeuropa/bcl-file": "^0.24.0",
32
- "@openeuropa/bcl-footer": "^0.24.0",
33
- "@openeuropa/bcl-form": "^0.24.0",
34
- "@openeuropa/bcl-form-input": "^0.24.0",
35
- "@openeuropa/bcl-gallery": "^0.24.0",
36
- "@openeuropa/bcl-glossary": "^0.24.0",
37
- "@openeuropa/bcl-group": "^0.24.0",
38
- "@openeuropa/bcl-header": "^0.24.0",
39
- "@openeuropa/bcl-heading": "^0.24.0",
40
- "@openeuropa/bcl-icon": "^0.24.0",
41
- "@openeuropa/bcl-inpage-navigation": "^0.24.0",
42
- "@openeuropa/bcl-landing-page": "^0.24.0",
43
- "@openeuropa/bcl-language-list": "^0.24.0",
44
- "@openeuropa/bcl-language-switcher": "^0.24.0",
45
- "@openeuropa/bcl-link": "^0.24.0",
46
- "@openeuropa/bcl-links-block": "^0.24.0",
47
- "@openeuropa/bcl-list-group": "^0.24.0",
48
- "@openeuropa/bcl-listing": "^0.24.0",
49
- "@openeuropa/bcl-modal": "^0.24.0",
50
- "@openeuropa/bcl-multilingual": "^0.24.0",
51
- "@openeuropa/bcl-navbar": "^0.24.0",
52
- "@openeuropa/bcl-navigation": "^0.24.0",
53
- "@openeuropa/bcl-news": "^0.24.0",
54
- "@openeuropa/bcl-offcanvas": "^0.24.0",
55
- "@openeuropa/bcl-page": "^0.24.0",
56
- "@openeuropa/bcl-pagination": "^0.24.0",
57
- "@openeuropa/bcl-person": "^0.24.0",
58
- "@openeuropa/bcl-placeholder": "^0.24.0",
59
- "@openeuropa/bcl-progress": "^0.24.0",
60
- "@openeuropa/bcl-project": "^0.24.0",
61
- "@openeuropa/bcl-project-status": "^0.24.0",
62
- "@openeuropa/bcl-recent-activities": "^0.24.0",
63
- "@openeuropa/bcl-search": "^0.24.0",
64
- "@openeuropa/bcl-search-form": "^0.24.0",
65
- "@openeuropa/bcl-select": "^0.24.0",
66
- "@openeuropa/bcl-spinner": "^0.24.0",
67
- "@openeuropa/bcl-subscription": "^0.24.0",
68
- "@openeuropa/bcl-subscription-block": "^0.24.0",
69
- "@openeuropa/bcl-table": "^0.24.0",
70
- "@openeuropa/bcl-textarea": "^0.24.0",
71
- "@openeuropa/bcl-timeline": "^0.24.0",
72
- "@openeuropa/bcl-toast": "^0.24.0",
73
- "@openeuropa/bcl-user": "^0.24.0",
11
+ "@openeuropa/bcl-accordion": "^0.25.0",
12
+ "@openeuropa/bcl-alert": "^0.25.0",
13
+ "@openeuropa/bcl-badge": "^0.25.0",
14
+ "@openeuropa/bcl-banner": "^0.25.0",
15
+ "@openeuropa/bcl-base-templates": "^0.25.0",
16
+ "@openeuropa/bcl-blockquote": "^0.25.0",
17
+ "@openeuropa/bcl-breadcrumb": "^0.25.0",
18
+ "@openeuropa/bcl-button": "^0.25.0",
19
+ "@openeuropa/bcl-button-group": "^0.25.0",
20
+ "@openeuropa/bcl-card": "^0.25.0",
21
+ "@openeuropa/bcl-card-layout": "^0.25.0",
22
+ "@openeuropa/bcl-carousel": "^0.25.0",
23
+ "@openeuropa/bcl-contact-form": "^0.25.0",
24
+ "@openeuropa/bcl-content-banner": "^0.25.0",
25
+ "@openeuropa/bcl-date-block": "^0.25.0",
26
+ "@openeuropa/bcl-description-list": "^0.25.0",
27
+ "@openeuropa/bcl-dropdown": "^0.25.0",
28
+ "@openeuropa/bcl-event": "^0.25.0",
29
+ "@openeuropa/bcl-fact-figures": "^0.25.0",
30
+ "@openeuropa/bcl-featured-media": "^0.25.0",
31
+ "@openeuropa/bcl-file": "^0.25.0",
32
+ "@openeuropa/bcl-footer": "^0.25.0",
33
+ "@openeuropa/bcl-form": "^0.25.0",
34
+ "@openeuropa/bcl-form-input": "^0.25.0",
35
+ "@openeuropa/bcl-gallery": "^0.25.0",
36
+ "@openeuropa/bcl-glossary": "^0.25.0",
37
+ "@openeuropa/bcl-group": "^0.25.0",
38
+ "@openeuropa/bcl-header": "^0.25.0",
39
+ "@openeuropa/bcl-heading": "^0.25.0",
40
+ "@openeuropa/bcl-icon": "^0.25.0",
41
+ "@openeuropa/bcl-inpage-navigation": "^0.25.0",
42
+ "@openeuropa/bcl-landing-page": "^0.25.0",
43
+ "@openeuropa/bcl-language-list": "^0.25.0",
44
+ "@openeuropa/bcl-language-switcher": "^0.25.0",
45
+ "@openeuropa/bcl-link": "^0.25.0",
46
+ "@openeuropa/bcl-links-block": "^0.25.0",
47
+ "@openeuropa/bcl-list-group": "^0.25.0",
48
+ "@openeuropa/bcl-listing": "^0.25.0",
49
+ "@openeuropa/bcl-modal": "^0.25.0",
50
+ "@openeuropa/bcl-multilingual": "^0.25.0",
51
+ "@openeuropa/bcl-navbar": "^0.25.0",
52
+ "@openeuropa/bcl-navigation": "^0.25.0",
53
+ "@openeuropa/bcl-news": "^0.25.0",
54
+ "@openeuropa/bcl-offcanvas": "^0.25.0",
55
+ "@openeuropa/bcl-page": "^0.25.0",
56
+ "@openeuropa/bcl-pagination": "^0.25.0",
57
+ "@openeuropa/bcl-person": "^0.25.0",
58
+ "@openeuropa/bcl-placeholder": "^0.25.0",
59
+ "@openeuropa/bcl-progress": "^0.25.0",
60
+ "@openeuropa/bcl-project": "^0.25.0",
61
+ "@openeuropa/bcl-project-status": "^0.25.0",
62
+ "@openeuropa/bcl-recent-activities": "^0.25.0",
63
+ "@openeuropa/bcl-search": "^0.25.0",
64
+ "@openeuropa/bcl-search-form": "^0.25.0",
65
+ "@openeuropa/bcl-select": "^0.25.0",
66
+ "@openeuropa/bcl-spinner": "^0.25.0",
67
+ "@openeuropa/bcl-subscription": "^0.25.0",
68
+ "@openeuropa/bcl-subscription-block": "^0.25.0",
69
+ "@openeuropa/bcl-table": "^0.25.0",
70
+ "@openeuropa/bcl-textarea": "^0.25.0",
71
+ "@openeuropa/bcl-timeline": "^0.25.0",
72
+ "@openeuropa/bcl-toast": "^0.25.0",
73
+ "@openeuropa/bcl-user": "^0.25.0",
74
74
  "copyfiles": "2.4.1",
75
75
  "rimraf": "3.0.2"
76
76
  },
@@ -93,5 +93,5 @@
93
93
  "design-system",
94
94
  "twig"
95
95
  ],
96
- "gitHead": "a46bb6bc12771da4667516dc7b0665b00504ade2"
96
+ "gitHead": "f50c7dfeab8695bbb5c18d5f7d5304509512268a"
97
97
  }
@@ -2,6 +2,10 @@
2
2
 
3
3
  {#
4
4
  Parameters:
5
+ - title (string) (default: '')
6
+ - title_tag (string) (default: 'h2')
7
+ - title_link: (link object) (default: {})
8
+ - title_attributes: (drupal attrs)
5
9
  - id (int) (default: random(1000))
6
10
  - flush (boolean) (default: false)
7
11
  - items (array) (default: []): format: [
@@ -16,6 +20,10 @@
16
20
  - attributes (drupal attrs)
17
21
  #}
18
22
 
23
+ {% set _title = title|default('') %}
24
+ {% set _title_tag = title_tag|default('h2') %}
25
+ {% set _title_link = title_link|default({}) %}
26
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
19
27
  {% set _id = id|default(random(1000)) %}
20
28
  {% set _flush = flush|default(false) %}
21
29
  {% set _items = items|default([]) %}
@@ -35,6 +43,15 @@
35
43
  <div
36
44
  {{ attributes }}
37
45
  >
46
+ {%- if _title is not empty -%}
47
+ {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
48
+ title: _title,
49
+ title_tag: _title_tag,
50
+ title_link: _title_link,
51
+ attributes: _title_attributes,
52
+ } only %}
53
+ {%- endif -%}
54
+
38
55
  {% for _item in _items %}
39
56
  {% set _open_item = _open_item_id == loop.index %}
40
57
  {% set _button_classes = ['accordion-button'] %}
@@ -1,6 +1,10 @@
1
1
  {% spaceless %}
2
2
 
3
3
  {# Parameters:
4
+ - title (string) (default: '')
5
+ - title_tag (string) (default: 'h2')
6
+ - title_link: (link object) (default: {})
7
+ - title_attributes: (drupal attrs)
4
8
  - quote (string) (default: '')
5
9
  - attribution (string) (default: '')
6
10
  - cite (string) (default: '')
@@ -9,6 +13,10 @@
9
13
  - attributes (drupal attrs)
10
14
  #}
11
15
 
16
+ {% set _title = title|default('') %}
17
+ {% set _title_tag = title_tag|default('h2') %}
18
+ {% set _title_link = title_link|default({}) %}
19
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
12
20
  {% set _quote = quote|default('') %}
13
21
  {% set _attribution = attribution|default('') %}
14
22
  {% set _cite = cite|default('') %}
@@ -37,6 +45,15 @@
37
45
 
38
46
  {% set attributes = attributes.addClass(_classes) %}
39
47
 
48
+ {%- if _title is not empty -%}
49
+ {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
50
+ title: _title,
51
+ title_tag: _title_tag,
52
+ title_link: _title_link,
53
+ attributes: _title_attributes,
54
+ } only %}
55
+ {%- endif -%}
56
+
40
57
  <figure
41
58
  {{ attributes }}
42
59
  >
@@ -28,9 +28,10 @@
28
28
  - horizontal (boolean) (default: false)
29
29
  - horizontal_grid (object) (default: {})
30
30
  format: {
31
- left_col_classes (default: 'col-4')
32
- right_col_classes (default: 'col-8')
31
+ left_col_classes (default: 'bcl-card-start-col')
32
+ right_col_classes (default: 'col')
33
33
  gutter (default: '')
34
+ gutter (default: '') - options: ['small', 'large']
34
35
  }
35
36
  - variant (string) (default: '')
36
37
  - border_variant (string) (default: '')
@@ -63,8 +64,9 @@
63
64
  {% set _variant = variant|default('') %}
64
65
  {% set _horizontal = horizontal|default(false) %}
65
66
  {% set _horizontal_grid = horizontal_grid|default({
66
- left_col_classes: 'col-4',
67
- right_col_classes: 'col-8'
67
+ left_col_classes: 'bcl-card-start-col',
68
+ right_col_classes: 'col',
69
+ left_col_size: '',
68
70
  }) %}
69
71
  {% set _border_variant = border_variant|default('') %}
70
72
  {% set _text_color = text_color|default('') %}
@@ -170,7 +172,7 @@
170
172
  <div class='{{ _body_classes }}'>
171
173
  {% if _title is not empty %}
172
174
  {% if _title_attributes.class is empty %}
173
- {% set _title_attributes = _title_attributes.addClass('fs-5') %}
175
+ {% set _title_attributes = _title_attributes.addClass('fs-4') %}
174
176
  {% endif %}
175
177
  {% set _title_attributes = _title_attributes.addClass('card-title') %}
176
178
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
@@ -1,7 +1,10 @@
1
1
  {% spaceless %}
2
2
 
3
3
  {# Parameters:
4
- - id (string) (default: '')
4
+ - title (string) (default: '')
5
+ - title_tag (string) (default: 'h2')
6
+ - title_link: (link object) (default: {})
7
+ - title_attributes: (drupal attrs)
5
8
  - autoplay (boolean) (default: true)
6
9
  - autoinit (boolean) (default: true)
7
10
  - dark (boolean) (default: false)
@@ -25,6 +28,10 @@
25
28
  - attributes (drupal attrs)
26
29
  #}
27
30
 
31
+ {% set _title = title|default('') %}
32
+ {% set _title_tag = title_tag|default('h2') %}
33
+ {% set _title_link = title_link|default({}) %}
34
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
28
35
  {% set _id = id|default('') %}
29
36
  {% set _autoinit = autoinit ?? true %}
30
37
  {% set _autoplay = autoplay ?? true %}
@@ -39,7 +46,7 @@
39
46
  {% set _rounded_indicators = rounded_indicators|default(false) %}
40
47
  {% set _disable_touch = disable_touch|default(false) %}
41
48
 
42
- {% set _classes = ['carousel slide'] %}
49
+ {% set _classes = ['carousel', 'slide'] %}
43
50
 
44
51
  {% if _fade %}
45
52
  {% set _classes = _classes|merge(['carousel-fade']) %}
@@ -74,6 +81,15 @@
74
81
 
75
82
  {% set attributes = attributes.addClass(_classes) %}
76
83
 
84
+ {%- if _title is not empty -%}
85
+ {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
86
+ title: _title,
87
+ title_tag: _title_tag,
88
+ title_link: _title_link,
89
+ attributes: _title_attributes,
90
+ } only %}
91
+ {%- endif -%}
92
+
77
93
  <div
78
94
  {{ attributes }}
79
95
  >
@@ -11,7 +11,7 @@
11
11
  - image (object)
12
12
  - image_size: (string)
13
13
  - date: (object)
14
- options: ['sm', 'md', 'lg']
14
+ options: ['sm', 'md', 'lg', 'xl']
15
15
  - content: (string)
16
16
  - badges: (array of objects of type badge)
17
17
  - links: (array of objects of type link)
@@ -63,20 +63,23 @@
63
63
  {% set _right_col_classes = 'col-md-8 col-lg-9 col-xxl-8' %}
64
64
 
65
65
  {% if _image is not empty %}
66
- {% set _left_col_classes = 'col-8 col-md-4 col-lg-3 offset-2 offset-md-0' %}
67
- {% set _right_col_classes = 'col-md-8 col-lg-9 col-xxl-8' %}
66
+ {% set _left_col_classes = 'bcl-card-start-col' %}
68
67
  {% set _body_classes = 'pt-4 pt-md-0 px-0 px-md-3 pb-0' %}
69
68
  {% if _image_size == 'lg' %}
70
- {% set _left_col_classes = 'col-md-4' %}
71
- {% set _right_col_classes = 'col-md-8' %}
69
+ {% set _left_col_classes = _left_col_classes ~ ' bcl-size-large' %}
70
+ {% set _right_col_classes = 'col-12 col-md-7 col-lg-8 col-xl-9 col-xxl-8' %}
72
71
  {% endif %}
73
72
  {% if _image_size == 'sm' %}
74
- {% set _left_col_classes = 'col-6 col-md-4 col-lg-2 offset-3 offset-md-0' %}
73
+ {% set _left_col_classes = _left_col_classes ~ ' bcl-size-small' %}
74
+ {% endif %}
75
+ {% if _image_size == 'xl' %}
76
+ {% set _left_col_classes = _left_col_classes ~ ' bcl-size-extra-large' %}
77
+ {% set _right_col_classes = 'col-12 col-lg-7 col-xl-8' %}
75
78
  {% endif %}
76
79
  {% endif %}
77
80
  {% if _date is not empty %}
78
- {% set _left_col_classes = 'col-8 col-md-3 col-lg-2 offset-4 offset-md-0' %}
79
- {% set _right_col_classes = 'col-md-9 col-lg-10 col-xxl-8' %}
81
+ {% set _left_col_classes = 'bcl-card-start-col' %}
82
+ {% set _right_col_classes = 'col-12 col-md col-xxl-9' %}
80
83
  {% endif %}
81
84
 
82
85
  {% set _horizontal_classes = {
@@ -2,37 +2,59 @@
2
2
 
3
3
  {#
4
4
  Parameters:
5
- - title: (string) (default: "")
6
- - title_tag: (string) (default: "h2")
5
+ - title: (string) (default: '')
6
+ - title_tag: (string) (default: 'h2')
7
7
  - title_link: (link object) (default: {})
8
8
  - title_attributes (drupal attrs)
9
+ - bordered (boolean) (default: '')
9
10
  - items (array) (default: []): format: [
10
11
  {
11
12
  term (object or array of object) -format: {
12
13
  icon: {} - icon object,
13
- label: ""
14
+ label: ''
14
15
  }
15
16
  definition (block or array of string)
16
17
  },
17
18
  ...
18
19
  ]
19
20
  - variant (string) (default: '')
20
- - option: ["horizontal"]
21
+ - option: ['horizontal']
21
22
  #}
22
23
 
23
24
  {% set _title = title|default('') %}
24
25
  {% set _title_tag = title_tag|default('h2') %}
25
26
  {% set _title_link = title_link|default({}) %}
27
+ {% set _bordered = bordered|default(false) %}
28
+ {% set _title_link = title_link|default({}) %}
26
29
  {% set _title_attributes = title_attributes ?: create_attribute() %}
27
30
  {% set _items = items|default([]) %}
28
31
  {% set _variant = variant|default('') %}
29
32
 
33
+ {% set _classes = ['bcl-description-list'] %}
34
+
30
35
  {% if attributes is empty %}
31
36
  {% set attributes = create_attribute() %}
32
37
  {% endif %}
33
38
 
39
+ {% set _item_classes = '' %}
40
+
34
41
  {% if _variant == 'horizontal' %}
35
- {% set attributes = attributes.addClass(["d-md-grid", "grid-3-9"]) %}
42
+ {% set _item_classes = 'd-md-grid grid-3-9' %}
43
+ {% if _bordered %}
44
+ {% set _item_classes = _item_classes ~ ' mb-2-5 pb-2-5' %}
45
+ {% else %}
46
+ {% set _item_classes = _item_classes ~ ' mb-3' %}
47
+ {% endif %}
48
+ {% else %}
49
+ {% set _item_classes = 'mb-3' %}
50
+ {% if _bordered %}
51
+ {% set _item_classes = 'mb-2-5' %}
52
+ {% set _item_classes = _item_classes ~ ' pb-2-5' %}
53
+ {% endif %}
54
+ {% endif %}
55
+
56
+ {% if _bordered %}
57
+ {% set _item_classes = _item_classes ~ ' border-bottom' %}
36
58
  {% endif %}
37
59
 
38
60
  {% if _title is not empty %}
@@ -44,101 +66,120 @@
44
66
  } only %}
45
67
  {% endif %}
46
68
 
47
- <dl
69
+ {% set attributes = attributes.addClass(_classes) %}
70
+
71
+ <div
48
72
  {{ attributes }}
49
73
  >
50
74
  {% for _item in _items %}
51
- {% if _item.term is not empty %}
52
- {% if _item.term is iterable %}
53
- {% if _variant == 'horizontal' %}
54
- <div>
55
- {% endif %}
56
- {% for _term in _item.term %}
57
- <dt
58
- {% if _variant == 'horizontal' and _term.icon is not empty %}
59
- class="d-flex"
60
- {% endif %}
61
- >
62
- {%- if _term.icon is not empty -%}
63
- {% set _icon_classes = ["me-2"] %}
64
- {% if _variant == 'horizontal' %}
65
- {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
66
- {% endif %}
67
- {% include '@oe-bcl/bcl-icon/icon.html.twig' with _term.icon|merge({
68
- attributes: create_attribute().addClass(_icon_classes)
69
- }) only %}
70
- <p class="mb-0 d-inline-block">{{ _term.label }}</p>
71
- {%- elseif _term.color is not empty -%}
72
- <div class="d-flex align-items-center">
73
- <span class="p-2 me-2 d-inline-block rounded-1 {{ _term.color }}"></span>{{- _term.label -}}
74
- </div>
75
- {%- else -%}
76
- {{- _term.label -}}
77
- {%- endif -%}
78
- </dt>
79
- {% endfor %}
75
+ {% if loop.last and _variant != 'horizontal' %}
76
+ {% set _item_classes = '' %}
77
+ {% endif %}
78
+ {% if _item.term is not empty %}
79
+ <dl
80
+ {% if _item_classes is not empty %}
81
+ class="{{ _item_classes }}"
82
+ {% endif %}
83
+ >
84
+ {% if _item.term is iterable %}
85
+ <dt>
86
+ {% for _term in _item.term %}
87
+ {%- if _item.term|length > 1 -%}
88
+ <div
89
+ {% if _variant == 'horizontal' and _term.icon is not empty %}
90
+ class="d-flex"
91
+ {% endif %}
92
+ >
93
+ {%- endif -%}
94
+ {%- if _term.icon is not empty -%}
95
+ {% set _icon_classes = ["me-2"] %}
80
96
  {% if _variant == 'horizontal' %}
81
- </div>
97
+ {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
82
98
  {% endif %}
83
- {% else %}
84
- <dt
85
- {% if _variant == 'horizontal' and _item.term.icon is not empty %}
86
- class="d-flex"
87
- {% endif %}
88
- >
89
- {%- if _item.term.icon is not empty -%}
90
- {% set _icon_classes = ["me-2"] %}
91
- {% if _variant == 'horizontal' %}
92
- {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
93
- {% endif %}
94
- {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _item.term.icon|merge({
95
- attributes: create_attribute().addClass(_icon_classes)
96
- }) only -%}
97
- <p class="mb-0 d-inline-block">{{ _item.term.label }}</p>
98
- {%- elseif _item.term.color is not empty -%}
99
- <div class="d-flex align-items-center">
100
- <span class="p-2 me-2 d-inline-block rounded-1 {{ _item.term.color }}"></span>{{- _item.term.label -}}
101
- </div>
102
- {%- else -%}
103
- {{- _item.term.label -}}
104
- {%- endif -%}
105
- </dt>
99
+ {% include '@oe-bcl/bcl-icon/icon.html.twig' with _term.icon|merge({
100
+ attributes: create_attribute().addClass(_icon_classes)
101
+ }) only %}
102
+ <p class="mb-0 d-inline-block">{{ _term.label }}</p>
103
+ {%- elseif _term.color is not empty -%}
104
+ <div class="d-flex align-items-center">
105
+ <span class="p-2 me-2 d-inline-block rounded-1 {{ _term.color }}"></span>{{- _term.label -}}
106
+ </div>
107
+ {%- else -%}
108
+ {{- _term.label -}}
109
+ {%- endif -%}
110
+ {% if _item.term|length > 1 %}
111
+ </div>
112
+ {% endif %}
113
+ {% endfor %}
114
+ </dt>
115
+ {% else %}
116
+ <dt
117
+ {% if _variant == 'horizontal' and _item.term.icon is not empty %}
118
+ class="d-flex"
106
119
  {% endif %}
120
+ >
121
+ {%- if _item.term.icon is not empty -%}
122
+ {% set _icon_classes = ["me-2"] %}
123
+ {% if _variant == 'horizontal' %}
124
+ {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
125
+ {% endif %}
126
+ {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _item.term.icon|merge({
127
+ attributes: create_attribute().addClass(_icon_classes)
128
+ }) only -%}
129
+ <p class="mb-0 d-inline-block">{{ _item.term.label }}</p>
130
+ {%- elseif _item.term.color is not empty -%}
131
+ <div class="d-flex align-items-center">
132
+ <span class="p-2 me-2 d-inline-block rounded-1 {{ _item.term.color }}"></span>{{- _item.term.label -}}
133
+ </div>
134
+ {%- else -%}
135
+ {{- _item.term.label -}}
136
+ {%- endif -%}
137
+ </dt>
107
138
  {% endif %}
108
- {% if _item.definition is not empty %}
109
- {% if _item.definition is iterable %}
110
- {% if _variant == 'horizontal' %}
111
- <dd>
139
+ {% endif %}
140
+ {% if _item.definition is not empty %}
141
+ {% if _item.definition is iterable %}
142
+ {% if _variant == 'horizontal' %}
143
+ <dd
144
+ {% if _bordered %}
145
+ class="mb-0"
112
146
  {% endif %}
113
- {% for _definition in _item.definition %}
114
- {% if _variant == 'horizontal' %}<div>{% else %}<dd>{% endif %}
115
- {%- if _definition.button is defined -%}
116
- {% include '@oe-bcl/bcl-button/button.html.twig' with _definition.button only %}
117
- {%- elseif _definition.link is defined %}
118
- {% include '@oe-bcl/bcl-link/link.html.twig' with _definition.link only -%}
147
+ >
148
+ {% endif %}
149
+ {% for _definition in _item.definition %}
150
+ {% if _variant == 'horizontal' %}<div>{% else %}<dd>{% endif %}
151
+ {%- if _definition.button is defined -%}
152
+ {% include '@oe-bcl/bcl-button/button.html.twig' with _definition.button only %}
153
+ {%- elseif _definition.link is defined %}
154
+ {% include '@oe-bcl/bcl-link/link.html.twig' with _definition.link only -%}
155
+ {%- else -%}
156
+ {%- if _definition.icon is defined -%}
157
+ {%- set _icon_classes = ["me-2"] -%}
158
+ {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _definition.icon|merge({
159
+ attributes: create_attribute().addClass(_icon_classes)
160
+ }) only -%}
161
+ <p class="mb-0 d-inline-block">{{ _definition.label }}</p>
119
162
  {%- else -%}
120
- {%- if _definition.icon is defined -%}
121
- {%- set _icon_classes = ["me-2"] -%}
122
- {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _definition.icon|merge({
123
- attributes: create_attribute().addClass(_icon_classes)
124
- }) only -%}
125
- <p class="mb-0 d-inline-block">{{ _definition.label }}</p>
126
- {%- else -%}
127
- {{- _definition.label -}}
128
- {%- endif -%}
163
+ {{- _definition.label -}}
129
164
  {%- endif -%}
130
- {% if _variant == 'horizontal' %}</div>{% else %}</dd>{% endif %}
131
- {% endfor %}
132
- {% if _variant == 'horizontal' %}
133
- </dd>
134
- {% endif %}
135
- {% else %}
136
- <dd>
137
- {%- block definition _item.definition -%}
138
- </dd>
165
+ {%- endif -%}
166
+ {% if _variant == 'horizontal' %}</div>{% else %}</dd>{% endif %}
167
+ {% endfor %}
168
+ {% if _variant == 'horizontal' %}
169
+ </dd>
170
+ {% endif %}
171
+ {% else %}
172
+ <dd
173
+ {% if _bordered %}
174
+ class="mb-0"
139
175
  {% endif %}
176
+ >
177
+ {%- block definition _item.definition -%}
178
+ </dd>
140
179
  {% endif %}
180
+ </dl>
181
+ {% endif %}
141
182
  {% endfor %}
142
- </dl>
183
+ </div>
143
184
 
144
185
  {% endspaceless %}
@@ -29,7 +29,7 @@
29
29
  {% set _title_link = title_link|default({}) %}
30
30
  {% set _title_attributes = title_attributes ?: create_attribute() %}
31
31
  {% set _variant = variant|default('default') %}
32
- {% set _css_classes = ['bcl-fact-figures', 'bcl-fact-figures--' ~ _variant] %}
32
+ {% set _classes = ['bcl-fact-figures', 'bcl-fact-figures--' ~ _variant] %}
33
33
  {% set _display_icons = display_icons ?? true %}
34
34
  {% set _items = items|default([]) %}
35
35
  {% set _grid_columns = grid_columns|default(1) %}
@@ -66,7 +66,7 @@
66
66
  {% set attributes = create_attribute() %}
67
67
  {% endif %}
68
68
 
69
- {% set attributes = attributes.addClass(_css_classes) %}
69
+ {% set attributes = attributes.addClass(_classes) %}
70
70
 
71
71
  <div {{ attributes }}>
72
72
  {% if _title is not empty %}
@@ -2,8 +2,10 @@
2
2
 
3
3
  {# Parameters:
4
4
  - with_text (boolean) (default: false)
5
- - title: (string) (default: '')
6
- - title_tag: (string) (default: 'h2')
5
+ - title (string) (default: '')
6
+ - title_tag (string) (default: 'h2')
7
+ - title_link: (link object) (default: {})
8
+ - title_attributes: (drupal attrs)
7
9
  - image: (string) (default: "")
8
10
  - poster_image: (string) (default: "")
9
11
  - content: (string) (default: "")
@@ -34,6 +36,8 @@
34
36
 
35
37
  {% set _title = title|default('') %}
36
38
  {% set _title_tag = title_tag|default('h2') %}
39
+ {% set _title_link = title_link|default({}) %}
40
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
37
41
  {% set _with_text = with_text|default(false) %}
38
42
  {% set _wrapper_classes = 'bcl-featured-item' %}
39
43
  {% set _description = description|default('') %}
@@ -57,19 +61,27 @@
57
61
  {% set attributes = create_attribute() %}
58
62
  {% endif %}
59
63
 
64
+ {% if _with_text %}
65
+ {% set _title_attributes = _title_attributes.addClass(['fw-bold', 'mb-4']) %}
66
+ {% endif %}
67
+
60
68
  {% set attributes = attributes.addClass(["rounded", "overflow-hidden"]) %}
61
69
 
62
70
  {% if _with_text %}
63
71
  <div class="{{ _wrapper_classes }}">
64
-
65
- {% if _title is not empty %}
66
- {% set _title_classes = 'fw-bold mb-4' %}
67
- <{{ _title_tag }} class="{{ _title_classes }}">
68
- {{- _title -}}
69
- </{{ _title_tag }}>
72
+ <div class="row">
70
73
  {% endif %}
71
74
 
72
- <div class="row">
75
+ {%- if _title is not empty -%}
76
+ {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
77
+ title: _title,
78
+ title_tag: _title_tag,
79
+ title_link: _title_link,
80
+ attributes: _title_attributes,
81
+ } only %}
82
+ {%- endif -%}
83
+
84
+ {% if _with_text %}
73
85
  <div class="{{ _col_classes }} order-{{ _alignment == "right" ? '1' : '2' }}">
74
86
  {{- _description|default('') -}}
75
87
 
@@ -56,11 +56,13 @@
56
56
  {% set _translation = translation|default({}) %}
57
57
  {% set _icon_path = icon_path|default({}) %}
58
58
 
59
+ {% set _classes = ['bcl-file'] %}
60
+
59
61
  {% if attributes is empty %}
60
62
  {% set attributes = create_attribute() %}
61
63
  {% endif %}
62
64
 
63
- {% set attributes = attributes.addClass(['bcl-file']) %}
65
+ {% set attributes = attributes.addClass(_classes) %}
64
66
 
65
67
  {% if _icon is not empty %}
66
68
  {% set _container_classes = _container_classes ~ ' ms-2-5' %}
@@ -21,6 +21,8 @@
21
21
  {% set _variant = variant|default('vertical') %}
22
22
  {% set _links = links|default([])%}
23
23
 
24
+ {% set _classes = ['bcl-links-block'] %}
25
+
24
26
  {% set _title_classes = ['pb-3', 'mb-3', 'border-bottom'] %}
25
27
 
26
28
  {% if attributes is empty %}
@@ -31,6 +33,8 @@
31
33
  {% set attributes = attributes.addClass(['bg-light', 'px-4', 'py-3', 'rounded-2']) %}
32
34
  {% endif %}
33
35
 
36
+ {% set attributes = attributes.addClass(_classes) %}
37
+
34
38
  <div
35
39
  {{ attributes }}
36
40
  >
@@ -11,6 +11,8 @@
11
11
  - link: (object of type link)
12
12
  - alignment: (string) (default: '')
13
13
  options ['start', 'end', 'center', 'baseline', 'stretch']
14
+ - image_size: (string) (default: '')
15
+ options ['small', 'large', 'extra-large']
14
16
  - attributes (drupal attrs)
15
17
  #}
16
18
 
@@ -21,6 +23,7 @@
21
23
  {% set _items = items|default([]) %}
22
24
  {% set _variant = variant|default('default-1-col') %}
23
25
  {% set _alignment = alignment|default('') %}
26
+ {% set _image_size = image_size|default('') %}
24
27
  {% set _link = link|default({}) %}
25
28
 
26
29
  {% set _classes = ['bcl-listing', 'bcl-listing--' ~ _variant] %}
@@ -52,19 +55,14 @@
52
55
  {% if _items is not empty %}
53
56
  {% for _card in _items %}
54
57
  {% set _alignment_class = '' %}
55
- {% set _max_width = '' %}
56
- {% set _image = {} %}
57
- {% if _card.image is not empty %}
58
- {% set _image_classes = _card.image.classes ?: '' %}
59
- {% if not _alignment == 'center' %}
60
- {% set _image_classes = _image_classes ? _image_classes ~ ' mb-3' : 'mb-3' %}
61
- {% endif %}
62
- {% set _max_width = 'mw-listing-img' %}
63
- {% set _card = _card|merge({image: _card.image|merge({
64
- classes: _image_classes,
65
- })}) %}
66
- {% elseif _card.date is not empty %}
67
- {% set _max_width = 'mw-col-date mb-3' %}
58
+ {% set _image_classes = _card.image.classes ?: '' %}
59
+ {% set _start_col_classes = 'bcl-card-start-col mb-3 mb-lg-0' %}
60
+ {% set _end_col_classes = 'col-12 col-md' %}
61
+ {% if _image_size is not empty %}
62
+ {% set _start_col_classes = _start_col_classes ~ ' bcl-size-' ~ _image_size %}
63
+ {% endif %}
64
+ {% if 'd-none' in _image_classes %}
65
+ {% set _start_col_classes = _start_col_classes ~ ' d-none d-md-block' %}
68
66
  {% endif %}
69
67
  {% if _alignment is not empty %}
70
68
  {% set _alignment_class = ' align-self-' ~ _alignment %}
@@ -76,7 +74,7 @@
76
74
  title_attributes: _card_title_attributes.addClass(['fs-5'])
77
75
  }) %}
78
76
 
79
- {% if _variant == 'default-1-col' %}
77
+ {% if _variant == 'default-1-col' or _variant == 'default-2-col' or _variant == 'default-3-col' %}
80
78
  {% set _card_classes = [
81
79
  'listing-item',
82
80
  'border-bottom',
@@ -87,45 +85,18 @@
87
85
  {% set _card = _card|merge({
88
86
  horizontal: true,
89
87
  extra_classes_body: 'p-0 pb-md-0 pb-3',
90
- horizontal_grid: {
91
- left_col_classes: 'col-md-3 col-lg-2 rounded ' ~ _max_width ~ _alignment_class,
92
- right_col_classes: 'col-md-9 col-lg-10' ~ _alignment_class,
93
- },
94
- attributes: _card_attributes,
95
- }) %}
96
- {% endif %}
97
-
98
- {% if _variant == 'default-2-col' or _variant == 'default-3-col' %}
99
- {% set _card_classes = [
100
- 'listing-item',
101
- 'border-bottom',
102
- 'border-md-0',
103
- 'border-0',
104
- ] %}
105
- {% set _card_attributes = _card_attributes.addClass(_card_classes) %}
106
- {% set _card = _card|merge({
107
- extra_classes_body: 'p-0 pb-md-0 pb-3',
108
- horizontal: true,
109
88
  attributes: _card_attributes,
89
+ horizontal_grid: {
90
+ left_col_classes: _start_col_classes ~ _alignment_class,
91
+ right_col_classes: _end_col_classes ~ _alignment_class,
92
+ }
110
93
  }) %}
111
-
94
+
112
95
  {% if _variant == 'default-2-col' %}
113
- {% set _card = _card|merge({
114
- horizontal_grid: {
115
- left_col_classes: 'col-xl-3 col-md-5 ' ~ _max_width ~ _alignment_class,
116
- right_col_classes: 'col-xl-9 col-md-7' ~ _alignment_class,
117
- },
118
- }) %}
119
96
  {% set _card_layout = _card_layout|merge({
120
97
  responsive_columns: 2,
121
98
  }) %}
122
- {% else %}
123
- {% set _card = _card|merge({
124
- horizontal_grid: {
125
- left_col_classes: 'col-lg-4 col-md-6 ' ~ _max_width ~ _alignment_class,
126
- right_col_classes: 'col-lg-8 col-md-6' ~ _alignment_class,
127
- },
128
- }) %}
99
+ {% elseif _variant == 'default-3-col' %}
129
100
  {% set _card_layout = _card_layout|merge({
130
101
  attributes: _card_layout.attributes.addClass(['row-cols-md-2']),
131
102
  responsive_columns: 3,
@@ -150,9 +121,19 @@
150
121
  extra_classes_body: "pt-0",
151
122
  }) %}
152
123
  {% endif %}
153
- {% set _card_layout = _card_layout|merge({
154
- cols_extra_classes: 'mt-4-5',
155
- }) %}
124
+ {% set _card_layout = _card_layout|merge({
125
+ cols_extra_classes: 'mt-4-5',
126
+ }) %}
127
+ {% if _card.image is not empty %}
128
+ {% set _image_classes = _card.image.classes ?: '' %}
129
+ {% if not _alignment == 'center' %}
130
+ {% set _image_classes = _image_classes ? _image_classes ~ ' mb-3' : 'mb-3' %}
131
+ {% endif %}
132
+ {% set _card = _card|merge({image: _card.image|merge({
133
+ classes: _image_classes,
134
+ })}) %}
135
+ {% endif %}
136
+
156
137
  {% endif %}
157
138
 
158
139
  {% if _variant == 'highlight-2-col' or variant == 'highlight-3-col' %}
@@ -173,6 +154,15 @@
173
154
  extra_classes_body: 'pt-0',
174
155
  }) %}
175
156
  {% endif %}
157
+ {% if _card.image is not empty %}
158
+ {% set _image_classes = _card.image.classes ?: '' %}
159
+ {% if not _alignment == 'center' %}
160
+ {% set _image_classes = _image_classes ? _image_classes ~ ' mb-3' : 'mb-3' %}
161
+ {% endif %}
162
+ {% set _card = _card|merge({image: _card.image|merge({
163
+ classes: _image_classes,
164
+ })}) %}
165
+ {% endif %}
176
166
  {% set _card_layout = _card_layout|merge({ gutter: '4' }) %}
177
167
  {% if variant == 'highlight-2-col' %}
178
168
  {% set _card_layout = _card_layout|merge({ responsive_columns: 2 }) %}
@@ -32,7 +32,7 @@
32
32
  {% set _body = body|default('') %}
33
33
  {% set _footer = footer|default('') %}
34
34
 
35
- {% set _classes = ['modal fade'] %}
35
+ {% set _classes = ['modal', 'fade'] %}
36
36
 
37
37
  {% if attributes is empty %}
38
38
  {% set attributes = create_attribute() %}
@@ -5,11 +5,7 @@
5
5
  {% endblock %}
6
6
 
7
7
  {% block content %}
8
- <p id="content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
9
- a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
10
- posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
11
- Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
12
- sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
8
+ <p id="content">{{ get_dummy_text(6) }}
13
9
  </p>
14
10
  <h2 id="item-1" class="my-4">Section 1</h2>
15
11
  {% if featured_item %}
@@ -26,12 +22,7 @@
26
22
 
27
23
  <h2 id="item-2" class="my-4">Section 2</h2>
28
24
 
29
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
30
- a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
31
- posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
32
- Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
33
- sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
34
- </p>
25
+ {{ get_dummy_text(6, true) }}
35
26
 
36
27
  {% if blockquote %}
37
28
  {% include '@oe-bcl/bcl-blockquote/blockquote.html.twig' with blockquote only %}
@@ -43,21 +34,11 @@
43
34
  {% include '@oe-bcl/bcl-timeline/timeline.html.twig' with timeline only %}
44
35
  {% endif %}
45
36
 
46
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
47
- a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
48
- posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
49
- Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
50
- sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
51
- </p>
37
+ {{ get_dummy_text(8, true) }}
52
38
 
53
39
  <h2 id="item-3" class="my-4">Section 3</h2>
54
40
 
55
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
56
- a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
57
- posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
58
- Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
59
- sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
60
- </p>
41
+ {{ get_dummy_text(4, true) }}
61
42
 
62
43
  {% include '@oe-bcl/bcl-file/file.html.twig' with files[0] only %}
63
44
  {% include '@oe-bcl/bcl-file/file.html.twig' with files[1] only %}
@@ -57,7 +57,7 @@
57
57
  {% endif %}
58
58
  {% if not loop.last %}
59
59
  {% set _list = _list|merge({
60
- attributes: _list.attributes.addClass(['border-bottom', 'pb-3'])
60
+ attributes: _list.attributes.addClass(['border-bottom', 'mb-3'])
61
61
  })
62
62
  %}
63
63
  {% endif %}
@@ -14,7 +14,7 @@
14
14
  {% set _submit = submit|default({}) %}
15
15
  {% set _input = input|default({}) %}
16
16
 
17
- {% set _classes = ["bcl-search-form"] %}
17
+ {% set _classes = ['bcl-search-form'] %}
18
18
 
19
19
  {% if _pill %}
20
20
  {% set _classes = _classes|merge(['rounded']) %}
@@ -11,11 +11,13 @@
11
11
  {% set _content = content|default('') %}
12
12
  {% set _button = button|default({}) %}
13
13
 
14
+ {% set _classes = ['bcl-subscription-block', 'bg-light', 'px-4-5', 'pt-4', 'pb-4-5'] %}
15
+
14
16
  {% if attributes is empty %}
15
17
  {% set attributes = create_attribute() %}
16
18
  {% endif %}
17
19
 
18
- {% set attributes = attributes.addClass(['bg-light', 'px-4-5', 'pt-4', 'pb-4-5']) %}
20
+ {% set attributes = attributes.addClass(_classes) %}
19
21
 
20
22
  <div
21
23
  {{ attributes }}
@@ -13,13 +13,14 @@
13
13
  - infos (array of strings) (default: [])
14
14
  #}
15
15
 
16
- {% set _picture_classes = "rounded-pill" %}
16
+ {% set _picture_classes = 'rounded-pill' %}
17
+ {% set _classes = ['bcl-user-compact', 'd-flex', 'mb-3'] %}
17
18
 
18
19
  {% if attributes is empty %}
19
20
  {% set attributes = create_attribute() %}
20
21
  {% endif %}
21
22
 
22
- {% set attributes = attributes.addClass(["d-flex", "mb-3"]) %}
23
+ {% set attributes = attributes.addClass(_classes) %}
23
24
 
24
25
  {% if picture is not empty and picture.classes is not empty %}
25
26
  {% set _picture_classes = _picture_classes ~ ' ' ~ picture.classes %}
@@ -1,11 +1,11 @@
1
1
  {% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
2
2
 
3
3
  {% block content %}
4
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ultricies massa, a dapibus libero porta nec. Sed facilisis dictum vestibulum. Fusce commodo hendrerit diam, pretium tempus leo varius sit amet. Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non. </p>
4
+ {{ get_dummy_text(4, true) }}
5
5
  <ul class="mb-4-5">
6
- <li>Fusce commodo hendrerit diam, pretium tempus leo varius sit amet. </li>
7
- <li>Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, </li>
8
- <li>A fermentum libero orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non. </li>
6
+ <li>{{ get_dummy_text() }}</li>
7
+ <li>{{ get_dummy_text() }}</li>
8
+ <li>{{ get_dummy_text() }}</li>
9
9
  </ul>
10
10
  {% include '@oe-bcl/bcl-form/form.html.twig' with terms_form only %}
11
11
  {% endblock %}
@@ -100,10 +100,10 @@
100
100
  <h1 class="my-4-5">Edit my profile</h1>
101
101
  <h2 class="mb-4-5">Profile image</h2>
102
102
  <div class="row">
103
- <div class="offset-3 col-6 offset-lg-0 col-lg-3">
103
+ <div class="bcl-card-start-col bcl-size-large mx-auto ms-md-2-5">
104
104
  <img src="https://picsum.photos/seed/1002/400/400" class="img-fluid" alt="profile-image">
105
105
  </div>
106
- <div class="col align-self-center">
106
+ <div class="col-12 col-md align-self-center">
107
107
  <div class="mt-3 text-center text-md-start">
108
108
  {% include '@oe-bcl/bcl-form-input/form-input.html.twig' with edit.image_upload_input only %}
109
109
  <div class="d-md-inline-block">