@eeacms/volto-bise-policy 1.2.43 → 1.2.44

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/CHANGELOG.md CHANGED
@@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [1.2.43](https://github.com/eea/volto-bise-policy/compare/1.2.42...1.2.43) - 13 April 2026
7
+ ### [1.2.44](https://github.com/eea/volto-bise-policy/compare/1.2.43...1.2.44) - 13 April 2026
8
+
9
+ #### :house: Internal changes
10
+
11
+ - style: Automated code fix [eea-jenkins - [`ec1bcf0`](https://github.com/eea/volto-bise-policy/commit/ec1bcf0391c06e194764bf0fd86e01a82bad3786)]
8
12
 
9
13
  #### :hammer_and_wrench: Others
10
14
 
11
- - improve style [Miu Razvan - [`c9d91c6`](https://github.com/eea/volto-bise-policy/commit/c9d91c62d8bd4950c6b871a951daa5b8c612e2e1)]
15
+ - make site name font white; set link for expert view emeralds [Claudia Ifrim - [`7cfb10a`](https://github.com/eea/volto-bise-policy/commit/7cfb10aaae6b4927d7bca1a9883af3d7d20f3997)]
16
+ ### [1.2.43](https://github.com/eea/volto-bise-policy/compare/1.2.42...1.2.43) - 13 April 2026
17
+
12
18
  ### [1.2.42](https://github.com/eea/volto-bise-policy/compare/1.2.41...1.2.42) - 8 April 2026
13
19
 
14
20
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-bise-policy",
3
- "version": "1.2.43",
3
+ "version": "1.2.44",
4
4
  "description": "@eeacms/volto-bise-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -85,7 +85,14 @@ const EEAHeader = ({ token, history, subsite, content, screen, ...props }) => {
85
85
 
86
86
  const hideExpertView = useMemo(() => {
87
87
  return !!matchPath(pathname, {
88
- path: ['/natura2000/sites/site_cdda', '/natura2000/sites/emerald'],
88
+ path: ['/natura2000/sites/site_cdda'],
89
+ exact: false,
90
+ });
91
+ }, [pathname]);
92
+
93
+ const isEmeraldSite = useMemo(() => {
94
+ return !!matchPath(pathname, {
95
+ path: '/natura2000/sites/emerald',
89
96
  exact: false,
90
97
  });
91
98
  }, [pathname]);
@@ -354,7 +361,9 @@ const EEAHeader = ({ token, history, subsite, content, screen, ...props }) => {
354
361
  {
355
362
  title: 'GO TO EXPERT VIEW',
356
363
  url: params.site_code
357
- ? `https://natura2000.eea.europa.eu/Natura2000/SDF.aspx?site=${params.site_code}`
364
+ ? `https://natura2000.eea.europa.eu/${
365
+ isEmeraldSite ? 'Emerald' : 'Natura2000'
366
+ }/SDF.aspx?site=${params.site_code}`
358
367
  : '#',
359
368
  items: [],
360
369
  className: 'deep-dive',
@@ -233,6 +233,12 @@ p.has--clear--both:empty {
233
233
  font-weight: 600;
234
234
  }
235
235
 
236
+ .site-banner {
237
+ h2 {
238
+ color: #fff !important;
239
+ }
240
+ }
241
+
236
242
  a {
237
243
  color: @secondaryColor;
238
244
  font-weight: 600;