@eeacms/volto-n2k 0.1.14 → 0.1.15

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,12 +4,16 @@ 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
+ ### [0.1.15](https://github.com/eea/volto-n2k/compare/0.1.14...0.1.15) - 19 October 2022
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Update [Miu Razvan - [`d26e4b1`](https://github.com/eea/volto-n2k/commit/d26e4b125e03ee106473bae2c893953f9d4932fc)]
7
12
  ### [0.1.14](https://github.com/eea/volto-n2k/compare/0.1.13...0.1.14) - 18 October 2022
8
13
 
9
14
  #### :hammer_and_wrench: Others
10
15
 
11
16
  - Prettier fix [Miu Razvan - [`0a9192d`](https://github.com/eea/volto-n2k/commit/0a9192dd9d51620f68b4adcc76aa0a58435700ca)]
12
- - Multilanguage landing page [Miu Razvan - [`a7ceedf`](https://github.com/eea/volto-n2k/commit/a7ceedf0fe304f0a220aa1b6f2737c86537e15da)]
13
17
  ### [0.1.13](https://github.com/eea/volto-n2k/compare/0.1.12...0.1.13) - 30 September 2022
14
18
 
15
19
  ### [0.1.12](https://github.com/eea/volto-n2k/compare/0.1.11...0.1.12) - 30 September 2022
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-n2k",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "volto-n2k: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -235,4 +235,5 @@ const Edit = (props) => {
235
235
 
236
236
  export default connect((state) => ({
237
237
  navigation: state.navigation,
238
+ screen: state.screen,
238
239
  }))(Edit);
@@ -17,24 +17,27 @@ const View = (props) => {
17
17
  return useDefault ? (
18
18
  <DefaultView {...props} />
19
19
  ) : (
20
- <div className="landing-page-wrapper full-width" style={getStyle(props)}>
20
+ <div
21
+ className="landing-page-wrapper default full-width"
22
+ style={getStyle(props)}
23
+ >
21
24
  <Grid className="landing-page" container columns="12">
22
- <Grid.Column
23
- {...{
24
- mobile: 12,
25
- tablet: 12,
26
- computer: 12,
27
- largeScreen: 12,
28
- widescreen: 12,
29
- }}
30
- style={{ zIndex: 1, marginBottom: '1rem' }}
31
- >
32
- <LanguageSelector
33
- navigation={props.navigation}
34
- className="landingpage-variation"
35
- />
36
- </Grid.Column>
37
25
  <Grid.Row>
26
+ <Grid.Column
27
+ {...{
28
+ mobile: 12,
29
+ tablet: 12,
30
+ computer: 12,
31
+ largeScreen: 12,
32
+ widescreen: 12,
33
+ }}
34
+ style={{ zIndex: 1, marginBottom: '1rem' }}
35
+ >
36
+ <LanguageSelector
37
+ navigation={props.navigation}
38
+ className="landingpage-variation"
39
+ />
40
+ </Grid.Column>
38
41
  <Grid.Column
39
42
  className="landing-page-description"
40
43
  widescreen="6"
@@ -81,4 +84,5 @@ const View = (props) => {
81
84
 
82
85
  export default connect((state) => ({
83
86
  navigation: state.navigation,
87
+ screen: state.screen,
84
88
  }))(View);