@eeacms/volto-eea-website-theme 1.33.1 → 1.33.2

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,6 +4,15 @@ 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.33.2](https://github.com/eea/volto-eea-website-theme/compare/1.33.1...1.33.2) - 13 April 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(layout): homepage templates on pa [David Ichim - [`04ba369`](https://github.com/eea/volto-eea-website-theme/commit/04ba369d42740fbafc9e84d1a4f0d4920c30af7b)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`adc6730`](https://github.com/eea/volto-eea-website-theme/commit/adc6730e21a37afb865b842182624401de6a29f5)]
7
16
  ### [1.33.1](https://github.com/eea/volto-eea-website-theme/compare/1.33.0...1.33.1) - 4 April 2024
8
17
 
9
18
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "1.33.1",
3
+ "version": "1.33.2",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -17,12 +17,12 @@ import { hasBlocksData } from '@plone/volto/helpers';
17
17
  * @param {Object} content Content object.
18
18
  * @returns {string} Markup of the component.
19
19
  */
20
- const HomePageInverseView = ({ content }) => {
21
- return hasBlocksData(content) ? (
20
+ const HomePageInverseView = (props) => {
21
+ return hasBlocksData(props.content) ? (
22
22
  <>
23
23
  <BodyClass className="homepage homepage-inverse" />
24
- <h1 className="hiddenStructure">{content.title}</h1>
25
- <DefaultView content={content} />
24
+ <h1 className="hiddenStructure">{props.content.title}</h1>
25
+ <DefaultView {...props} />
26
26
  </>
27
27
  ) : null;
28
28
  };
@@ -17,12 +17,12 @@ import { hasBlocksData } from '@plone/volto/helpers';
17
17
  * @param {Object} content Content object.
18
18
  * @returns {string} Markup of the component.
19
19
  */
20
- const HomePageView = ({ content }) => {
21
- return hasBlocksData(content) ? (
20
+ const HomePageView = (props) => {
21
+ return hasBlocksData(props.content) ? (
22
22
  <>
23
23
  <BodyClass className="homepage" />
24
- <h1 className="hiddenStructure">{content.title}</h1>
25
- <DefaultView content={content} />
24
+ <h1 className="hiddenStructure">{props.content.title}</h1>
25
+ <DefaultView {...props} />
26
26
  </>
27
27
  ) : null;
28
28
  };