@eeacms/volto-eea-website-theme 1.1.0 → 1.3.0

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.
@@ -1,7 +1,9 @@
1
1
  const fs = require('fs');
2
2
  const path = require('path');
3
3
 
4
- const projectRootPath = fs.realpathSync('./project'); // __dirname
4
+ const projectRootPath = fs.existsSync('./project')
5
+ ? fs.realpathSync('./project')
6
+ : fs.realpathSync('./../../../');
5
7
  const packageJson = require(path.join(projectRootPath, 'package.json'));
6
8
  const jsConfig = require(path.join(projectRootPath, 'jsconfig.json')).compilerOptions;
7
9
 
package/CHANGELOG.md CHANGED
@@ -4,6 +4,46 @@ 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.3.0](https://github.com/eea/volto-eea-website-theme/compare/1.2.0...1.3.0) - 22 November 2022
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat(footer): Get footer, copyright, social and contact actions from backend - refs #151856 [Alin Voinea - [`2560a5f`](https://github.com/eea/volto-eea-website-theme/commit/2560a5f57262999b1aa0bd3fa949cc33dd85bd31)]
12
+
13
+ #### :bug: Bug Fixes
14
+
15
+ - fix(header): removed capitalization of Know from header dropdown section [David Ichim - [`14b45a3`](https://github.com/eea/volto-eea-website-theme/commit/14b45a391abf039357f8f19e64b9b04402e8ba4c)]
16
+
17
+ #### :hammer_and_wrench: Others
18
+
19
+ - Release 1.3.0 [Alin Voinea - [`082f468`](https://github.com/eea/volto-eea-website-theme/commit/082f468fd56a37063b7d80fcfc6f5f599b74e7c4)]
20
+ ### [1.2.0](https://github.com/eea/volto-eea-website-theme/compare/1.1.0...1.2.0) - 16 November 2022
21
+
22
+ #### :rocket: New Features
23
+
24
+ - feat(dependencies): volto-subsites [Alin Voinea - [`7e196b3`](https://github.com/eea/volto-eea-website-theme/commit/7e196b3ba0ffdae32d15fc1a9a020a7f760461ac)]
25
+
26
+ #### :bug: Bug Fixes
27
+
28
+ - fix(eslint): remove .project.eslintrc.js [Miu Razvan - [`5cf763f`](https://github.com/eea/volto-eea-website-theme/commit/5cf763f4451dab6b63705b8346912145e6b8cc73)]
29
+
30
+ #### :nail_care: Enhancements
31
+
32
+ - change(theme): modified volto-columns-block padding and margin values [David Ichim - [`830b571`](https://github.com/eea/volto-eea-website-theme/commit/830b5711c89c3bcceda01a5cf9372ae4118dfa9d)]
33
+ - change(theme): modified path for site theme [David Ichim - [`3996f88`](https://github.com/eea/volto-eea-website-theme/commit/3996f8836741242fd75517a5a5a9c5180be75aad)]
34
+ - change(website-theme): removed dependency on slate now that plone has slate builtin [David Ichim - [`5840c03`](https://github.com/eea/volto-eea-website-theme/commit/5840c03a8f2c89e44014c93b2b2198467d111b84)]
35
+
36
+ #### :hammer_and_wrench: Others
37
+
38
+ - Release 1.2.0 [Alin Voinea - [`567f1b1`](https://github.com/eea/volto-eea-website-theme/commit/567f1b12d6915f960b73016de3ac53e00a47e9f7)]
39
+ - Add volto-subsite dependency [kreafox - [`7f2751f`](https://github.com/eea/volto-eea-website-theme/commit/7f2751f3da169138971e3c06b932bbe6fb909abf)]
40
+ - Remove console.log [kreafox - [`098f028`](https://github.com/eea/volto-eea-website-theme/commit/098f0282f8694e164b1724c214706c566943e340)]
41
+ - Fix undefined error [kreafox - [`461d693`](https://github.com/eea/volto-eea-website-theme/commit/461d6938630d0c110e9c9f369846bfaac314ea2c)]
42
+ - Improve subsite [kreafox - [`108b03a`](https://github.com/eea/volto-eea-website-theme/commit/108b03a8d31bf642509f0ab9c624aa0309b5faec)]
43
+ - Add .project.eslintrc.js [Alin Voinea - [`b7be5f5`](https://github.com/eea/volto-eea-website-theme/commit/b7be5f5628f555100293e06e9fd7a25b8b7ec16b)]
44
+ - Add subsite class to body [Tiberiu Ichim - [`74d700f`](https://github.com/eea/volto-eea-website-theme/commit/74d700fbfd6249a8604762a7e4e49cce857db0f3)]
45
+ - Add subsite info to header [Tiberiu Ichim - [`47daf8b`](https://github.com/eea/volto-eea-website-theme/commit/47daf8bb6374a1222040626b19d4154df7ba1b83)]
46
+ - fix eslint [Miu Razvan - [`eb8d0a7`](https://github.com/eea/volto-eea-website-theme/commit/eb8d0a790bc70c0aae256c6ff35f63c4885f338e)]
7
47
  ### [1.1.0](https://github.com/eea/volto-eea-website-theme/compare/1.0.0...1.1.0) - 28 October 2022
8
48
 
9
49
  #### :nail_care: Enhancements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
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",
@@ -14,7 +14,8 @@
14
14
  "react"
15
15
  ],
16
16
  "addons": [
17
- "@eeacms/volto-eea-design-system"
17
+ "@eeacms/volto-eea-design-system",
18
+ "volto-subsites"
18
19
  ],
19
20
  "repository": {
20
21
  "type": "git",
@@ -22,8 +23,7 @@
22
23
  },
23
24
  "dependencies": {
24
25
  "@eeacms/volto-eea-design-system": "*",
25
- "slate": "^0.71.0",
26
- "slate-react": "^0.71.0"
26
+ "volto-subsites": "*"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@plone/scripts": "*",
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import cx from 'classnames';
3
+ import { useSelector } from 'react-redux';
4
+ import { useLocation } from 'react-router-dom';
5
+
6
+ import { BodyClass } from '@plone/volto/helpers';
7
+ import { isSubsiteRoot } from 'volto-subsites/utils';
8
+
9
+ const SubsiteClass = () => {
10
+ const subsite = useSelector(
11
+ (state) => state.content?.data?.['@components']?.subsite || {},
12
+ );
13
+ const location = useLocation();
14
+
15
+ return (
16
+ <BodyClass
17
+ className={cx('subsite', `subsite-${subsite.subsite_css_class?.token}`, {
18
+ 'subsite-root': isSubsiteRoot(location.pathname, subsite),
19
+ })}
20
+ />
21
+ );
22
+ };
23
+ export default SubsiteClass;
package/src/config.js CHANGED
@@ -8,7 +8,8 @@ import copernicusLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/
8
8
  import industryLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/industry.svg';
9
9
  import marineLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/marine.svg';
10
10
  import eionetLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/eionet.svg';
11
- import eeaLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/eea-white.svg';
11
+ import eeaLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/eea-logo.svg';
12
+ import eeaWhiteLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/eea-white.svg';
12
13
  import climateLogo from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/climate-health.svg';
13
14
 
14
15
  // TODO: to be consolidated with headerLinks
@@ -92,7 +93,7 @@ export const footerOpts = {
92
93
  managedBy: [
93
94
  {
94
95
  link: 'https://www.eea.europa.eu/',
95
- src: eeaLogo,
96
+ src: eeaWhiteLogo,
96
97
  alt: 'EEA Logo',
97
98
  className: 'site logo',
98
99
  columnSize: {
@@ -175,42 +176,47 @@ export const footerOpts = {
175
176
  address: 'Kongens Nytorv 6 1050 Copenhagen K (+45) 33 36 71 00',
176
177
  };
177
178
 
178
- export const globalHeaderPartnerLinks = {
179
- title: 'Environmental information systems',
180
- links: [
181
- {
182
- title: 'Biodiversity Information System for Europe',
183
- href: 'https://biodiversity.europa.eu/',
184
- },
185
- {
186
- title: 'Climate Adaptation Platform',
187
- href: 'https://climate-adapt.eea.europa.eu/',
188
- },
189
- {
190
- title: 'Copernicus in situ component',
191
- href: 'https://insitu.copernicus.eu/',
192
- },
193
- {
194
- title: 'European Industrial Emissions Portal',
195
- href: 'https://industry.eea.europa.eu/',
196
- },
197
- {
198
- title: 'Forest Information System for Europe',
199
- href: 'https://forest.eea.europa.eu/',
200
- },
201
- {
202
- title: 'Information Platform for Chemical Monitoring',
203
- href: 'https://ipchem.jrc.ec.europa.eu/RDSIdiscovery/ipchem/index.html',
204
- },
205
- {
206
- title: 'Marine Water Information System for Europe',
207
- href: 'https://water.europa.eu/marine',
208
- },
209
- {
210
- title: 'Fresh Water Information System for Europe',
211
- href: 'https://water.europa.eu/freshwater',
212
- },
213
- ],
179
+ // Header.jsx config options
180
+ export const headerOpts = {
181
+ logo: eeaLogo,
182
+ logoWhite: eeaWhiteLogo,
183
+ partnerLinks: {
184
+ title: 'Environmental information systems',
185
+ links: [
186
+ {
187
+ title: 'Biodiversity Information System for Europe',
188
+ href: 'https://biodiversity.europa.eu/',
189
+ },
190
+ {
191
+ title: 'Climate Adaptation Platform',
192
+ href: 'https://climate-adapt.eea.europa.eu/',
193
+ },
194
+ {
195
+ title: 'Copernicus in situ component',
196
+ href: 'https://insitu.copernicus.eu/',
197
+ },
198
+ {
199
+ title: 'European Industrial Emissions Portal',
200
+ href: 'https://industry.eea.europa.eu/',
201
+ },
202
+ {
203
+ title: 'Forest Information System for Europe',
204
+ href: 'https://forest.eea.europa.eu/',
205
+ },
206
+ {
207
+ title: 'Information Platform for Chemical Monitoring',
208
+ href: 'https://ipchem.jrc.ec.europa.eu/RDSIdiscovery/ipchem/index.html',
209
+ },
210
+ {
211
+ title: 'Marine Water Information System for Europe',
212
+ href: 'https://water.europa.eu/marine',
213
+ },
214
+ {
215
+ title: 'Fresh Water Information System for Europe',
216
+ href: 'https://water.europa.eu/freshwater',
217
+ },
218
+ ],
219
+ },
214
220
  };
215
221
 
216
222
  export const languages = [
@@ -4,20 +4,75 @@
4
4
  */
5
5
 
6
6
  import React from 'react';
7
+ import { useSelector, shallowEqual } from 'react-redux';
8
+ import { flattenToAppURL } from '@plone/volto/helpers';
7
9
  import EEAFooter from '@eeacms/volto-eea-design-system/ui/Footer/Footer';
8
10
  import config from '@plone/volto/registry';
9
11
 
10
- const Footer = (props) => {
12
+ const Footer = () => {
11
13
  const { eea } = config.settings;
14
+ const {
15
+ footerActions = [],
16
+ copyrightActions = [],
17
+ socialActions = [],
18
+ contactActions = [],
19
+ } = useSelector(
20
+ (state) => ({
21
+ footerActions: state.actions?.actions?.footer_actions,
22
+ copyrightActions: state.actions?.actions?.copyright_actions,
23
+ socialActions: state.actions?.actions?.social_actions,
24
+ contactActions: state.actions?.actions?.contact_actions,
25
+ }),
26
+ shallowEqual,
27
+ );
28
+ // ZMI > portal_actions > footer_actions
29
+ const actions = footerActions.length
30
+ ? footerActions.map((action) => ({
31
+ title: action.title,
32
+ link: flattenToAppURL(action.url),
33
+ }))
34
+ : eea.footerOpts.actions;
35
+
36
+ // ZMI > portal_actions > copyright_actions
37
+ const copyright = copyrightActions.length
38
+ ? copyrightActions.map((action) => ({
39
+ title: action.title,
40
+ site: action.title,
41
+ link: flattenToAppURL(action.url),
42
+ }))
43
+ : eea.footerOpts.copyright;
44
+
45
+ // ZMI > portal_actions > social_actions
46
+ const social = socialActions.length
47
+ ? socialActions.map((action) => ({
48
+ name: action.id,
49
+ icon: action.icon,
50
+ link: action.url,
51
+ }))
52
+ : eea.footerOpts.social;
53
+
54
+ // ZMI > portal_actions > contact_actions
55
+ const contacts = contactActions.length
56
+ ? contactActions.map((action) => ({
57
+ text: action.title,
58
+ icon: action.icon,
59
+ link: flattenToAppURL(action.url),
60
+ }))
61
+ : eea.footerOpts.contacts;
62
+
63
+ // Update options with actions from backend
64
+ const options = {
65
+ ...eea.footerOpts,
66
+ social,
67
+ contacts,
68
+ };
69
+
12
70
  return (
13
71
  <EEAFooter>
14
- <EEAFooter.SubFooter {...eea.footerOpts} />
72
+ <EEAFooter.SubFooter {...options} />
15
73
  <EEAFooter.Header>{eea.footerOpts.header}</EEAFooter.Header>
16
74
  <EEAFooter.Sites sites={eea.footerOpts.sites} />
17
- <EEAFooter.Actions
18
- actions={eea.footerOpts.actions}
19
- copyright={eea.footerOpts.copyright}
20
- />
75
+ <EEAFooter.Actions actions={actions} copyright={copyright} />
21
76
  </EEAFooter>
22
77
  );
23
78
  };
@@ -18,8 +18,6 @@ import { getNavigation } from '@plone/volto/actions';
18
18
  import { Header, Logo } from '@eeacms/volto-eea-design-system/ui';
19
19
  import { usePrevious } from '@eeacms/volto-eea-design-system/helpers';
20
20
  import { find } from 'lodash';
21
- import WhiteLogoImage from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/eea-white.svg';
22
- import LogoImage from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/eea-logo.svg';
23
21
  import globeIcon from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/global-line.svg';
24
22
  import eeaFlag from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/eea.png';
25
23
 
@@ -29,22 +27,30 @@ import { BodyClass } from '@plone/volto/helpers';
29
27
 
30
28
  import cx from 'classnames';
31
29
 
30
+ function removeTrailingSlash(path) {
31
+ return path.replace(/\/+$/, '');
32
+ }
33
+
32
34
  /**
33
35
  * EEA Specific Header component.
34
36
  */
35
- const EEAHeader = ({ pathname, token, items, history }) => {
37
+ const EEAHeader = ({ pathname, token, items, history, subsite }) => {
36
38
  const currentLang = useSelector((state) => state.intl.locale);
37
39
  const translations = useSelector(
38
40
  (state) => state.content.data?.['@components']?.translations?.items,
39
41
  );
40
42
 
41
43
  const router_pathname = useSelector((state) => {
42
- return state.router?.location?.pathname || '';
44
+ return removeTrailingSlash(state.router?.location?.pathname) || '';
43
45
  });
44
46
 
47
+ const isSubsite = subsite?.['@type'] === 'Subsite';
48
+
45
49
  const isHomePageInverse = useSelector((state) => {
46
50
  const layout = state.content?.data?.layout;
47
- const has_home_layout = layout === 'homepage_inverse_view';
51
+ const has_home_layout =
52
+ layout === 'homepage_inverse_view' ||
53
+ (__CLIENT__ && document.body.classList.contains('homepage-inverse'));
48
54
  return (
49
55
  has_home_layout &&
50
56
  (pathname === router_pathname || router_pathname.endsWith('/edit'))
@@ -52,6 +58,8 @@ const EEAHeader = ({ pathname, token, items, history }) => {
52
58
  });
53
59
 
54
60
  const { eea } = config.settings;
61
+ const headerOpts = eea.headerOpts || {};
62
+ const { logo, logoWhite } = headerOpts || {};
55
63
  const width = useSelector((state) => state.screen?.width);
56
64
  const dispatch = useDispatch();
57
65
  const previousToken = usePrevious(token);
@@ -84,7 +92,7 @@ const EEAHeader = ({ pathname, token, items, history }) => {
84
92
  <Header.TopItem className="official-union">
85
93
  <Image src={eeaFlag} alt="eea flag"></Image>
86
94
  <Header.TopDropdownMenu
87
- text="An official website of the European Union | How do you Know?"
95
+ text="An official website of the European Union | How do you know?"
88
96
  tabletText="EEA information systems"
89
97
  mobileText=" "
90
98
  icon="chevron down"
@@ -116,82 +124,94 @@ const EEAHeader = ({ pathname, token, items, history }) => {
116
124
  </Header.TopDropdownMenu>
117
125
  </Header.TopItem>
118
126
 
119
- <Header.TopItem>
127
+ {!!headerOpts.partnerLinks && (
128
+ <Header.TopItem>
129
+ <Header.TopDropdownMenu
130
+ id="theme-sites"
131
+ text={headerOpts.partnerLinks.title}
132
+ viewportWidth={width}
133
+ >
134
+ <div className="wrapper">
135
+ {headerOpts.partnerLinks.links.map((item, index) => (
136
+ <Dropdown.Item key={index}>
137
+ <a
138
+ href={item.href}
139
+ className="site"
140
+ target="_blank"
141
+ rel="noreferrer"
142
+ >
143
+ {item.title}
144
+ </a>
145
+ </Dropdown.Item>
146
+ ))}
147
+ </div>
148
+ </Header.TopDropdownMenu>
149
+ </Header.TopItem>
150
+ )}
151
+
152
+ {config.settings.isMultilingual && (
120
153
  <Header.TopDropdownMenu
121
- id="theme-sites"
122
- text={eea.globalHeaderPartnerLinks.title}
154
+ id="language-switcher"
155
+ className="item"
156
+ text={`${language.toUpperCase()}`}
157
+ mobileText={`${language.toUpperCase()}`}
158
+ icon={
159
+ <Image src={globeIcon} alt="language dropdown globe icon"></Image>
160
+ }
123
161
  viewportWidth={width}
124
162
  >
125
- <div className="wrapper">
126
- {eea.globalHeaderPartnerLinks.links.map((item, index) => (
127
- <Dropdown.Item key={index}>
128
- <a
129
- href={item.href}
130
- className="site"
131
- target="_blank"
132
- rel="noreferrer"
133
- >
134
- {item.title}
135
- </a>
136
- </Dropdown.Item>
163
+ <ul
164
+ className="wrapper language-list"
165
+ role="listbox"
166
+ aria-label="language switcher"
167
+ >
168
+ {eea.languages.map((item, index) => (
169
+ <Dropdown.Item
170
+ as="li"
171
+ key={index}
172
+ text={
173
+ <span>
174
+ {item.name}
175
+ <span className="country-code">
176
+ {item.code.toUpperCase()}
177
+ </span>
178
+ </span>
179
+ }
180
+ onClick={() => {
181
+ const translation = find(translations, {
182
+ language: item.code,
183
+ });
184
+ const to = translation
185
+ ? flattenToAppURL(translation['@id'])
186
+ : `/${item.code}`;
187
+ setLanguage(item.code);
188
+ history.push(to);
189
+ }}
190
+ ></Dropdown.Item>
137
191
  ))}
138
- </div>
192
+ </ul>
139
193
  </Header.TopDropdownMenu>
140
- </Header.TopItem>
141
-
142
- <Header.TopDropdownMenu
143
- id="language-switcher"
144
- className="item"
145
- text={`${language.toUpperCase()}`}
146
- mobileText={`${language.toUpperCase()}`}
147
- icon={
148
- <Image src={globeIcon} alt="language dropdown globe icon"></Image>
149
- }
150
- viewportWidth={width}
151
- >
152
- <ul
153
- className="wrapper language-list"
154
- role="listbox"
155
- aria-label="language switcher"
156
- >
157
- {eea.languages.map((item, index) => (
158
- <Dropdown.Item
159
- as="li"
160
- key={index}
161
- text={
162
- <span>
163
- {item.name}
164
- <span className="country-code">
165
- {item.code.toUpperCase()}
166
- </span>
167
- </span>
168
- }
169
- onClick={() => {
170
- const translation = find(translations, {
171
- language: item.code,
172
- });
173
- const to = translation
174
- ? flattenToAppURL(translation['@id'])
175
- : `/${item.code}`;
176
- setLanguage(item.code);
177
- history.push(to);
178
- }}
179
- ></Dropdown.Item>
180
- ))}
181
- </ul>
182
- </Header.TopDropdownMenu>
194
+ )}
183
195
  </Header.TopHeader>
184
196
  <Header.Main
185
197
  pathname={pathname}
186
198
  inverted={isHomePageInverse ? true : false}
187
199
  transparency={isHomePageInverse ? true : false}
188
200
  logo={
189
- <Logo
190
- src={isHomePageInverse ? WhiteLogoImage : LogoImage}
191
- title={eea.websiteTitle}
192
- alt={eea.organisationName}
193
- url={eea.logoTargetUrl}
194
- />
201
+ <div {...(isSubsite ? { className: 'logo-wrapper' } : {})}>
202
+ <Logo
203
+ src={isHomePageInverse ? logoWhite : logo}
204
+ title={eea.websiteTitle}
205
+ alt={eea.organisationName}
206
+ url={eea.logoTargetUrl}
207
+ />
208
+
209
+ {!!subsite && subsite.title && (
210
+ <UniversalLink item={subsite} className="subsite-logo">
211
+ {subsite.title}
212
+ </UniversalLink>
213
+ )}
214
+ </div>
195
215
  }
196
216
  menuItems={items}
197
217
  renderGlobalMenuItem={(item, { onClick }) => (
@@ -231,6 +251,7 @@ export default compose(
231
251
  (state) => ({
232
252
  token: state.userSession.token,
233
253
  items: state.navigation.items,
254
+ subsite: state.content.data?.['@components']?.subsite,
234
255
  }),
235
256
  { getNavigation },
236
257
  ),
package/src/index.js CHANGED
@@ -4,6 +4,7 @@ import installCustomTitle from '@eeacms/volto-eea-website-theme/components/manag
4
4
  import CustomCSS from '@eeacms/volto-eea-website-theme/components/theme/CustomCSS/CustomCSS';
5
5
  import DraftBackground from '@eeacms/volto-eea-website-theme/components/theme/DraftBackground/DraftBackground';
6
6
  import { TokenWidget } from '@eeacms/volto-eea-website-theme/components/theme/Widgets/TokenWidget';
7
+ import SubsiteClass from './components/theme/SubsiteClass';
7
8
  import HomePageView from '@eeacms/volto-eea-website-theme/components/theme/Homepage/HomePageView';
8
9
  import HomePageInverseView from '@eeacms/volto-eea-website-theme/components/theme/Homepage/HomePageInverseView';
9
10
  import { Icon } from '@plone/volto/components';
@@ -81,6 +82,10 @@ const applyConfig = (config) => {
81
82
  match: '',
82
83
  component: DraftBackground,
83
84
  },
85
+ {
86
+ match: '',
87
+ component: SubsiteClass,
88
+ },
84
89
  ];
85
90
 
86
91
  if (config.settings.slate) {
@@ -0,0 +1,7 @@
1
+ @columnBlocksWrapperPaddingTop: 0;
2
+ @columnBlocksWrapperPaddingBottom: 0;
3
+
4
+
5
+ // Column grid
6
+ @columnGridMarginTop: 1rem;
7
+ @columnGridMarginBottom: 1rem;
@@ -0,0 +1,2 @@
1
+ ### Site theme
2
+ - Add here variables and overrides
@@ -119,7 +119,7 @@
119
119
  @themesFolder: '~volto-themes';
120
120
 
121
121
  /* Path to site override folder */
122
- @siteFolder: '~@eeacms/volto-eea-website-theme/../theme';
122
+ @siteFolder: '~@eeacms/volto-eea-website-theme/../theme/site';
123
123
 
124
124
  /*******************************
125
125
  Import Theme