@eeacms/volto-eea-design-system 0.7.2 → 0.7.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 +37 -0
- package/package.json +1 -1
- package/src/ui/Footer/Contact.jsx +11 -7
- package/src/ui/Footer/Footer.jsx +1 -1
- package/src/ui/Footer/FooterActions.jsx +24 -7
- package/src/ui/Footer/FooterHeader.jsx +1 -1
- package/src/ui/Footer/FooterSites.jsx +22 -10
- package/src/ui/Footer/SubFooter.jsx +42 -38
- package/src/ui/Header/HeaderMenuPopUp.js +80 -48
- package/theme/themes/eea/assets/images/Footer/Extras/footervisual.svg +2041 -1731
- package/theme/themes/eea/assets/images/Svg/arrow-double-right.svg +4 -0
- package/theme/themes/eea/extras/footer.less +93 -59
- package/theme/themes/eea/extras/footer.variables +29 -32
- package/theme/themes/eea/extras/header.less +16 -4
- package/theme/themes/eea/extras/header.variables +7 -3
- package/theme/themes/eea/globals/utilities.less +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,45 @@ 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.7.6](https://github.com/eea/volto-eea-design-system/compare/0.7.5...0.7.6)
|
|
8
|
+
|
|
9
|
+
- Autobuild of docusaurus docs [`03b82a6`](https://github.com/eea/volto-eea-design-system/commit/03b82a6a3e20731865de424d6cbce827f64d9504)
|
|
10
|
+
- change(footer): fix missing key warning from react dev [`77f72d5`](https://github.com/eea/volto-eea-design-system/commit/77f72d5bdc719805a6314058c741387ee7155d28)
|
|
11
|
+
- Autobuild of docusaurus docs [`f6930f5`](https://github.com/eea/volto-eea-design-system/commit/f6930f57c7a0b63de20f0fad757c6f1409e43ca2)
|
|
12
|
+
- change(footer): Footer updates 147837 #222 [`32fed23`](https://github.com/eea/volto-eea-design-system/commit/32fed231f1209caeddb18e0bb75d670f20bafb88)
|
|
13
|
+
- change(footer): set actions before thematic section on mobile [`db25f96`](https://github.com/eea/volto-eea-design-system/commit/db25f966a214c94677192215181453e9d59ca957)
|
|
14
|
+
- refactor(footer): initial redesign of main section [`8e85617`](https://github.com/eea/volto-eea-design-system/commit/8e85617157cdc31a7470acfcd72b85d8fadd1bce)
|
|
15
|
+
- refactor(footer): restructure theme sites logo columns [`dcba45a`](https://github.com/eea/volto-eea-design-system/commit/dcba45a0bfd832c7d5d1e092db8ea4040eceda57)
|
|
16
|
+
|
|
17
|
+
#### [0.7.5](https://github.com/eea/volto-eea-design-system/compare/0.7.3...0.7.5)
|
|
18
|
+
|
|
19
|
+
> 11 August 2022
|
|
20
|
+
|
|
21
|
+
- change(megamenu): mobile improvements with See all links, active elements and non accordion children #224 [`6767b99`](https://github.com/eea/volto-eea-design-system/commit/6767b99fea3925b35e9dede0a67ea90242e5e730)
|
|
22
|
+
- Update package.json [`e21e00d`](https://github.com/eea/volto-eea-design-system/commit/e21e00dc1e0b54daef2c71311a9da709bc1f7e6d)
|
|
23
|
+
- Autobuild of docusaurus docs [`ca7c756`](https://github.com/eea/volto-eea-design-system/commit/ca7c75680763219f0acdc4c91d348c4520de13f4)
|
|
24
|
+
- change(megamenu): mobile menu improvements #223 [`b3cabfe`](https://github.com/eea/volto-eea-design-system/commit/b3cabfe3ddc42c2ea39ae20d01bb6fd0db478ecc)
|
|
25
|
+
- change(megamenu): enable active border only for items not titles [`fb0b869`](https://github.com/eea/volto-eea-design-system/commit/fb0b8696dd73cbf3083c3006a7cff5a1901a6bac)
|
|
26
|
+
- change(megamenu): removed icon from at a change menu items and they are no longer bold as requested [`043e772`](https://github.com/eea/volto-eea-design-system/commit/043e77219979711d2f25845c6811b546e791fbf7)
|
|
27
|
+
- change(megamenu): mobile menu design tweaks as seen in latest figma [`26d74dc`](https://github.com/eea/volto-eea-design-system/commit/26d74dc063f0b3f8d541c714a10038d79145047e)
|
|
28
|
+
- change(megamenu): handle default active sub accordion [`6192a99`](https://github.com/eea/volto-eea-design-system/commit/6192a9938b53522682953cb73d7ccfc6ef9c1aec)
|
|
29
|
+
- change(megamenu): fixed key error warnings [`075bf01`](https://github.com/eea/volto-eea-design-system/commit/075bf0167554869e9fc2f4938c972112e4afa2f7)
|
|
30
|
+
- change(megamenu): reset first level panels after each item pass [`175351b`](https://github.com/eea/volto-eea-design-system/commit/175351bdc9bab5c2d02b2717c24071ba62d4b924)
|
|
31
|
+
- change(megamenu): render accordion only if children have children [`be63ce2`](https://github.com/eea/volto-eea-design-system/commit/be63ce2a8e240eac26eedeff0ca104813afbc6b3)
|
|
32
|
+
|
|
33
|
+
#### [0.7.3](https://github.com/eea/volto-eea-design-system/compare/0.7.2...0.7.3)
|
|
34
|
+
|
|
35
|
+
> 4 August 2022
|
|
36
|
+
|
|
37
|
+
- Release [`#218`](https://github.com/eea/volto-eea-design-system/pull/218)
|
|
38
|
+
- Autobuild of docusaurus docs [`93ddb4d`](https://github.com/eea/volto-eea-design-system/commit/93ddb4d3c856adc4a99ad3260671d7c78615bd74)
|
|
39
|
+
- change(megamenu): added icon on mega menu header section [`d0ad4d8`](https://github.com/eea/volto-eea-design-system/commit/d0ad4d80fc4941e0cdbd8a2d81415387f86efc1c)
|
|
40
|
+
|
|
7
41
|
#### [0.7.2](https://github.com/eea/volto-eea-design-system/compare/0.7.1...0.7.2)
|
|
8
42
|
|
|
43
|
+
> 3 August 2022
|
|
44
|
+
|
|
45
|
+
- Develop [`#217`](https://github.com/eea/volto-eea-design-system/pull/217)
|
|
9
46
|
- Search input focus [`#215`](https://github.com/eea/volto-eea-design-system/pull/215)
|
|
10
47
|
- Make cypress tests work with both slate and draft selectors [`4d8e5b1`](https://github.com/eea/volto-eea-design-system/commit/4d8e5b1d7719637a46eac8232891fc5ed1f51b6f)
|
|
11
48
|
- Autobuild of docusaurus docs [`580af5b`](https://github.com/eea/volto-eea-design-system/commit/580af5b9d1791804239db8bd40f740d7fafc8a2a)
|
package/package.json
CHANGED
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Icon } from 'semantic-ui-react';
|
|
3
2
|
import PropTypes from 'prop-types';
|
|
4
3
|
import { Link } from 'react-router-dom';
|
|
5
4
|
|
|
6
|
-
const Contact = ({ children, contacts
|
|
5
|
+
const Contact = ({ children, contacts }) =>
|
|
7
6
|
children?.length ? (
|
|
8
7
|
children
|
|
9
8
|
) : (
|
|
10
9
|
<div className="contact-block">
|
|
11
|
-
<p className="header">{header}</p>
|
|
12
10
|
{contacts?.map((contact, index) => (
|
|
13
11
|
<div className="contact" key={index}>
|
|
14
|
-
<Link to={contact.link}>
|
|
15
|
-
<Icon className={contact.icon} size="big"></Icon>
|
|
12
|
+
<Link to={contact.link} className="bold">
|
|
16
13
|
{contact.text}
|
|
17
14
|
</Link>
|
|
15
|
+
{contact.children && (
|
|
16
|
+
<div className="subcontact">
|
|
17
|
+
{contact.children.map((child, index) => (
|
|
18
|
+
<Link to={child.link} key={index}>
|
|
19
|
+
{child.text}
|
|
20
|
+
</Link>
|
|
21
|
+
))}
|
|
22
|
+
</div>
|
|
23
|
+
)}
|
|
18
24
|
</div>
|
|
19
25
|
))}
|
|
20
|
-
{address && <p className="address">{address}</p>}
|
|
21
26
|
</div>
|
|
22
27
|
);
|
|
23
28
|
|
|
24
29
|
Contact.propTypes = {
|
|
25
30
|
contacts: PropTypes.array,
|
|
26
31
|
header: PropTypes.string,
|
|
27
|
-
address: PropTypes.string,
|
|
28
32
|
};
|
|
29
33
|
|
|
30
34
|
export default Contact;
|
package/src/ui/Footer/Footer.jsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Link } from 'react-router-dom';
|
|
3
|
+
import { Grid } from 'semantic-ui-react';
|
|
3
4
|
|
|
4
5
|
const FooterActions = (props) => {
|
|
5
6
|
if (props.children) {
|
|
@@ -8,13 +9,29 @@ const FooterActions = (props) => {
|
|
|
8
9
|
|
|
9
10
|
return (
|
|
10
11
|
<div className="menu">
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
<Grid>
|
|
13
|
+
<Grid.Column mobile={12} tablet={6} computer={6}>
|
|
14
|
+
<div className="actions">
|
|
15
|
+
{props.actions &&
|
|
16
|
+
props.actions.map((action, index) => (
|
|
17
|
+
<Link to={action.link} key={index}>
|
|
18
|
+
{action.title}
|
|
19
|
+
</Link>
|
|
20
|
+
))}
|
|
21
|
+
</div>
|
|
22
|
+
</Grid.Column>
|
|
23
|
+
|
|
24
|
+
<Grid.Column mobile={12} tablet={6} computer={6}>
|
|
25
|
+
<div className="copyright">
|
|
26
|
+
{props.copyright &&
|
|
27
|
+
props.copyright.map((copyright, index) => (
|
|
28
|
+
<Link to={copyright.link} key={index}>
|
|
29
|
+
© Copyright {new Date().getFullYear()} {copyright.site}
|
|
30
|
+
</Link>
|
|
31
|
+
))}
|
|
32
|
+
</div>
|
|
33
|
+
</Grid.Column>
|
|
34
|
+
</Grid>
|
|
18
35
|
</div>
|
|
19
36
|
);
|
|
20
37
|
};
|
|
@@ -3,23 +3,35 @@ import { Grid, Image } from 'semantic-ui-react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
|
|
5
5
|
const Sites = (props) => {
|
|
6
|
+
const getLogoColumns = (logos) => {
|
|
7
|
+
let column = [];
|
|
8
|
+
for (let i = 0; i < logos.length; i += 2) {
|
|
9
|
+
const item = logos[i];
|
|
10
|
+
const nextItem = logos[i + 1];
|
|
11
|
+
column.push(
|
|
12
|
+
<Grid.Column className="logo" key={i}>
|
|
13
|
+
<a className="logo" href={item.link}>
|
|
14
|
+
<Image src={item.src} alt={item.alt}></Image>
|
|
15
|
+
</a>
|
|
16
|
+
<a className="logo" href={nextItem.link}>
|
|
17
|
+
<Image src={nextItem.src} alt={nextItem.alt}></Image>
|
|
18
|
+
</a>
|
|
19
|
+
</Grid.Column>,
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
return column;
|
|
23
|
+
};
|
|
24
|
+
|
|
6
25
|
if (props.children) {
|
|
7
26
|
return <div>{props.children}</div>;
|
|
8
27
|
}
|
|
9
28
|
|
|
10
29
|
//fallback to props
|
|
11
30
|
return (
|
|
12
|
-
<div className="theme-sites
|
|
31
|
+
<div className="theme-sites">
|
|
13
32
|
<div className="logos">
|
|
14
|
-
<Grid columns={5}>
|
|
15
|
-
{props.sites
|
|
16
|
-
props.sites.map((site, index) => (
|
|
17
|
-
<Grid.Column className="logo" key={index}>
|
|
18
|
-
<a href={site.link}>
|
|
19
|
-
<Image src={site.src} alt={site.alt}></Image>
|
|
20
|
-
</a>
|
|
21
|
-
</Grid.Column>
|
|
22
|
-
))}
|
|
33
|
+
<Grid columns={5} stackable>
|
|
34
|
+
{getLogoColumns(props.sites)}
|
|
23
35
|
</Grid>
|
|
24
36
|
</div>
|
|
25
37
|
</div>
|
|
@@ -11,51 +11,55 @@ const SubFooter = (props) => {
|
|
|
11
11
|
return (
|
|
12
12
|
<div className={'subfooter'}>
|
|
13
13
|
<Grid>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
{
|
|
18
|
-
|
|
14
|
+
{props.managedBy &&
|
|
15
|
+
props.managedBy.map((manager, index) => (
|
|
16
|
+
<Grid.Column
|
|
17
|
+
mobile={manager.columnSize.mobile}
|
|
18
|
+
tablet={manager.columnSize.tablet}
|
|
19
|
+
computer={manager.columnSize.computer}
|
|
20
|
+
key={index}
|
|
21
|
+
className="mobile hidden"
|
|
22
|
+
>
|
|
23
|
+
<div className="item">
|
|
24
|
+
<div className={manager.className}>
|
|
25
|
+
<a href={manager.link}>
|
|
26
|
+
<Image src={manager.src} alt={manager.alt}></Image>
|
|
27
|
+
</a>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</Grid.Column>
|
|
31
|
+
))}
|
|
19
32
|
|
|
20
|
-
|
|
21
|
-
{props.managedBy &&
|
|
22
|
-
props.managedBy.map((manager, index) => (
|
|
23
|
-
<Grid.Column
|
|
24
|
-
mobile={manager.columnSize.mobile}
|
|
25
|
-
tablet={manager.columnSize.tablet}
|
|
26
|
-
computer={manager.columnSize.computer}
|
|
27
|
-
key={index}
|
|
28
|
-
>
|
|
29
|
-
<div className={manager.className}>
|
|
30
|
-
<a href={manager.link}>
|
|
31
|
-
<Image src={manager.src} alt={manager.alt}></Image>
|
|
32
|
-
</a>
|
|
33
|
-
</div>
|
|
34
|
-
</Grid.Column>
|
|
35
|
-
))}
|
|
36
|
-
</Grid>
|
|
37
|
-
</div>
|
|
38
|
-
</Grid.Column>
|
|
39
|
-
<Grid.Column
|
|
40
|
-
mobile={6}
|
|
41
|
-
tablet={2}
|
|
42
|
-
computer={2}
|
|
43
|
-
className="mobile hidden"
|
|
44
|
-
></Grid.Column>
|
|
45
|
-
<Grid.Column mobile={12} tablet={5} computer={4}>
|
|
33
|
+
<Grid.Column mobile={12} tablet={4} computer={4}>
|
|
46
34
|
<div className="item">
|
|
47
|
-
<Footer.Contact
|
|
48
|
-
contacts={props.contacts}
|
|
49
|
-
header={props.contactHeader}
|
|
50
|
-
address={props.address}
|
|
51
|
-
/>
|
|
52
|
-
<Footer.Social social={props.social} />
|
|
35
|
+
<Footer.Contact contacts={props.contacts} />
|
|
53
36
|
</div>
|
|
54
37
|
</Grid.Column>
|
|
55
38
|
</Grid>
|
|
39
|
+
|
|
56
40
|
<Grid.Row>
|
|
57
|
-
<Footer.
|
|
41
|
+
<Footer.Social social={props.social} />
|
|
58
42
|
</Grid.Row>
|
|
43
|
+
|
|
44
|
+
<Grid className="mobile only">
|
|
45
|
+
{props.managedBy &&
|
|
46
|
+
props.managedBy.map((manager, index) => (
|
|
47
|
+
<Grid.Column
|
|
48
|
+
mobile={manager.columnSize.mobile}
|
|
49
|
+
tablet={manager.columnSize.tablet}
|
|
50
|
+
computer={manager.columnSize.computer}
|
|
51
|
+
key={index}
|
|
52
|
+
>
|
|
53
|
+
<div className="item">
|
|
54
|
+
<div className={manager.className}>
|
|
55
|
+
<a href={manager.link}>
|
|
56
|
+
<Image src={manager.src} alt={manager.alt}></Image>
|
|
57
|
+
</a>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</Grid.Column>
|
|
61
|
+
))}
|
|
62
|
+
</Grid>
|
|
59
63
|
</div>
|
|
60
64
|
);
|
|
61
65
|
};
|
|
@@ -9,9 +9,13 @@ import {
|
|
|
9
9
|
Accordion,
|
|
10
10
|
} from 'semantic-ui-react';
|
|
11
11
|
|
|
12
|
+
import { cloneDeep } from 'lodash';
|
|
13
|
+
|
|
12
14
|
import { Link } from 'react-router-dom';
|
|
13
15
|
import { useClickOutside } from '@eeacms/volto-eea-design-system/helpers';
|
|
14
16
|
|
|
17
|
+
import linkArrowsSVG from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Svg/arrow-double-right.svg';
|
|
18
|
+
|
|
15
19
|
const createColumns = (item, length, renderMenuItem) => {
|
|
16
20
|
let subArrays = [];
|
|
17
21
|
let size = length;
|
|
@@ -72,13 +76,7 @@ const Topics = ({ menuItem, renderMenuItem }) => (
|
|
|
72
76
|
<React.Fragment key={index}>
|
|
73
77
|
{section.title === 'At a glance' ? (
|
|
74
78
|
<Grid.Column width={3} id="at-a-glance">
|
|
75
|
-
<Item
|
|
76
|
-
item={section}
|
|
77
|
-
icon={true}
|
|
78
|
-
iconName="ri-leaf-line"
|
|
79
|
-
key={index}
|
|
80
|
-
renderMenuItem={renderMenuItem}
|
|
81
|
-
/>
|
|
79
|
+
<Item item={section} key={index} renderMenuItem={renderMenuItem} />
|
|
82
80
|
</Grid.Column>
|
|
83
81
|
) : (
|
|
84
82
|
<Grid.Column width={9} key={index}>
|
|
@@ -147,45 +145,62 @@ const FirstLevelContent = ({ element, renderMenuItem, pathName }) => {
|
|
|
147
145
|
const topics = element.title === 'Topics' ? true : false;
|
|
148
146
|
let defaultIndex = -1;
|
|
149
147
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
148
|
+
return (
|
|
149
|
+
<>
|
|
150
|
+
{!topics ? (
|
|
151
|
+
<React.Fragment>
|
|
152
|
+
{element.items.map((item, index) => {
|
|
153
|
+
let firstLevelPanels = [];
|
|
154
|
+
if (!item.items.length) {
|
|
155
|
+
return (
|
|
156
|
+
<React.Fragment key={index}>
|
|
157
|
+
{renderMenuItem(item, { className: 'item' })}
|
|
158
|
+
</React.Fragment>
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
let x = {};
|
|
162
|
+
x.key = item['@id'] || item['url'];
|
|
163
|
+
if (pathName.indexOf(item.url) !== -1) {
|
|
164
|
+
defaultIndex = index;
|
|
165
|
+
}
|
|
166
|
+
x.title = (
|
|
167
|
+
<Accordion.Title key={`title=${index}`}>
|
|
168
|
+
{item.title}
|
|
169
|
+
<Icon className="ri-arrow-down-s-line" size="small" />
|
|
170
|
+
</Accordion.Title>
|
|
171
|
+
);
|
|
172
|
+
let overflow_item = cloneDeep(item);
|
|
173
|
+
overflow_item.title = 'See all';
|
|
174
|
+
x.content = (
|
|
175
|
+
<Accordion.Content>
|
|
176
|
+
{renderMenuItem(overflow_item, {
|
|
177
|
+
className: 'item title-item',
|
|
178
|
+
})}
|
|
179
|
+
<SecondLevelContent
|
|
180
|
+
element={item}
|
|
181
|
+
renderMenuItem={renderMenuItem}
|
|
182
|
+
/>
|
|
183
|
+
</Accordion.Content>
|
|
184
|
+
);
|
|
185
|
+
firstLevelPanels.push(x);
|
|
186
|
+
return (
|
|
187
|
+
<Accordion.Accordion
|
|
188
|
+
panels={firstLevelPanels}
|
|
189
|
+
key={index}
|
|
190
|
+
defaultActiveIndex={defaultIndex === index ? 0 : -1}
|
|
191
|
+
/>
|
|
192
|
+
);
|
|
193
|
+
})}
|
|
194
|
+
</React.Fragment>
|
|
195
|
+
) : (
|
|
196
|
+
<SecondLevelContent
|
|
197
|
+
element={element}
|
|
198
|
+
topics={true}
|
|
199
|
+
renderMenuItem={renderMenuItem}
|
|
200
|
+
/>
|
|
201
|
+
)}
|
|
202
|
+
</>
|
|
203
|
+
);
|
|
189
204
|
};
|
|
190
205
|
|
|
191
206
|
const SecondLevelContent = ({ element, topics = false, renderMenuItem }) => {
|
|
@@ -251,9 +266,11 @@ const NestedAccordion = ({ menuItems, renderMenuItem, pathName }) => {
|
|
|
251
266
|
<Icon className="ri-arrow-down-s-line" size="small" />
|
|
252
267
|
</Accordion.Title>
|
|
253
268
|
);
|
|
269
|
+
let overview = cloneDeep(element);
|
|
270
|
+
overview.title = 'See all';
|
|
254
271
|
x.content = (
|
|
255
272
|
<Accordion.Content key={index}>
|
|
256
|
-
{renderMenuItem(
|
|
273
|
+
{renderMenuItem(overview, { className: 'item' })}
|
|
257
274
|
<FirstLevelContent
|
|
258
275
|
element={element}
|
|
259
276
|
renderMenuItem={renderMenuItem}
|
|
@@ -289,7 +306,22 @@ function HeaderMenuPopUp({
|
|
|
289
306
|
<Container>
|
|
290
307
|
{menuItem && (
|
|
291
308
|
<div className="menu-content tablet hidden mobile hidden">
|
|
292
|
-
<h3 className="title">
|
|
309
|
+
<h3 className="title">
|
|
310
|
+
{renderMenuItem(
|
|
311
|
+
menuItem,
|
|
312
|
+
{ className: 'title-link' },
|
|
313
|
+
{
|
|
314
|
+
iconPosition: 'right',
|
|
315
|
+
children: (
|
|
316
|
+
<img
|
|
317
|
+
src={linkArrowsSVG}
|
|
318
|
+
className={'title-img'}
|
|
319
|
+
alt={'Title icon'}
|
|
320
|
+
/>
|
|
321
|
+
),
|
|
322
|
+
},
|
|
323
|
+
)}
|
|
324
|
+
</h3>
|
|
293
325
|
<Divider fitted />
|
|
294
326
|
{menuItem.title === 'Topics' ? (
|
|
295
327
|
<Topics menuItem={menuItem} renderMenuItem={renderMenuItem} />
|