@eeacms/volto-datahub 0.1.5 → 0.1.6

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,8 +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
+ #### [0.1.6](https://github.com/eea/volto-datahub/compare/0.1.5...0.1.6)
8
+
9
+ - Add banner for ItemView [`7c70d6a`](https://github.com/eea/volto-datahub/commit/7c70d6ad127bb9cbdae95ae898304c85d2ab8bd8)
10
+
7
11
  #### [0.1.5](https://github.com/eea/volto-datahub/compare/0.1.4...0.1.5)
8
12
 
13
+ > 29 July 2022
14
+
15
+ - Release [`#6`](https://github.com/eea/volto-datahub/pull/6)
9
16
  - Fix merge [`6a8f3d4`](https://github.com/eea/volto-datahub/commit/6a8f3d4f3bfaacb8e0938929d8038f9e31a26ced)
10
17
  - Fix layout [`129d480`](https://github.com/eea/volto-datahub/commit/129d4802a63aa346d11ae8e54b323580213c0a71)
11
18
  - Fix merge [`3df3a81`](https://github.com/eea/volto-datahub/commit/3df3a8189448dcdd052692b6f5d835a1ea752a50)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-datahub",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "@eeacms/volto-datahub: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -19,10 +19,11 @@ import {
19
19
  } from '@eeacms/search';
20
20
  import { DateTime } from '@eeacms/search';
21
21
  import { SearchProvider, WithSearch } from '@elastic/react-search-ui';
22
- import { Callout } from '@eeacms/volto-eea-design-system/ui';
22
+ import { Callout, Banner } from '@eeacms/volto-eea-design-system/ui';
23
23
  import { useDispatch } from 'react-redux';
24
24
  import config from '@plone/volto/registry';
25
25
  import { Link, useLocation } from 'react-router-dom';
26
+ import bannerBG from './banner.svg';
26
27
 
27
28
  const appName = 'datahub';
28
29
 
@@ -103,14 +104,12 @@ function ItemView(props) {
103
104
  return item ? (
104
105
  <div className="dataset-view">
105
106
  <Portal node={document.getElementById('page-header')}>
106
- <div className="eea banner">
107
- <div className="gradient">
108
- <div className="ui container">
109
- <div className="content">
110
- <h1 className="documentFirstHeading">Datahub</h1>
111
- </div>
112
- </div>
113
- </div>
107
+ <div className="dataset">
108
+ <Banner image_url={bannerBG} image>
109
+ <Banner.Content>
110
+ <Banner.Title>Datahub</Banner.Title>
111
+ </Banner.Content>
112
+ </Banner>
114
113
  </div>
115
114
  </Portal>
116
115