@eeacms/volto-clms-theme 1.1.95 → 1.1.97

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,31 @@ 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.1.97](https://github.com/eea/volto-clms-theme/compare/1.1.96...1.1.97) - 18 December 2023
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat: change download button name CLMS-2926 [Mikel Larreategi - [`1a1d693`](https://github.com/eea/volto-clms-theme/commit/1a1d693f0ee7613dfe7d824c9c594702550be31a)]
12
+ - feat: implement timeseries restrictions based on dataset setting [Mikel Larreategi - [`70851a7`](https://github.com/eea/volto-clms-theme/commit/70851a7547d268242e44eab858ad726a9f9904f7)]
13
+
14
+ ### [1.1.96](https://github.com/eea/volto-clms-theme/compare/1.1.95...1.1.96) - 15 December 2023
15
+
16
+ #### :house: Internal changes
17
+
18
+ - style: Automated code fix [eea-jenkins - [`adda397`](https://github.com/eea/volto-clms-theme/commit/adda397a99e24714ad0fb023a92ee92d4a8fbb90)]
19
+
20
+ #### :hammer_and_wrench: Others
21
+
22
+ - snapshot update [Unai - [`2e2cdac`](https://github.com/eea/volto-clms-theme/commit/2e2cdacbf5b87e4ca8d406c3a04d4f9b7620d327)]
23
+ - lint [Mikel Larreategi - [`e27642b`](https://github.com/eea/volto-clms-theme/commit/e27642bf73cf5db3c9bab750e9823899d8d8a900)]
24
+ - update defaultValue only when there is no value [Mikel Larreategi - [`4566243`](https://github.com/eea/volto-clms-theme/commit/456624331bdd40f4517ad378d4760a429579189c)]
25
+ - fix TextAreaWidget [Unai - [`07c1a6d`](https://github.com/eea/volto-clms-theme/commit/07c1a6d42afe669e10feb5acf4d9983c17cd6460)]
26
+ - default value for TextareaWidget [Mikel Larreategi - [`6f9dc30`](https://github.com/eea/volto-clms-theme/commit/6f9dc3027e5d326ee4e26d7bb21bbbc97b0c1857)]
27
+ - icons shown in edit mode [Unai - [`1ff23d8`](https://github.com/eea/volto-clms-theme/commit/1ff23d822ebdc94af07430e404f3f330b232a843)]
28
+ - new icons and fixes in new home products block [Unai - [`20e6fd8`](https://github.com/eea/volto-clms-theme/commit/20e6fd827e00ebfc2214190f548045a398b321d3)]
29
+ - new-home featurde blocks [Zaloa Etxaniz - [`d23b021`](https://github.com/eea/volto-clms-theme/commit/d23b0214328eeb239505255af052acee5b7397b3)]
30
+ - Cart icon size [Unai - [`1317fe9`](https://github.com/eea/volto-clms-theme/commit/1317fe9c1377f73f03887fc402c9d6c64e996a1f)]
31
+ - new home products block functionality [Unai - [`00df3fd`](https://github.com/eea/volto-clms-theme/commit/00df3fddb2948fe174c74b334a83aa9647a2f23f)]
7
32
  ### [1.1.95](https://github.com/eea/volto-clms-theme/compare/1.1.94...1.1.95) - 14 December 2023
8
33
 
9
34
  #### :rocket: New Features
@@ -155,7 +180,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
155
180
 
156
181
  - to render nothing, return null [Mikel Larreategi - [`2fb3580`](https://github.com/eea/volto-clms-theme/commit/2fb35802b23e3aba5fd166aeefd103c929ffb5d1)]
157
182
  - simplify condtioin [Mikel Larreategi - [`f9b43da`](https://github.com/eea/volto-clms-theme/commit/f9b43da91d360e0028402f9a7ba762f16b0d9b22)]
158
- - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`7c6e9ca`](https://github.com/eea/volto-clms-theme/commit/7c6e9cac9da0c06d0f24711303404f5055fba7d1)]
159
183
  ### [1.1.80](https://github.com/eea/volto-clms-theme/compare/1.1.79...1.1.80) - 17 November 2023
160
184
 
161
185
  #### :bug: Bug Fixes
@@ -166,7 +190,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
166
190
 
167
191
  #### :hammer_and_wrench: Others
168
192
 
169
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`37c3299`](https://github.com/eea/volto-clms-theme/commit/37c3299dd19c95057e70d48152bfef2365f2416c)]
170
193
  - CLMS-2509 (Bug): Lint [Urkorue - [`1bbc011`](https://github.com/eea/volto-clms-theme/commit/1bbc011481c0ee1feb68d0cf57c4a5a9f4c224ca)]
171
194
  - CLMS-2509 (Bug): Timeseries icon centered [Urkorue - [`fc38685`](https://github.com/eea/volto-clms-theme/commit/fc3868598ab592f01bb3ee23f985ada5c11227d4)]
172
195
  ### [1.1.78](https://github.com/eea/volto-clms-theme/compare/1.1.77...1.1.78) - 16 November 2023
@@ -219,17 +242,14 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
219
242
 
220
243
  #### :hammer_and_wrench: Others
221
244
 
222
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`c55db1c`](https://github.com/eea/volto-clms-theme/commit/c55db1c20cfef1eb34c587343a4822fa4bde3c54)]
223
245
  ### [1.1.73](https://github.com/eea/volto-clms-theme/compare/1.1.72...1.1.73) - 6 November 2023
224
246
 
225
247
  #### :hammer_and_wrench: Others
226
248
 
227
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`3a543b9`](https://github.com/eea/volto-clms-theme/commit/3a543b9000c1168d54edfb8003eb08dfa7c85031)]
228
249
  - comment Integration tests [Ion Lizarazu - [`74713f8`](https://github.com/eea/volto-clms-theme/commit/74713f8f78d77ba193d8c27462cc8787d698ab81)]
229
250
  - uncomment cypress tests [Ion Lizarazu - [`3526a5c`](https://github.com/eea/volto-clms-theme/commit/3526a5c46481667b0518c6cce0927e67726c6f6c)]
230
251
  - use chrome instead of chromium to run cypress tests [Ion Lizarazu - [`6ae3a06`](https://github.com/eea/volto-clms-theme/commit/6ae3a06dbec1914c06a55c0dcb826c49b75f9739)]
231
252
  - ccltabs activeTab condition having first child [Ion Lizarazu - [`3cf9376`](https://github.com/eea/volto-clms-theme/commit/3cf9376d55f5f41b7e42c25e5925cd871ec71d81)]
232
- - test: [JENKINS] Improve cypress time [valentinab25 - [`f41ecfe`](https://github.com/eea/volto-clms-theme/commit/f41ecfea8b5a1e409303ffcc7befe7f51316d652)]
233
253
  ### [1.1.72](https://github.com/eea/volto-clms-theme/compare/1.1.71...1.1.72) - 2 November 2023
234
254
 
235
255
  ### [1.1.71](https://github.com/eea/volto-clms-theme/compare/1.1.70...1.1.71) - 31 October 2023
@@ -240,7 +260,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
240
260
 
241
261
  #### :house: Internal changes
242
262
 
243
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`67ca3bb`](https://github.com/eea/volto-clms-theme/commit/67ca3bb111f34842569c12b9c87a2a91bd14b09e)]
244
263
 
245
264
  #### :hammer_and_wrench: Others
246
265
 
@@ -337,7 +356,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
337
356
 
338
357
  - readme [Mikel Larreategi - [`3c0ab05`](https://github.com/eea/volto-clms-theme/commit/3c0ab051981a4efad7712bc46182eed9d79fd10f)]
339
358
  - remove from addons [Mikel Larreategi - [`89c2e7d`](https://github.com/eea/volto-clms-theme/commit/89c2e7d793193e6bb64642f0b06a01cd3c81108a)]
340
- - yarn.lock added after running yarn [Unai - [`ad307be`](https://github.com/eea/volto-clms-theme/commit/ad307be72bbfe753f7571ea4d784a09978e0f7f2)]
341
359
  - prettier issue fix [Unai - [`8bc0650`](https://github.com/eea/volto-clms-theme/commit/8bc0650918f9fa1065d19d2c15ce153a5fc5abbb)]
342
360
  - set a limit of 5 items in the download queue [Mikel Larreategi - [`b81cc83`](https://github.com/eea/volto-clms-theme/commit/b81cc8383165bafbbff52fbeeb365d413051802e)]
343
361
  - adjust logo size [Mikel Larreategi - [`b90a72c`](https://github.com/eea/volto-clms-theme/commit/b90a72c07102025a7e90607b25d34611ddd4f4f6)]
@@ -479,7 +497,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
479
497
 
480
498
  - fix cart items concat function [Ion Lizarazu - [`4b72249`](https://github.com/eea/volto-clms-theme/commit/4b72249ef17a0cda22661809fce5be7c2d1f6649)]
481
499
  - revert Jenkinsfile [Ion Lizarazu - [`64f6cd0`](https://github.com/eea/volto-clms-theme/commit/64f6cd08100357843b507c00d3286d7debe0ef04)]
482
- - yarn.lock file [Ion Lizarazu - [`8444ad1`](https://github.com/eea/volto-clms-theme/commit/8444ad1606b3939e4609bdd186e5ace2252588a8)]
483
500
  - packages.json versions order [Ion Lizarazu - [`4fd7a86`](https://github.com/eea/volto-clms-theme/commit/4fd7a86ab43238841b421e1ed10ebd52ab420a15)]
484
501
  - downloadablefilestablewidget param modification [Ion Lizarazu - [`5dd794a`](https://github.com/eea/volto-clms-theme/commit/5dd794a33a8eddd042a753b7ab47e7d2a323b011)]
485
502
  - add technical_documents_accordion_text field to the dataset view [Ion Lizarazu - [`96ed1e5`](https://github.com/eea/volto-clms-theme/commit/96ed1e5e2c2b501bd303bc76b333a70ad1614c16)]
@@ -604,7 +621,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
604
621
 
605
622
  - remove NUTS text for area naming in the cart [ionlizarazu - [`062e0a3`](https://github.com/eea/volto-clms-theme/commit/062e0a375f5352bc13c18ff7ec33fad4bcc59f2f)]
606
623
  - dependencies [ionlizarazu - [`405ef96`](https://github.com/eea/volto-clms-theme/commit/405ef96090fe7bd4af73a49d3285a92fad712e3b)]
607
- - yarn.lock [ionlizarazu - [`7132119`](https://github.com/eea/volto-clms-theme/commit/71321195c4dd4fceed67f2f0872f3e24bba61c17)]
608
624
  - volto-blocks-grid module mapping [ionlizarazu - [`4fec3ca`](https://github.com/eea/volto-clms-theme/commit/4fec3cabc437322ad92ed90d682250bd123ccaaf)]
609
625
  - volto-blocks-grid v7.0.2 [ionlizarazu - [`2557e60`](https://github.com/eea/volto-clms-theme/commit/2557e6039d3cea33ca0bd11a0a3ef4764c611f78)]
610
626
  - remove styling from teaser block [ionlizarazu - [`879e684`](https://github.com/eea/volto-clms-theme/commit/879e684057c88f52f60f0fa54cbaa155c7d14688)]
@@ -692,7 +708,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
692
708
 
693
709
  #### :house: Internal changes
694
710
 
695
- - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`b4cbf65`](https://github.com/eea/volto-clms-theme/commit/b4cbf6557fbc67f7fc4cea5aa2cb19804f3d7e3c)]
696
711
 
697
712
  #### :hammer_and_wrench: Others
698
713
 
@@ -1891,7 +1906,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1891
1906
  #### :hammer_and_wrench: Others
1892
1907
 
1893
1908
  - related products and datasets added to news and meeting views and login-plone route created [Unai - [`5704a1a`](https://github.com/eea/volto-clms-theme/commit/5704a1a766148746162b60efaf232ea90dc20cf4)]
1894
- - Revert "[JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967" [Mikel Larreategi - [`46eb694`](https://github.com/eea/volto-clms-theme/commit/46eb69415280a3c982405299135027ae4221426a)]
1895
1909
  - sort items according to the lowercased label and put those with special meaning at the end [Mikel Larreategi - [`6410abe`](https://github.com/eea/volto-clms-theme/commit/6410abe096f60dcad54dced2026c9df9b7946d68)]
1896
1910
  - lint fix [Unai - [`1264a7a`](https://github.com/eea/volto-clms-theme/commit/1264a7adfe8d679fea1bd821ad087add20f4271d)]
1897
1911
  - footer newsletter subscription change, global search maxLength change from 8000 to 200 and /login design change [Unai - [`a09d24a`](https://github.com/eea/volto-clms-theme/commit/a09d24adbb6fa053fb2a2cc0071506b906593b42)]
@@ -2042,7 +2056,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2042
2056
  - search block new features [ionlizarazu - [`8e814cb`](https://github.com/eea/volto-clms-theme/commit/8e814cbd359782540c21fe37b37ef146d331f0d6)]
2043
2057
  - language selector cookie management [ionlizarazu - [`1385ac9`](https://github.com/eea/volto-clms-theme/commit/1385ac95795702206d3623ba6e780faa43a89e0a)]
2044
2058
  - toolbar cookie management [ionlizarazu - [`5c23200`](https://github.com/eea/volto-clms-theme/commit/5c23200790b20e1d4f1bc966463c37bf4c808f47)]
2045
- - Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`0316a0d`](https://github.com/eea/volto-clms-theme/commit/0316a0d8b6fb0fa14af13002415f3c95d9f8ede3)]
2046
2059
  ### [1.0.84](https://github.com/eea/volto-clms-theme/compare/1.0.83...1.0.84) - 18 March 2022
2047
2060
 
2048
2061
  #### :hammer_and_wrench: Others
@@ -2947,13 +2960,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2947
2960
  #### :hammer_and_wrench: Others
2948
2961
 
2949
2962
  - replace @collective/volto-dropdownmenu with volto-dropdownmenu [ionlizarazu - [`07f004f`](https://github.com/eea/volto-clms-theme/commit/07f004fe0219e403fb51bc045c83d34f3b981f76)]
2950
- - yarn.lock [ionlizarazu - [`fe1ca04`](https://github.com/eea/volto-clms-theme/commit/fe1ca04889d29fe7b653db4c69af2751b84b8a1a)]
2951
2963
  - add NODE_ENV parameter [ionlizarazu - [`101f27c`](https://github.com/eea/volto-clms-theme/commit/101f27c25b8fbd192e1b11865e95cf5ffee08c1b)]
2952
2964
  - upgrade volto-dropdownmenu version [ionlizarazu - [`2081855`](https://github.com/eea/volto-clms-theme/commit/2081855301f4c708776e0dbab39db143cee00dbc)]
2953
2965
  - HomeSearch block missing url behaviour [ionlizarazu - [`d20a378`](https://github.com/eea/volto-clms-theme/commit/d20a378ce3f254b8343692348f314bf281974542)]
2954
2966
  - babel configuration [ionlizarazu - [`203ea2d`](https://github.com/eea/volto-clms-theme/commit/203ea2de07f99ca3403e4ca220ca74d7ce69b61d)]
2955
2967
  - prettier [ionlizarazu - [`e79e26b`](https://github.com/eea/volto-clms-theme/commit/e79e26bf2fa40ba7b4eb53a24dabd87928221c28)]
2956
- - add yarn lock [ionlizarazu - [`e1ab28b`](https://github.com/eea/volto-clms-theme/commit/e1ab28b060d5a74431c368b0de82a68dabce1eab)]
2957
2968
  - Jenkinsfile cypress test [ionlizarazu - [`b385d65`](https://github.com/eea/volto-clms-theme/commit/b385d65986f717c60f8c434a08fc11b829d08eb4)]
2958
2969
  - cypress [ionlizarazu - [`a243cf0`](https://github.com/eea/volto-clms-theme/commit/a243cf0182fa3dd113c16ff495c71e310252d83b)]
2959
2970
  - some fixes [ionlizarazu - [`046279b`](https://github.com/eea/volto-clms-theme/commit/046279b9d05bea8a64eca03eed493e02621534c9)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.95",
3
+ "version": "1.1.97",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -1,15 +1,23 @@
1
1
  import React, { useState } from 'react';
2
+ import { injectIntl } from 'react-intl';
3
+ import { ReactSVG } from 'react-svg';
4
+ import { compose } from 'redux';
2
5
 
3
- import { HomeProductsSchema, ProductSchema } from './HomeProductsSchema';
4
6
  import { SidebarPortal } from '@plone/volto/components';
5
7
  import InlineForm from '@plone/volto/components/manage/Form/InlineForm';
6
- import { isEmpty } from 'lodash';
7
- import { emptyProduct, getPanels } from './utils';
8
-
9
- import { compose } from 'redux';
10
8
  import withObjectBrowser from '@plone/volto/components/manage/Sidebar/ObjectBrowser';
11
- import { injectIntl } from 'react-intl';
9
+ import BioGeoPhysicalImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_biogeophysical.svg';
10
+ import GroundMotionImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_groundmotion.svg';
11
+ import LandCoverImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_landcover.svg';
12
+ import PriorityAreaImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_priorityarea.svg';
13
+ import ReferenceAndValidationImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_referenceandvalidation.svg';
14
+ import SatelliteImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_satellite.svg';
15
+
16
+ import { HomeProductsSchema, ProductSchema } from './HomeProductsSchema';
12
17
  import './styles.less';
18
+ import { emptyProduct, getPanels } from './utils';
19
+
20
+ import { isEmpty } from 'lodash';
13
21
 
14
22
  const CclHomeProductsBlockEdit = (props) => {
15
23
  const { block, data, onChangeBlock, selected } = props;
@@ -71,6 +79,23 @@ const CclHomeProductsBlockEdit = (props) => {
71
79
  <h3>{panel.title}</h3>
72
80
  ) : (
73
81
  <>
82
+ <div className="home-product-image">
83
+ {panel.productIcon === 'Landscape' ? (
84
+ <ReactSVG src={LandCoverImage} />
85
+ ) : panel.productIcon === 'Warning' ? (
86
+ <ReactSVG src={PriorityAreaImage} />
87
+ ) : panel.productIcon === 'Leaf' ? (
88
+ <ReactSVG src={BioGeoPhysicalImage} />
89
+ ) : panel.productIcon === 'Computer' ? (
90
+ <ReactSVG src={GroundMotionImage} />
91
+ ) : panel.productIcon === 'Database' ? (
92
+ <ReactSVG src={ReferenceAndValidationImage} />
93
+ ) : panel.productIcon === 'Satellite' ? (
94
+ <ReactSVG src={SatelliteImage} />
95
+ ) : (
96
+ ''
97
+ )}
98
+ </div>
74
99
  <div className="home-product-title">{panel.title}</div>
75
100
  <div className="home-product-description">
76
101
  {panel.description}
@@ -1,5 +1,13 @@
1
1
  import React from 'react';
2
+ import { ReactSVG } from 'react-svg';
3
+
2
4
  import { UniversalLink } from '@plone/volto/components';
5
+ import BioGeoPhysicalImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_biogeophysical.svg';
6
+ import GroundMotionImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_groundmotion.svg';
7
+ import LandCoverImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_landcover.svg';
8
+ import PriorityAreaImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_priorityarea.svg';
9
+ import ReferenceAndValidationImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_referenceandvalidation.svg';
10
+ import SatelliteImage from '@eeacms/volto-clms-theme/../theme/clms/img/i_satellite.svg';
3
11
 
4
12
  const CclHomeProductsBlockView = (props) => {
5
13
  const { data } = props;
@@ -7,7 +15,7 @@ const CclHomeProductsBlockView = (props) => {
7
15
  (uid) => data.products.blocks[uid],
8
16
  );
9
17
  return (
10
- <div className="home-products-container">
18
+ <div className="home-products-container ccl-container">
11
19
  {products?.map((product, index) => (
12
20
  <UniversalLink
13
21
  key={index}
@@ -56,9 +64,28 @@ const CclHomeProductsBlockView = (props) => {
56
64
  <h3>{product.title}</h3>
57
65
  ) : (
58
66
  <>
59
- <div className="home-product-title">{product.title}</div>
60
- <div className="home-product-description">
61
- {product.description}
67
+ <div className="home-product-image">
68
+ {product.productIcon === 'Landscape' ? (
69
+ <ReactSVG src={LandCoverImage} />
70
+ ) : product.productIcon === 'Warning' ? (
71
+ <ReactSVG src={PriorityAreaImage} />
72
+ ) : product.productIcon === 'Leaf' ? (
73
+ <ReactSVG src={BioGeoPhysicalImage} />
74
+ ) : product.productIcon === 'Computer' ? (
75
+ <ReactSVG src={GroundMotionImage} />
76
+ ) : product.productIcon === 'Database' ? (
77
+ <ReactSVG src={ReferenceAndValidationImage} />
78
+ ) : product.productIcon === 'Satellite' ? (
79
+ <ReactSVG src={SatelliteImage} />
80
+ ) : (
81
+ ''
82
+ )}
83
+ </div>
84
+ <div>
85
+ <div className="home-product-title">{product.title}</div>
86
+ <div className="home-product-description">
87
+ {product.description}
88
+ </div>
62
89
  </div>
63
90
  </>
64
91
  )}
@@ -44,12 +44,12 @@ export const ProductSchema = () => ({
44
44
  title: 'Product icon',
45
45
  choices: [
46
46
  ['iconless', 'Without icon'],
47
- ['home_product_1', 'Landscape'],
48
- ['home_product_2', 'Warning'],
49
- ['home_product_3', 'Leaf'],
50
- ['home_product_4', 'Computer'],
51
- ['home_product_5', 'Database'],
52
- ['home_product_6', 'Satellite'],
47
+ ['Landscape', 'Landscape'],
48
+ ['Warning', 'Warning'],
49
+ ['Leaf', 'Leaf'],
50
+ ['Computer', 'Computer'],
51
+ ['Database', 'Database'],
52
+ ['Satellite', 'Satellite'],
53
53
  ],
54
54
  },
55
55
  linkSelector: {
@@ -2,7 +2,7 @@
2
2
 
3
3
  exports[`renders a CclHomeProductsBlockView component home-product style 1`] = `
4
4
  <div
5
- className="home-products-container"
5
+ className="home-products-container ccl-container"
6
6
  >
7
7
  <a
8
8
  className="home-product"
@@ -13,13 +13,20 @@ exports[`renders a CclHomeProductsBlockView component home-product style 1`] = `
13
13
  title={null}
14
14
  >
15
15
  <div
16
- className="home-product-title"
16
+ className="home-product-image"
17
17
  >
18
- example title1
18
+
19
+ </div>
20
+ <div>
21
+ <div
22
+ className="home-product-title"
23
+ >
24
+ example title1
25
+ </div>
26
+ <div
27
+ className="home-product-description"
28
+ />
19
29
  </div>
20
- <div
21
- className="home-product-description"
22
- />
23
30
  </a>
24
31
  <a
25
32
  className="home-product"
@@ -30,20 +37,27 @@ exports[`renders a CclHomeProductsBlockView component home-product style 1`] = `
30
37
  title={null}
31
38
  >
32
39
  <div
33
- className="home-product-title"
40
+ className="home-product-image"
34
41
  >
35
- example title2
42
+
43
+ </div>
44
+ <div>
45
+ <div
46
+ className="home-product-title"
47
+ >
48
+ example title2
49
+ </div>
50
+ <div
51
+ className="home-product-description"
52
+ />
36
53
  </div>
37
- <div
38
- className="home-product-description"
39
- />
40
54
  </a>
41
55
  </div>
42
56
  `;
43
57
 
44
58
  exports[`renders a CclHomeProductsBlockView component iconless style 1`] = `
45
59
  <div
46
- className="home-products-container"
60
+ className="home-products-container ccl-container"
47
61
  >
48
62
  <a
49
63
  className="home-product home-product-main"
@@ -32,3 +32,65 @@
32
32
  text-align: center;
33
33
  }
34
34
  }
35
+
36
+ /* Products band */
37
+ .home-products-container {
38
+ display: flex;
39
+ flex-wrap: wrap;
40
+ margin-bottom: 1rem;
41
+ }
42
+ @media (max-width: 1200px) {
43
+ .home-products-container {
44
+ margin-top: 1.6rem;
45
+ }
46
+ }
47
+
48
+ @media (max-width: 420px) {
49
+ .home-products-container {
50
+ margin-top: 3.6rem;
51
+ }
52
+ }
53
+
54
+ .home-product {
55
+ display: flex;
56
+ width: 33.3333%;
57
+ padding: 1rem;
58
+ border-bottom: 4px solid white;
59
+ color: @clmsGreen;
60
+ cursor: pointer;
61
+ -webkit-transition: all 0.5s ease;
62
+ transition: all 0.5s ease;
63
+ }
64
+ @media (max-width: 770px) {
65
+ .home-product {
66
+ width: 50%;
67
+ }
68
+ }
69
+
70
+ @media (max-width: 550px) {
71
+ .home-product {
72
+ width: 100%;
73
+ padding-left: 0;
74
+ }
75
+ }
76
+
77
+ .home-product:hover {
78
+ border-color: @clmsGreen;
79
+ border-bottom: 4px solid @clmsGreen;
80
+ background-color: fade(@clmsGreen, 5%);
81
+ }
82
+
83
+ .home-product-image {
84
+ min-width: 60px;
85
+ text-align: center;
86
+ }
87
+
88
+ .home-product-title {
89
+ margin: 0.5rem 0 1rem 0;
90
+ font-size: 1.2rem;
91
+ font-weight: bold;
92
+ }
93
+
94
+ .home-product-description {
95
+ font-weight: normal;
96
+ }
@@ -448,6 +448,10 @@ const CLMSCartContent = (props) => {
448
448
  datasetTimeseries.datasets[item?.dataset_uid]
449
449
  .period
450
450
  }
451
+ download_limit_temporal_extent={
452
+ datasetTimeseries.datasets[item?.dataset_uid]
453
+ .download_limit_temporal_extent
454
+ }
451
455
  item={item}
452
456
  setTimeseriesValue={setTimeseriesValue}
453
457
  />
@@ -589,7 +593,7 @@ const CLMSCartContent = (props) => {
589
593
  cartSelection.length === 0 || tooManyInQueue || tooManySelected()
590
594
  }
591
595
  >
592
- Start downloading
596
+ Process Download Request
593
597
  </CclButton>
594
598
  </>
595
599
  )}
@@ -8,7 +8,13 @@ import { cclDateFormat } from '@eeacms/volto-clms-theme/components/CclUtils';
8
8
  import CclButton from '@eeacms/volto-clms-theme/components/CclButton/CclButton';
9
9
 
10
10
  export const TimeseriesPicker = (props) => {
11
- const { start, end, item, setTimeseriesValue } = props;
11
+ const {
12
+ start,
13
+ end,
14
+ item,
15
+ download_limit_temporal_extent,
16
+ setTimeseriesValue,
17
+ } = props;
12
18
  const [startValue, setStartValue] = useState(
13
19
  item?.TemporalFilter?.StartDate
14
20
  ? new Date(cclDateFormat(item.TemporalFilter.StartDate))
@@ -20,82 +26,12 @@ export const TimeseriesPicker = (props) => {
20
26
  : null,
21
27
  );
22
28
  const [isOpen, setIsOpen] = useState(false);
23
- const daysrestriction = item.name.includes('10-daily')
24
- ? 'month'
25
- : item.name.includes('daily')
26
- ? 'week'
27
- : 'year';
28
29
 
29
- const monthDiff = (d1, d2) => {
30
- var months;
31
- months = (d2.getFullYear() - d1.getFullYear()) * 12;
32
- months -= d1.getMonth();
33
- months += d2.getMonth();
34
- return months <= 0 ? 0 : months;
35
- };
36
-
37
- const isLeptYear = (year) => {
38
- return year % 400 === 0 ? true : year % 100 === 0 ? false : year % 4 === 0;
39
- };
40
-
41
- const validDaysDifference = (value) => {
42
- const periocity = item.name.includes('10-daily')
43
- ? 1
44
- : item.name.includes('daily')
45
- ? 7
46
- : 1;
47
- let validValue = false;
48
- const diffTime = Math.abs(
49
- new Date(value['EndDate']) - new Date(value['StartDate']),
50
- );
51
- const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
52
- const diffMonths = monthDiff(
53
- new Date(value['StartDate']),
54
- new Date(value['EndDate']),
55
- );
56
- const diffYears =
57
- new Date(value['EndDate']).getFullYear() -
58
- new Date(value['StartDate']).getFullYear();
59
- if (daysrestriction === 'week' && diffDays < periocity) {
60
- validValue = true;
61
- } else if (daysrestriction === 'month' && diffMonths <= periocity) {
62
- const startDate = new Date(value['StartDate']);
63
- const startDateMonth = startDate.getMonth();
64
- if (
65
- (startDateMonth === 3 ||
66
- startDateMonth === 5 ||
67
- startDateMonth === 8 ||
68
- startDateMonth === 10) &&
69
- diffDays <= 30
70
- )
71
- validValue = true;
72
- else if (
73
- startDateMonth === 1 &&
74
- isLeptYear(startDate.getFullYear()) &&
75
- diffDays <= 29
76
- )
77
- validValue = true;
78
- else if (startDateMonth === 1 && diffDays <= 28) validValue = true;
79
- else if (
80
- startDateMonth !== 1 &&
81
- startDateMonth !== 3 &&
82
- startDateMonth !== 5 &&
83
- startDateMonth !== 8 &&
84
- startDateMonth !== 10 &&
85
- diffDays <= 31
86
- )
87
- validValue = true;
88
- } else if (daysrestriction === 'year' && diffYears <= periocity) {
89
- const startDate = new Date(value['StartDate']);
90
- if (
91
- isLeptYear(startDate.getFullYear()) &&
92
- startDate.getMonth() < 2 &&
93
- diffDays <= 366
94
- )
95
- validValue = true;
96
- else if (diffDays <= 365) validValue = true;
97
- }
98
- return validValue;
30
+ const isValidDateRange = ({ start, end, limit }) => {
31
+ /* Calculate if the difference in days is smaller than the allowed limit */
32
+ const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds
33
+ const diffDays = Math.round(Math.abs((start - end) / oneDay));
34
+ return diffDays <= limit;
99
35
  };
100
36
 
101
37
  return (
@@ -170,11 +106,17 @@ export const TimeseriesPicker = (props) => {
170
106
  Click the start and end dates, and then apply.
171
107
  {(!startValue ||
172
108
  !endValue ||
173
- !validDaysDifference({
174
- StartDate: startValue,
175
- EndDate: endValue,
109
+ !isValidDateRange({
110
+ start: startValue,
111
+ end: endValue,
112
+ limit: download_limit_temporal_extent,
176
113
  })) && (
177
- <span> Allowed time range of 1 {daysrestriction}. </span>
114
+ <span>
115
+ {' '}
116
+ Allowed time range of {
117
+ download_limit_temporal_extent
118
+ } days.{' '}
119
+ </span>
178
120
  )}
179
121
  <CclButton
180
122
  isButton={true}
@@ -183,9 +125,10 @@ export const TimeseriesPicker = (props) => {
183
125
  startValue?.getTime() > endValue?.getTime() ||
184
126
  !startValue ||
185
127
  !endValue ||
186
- !validDaysDifference({
187
- StartDate: startValue,
188
- EndDate: endValue,
128
+ !isValidDateRange({
129
+ start: startValue,
130
+ end: endValue,
131
+ limit: download_limit_temporal_extent,
189
132
  })
190
133
  }
191
134
  onClick={() => {
@@ -121,7 +121,7 @@ export const CartIconCounter = () => {
121
121
  <Icon
122
122
  onClick={() => setshowPopup(false)}
123
123
  name={clearSVG}
124
- size={'20'}
124
+ size={20}
125
125
  style={{ cursor: 'pointer' }}
126
126
  />
127
127
  </Segment>
@@ -13,7 +13,7 @@ const TextareaWithRequestData = (props) => {
13
13
  : '',
14
14
  );
15
15
 
16
- return <TextareaWidget {...props} value={hashMatch} />;
16
+ return <TextareaWidget {...props} defaultValue={hashMatch} />;
17
17
  };
18
18
 
19
19
  export default TextareaWithRequestData;
@@ -23,7 +23,7 @@ import { FormFieldWrapper } from '@plone/volto/components';
23
23
  * ```
24
24
  */
25
25
  const TextareaWidget = (props) => {
26
- const { id, maxLength, value, onChange, placeholder } = props;
26
+ const { id, maxLength, value, onChange, placeholder, defaultValue } = props;
27
27
  const [lengthError, setlengthError] = useState('');
28
28
 
29
29
  const onhandleChange = (id, value) => {
@@ -40,17 +40,25 @@ const TextareaWidget = (props) => {
40
40
  onChange(id, value);
41
41
  };
42
42
 
43
+ let values = {};
44
+
45
+ if (defaultValue) {
46
+ values['defaultValue'] = defaultValue;
47
+ } else {
48
+ values['value'] = value || '';
49
+ }
50
+
43
51
  return (
44
52
  <FormFieldWrapper {...props} className="textarea">
45
53
  <TextArea
46
54
  id={`field-${id}`}
47
55
  name={id}
48
- value={value || ''}
49
56
  disabled={props.isDisabled}
50
57
  placeholder={placeholder}
51
58
  onChange={({ target }) =>
52
59
  onhandleChange(id, target.value === '' ? undefined : target.value)
53
60
  }
61
+ {...values}
54
62
  />
55
63
  {lengthError.length > 0 && (
56
64
  <Label key={lengthError} basic color="red" pointing>
@@ -0,0 +1,7 @@
1
+ <svg width="50" height="41" viewBox="0 0 50 41" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.29034 23.8631C7.05845 24.2881 5.99022 25.0875 5.23509 26.1496C4.47995 27.2117 4.07567 28.4832 4.0788 29.7863C4.08194 31.0895 4.49233 32.359 5.25257 33.4175C6.0128 34.4759 7.08486 35.2702 8.31878 35.6893C8.50701 35.7536 8.66197 35.8901 8.74958 36.0686C8.83719 36.2472 8.85028 36.4533 8.78595 36.6415C8.72163 36.8297 8.58517 36.9847 8.40659 37.0723C8.22801 37.1599 8.02195 37.173 7.83372 37.1087C6.3453 36.6027 5.04597 35.6559 4.10819 34.3942C3.1704 33.1324 2.63851 31.6153 2.58311 30.0442C2.52772 28.4731 2.95143 26.9223 3.79802 25.5976C4.64461 24.273 5.87404 23.2371 7.32312 22.6275L6.5866 22.2507C6.41666 22.1564 6.28995 21.9999 6.23316 21.814C6.17637 21.6282 6.19393 21.4275 6.28215 21.2544C6.37036 21.0812 6.52235 20.9491 6.70608 20.8858C6.8898 20.8225 7.09093 20.8329 7.26709 20.915L9.94073 22.2763C10.1178 22.3666 10.2517 22.5235 10.3131 22.7126C10.3746 22.9016 10.3584 23.1073 10.2683 23.2844L8.90637 25.9593C8.8121 26.1292 8.65555 26.2559 8.4697 26.3127C8.28385 26.3695 8.08322 26.352 7.91006 26.2638C7.73691 26.1755 7.60475 26.0236 7.54144 25.8398C7.47813 25.6561 7.4886 25.455 7.57066 25.2788L8.29034 23.8631Z" fill="#A0B128"/>
3
+ <path d="M41.0613 34.2497C42.2743 33.7733 43.3081 32.9298 44.018 31.837C44.7279 30.7442 45.0785 29.4569 45.0208 28.155C44.963 26.8531 44.4997 25.6019 43.6958 24.5763C42.8918 23.5507 41.7874 22.802 40.537 22.435C40.3462 22.3787 40.1857 22.2488 40.0907 22.0741C39.9956 21.8993 39.9739 21.694 40.0303 21.5032C40.0867 21.3125 40.2165 21.1519 40.3913 21.0569C40.566 20.9619 40.7714 20.9402 40.9621 20.9966C42.4704 21.4397 43.8083 22.3311 44.7982 23.5524C45.7881 24.7737 46.3831 26.2672 46.5043 27.8346C46.6256 29.402 46.2673 30.9692 45.477 32.3282C44.6867 33.6872 43.5018 34.7737 42.0795 35.4436L42.8308 35.7882C42.9221 35.8281 43.0045 35.8857 43.0733 35.9577C43.1421 36.0297 43.1958 36.1147 43.2314 36.2077C43.267 36.3007 43.2837 36.3999 43.2805 36.4994C43.2774 36.599 43.2544 36.6969 43.213 36.7875C43.1716 36.878 43.1126 36.9595 43.0394 37.027C42.9662 37.0945 42.8803 37.1468 42.7866 37.1807C42.693 37.2147 42.5936 37.2296 42.4941 37.2248C42.3946 37.2199 42.2971 37.1952 42.2073 37.1522L39.4789 35.9042C39.2983 35.8214 39.1579 35.6702 39.0886 35.484C39.0193 35.2977 39.0267 35.0915 39.1093 34.9108L40.3583 32.182C40.3969 32.089 40.4539 32.0048 40.5259 31.9343C40.5978 31.8638 40.6832 31.8085 40.777 31.7717C40.8707 31.7349 40.9709 31.7174 41.0716 31.7202C41.1723 31.723 41.2714 31.746 41.363 31.788C41.4546 31.8299 41.5368 31.8898 41.6047 31.9642C41.6726 32.0386 41.7248 32.1259 41.7583 32.2209C41.7917 32.3159 41.8057 32.4166 41.7993 32.5171C41.793 32.6177 41.7665 32.7159 41.7214 32.8059L41.0613 34.2497Z" fill="#A0B128"/>
4
+ <path d="M23.6342 26.8292V17.0731M23.6342 17.0731V12.1951M23.6342 17.0731L28.5122 14.6341M29.7317 8.53653C29.7317 6.91935 29.0893 5.36841 27.9458 4.2249C26.8023 3.08138 25.2513 2.43896 23.6342 2.43896C22.017 2.43896 20.466 3.08138 19.3225 4.2249C18.179 5.36841 17.5366 6.91935 17.5366 8.53653M19.9756 8.53653H18.1463C16.3675 8.53653 14.6614 9.24319 13.4036 10.5011C12.1457 11.7589 11.439 13.465 11.439 15.2438C11.439 17.0227 12.1457 18.7288 13.4036 19.9866C14.6614 21.2445 16.3675 21.9512 18.1463 21.9512H23.6342H29.122C30.8498 21.9539 32.5121 21.2897 33.7623 20.097C35.0125 18.9043 35.7542 17.2751 35.8329 15.549C35.9115 13.8229 35.3209 12.1331 34.1843 10.8317C33.0477 9.53029 31.4527 8.71773 29.7317 8.56336" stroke="#A0B128" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M15 34H35" stroke="#A0B128" stroke-width="2" stroke-linecap="round"/>
6
+ <path d="M15 40H35" stroke="#A0B128" stroke-width="2" stroke-linecap="round"/>
7
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="45" height="55" viewBox="0 0 45 55" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20.8683 11.7458L16.1969 9.91706L17.2211 9.3257C17.3696 9.23998 17.4918 9.11548 17.5738 8.96631C17.6558 8.81714 17.6943 8.64926 17.685 8.4817C17.6757 8.31413 17.6189 8.15358 17.5212 8.01823C17.4234 7.88289 17.2885 7.77815 17.1318 7.7159L7.95909 4.06849C7.83071 4.01768 7.69155 3.99687 7.55231 4.00767C7.41306 4.01847 7.27743 4.06058 7.15585 4.13077C7.03428 4.20096 6.92999 4.29736 6.85102 4.41256C6.77204 4.52775 6.72048 4.65867 6.7003 4.79525L5.2727 14.5627C5.24827 14.7295 5.27147 14.8985 5.33968 15.0508C5.40789 15.2031 5.51839 15.3325 5.65867 15.4243C5.79894 15.5162 5.96341 15.5669 6.13345 15.5707C6.30349 15.5745 6.47232 15.5312 6.62083 15.4458L7.64509 14.8544L6.89313 19.8144C6.86774 19.9815 6.89025 20.1512 6.95812 20.3042C7.02598 20.4572 7.13647 20.5873 7.277 20.6798C7.41753 20.7722 7.58247 20.8232 7.75304 20.8271C7.92361 20.8309 8.09295 20.7874 8.2418 20.7014L13.807 17.4884L15.1475 19.8102C15.266 20.0154 15.4634 20.1639 15.6963 20.223C15.9292 20.2821 16.1785 20.2468 16.3893 20.1251C16.6002 20.0034 16.7553 19.8051 16.8206 19.5739C16.8859 19.3426 16.856 19.0974 16.7375 18.8922L15.397 16.5704L20.9622 13.3573C21.111 13.2714 21.2334 13.1465 21.3153 12.9969C21.3973 12.8472 21.4356 12.6789 21.4258 12.5109C21.416 12.343 21.3586 12.1823 21.26 12.047C21.1615 11.9118 21.0257 11.8074 20.8683 11.7458ZM8.97396 18.2149L9.72591 13.2549C9.75131 13.0878 9.72879 12.9181 9.66093 12.7651C9.59306 12.6121 9.48258 12.482 9.34204 12.3895C9.20151 12.2971 9.03657 12.2461 8.866 12.2423C8.69544 12.2384 8.52609 12.282 8.37724 12.3679L7.34173 12.9657L8.3344 6.17361L14.7129 8.70999L13.6774 9.30785C13.5285 9.39379 13.4062 9.51868 13.3242 9.66831C13.2422 9.81794 13.204 9.98629 13.2137 10.1542C13.2235 10.3221 13.281 10.4829 13.3795 10.6181C13.4781 10.7534 13.6138 10.8578 13.7712 10.9193L18.4427 12.7481L8.97396 18.2149Z" fill="#A0B128"/>
3
+ <path d="M4.27502 27.5601L43.9999 27.5601" stroke="#A0B128" stroke-width="2" stroke-linecap="round"/>
4
+ <path d="M25.032 42.9898C21.2658 46.1611 19.5237 47.7268 15.7574 50.8981L9.79508 50.8982L21.767 42.6876L17.9577 35.6133L21.767 32.3482L20.1345 30.1715L21.767 28.539L21.2228 27.9947L24.4878 27.9946L22.8553 30.1715L25.032 32.6505L21.2228 35.9156L25.032 42.9898Z" stroke="#A0B128" stroke-width="1.5" stroke-linecap="round"/>
5
+ <path d="M31.018 27.209L32.7381 21.4469M32.7381 21.4469L40.9007 23.6237C41.5638 23.8624 41.6448 23.7039 41.4449 23.0795L38.1798 16.5494C38.035 15.9376 38.1397 15.8015 38.724 16.0052L41.4449 17.0935C42.0543 17.2734 42.1935 17.1879 41.9891 16.5494L37.6357 6.20999C37.3152 5.42013 37.0873 5.24077 36.5473 5.66582L27.2963 12.7401C26.9262 13.0355 26.8965 13.1611 27.2963 13.2843L30.5614 13.8285C31.3415 14.1264 30.7621 14.3633 30.0172 14.917L24.5754 18.1821C23.7145 18.6935 23.752 18.9316 24.5754 19.2704L32.7381 21.4469Z" stroke="#A0B128" stroke-width="1.8"/>
6
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="53" height="46" viewBox="0 0 53 46" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.6342 43.8385V36.0824M11.6342 36.0824V32.2043M11.6342 36.0824L15.5122 34.1434M16.4817 29.2958C16.4817 28.0102 15.971 26.7772 15.0619 25.8681C14.1528 24.959 12.9198 24.4482 11.6342 24.4482C10.3485 24.4482 9.1155 24.959 8.20641 25.8681C7.29731 26.7772 6.78659 28.0102 6.78659 29.2958M8.72562 29.2958H7.27135C5.85713 29.2958 4.50083 29.8576 3.50083 30.8576C2.50082 31.8576 1.93903 33.2139 1.93903 34.6281C1.93903 36.0423 2.50082 37.3986 3.50083 38.3986C4.50083 39.3987 5.85713 39.9604 7.27135 39.9604H11.6342H15.997C17.3706 39.9626 18.6921 39.4346 19.686 38.4864C20.68 37.5382 21.2696 36.243 21.3321 34.8707C21.3946 33.4985 20.9251 32.1551 20.0215 31.1205C19.1179 30.0858 17.8499 29.4399 16.4817 29.3171" stroke="#A0B128" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M27.3618 21.6475C29.624 21.6475 36.7876 22.7786 36.7876 25.4178C36.7876 28.057 32.9374 27.4832 31.1322 27.68C29.569 27.68 25.8537 27.68 25.8537 29.9422C25.8537 32.9584 41.346 33.7125 44.3283 33.7125" stroke="#A0B128" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M40.181 11.8445C40.181 8.62693 36.9611 3.5498 32.4933 3.5498C28.0254 3.5498 24.5967 9.58233 23.2484 15.2129C21.9001 20.8428 22.0932 27.6799 22.0932 27.6799M36.4106 18.6311C36.4106 16.7459 37.4663 13.3527 40.935 13.3527C43.9513 13.3527 45.6102 16.4006 46.2135 19.0081C46.8167 21.6157 46.9675 25.4177 46.9675 25.4177" stroke="#A0B128" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="43" height="42" viewBox="0 0 43 42" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M37.4683 30.5659L37.2513 30.6482L37.4154 30.8122L42.2131 35.6076C42.415 35.8095 42.5752 36.0492 42.6845 36.313C42.7938 36.5768 42.8501 36.8595 42.8501 37.1451C42.8501 37.4306 42.7938 37.7134 42.6845 37.9772C42.5752 38.241 42.415 38.4807 42.2131 38.6826L42.213 38.6826L39.8101 41.0855L39.8101 41.0855C39.6083 41.2875 39.3686 41.4477 39.1048 41.557C38.841 41.6663 38.5582 41.7225 38.2726 41.7225C37.9871 41.7225 37.7043 41.6663 37.4405 41.557C37.1767 41.4477 36.937 41.2875 36.7352 41.0855L36.7351 41.0855L31.9375 36.2878L31.7734 36.1238L31.6911 36.3407L30.1663 40.3613L30.1655 40.3633L30.1427 40.4208C29.9762 40.808 29.6996 41.1378 29.3473 41.3692C28.9944 41.601 28.5812 41.7238 28.159 41.7224L28.1585 41.7224L28.0456 41.7224C27.6074 41.7027 27.1857 41.5495 26.837 41.2833C26.4874 41.0164 26.228 40.6489 26.0936 40.2301L26.0934 40.2294L20.0201 21.6296C20.0201 21.6295 20.02 21.6294 20.02 21.6293C19.8978 21.2488 19.8828 20.842 19.9768 20.4536C20.0707 20.0651 20.2699 19.71 20.5526 19.4273C20.8352 19.1447 21.1903 18.9454 21.5789 18.8515C21.9673 18.7576 22.3741 18.7726 22.7545 18.8948C22.7546 18.8948 22.7548 18.8948 22.7549 18.8949L41.3538 24.9679C41.3539 24.9679 41.354 24.9679 41.3542 24.968C41.7703 25.1067 42.1348 25.3681 42.3997 25.7178C42.6647 26.0676 42.8175 26.4895 42.8382 26.9278C42.8589 27.3662 42.7465 27.8005 42.5157 28.1737C42.2854 28.5462 41.948 28.8403 41.5477 29.0178L41.4909 29.0403L41.4888 29.0411L37.4683 30.5659ZM38.166 38.9993L38.2721 39.1054L38.3781 38.9993L40.1245 37.2529L40.2306 37.1468L40.1245 37.0407L35.1468 32.063C35.1468 32.063 35.1468 32.063 35.1468 32.063C34.8963 31.8124 34.7109 31.5045 34.6067 31.166C34.5024 30.8274 34.4825 30.4685 34.5486 30.1205C34.6147 29.7725 34.7649 29.4459 34.986 29.1691C35.2069 28.8927 35.4919 28.6744 35.8163 28.5331C35.8167 28.5329 35.8171 28.5328 35.8174 28.5326L35.8745 28.5089L39.3199 27.2026L39.7176 27.0517L39.3133 26.9197L22.8613 21.5469L22.5804 21.4551L22.6721 21.736L28.0461 38.188L28.1782 38.5923L28.329 38.1946L29.6357 34.7483C29.6358 34.7481 29.6359 34.7479 29.6359 34.7477C29.6443 34.7262 29.6505 34.7104 29.6572 34.6962L29.6572 34.6963L29.659 34.6921C29.8001 34.3672 30.0184 34.0817 30.295 33.8605C30.5716 33.6392 30.898 33.4889 31.2459 33.4226C31.3799 33.3975 31.516 33.3848 31.6524 33.3845C32.2285 33.385 32.7809 33.6141 33.1882 34.0215L33.1882 34.0215L38.166 38.9993Z" fill="#A0B128" stroke="white" stroke-width="0.3"/>
3
+ <path d="M30.3448 18.848C30.3515 12.3349 24.799 7.02386 18.2927 7.31991C12.0753 7.60281 7.28857 12.6242 7.28857 18.848C7.28857 25.0718 12.0827 29.9613 18.2927 30.3761C18.9052 30.417 19.2521 30.417 19.8647 30.3761" stroke="#A0B128" stroke-width="2" stroke-linecap="round"/>
4
+ <path d="M36.6328 18.8453C36.9303 9.14525 29.5525 1.60232 19.8647 1.03173C9.60773 0.427617 0.924468 8.57087 1.0005 18.8453C1.07544 28.9729 9.73892 36.8721 19.8647 36.6618" stroke="#A0B128" stroke-width="2" stroke-linecap="round"/>
5
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="40" height="41" viewBox="0 0 40 41" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_671_2739)">
3
+ <path d="M35.7143 1.46436H4.28572C2.70776 1.46436 1.42857 2.77552 1.42857 4.39293V36.6072C1.42857 38.2246 2.70776 39.5358 4.28572 39.5358H35.7143C37.2922 39.5358 38.5714 38.2246 38.5714 36.6072V4.39293C38.5714 2.77552 37.2922 1.46436 35.7143 1.46436Z" stroke="#A0B128" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M8.57143 20.5002L12.8571 24.8931L20 14.6431M22.8571 21.9645H31.4286" stroke="#A0B128" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_671_2739">
8
+ <rect width="40" height="41" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="46" height="47" viewBox="0 0 46 47" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="path-1-outside-1_671_552" maskUnits="userSpaceOnUse" x="1.06424" y="1.46338" width="43" height="44" fill="black">
3
+ <rect fill="white" x="1.06424" y="1.46338" width="43" height="44"/>
4
+ <path d="M27.7917 44.4148V42.4565C31.5292 42.4565 34.6936 41.1333 37.2849 38.4869C39.8762 35.8393 41.1719 32.606 41.1719 28.7873H43.0886C43.0886 30.9584 42.6886 32.9938 41.8887 34.8934C41.0888 36.793 40.0002 38.4464 38.6227 39.8538C37.2453 41.2612 35.627 42.3736 33.7678 43.1908C31.9087 44.0081 29.9166 44.4148 27.7917 44.4148ZM27.7917 37.7878V35.8295C29.7083 35.8295 31.3362 35.1454 32.6753 33.7771C34.0144 32.4089 34.684 30.7456 34.684 28.7873H36.6007C36.6007 31.2705 35.7401 33.3913 34.0189 35.1499C32.2977 36.9085 30.222 37.7878 27.7917 37.7878ZM11.7434 42.1373C11.3626 42.1373 10.994 42.0707 10.6375 41.9375C10.281 41.8043 9.96027 41.5961 9.67532 41.3128L2.87116 34.3607C2.59388 34.0696 2.38943 33.7419 2.25782 33.3776C2.12877 33.0134 2.06424 32.6367 2.06424 32.2477C2.06424 31.8508 2.12941 31.4787 2.25974 31.1314C2.39007 30.7841 2.59452 30.4682 2.87307 30.1836L8.22057 24.7198C8.78279 24.1454 9.46577 23.8562 10.2695 23.8523C11.0732 23.8484 11.7562 24.1336 12.3184 24.7081L15.1187 27.5712L17.825 24.806L15.0228 21.9449C14.4606 21.3704 14.1795 20.6759 14.1795 19.8612C14.1795 19.0479 14.4606 18.3539 15.0228 17.7795L17.0162 15.7428C17.5797 15.1684 18.2556 14.8812 19.044 14.8812C19.8324 14.8812 20.507 15.1684 21.068 15.7428L23.8702 18.604L26.5746 15.8388L23.7743 12.9777C23.2121 12.4032 22.931 11.7074 22.931 10.8901C22.931 10.0728 23.2121 9.3763 23.7743 8.80055L29.1218 3.3368C29.4068 3.04566 29.7217 2.82698 30.0667 2.68075C30.4105 2.53584 30.7727 2.46338 31.1535 2.46338C31.5343 2.46338 31.901 2.52996 32.2537 2.66313C32.6063 2.7963 32.9251 3.00845 33.2101 3.29959L40.0142 10.2517C40.2992 10.535 40.5049 10.8568 40.6314 11.2171C40.7592 11.5775 40.8231 11.9561 40.8231 12.353C40.8231 12.742 40.7592 13.1187 40.6314 13.4829C40.5049 13.8459 40.2992 14.1736 40.0142 14.466L34.6667 19.9298C34.1045 20.5042 33.4228 20.7914 32.6217 20.7914C31.8218 20.7914 31.1407 20.5042 30.5785 19.9298L27.7763 17.0667L25.0719 19.8318L27.8722 22.693C28.4344 23.2674 28.7142 23.9639 28.7117 24.7825C28.7078 25.5998 28.4248 26.2956 27.8626 26.8701L25.9152 28.8598C25.353 29.4342 24.672 29.7279 23.8721 29.741C23.0722 29.7541 22.3905 29.4727 21.827 28.897L19.0267 26.0339L16.3204 28.799L19.1226 31.6602C19.6848 32.2346 19.964 32.9331 19.9602 33.7556C19.9576 34.5755 19.6746 35.2733 19.1111 35.849L13.7636 41.3128C13.485 41.5961 13.1758 41.805 12.8359 41.9395C12.496 42.0713 12.1319 42.1373 11.7434 42.1373ZM11.1167 40.0027C11.2892 40.1789 11.4981 40.267 11.7434 40.267C11.9887 40.267 12.1977 40.1789 12.3702 40.0027L14.4938 37.8328L6.32499 29.4884L4.20132 31.6563C4.0301 31.8325 3.94449 32.046 3.94449 32.2966C3.94449 32.5486 4.0301 32.7621 4.20132 32.937L11.1167 40.0027ZM15.7052 36.556L17.8288 34.3881C18.0013 34.2119 18.0876 33.9984 18.0876 33.7478C18.0876 33.4958 18.0013 33.2823 17.8288 33.1074L10.9135 26.0417C10.7423 25.8655 10.5333 25.7773 10.2867 25.7773C10.0414 25.7773 9.83249 25.8655 9.65999 26.0417L7.53824 28.2115L15.7052 36.556ZM23.2319 27.5477C23.4044 27.7239 23.6133 27.812 23.8587 27.812C24.104 27.812 24.3129 27.7239 24.4854 27.5477L26.5784 25.4092C26.7509 25.2329 26.8372 25.0195 26.8372 24.7688C26.8372 24.5181 26.7509 24.3047 26.5784 24.1284L19.665 17.0628C19.4925 16.8878 19.2836 16.8003 19.0382 16.8003C18.7916 16.8003 18.5827 16.8878 18.4115 17.0628L16.3166 19.2032C16.1453 19.3782 16.0597 19.5916 16.0597 19.8436C16.0597 20.0943 16.1453 20.3077 16.3166 20.484L23.2319 27.5477ZM31.9834 18.5707C32.1546 18.7456 32.3629 18.8331 32.6082 18.8331C32.8549 18.8331 33.0638 18.7456 33.235 18.5707L35.3587 16.4008L27.1917 8.05442L25.0681 10.2243C24.8956 10.4005 24.8093 10.614 24.8093 10.8646C24.8093 11.1153 24.8956 11.3288 25.0681 11.505L31.9834 18.5707ZM36.6083 15.1632L38.732 12.9933C38.9032 12.8171 38.9888 12.6036 38.9888 12.353C38.9888 12.101 38.9032 11.8875 38.732 11.7126L31.8167 4.64692C31.6442 4.47067 31.4352 4.38255 31.1899 4.38255C30.9446 4.38255 30.7357 4.47067 30.5632 4.64692L28.4395 6.81675L36.6083 15.1632Z"/>
5
+ </mask>
6
+ <path d="M27.7917 44.4148V42.4565C31.5292 42.4565 34.6936 41.1333 37.2849 38.4869C39.8762 35.8393 41.1719 32.606 41.1719 28.7873H43.0886C43.0886 30.9584 42.6886 32.9938 41.8887 34.8934C41.0888 36.793 40.0002 38.4464 38.6227 39.8538C37.2453 41.2612 35.627 42.3736 33.7678 43.1908C31.9087 44.0081 29.9166 44.4148 27.7917 44.4148ZM27.7917 37.7878V35.8295C29.7083 35.8295 31.3362 35.1454 32.6753 33.7771C34.0144 32.4089 34.684 30.7456 34.684 28.7873H36.6007C36.6007 31.2705 35.7401 33.3913 34.0189 35.1499C32.2977 36.9085 30.222 37.7878 27.7917 37.7878ZM11.7434 42.1373C11.3626 42.1373 10.994 42.0707 10.6375 41.9375C10.281 41.8043 9.96027 41.5961 9.67532 41.3128L2.87116 34.3607C2.59388 34.0696 2.38943 33.7419 2.25782 33.3776C2.12877 33.0134 2.06424 32.6367 2.06424 32.2477C2.06424 31.8508 2.12941 31.4787 2.25974 31.1314C2.39007 30.7841 2.59452 30.4682 2.87307 30.1836L8.22057 24.7198C8.78279 24.1454 9.46577 23.8562 10.2695 23.8523C11.0732 23.8484 11.7562 24.1336 12.3184 24.7081L15.1187 27.5712L17.825 24.806L15.0228 21.9449C14.4606 21.3704 14.1795 20.6759 14.1795 19.8612C14.1795 19.0479 14.4606 18.3539 15.0228 17.7795L17.0162 15.7428C17.5797 15.1684 18.2556 14.8812 19.044 14.8812C19.8324 14.8812 20.507 15.1684 21.068 15.7428L23.8702 18.604L26.5746 15.8388L23.7743 12.9777C23.2121 12.4032 22.931 11.7074 22.931 10.8901C22.931 10.0728 23.2121 9.3763 23.7743 8.80055L29.1218 3.3368C29.4068 3.04566 29.7217 2.82698 30.0667 2.68075C30.4105 2.53584 30.7727 2.46338 31.1535 2.46338C31.5343 2.46338 31.901 2.52996 32.2537 2.66313C32.6063 2.7963 32.9251 3.00845 33.2101 3.29959L40.0142 10.2517C40.2992 10.535 40.5049 10.8568 40.6314 11.2171C40.7592 11.5775 40.8231 11.9561 40.8231 12.353C40.8231 12.742 40.7592 13.1187 40.6314 13.4829C40.5049 13.8459 40.2992 14.1736 40.0142 14.466L34.6667 19.9298C34.1045 20.5042 33.4228 20.7914 32.6217 20.7914C31.8218 20.7914 31.1407 20.5042 30.5785 19.9298L27.7763 17.0667L25.0719 19.8318L27.8722 22.693C28.4344 23.2674 28.7142 23.9639 28.7117 24.7825C28.7078 25.5998 28.4248 26.2956 27.8626 26.8701L25.9152 28.8598C25.353 29.4342 24.672 29.7279 23.8721 29.741C23.0722 29.7541 22.3905 29.4727 21.827 28.897L19.0267 26.0339L16.3204 28.799L19.1226 31.6602C19.6848 32.2346 19.964 32.9331 19.9602 33.7556C19.9576 34.5755 19.6746 35.2733 19.1111 35.849L13.7636 41.3128C13.485 41.5961 13.1758 41.805 12.8359 41.9395C12.496 42.0713 12.1319 42.1373 11.7434 42.1373ZM11.1167 40.0027C11.2892 40.1789 11.4981 40.267 11.7434 40.267C11.9887 40.267 12.1977 40.1789 12.3702 40.0027L14.4938 37.8328L6.32499 29.4884L4.20132 31.6563C4.0301 31.8325 3.94449 32.046 3.94449 32.2966C3.94449 32.5486 4.0301 32.7621 4.20132 32.937L11.1167 40.0027ZM15.7052 36.556L17.8288 34.3881C18.0013 34.2119 18.0876 33.9984 18.0876 33.7478C18.0876 33.4958 18.0013 33.2823 17.8288 33.1074L10.9135 26.0417C10.7423 25.8655 10.5333 25.7773 10.2867 25.7773C10.0414 25.7773 9.83249 25.8655 9.65999 26.0417L7.53824 28.2115L15.7052 36.556ZM23.2319 27.5477C23.4044 27.7239 23.6133 27.812 23.8587 27.812C24.104 27.812 24.3129 27.7239 24.4854 27.5477L26.5784 25.4092C26.7509 25.2329 26.8372 25.0195 26.8372 24.7688C26.8372 24.5181 26.7509 24.3047 26.5784 24.1284L19.665 17.0628C19.4925 16.8878 19.2836 16.8003 19.0382 16.8003C18.7916 16.8003 18.5827 16.8878 18.4115 17.0628L16.3166 19.2032C16.1453 19.3782 16.0597 19.5916 16.0597 19.8436C16.0597 20.0943 16.1453 20.3077 16.3166 20.484L23.2319 27.5477ZM31.9834 18.5707C32.1546 18.7456 32.3629 18.8331 32.6082 18.8331C32.8549 18.8331 33.0638 18.7456 33.235 18.5707L35.3587 16.4008L27.1917 8.05442L25.0681 10.2243C24.8956 10.4005 24.8093 10.614 24.8093 10.8646C24.8093 11.1153 24.8956 11.3288 25.0681 11.505L31.9834 18.5707ZM36.6083 15.1632L38.732 12.9933C38.9032 12.8171 38.9888 12.6036 38.9888 12.353C38.9888 12.101 38.9032 11.8875 38.732 11.7126L31.8167 4.64692C31.6442 4.47067 31.4352 4.38255 31.1899 4.38255C30.9446 4.38255 30.7357 4.47067 30.5632 4.64692L28.4395 6.81675L36.6083 15.1632Z" fill="#A0B128"/>
7
+ <path d="M27.7917 44.4148V42.4565C31.5292 42.4565 34.6936 41.1333 37.2849 38.4869C39.8762 35.8393 41.1719 32.606 41.1719 28.7873H43.0886C43.0886 30.9584 42.6886 32.9938 41.8887 34.8934C41.0888 36.793 40.0002 38.4464 38.6227 39.8538C37.2453 41.2612 35.627 42.3736 33.7678 43.1908C31.9087 44.0081 29.9166 44.4148 27.7917 44.4148ZM27.7917 37.7878V35.8295C29.7083 35.8295 31.3362 35.1454 32.6753 33.7771C34.0144 32.4089 34.684 30.7456 34.684 28.7873H36.6007C36.6007 31.2705 35.7401 33.3913 34.0189 35.1499C32.2977 36.9085 30.222 37.7878 27.7917 37.7878ZM11.7434 42.1373C11.3626 42.1373 10.994 42.0707 10.6375 41.9375C10.281 41.8043 9.96027 41.5961 9.67532 41.3128L2.87116 34.3607C2.59388 34.0696 2.38943 33.7419 2.25782 33.3776C2.12877 33.0134 2.06424 32.6367 2.06424 32.2477C2.06424 31.8508 2.12941 31.4787 2.25974 31.1314C2.39007 30.7841 2.59452 30.4682 2.87307 30.1836L8.22057 24.7198C8.78279 24.1454 9.46577 23.8562 10.2695 23.8523C11.0732 23.8484 11.7562 24.1336 12.3184 24.7081L15.1187 27.5712L17.825 24.806L15.0228 21.9449C14.4606 21.3704 14.1795 20.6759 14.1795 19.8612C14.1795 19.0479 14.4606 18.3539 15.0228 17.7795L17.0162 15.7428C17.5797 15.1684 18.2556 14.8812 19.044 14.8812C19.8324 14.8812 20.507 15.1684 21.068 15.7428L23.8702 18.604L26.5746 15.8388L23.7743 12.9777C23.2121 12.4032 22.931 11.7074 22.931 10.8901C22.931 10.0728 23.2121 9.3763 23.7743 8.80055L29.1218 3.3368C29.4068 3.04566 29.7217 2.82698 30.0667 2.68075C30.4105 2.53584 30.7727 2.46338 31.1535 2.46338C31.5343 2.46338 31.901 2.52996 32.2537 2.66313C32.6063 2.7963 32.9251 3.00845 33.2101 3.29959L40.0142 10.2517C40.2992 10.535 40.5049 10.8568 40.6314 11.2171C40.7592 11.5775 40.8231 11.9561 40.8231 12.353C40.8231 12.742 40.7592 13.1187 40.6314 13.4829C40.5049 13.8459 40.2992 14.1736 40.0142 14.466L34.6667 19.9298C34.1045 20.5042 33.4228 20.7914 32.6217 20.7914C31.8218 20.7914 31.1407 20.5042 30.5785 19.9298L27.7763 17.0667L25.0719 19.8318L27.8722 22.693C28.4344 23.2674 28.7142 23.9639 28.7117 24.7825C28.7078 25.5998 28.4248 26.2956 27.8626 26.8701L25.9152 28.8598C25.353 29.4342 24.672 29.7279 23.8721 29.741C23.0722 29.7541 22.3905 29.4727 21.827 28.897L19.0267 26.0339L16.3204 28.799L19.1226 31.6602C19.6848 32.2346 19.964 32.9331 19.9602 33.7556C19.9576 34.5755 19.6746 35.2733 19.1111 35.849L13.7636 41.3128C13.485 41.5961 13.1758 41.805 12.8359 41.9395C12.496 42.0713 12.1319 42.1373 11.7434 42.1373ZM11.1167 40.0027C11.2892 40.1789 11.4981 40.267 11.7434 40.267C11.9887 40.267 12.1977 40.1789 12.3702 40.0027L14.4938 37.8328L6.32499 29.4884L4.20132 31.6563C4.0301 31.8325 3.94449 32.046 3.94449 32.2966C3.94449 32.5486 4.0301 32.7621 4.20132 32.937L11.1167 40.0027ZM15.7052 36.556L17.8288 34.3881C18.0013 34.2119 18.0876 33.9984 18.0876 33.7478C18.0876 33.4958 18.0013 33.2823 17.8288 33.1074L10.9135 26.0417C10.7423 25.8655 10.5333 25.7773 10.2867 25.7773C10.0414 25.7773 9.83249 25.8655 9.65999 26.0417L7.53824 28.2115L15.7052 36.556ZM23.2319 27.5477C23.4044 27.7239 23.6133 27.812 23.8587 27.812C24.104 27.812 24.3129 27.7239 24.4854 27.5477L26.5784 25.4092C26.7509 25.2329 26.8372 25.0195 26.8372 24.7688C26.8372 24.5181 26.7509 24.3047 26.5784 24.1284L19.665 17.0628C19.4925 16.8878 19.2836 16.8003 19.0382 16.8003C18.7916 16.8003 18.5827 16.8878 18.4115 17.0628L16.3166 19.2032C16.1453 19.3782 16.0597 19.5916 16.0597 19.8436C16.0597 20.0943 16.1453 20.3077 16.3166 20.484L23.2319 27.5477ZM31.9834 18.5707C32.1546 18.7456 32.3629 18.8331 32.6082 18.8331C32.8549 18.8331 33.0638 18.7456 33.235 18.5707L35.3587 16.4008L27.1917 8.05442L25.0681 10.2243C24.8956 10.4005 24.8093 10.614 24.8093 10.8646C24.8093 11.1153 24.8956 11.3288 25.0681 11.505L31.9834 18.5707ZM36.6083 15.1632L38.732 12.9933C38.9032 12.8171 38.9888 12.6036 38.9888 12.353C38.9888 12.101 38.9032 11.8875 38.732 11.7126L31.8167 4.64692C31.6442 4.47067 31.4352 4.38255 31.1899 4.38255C30.9446 4.38255 30.7357 4.47067 30.5632 4.64692L28.4395 6.81675L36.6083 15.1632Z" stroke="#A0B128" stroke-width="0.2" mask="url(#path-1-outside-1_671_552)"/>
8
+ </svg>
@@ -189,132 +189,6 @@
189
189
  margin-right: 0.5rem;
190
190
  }
191
191
 
192
- /* Products band */
193
- .home-products-container {
194
- display: flex;
195
- flex-wrap: wrap;
196
- }
197
-
198
- .home-product {
199
- display: flex;
200
- width: 33.3333%;
201
- height: 14vw;
202
- flex-direction: column;
203
- align-items: flex-end;
204
- justify-content: center;
205
- padding: 2rem;
206
- border: 1px solid @clmsGreen;
207
- background-position: left;
208
- background-repeat: no-repeat;
209
- background-size: auto 100%;
210
- color: @clmsGreen;
211
- cursor: pointer;
212
- font-weight: bold;
213
- -webkit-transition: all 0.5s ease;
214
- transition: all 0.5s ease;
215
- }
216
-
217
- .home-product:hover {
218
- background-size: auto 120%;
219
- }
220
-
221
- .home-product-main {
222
- flex-direction: row;
223
- align-items: center;
224
- justify-content: center;
225
- background-color: fade(@clmsGreen, 5%);
226
- cursor: auto;
227
- }
228
-
229
- .home-product-main h3 {
230
- margin: 0;
231
- }
232
-
233
- .home-product-title {
234
- width: 75%;
235
- margin-bottom: 1rem;
236
- text-align: center;
237
- }
238
-
239
- .home-product-description {
240
- width: 75%;
241
- font-weight: normal;
242
- text-align: center;
243
- }
244
- @media (min-width: 2000px) {
245
- .home-product {
246
- width: 16.6666%;
247
- height: 16rem;
248
- font-size: 1.2rem;
249
- }
250
- }
251
- @media (max-width: 1200px) {
252
- .home-product-title {
253
- width: 100%;
254
- }
255
-
256
- .home-product-description {
257
- width: 100%;
258
- }
259
- }
260
- @media (max-width: 950px) {
261
- .home-product {
262
- height: 20vw;
263
- }
264
- }
265
- @media (max-width: 860px) {
266
- .home-product {
267
- width: 50%;
268
- height: 25vw;
269
- }
270
- }
271
- @media (max-width: 1200px) {
272
- .home-products-container {
273
- margin-top: 1.6rem;
274
- }
275
- }
276
- @media (max-width: 640px) {
277
- .home-product {
278
- width: 100%;
279
- height: 30vw;
280
- }
281
- }
282
- @media (max-width: 420px) {
283
- .home-products-container {
284
- margin-top: 3.6rem;
285
- }
286
- }
287
- @media (max-width: 480px) {
288
- .home-product {
289
- width: 100%;
290
- height: 35vw;
291
- }
292
- }
293
-
294
- #home_product_1 {
295
- background-image: url('../../clms/img/home_product_1.png');
296
- }
297
-
298
- #home_product_2 {
299
- background-image: url('../../clms/img/home_product_2.png');
300
- }
301
-
302
- #home_product_3 {
303
- background-image: url('../../clms/img/home_product_3.png');
304
- }
305
-
306
- #home_product_4 {
307
- background-image: url('../../clms/img/home_product_4.png');
308
- }
309
-
310
- #home_product_5 {
311
- background-image: url('../../clms/img/home_product_5.png');
312
- }
313
-
314
- #home_product_6 {
315
- background-image: url('../../clms/img/home_product_6.png');
316
- }
317
-
318
192
  /* Datasets band */
319
193
  .home-datasets-container {
320
194
  padding: 3rem 1rem;
@@ -446,6 +320,7 @@
446
320
  max-width: 100%;
447
321
  padding: 1.5rem;
448
322
  background-color: fade(@white, 70%);
323
+ text-align: center;
449
324
  }
450
325
 
451
326
  .home-map-banner h4 {
@@ -453,11 +328,7 @@
453
328
  }
454
329
  @media (min-width: 768px) {
455
330
  .home-map-banner {
456
- width: 40%;
457
- }
458
-
459
- .home-dataset-banner {
460
- width: 40%;
331
+ width: 25%;
461
332
  }
462
333
  }
463
334
 
@@ -465,11 +336,17 @@
465
336
  max-width: 100%;
466
337
  padding: 1.5rem;
467
338
  background-color: fade(@white, 70%);
339
+ text-align: center;
468
340
  }
469
341
 
470
342
  .home-dataset-banner h4 {
471
343
  margin-bottom: 1rem;
472
344
  }
345
+ @media (min-width: 768px) {
346
+ .home-dataset-banner {
347
+ width: 25%;
348
+ }
349
+ }
473
350
  /* Meet band */
474
351
  .home-meet-container {
475
352
  padding: 3rem 1rem;