@openeuropa/bcl-landing-page 0.4230.202512021730 → 0.4360.202601141610
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/landing-page.html.twig +33 -33
- package/package.json +6 -6
package/landing-page.html.twig
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" -%}
|
|
2
2
|
|
|
3
3
|
{%- block banner %}
|
|
4
|
-
{
|
|
5
|
-
{
|
|
6
|
-
{
|
|
4
|
+
{%- if banner is defined %}
|
|
5
|
+
{%- include '@oe-bcl/bcl-banner/banner.html.twig' with banner only %}
|
|
6
|
+
{%- endif %}
|
|
7
7
|
{%- endblock -%}
|
|
8
|
-
{%- block content
|
|
8
|
+
{%- block content -%}
|
|
9
9
|
<div class="container">
|
|
10
|
-
{
|
|
11
|
-
<div class="my-4">
|
|
12
|
-
<h2 class="mb-4">{{ featured_section.title }}</h2>
|
|
13
|
-
<div class="row">
|
|
10
|
+
{%- if featured_section is defined -%}
|
|
11
|
+
<div class="my-4">{# -#}
|
|
12
|
+
<h2 class="mb-4">{{ featured_section.title }}</h2>{# -#}
|
|
13
|
+
<div class="row">{# -#}
|
|
14
14
|
<div class="col-12 col-md-6">
|
|
15
|
-
{{ featured_section.content }}
|
|
16
|
-
</div>
|
|
15
|
+
{{- featured_section.content -}}
|
|
16
|
+
</div>{# -#}
|
|
17
17
|
<div class="col-12 col-md-6">
|
|
18
|
-
{
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
18
|
+
{%- include '@oe-bcl/bcl-featured-media/featured-media.html.twig' with featured_section.featured_media only -%}
|
|
19
|
+
</div>{# -#}
|
|
20
|
+
</div>{# -#}
|
|
21
21
|
</div>
|
|
22
|
-
{
|
|
22
|
+
{%- endif %}
|
|
23
23
|
|
|
24
|
-
{
|
|
24
|
+
{%- if listing_section is defined -%}
|
|
25
25
|
<div class="my-4">
|
|
26
|
-
{
|
|
26
|
+
{%- include '@oe-bcl/bcl-listing/listing.html.twig' with listing_section only -%}
|
|
27
27
|
</div>
|
|
28
|
-
{
|
|
28
|
+
{%- endif %}
|
|
29
29
|
|
|
30
|
-
{
|
|
30
|
+
{%- if inpage_banner is defined -%}
|
|
31
31
|
<div class="my-4">
|
|
32
|
-
{
|
|
32
|
+
{%- include '@oe-bcl/bcl-banner/banner.html.twig' with inpage_banner only -%}
|
|
33
33
|
</div>
|
|
34
|
-
{
|
|
34
|
+
{%- endif %}
|
|
35
35
|
|
|
36
|
-
{
|
|
37
|
-
<div class="my-4">
|
|
38
|
-
<h2 class="mb-4">{{ activity_featured.title }}</h2>
|
|
39
|
-
<div class="row">
|
|
36
|
+
{%- if activity_featured is defined -%}
|
|
37
|
+
<div class="my-4">{# -#}
|
|
38
|
+
<h2 class="mb-4">{{ activity_featured.title }}</h2>{# -#}
|
|
39
|
+
<div class="row">{# -#}
|
|
40
40
|
<div class="col-12 col-md-6">
|
|
41
|
-
{{ activity_featured.content }}
|
|
42
|
-
</div>
|
|
41
|
+
{{- activity_featured.content -}}
|
|
42
|
+
</div>{# -#}
|
|
43
43
|
<div class="col-12 col-md-6">
|
|
44
|
-
{
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
44
|
+
{%- include '@oe-bcl/bcl-featured-media/featured-media.html.twig' with activity_featured.featured_media only -%}
|
|
45
|
+
</div>{# -#}
|
|
46
|
+
</div>{# -#}
|
|
47
47
|
</div>
|
|
48
|
-
{
|
|
48
|
+
{%- endif %}
|
|
49
49
|
|
|
50
|
-
{
|
|
50
|
+
{%- if activity_listing is defined -%}
|
|
51
51
|
<div class="my-4">
|
|
52
|
-
{
|
|
52
|
+
{%- include '@oe-bcl/bcl-listing/listing.html.twig' with activity_listing only -%}
|
|
53
53
|
</div>
|
|
54
|
-
{
|
|
54
|
+
{%- endif -%}
|
|
55
55
|
</div>
|
|
56
56
|
{%- endblock -%}
|
package/package.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-landing-page",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.4360.202601141610",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"description": "OE - BCL landing page",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-banner": "^0.
|
|
12
|
-
"@openeuropa/bcl-base-templates": "^0.
|
|
13
|
-
"@openeuropa/bcl-featured-media": "^0.
|
|
14
|
-
"@openeuropa/bcl-listing": "^0.
|
|
11
|
+
"@openeuropa/bcl-banner": "^0.4360.202601141610",
|
|
12
|
+
"@openeuropa/bcl-base-templates": "^0.4360.202601141610",
|
|
13
|
+
"@openeuropa/bcl-featured-media": "^0.4360.202601141610",
|
|
14
|
+
"@openeuropa/bcl-listing": "^0.4360.202601141610"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"design-system",
|
|
28
28
|
"twig"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "2caf9255f88587416f6e83e572a1f20e4cf206f5"
|
|
31
31
|
}
|