@eeacms/volto-cca-policy 0.3.16 → 0.3.18
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 +21 -0
- package/locales/bg/LC_MESSAGES/volto.po +815 -341
- package/locales/cs/LC_MESSAGES/volto.po +764 -320
- package/locales/de/LC_MESSAGES/volto.po +794 -317
- package/locales/eea.cca.pot +280 -1
- package/locales/en/LC_MESSAGES/volto.po +459 -55
- package/locales/es/LC_MESSAGES/volto.po +776 -298
- package/locales/et/LC_MESSAGES/volto.po +760 -322
- package/locales/fi/LC_MESSAGES/volto.po +796 -334
- package/locales/fr/LC_MESSAGES/volto.po +808 -324
- package/locales/ga/LC_MESSAGES/volto.po +831 -348
- package/locales/hr/LC_MESSAGES/volto.po +762 -319
- package/locales/hu/LC_MESSAGES/volto.po +831 -342
- package/locales/it/LC_MESSAGES/volto.po +775 -310
- package/locales/lt/LC_MESSAGES/volto.po +779 -329
- package/locales/nl/LC_MESSAGES/volto.po +805 -330
- package/locales/pl/LC_MESSAGES/volto.po +737 -292
- package/locales/pt/LC_MESSAGES/volto.po +793 -328
- package/locales/ro/LC_MESSAGES/volto.po +797 -326
- package/locales/sl/LC_MESSAGES/volto.po +782 -327
- package/locales/volto.pot +30 -1
- package/package.json +1 -1
- package/src/components/manage/Blocks/MissionSignatoriesProfile/AccordionList.jsx +41 -0
- package/src/components/manage/Blocks/MissionSignatoriesProfile/MissionSignatoriesProfileView.js +23 -106
- package/src/components/manage/Blocks/MissionSignatoriesProfile/StatisticsSection.jsx +23 -0
- package/src/components/manage/Blocks/MissionSignatoriesProfile/TabSections/ActionPagesTab.jsx +27 -0
- package/src/components/manage/Blocks/MissionSignatoriesProfile/TabSections/AssessmentTab.jsx +185 -0
- package/src/components/manage/Blocks/MissionSignatoriesProfile/TabSections/GovernanceTab.jsx +92 -0
- package/src/components/manage/Blocks/MissionSignatoriesProfile/TabSections/IntroductionTab.jsx +39 -0
- package/src/components/manage/Blocks/MissionSignatoriesProfile/TabSections/PlanningTab.jsx +28 -0
- package/src/components/manage/Blocks/MissionSignatoriesProfile/style.less +22 -0
- package/src/helpers/ContentMetadata.jsx +21 -2
- package/src/helpers/Utils.jsx +27 -9
- package/src/utils.js +14 -0
- package/theme/assets/images/image-narrow.svg +5 -0
package/locales/volto.pot
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Plone\n"
|
|
4
|
-
"POT-Creation-Date: 2025-03-
|
|
4
|
+
"POT-Creation-Date: 2025-03-18T08:52:34.397Z\n"
|
|
5
5
|
"Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
6
6
|
"Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
|
|
7
7
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
@@ -20,6 +20,7 @@ msgstr ""
|
|
|
20
20
|
|
|
21
21
|
#. Default: "Adaptation Approaches"
|
|
22
22
|
#: search/cca/facets
|
|
23
|
+
#: search/facets
|
|
23
24
|
#: search/health_observatory/facets-health
|
|
24
25
|
#: search/mission_all/facets-all
|
|
25
26
|
#: search/mission_projects/facets-projects
|
|
@@ -44,6 +45,7 @@ msgstr ""
|
|
|
44
45
|
#. Default: "Adaptation Sectors"
|
|
45
46
|
#: search/cca/facets
|
|
46
47
|
#: search/common
|
|
48
|
+
#: search/facets
|
|
47
49
|
msgid "Adaptation Sectors"
|
|
48
50
|
msgstr ""
|
|
49
51
|
|
|
@@ -84,6 +86,11 @@ msgstr ""
|
|
|
84
86
|
msgid "Background information"
|
|
85
87
|
msgstr ""
|
|
86
88
|
|
|
89
|
+
#. Default: "Belgium"
|
|
90
|
+
#: helpers/Constants
|
|
91
|
+
msgid "Belgium"
|
|
92
|
+
msgstr ""
|
|
93
|
+
|
|
87
94
|
#. Default: "Biogeographical regions:"
|
|
88
95
|
#: helpers/ContentMetadata
|
|
89
96
|
msgid "Biogeographical regions:"
|
|
@@ -142,6 +149,7 @@ msgstr ""
|
|
|
142
149
|
#. Default: "Climate Impacts"
|
|
143
150
|
#: search/cca/facets
|
|
144
151
|
#: search/common
|
|
152
|
+
#: search/facets
|
|
145
153
|
msgid "Climate Impacts"
|
|
146
154
|
msgstr ""
|
|
147
155
|
|
|
@@ -295,6 +303,11 @@ msgstr ""
|
|
|
295
303
|
msgid "For more search options"
|
|
296
304
|
msgstr ""
|
|
297
305
|
|
|
306
|
+
#. Default: "France"
|
|
307
|
+
#: helpers/Constants
|
|
308
|
+
msgid "France"
|
|
309
|
+
msgstr ""
|
|
310
|
+
|
|
298
311
|
#. Default: "Fullscreen"
|
|
299
312
|
#: components/theme/Views/C3SIndicatorView
|
|
300
313
|
msgid "Fullscreen"
|
|
@@ -302,6 +315,7 @@ msgstr ""
|
|
|
302
315
|
|
|
303
316
|
#. Default: "Funding Programme"
|
|
304
317
|
#: search/cca/facets
|
|
318
|
+
#: search/facets
|
|
305
319
|
#: search/mission_projects/facets-projects
|
|
306
320
|
#: search/mission_stories/facets-stories
|
|
307
321
|
msgid "Funding Programme"
|
|
@@ -347,6 +361,11 @@ msgstr ""
|
|
|
347
361
|
msgid "Hazard Type"
|
|
348
362
|
msgstr ""
|
|
349
363
|
|
|
364
|
+
#. Default: "Health Impacts"
|
|
365
|
+
#: search/health_observatory/config-health
|
|
366
|
+
msgid "Health Impacts"
|
|
367
|
+
msgstr ""
|
|
368
|
+
|
|
350
369
|
#. Default: "Health impact:"
|
|
351
370
|
#: helpers/ContentMetadata
|
|
352
371
|
msgid "Health impact:"
|
|
@@ -410,6 +429,7 @@ msgstr ""
|
|
|
410
429
|
|
|
411
430
|
#. Default: "Item from third parties"
|
|
412
431
|
#: search/cca/facets
|
|
432
|
+
#: search/facets
|
|
413
433
|
msgid "Item from third parties"
|
|
414
434
|
msgstr ""
|
|
415
435
|
|
|
@@ -421,6 +441,7 @@ msgstr ""
|
|
|
421
441
|
#. Default: "Key Type Measure"
|
|
422
442
|
#: components/manage/Blocks/FilterAceContent/FilterAceContentView
|
|
423
443
|
#: search/cca/facets
|
|
444
|
+
#: search/facets
|
|
424
445
|
msgid "Key Type Measure"
|
|
425
446
|
msgstr ""
|
|
426
447
|
|
|
@@ -567,6 +588,7 @@ msgid "Observatory contributions"
|
|
|
567
588
|
msgstr ""
|
|
568
589
|
|
|
569
590
|
#. Default: "Observatory partner"
|
|
591
|
+
#: search/health_observatory/config-health
|
|
570
592
|
#: search/health_observatory/facets-health
|
|
571
593
|
msgid "Observatory partner"
|
|
572
594
|
msgstr ""
|
|
@@ -701,6 +723,7 @@ msgstr ""
|
|
|
701
723
|
|
|
702
724
|
#. Default: "Section"
|
|
703
725
|
#: search/cca/facets
|
|
726
|
+
#: search/facets
|
|
704
727
|
msgid "Section"
|
|
705
728
|
msgstr ""
|
|
706
729
|
|
|
@@ -819,6 +842,7 @@ msgstr ""
|
|
|
819
842
|
|
|
820
843
|
#. Default: "Transnational regions"
|
|
821
844
|
#: search/cca/facets
|
|
845
|
+
#: search/facets
|
|
822
846
|
msgid "Transnational regions"
|
|
823
847
|
msgstr ""
|
|
824
848
|
|
|
@@ -828,6 +852,11 @@ msgstr ""
|
|
|
828
852
|
msgid "Type of item"
|
|
829
853
|
msgstr ""
|
|
830
854
|
|
|
855
|
+
#. Default: "Types"
|
|
856
|
+
#: search/health_observatory/config-health
|
|
857
|
+
msgid "Types"
|
|
858
|
+
msgstr ""
|
|
859
|
+
|
|
831
860
|
#. Default: "Updating notes"
|
|
832
861
|
#: components/theme/Views/CaseStudyView
|
|
833
862
|
msgid "Updating notes"
|
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Icon,
|
|
4
|
+
Accordion,
|
|
5
|
+
AccordionTitle,
|
|
6
|
+
AccordionContent,
|
|
7
|
+
} from 'semantic-ui-react';
|
|
8
|
+
|
|
9
|
+
const AccordionList = ({ accordions }) => {
|
|
10
|
+
const [activeIndex, setActiveIndex] = useState(-1);
|
|
11
|
+
const handleAccordionClick = (index) => {
|
|
12
|
+
setActiveIndex(activeIndex === index ? -1 : index);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<Accordion>
|
|
17
|
+
{accordions.map((accordion, index) => (
|
|
18
|
+
<React.Fragment key={index}>
|
|
19
|
+
<AccordionTitle
|
|
20
|
+
active={activeIndex === index}
|
|
21
|
+
onClick={() => handleAccordionClick(index)}
|
|
22
|
+
>
|
|
23
|
+
<Icon
|
|
24
|
+
name={
|
|
25
|
+
activeIndex === index
|
|
26
|
+
? 'ri-arrow-up-s-line'
|
|
27
|
+
: 'ri-arrow-down-s-line'
|
|
28
|
+
}
|
|
29
|
+
/>
|
|
30
|
+
{accordion.title}
|
|
31
|
+
</AccordionTitle>
|
|
32
|
+
<AccordionContent active={activeIndex === index}>
|
|
33
|
+
<p>{accordion.content}</p>
|
|
34
|
+
</AccordionContent>
|
|
35
|
+
</React.Fragment>
|
|
36
|
+
))}
|
|
37
|
+
</Accordion>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export default AccordionList;
|
package/src/components/manage/Blocks/MissionSignatoriesProfile/MissionSignatoriesProfileView.js
CHANGED
|
@@ -1,36 +1,30 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
Tab,
|
|
4
|
-
AccordionTitle,
|
|
5
|
-
AccordionContent,
|
|
6
|
-
Accordion,
|
|
7
|
-
Icon,
|
|
8
|
-
} from 'semantic-ui-react';
|
|
9
|
-
import { Callout } from '@eeacms/volto-eea-design-system/ui';
|
|
2
|
+
import { Tab } from 'semantic-ui-react';
|
|
10
3
|
|
|
11
|
-
|
|
4
|
+
import IntroductionTab from './TabSections/IntroductionTab';
|
|
5
|
+
import GovernanceTab from './TabSections/GovernanceTab';
|
|
6
|
+
import AssessmentTab from './TabSections/AssessmentTab';
|
|
7
|
+
import PlanningTab from './TabSections/PlanningTab';
|
|
8
|
+
import ActionPagesTab from './TabSections/ActionPagesTab';
|
|
9
|
+
|
|
10
|
+
import './style.less';
|
|
11
|
+
|
|
12
|
+
const MissionSignatoriesProfileView = (props) => {
|
|
12
13
|
const { data } = props;
|
|
13
14
|
const result = data?._v_results?.[0] || {};
|
|
14
15
|
// const dataJson = JSON.parse(result?.Cooperation_Experience);
|
|
15
|
-
|
|
16
|
-
const [activeAccIndex, setActiveAccIndex] = React.useState(-1);
|
|
17
|
-
|
|
18
|
-
function handleAccClick(e, titleProps) {
|
|
19
|
-
const { index } = titleProps;
|
|
20
|
-
const newIndex = activeAccIndex === index ? -1 : index;
|
|
21
|
-
|
|
22
|
-
setActiveAccIndex(newIndex);
|
|
23
|
-
}
|
|
16
|
+
const [activeIndex, setActiveIndex] = React.useState(0);
|
|
24
17
|
|
|
25
18
|
return (
|
|
26
19
|
<>
|
|
27
|
-
<div>
|
|
20
|
+
<div className="signatories-profile">
|
|
28
21
|
{/* {
|
|
29
22
|
dataJson['Cooperation_Experience'][0][
|
|
30
23
|
'DescribeDetailCooperationEnhance'
|
|
31
24
|
]
|
|
32
25
|
} */}
|
|
33
26
|
<h1>{result?.Signatory}</h1>
|
|
27
|
+
|
|
34
28
|
<Tab
|
|
35
29
|
menu={{
|
|
36
30
|
fluid: true,
|
|
@@ -39,111 +33,34 @@ export default function MissionSignatoriesProfileView(props) {
|
|
|
39
33
|
pointing: true,
|
|
40
34
|
}}
|
|
41
35
|
grid={{ paneWidth: 9, tabWidth: 3, stackable: true }}
|
|
42
|
-
|
|
36
|
+
activeIndex={activeIndex}
|
|
37
|
+
onTabChange={(e, { activeIndex }) => setActiveIndex(activeIndex)}
|
|
43
38
|
panes={[
|
|
44
39
|
{
|
|
45
40
|
menuItem: 'Introduction',
|
|
46
|
-
render: () =>
|
|
47
|
-
<Tab.Pane>
|
|
48
|
-
<h2>Introduction</h2>
|
|
49
|
-
<p>
|
|
50
|
-
Nullam quis arcu in magna pulvinar tincidunt. Lorem ipsum
|
|
51
|
-
dolor sit amet, consectetur adipiscing elit. Nam hendrerit
|
|
52
|
-
nulla ut cursus laoreet. Nullam elementum lorem vel
|
|
53
|
-
facilisis laoreet. Cras ac turpis vel erat vehicula
|
|
54
|
-
venenatis.
|
|
55
|
-
</p>
|
|
56
|
-
</Tab.Pane>
|
|
57
|
-
),
|
|
41
|
+
render: () => <IntroductionTab activeIndex={activeIndex} />,
|
|
58
42
|
},
|
|
59
43
|
{
|
|
60
44
|
menuItem: 'Governance',
|
|
61
|
-
render: () =>
|
|
62
|
-
<Tab.Pane>
|
|
63
|
-
<h2>Governance</h2>
|
|
64
|
-
<Callout>
|
|
65
|
-
<p>
|
|
66
|
-
Etiam id velit feugiat, scelerisque velit a, scelerisque
|
|
67
|
-
nunc. Vestibulum ante ipsum primis in faucibus orci luctus
|
|
68
|
-
et ultrices posuere cubilia curae; Integer dignissim risus
|
|
69
|
-
non nibh scelerisque, sit amet tincidunt sapien rutrum.
|
|
70
|
-
</p>
|
|
71
|
-
</Callout>
|
|
72
|
-
|
|
73
|
-
<h3>Opportunities and benefits of climate action</h3>
|
|
74
|
-
<p>{result?.Describe}</p>
|
|
75
|
-
|
|
76
|
-
<Accordion>
|
|
77
|
-
<AccordionTitle
|
|
78
|
-
active={activeAccIndex === 0}
|
|
79
|
-
index={0}
|
|
80
|
-
onClick={handleAccClick}
|
|
81
|
-
>
|
|
82
|
-
<Icon
|
|
83
|
-
name={
|
|
84
|
-
activeAccIndex
|
|
85
|
-
? 'ri-arrow-down-s-line'
|
|
86
|
-
: 'ri-arrow-up-s-line'
|
|
87
|
-
}
|
|
88
|
-
/>
|
|
89
|
-
Further details and evidence
|
|
90
|
-
</AccordionTitle>
|
|
91
|
-
<AccordionContent active={activeAccIndex === 0}>
|
|
92
|
-
<p>{result?.Provide}</p>
|
|
93
|
-
</AccordionContent>
|
|
94
|
-
</Accordion>
|
|
95
|
-
</Tab.Pane>
|
|
96
|
-
),
|
|
45
|
+
render: () => <GovernanceTab result={result} />,
|
|
97
46
|
},
|
|
98
47
|
{
|
|
99
48
|
menuItem: 'Assessment',
|
|
100
|
-
render: () =>
|
|
101
|
-
<Tab.Pane>
|
|
102
|
-
<h2>Assessment</h2>
|
|
103
|
-
<p>
|
|
104
|
-
Etiam accumsan urna a mauris dapibus, nec aliquet nunc
|
|
105
|
-
convallis. Phasellus eget justo et libero ultrices posuere.
|
|
106
|
-
Cras euismod, arcu nec congue convallis, ipsum nunc cursus
|
|
107
|
-
nibh, vel condimentum sapien orci non libero. Integer
|
|
108
|
-
ullamcorper felis sit amet felis placerat, eu convallis
|
|
109
|
-
lorem iaculis.
|
|
110
|
-
</p>
|
|
111
|
-
</Tab.Pane>
|
|
112
|
-
),
|
|
49
|
+
render: () => <AssessmentTab result={result} />,
|
|
113
50
|
},
|
|
114
51
|
{
|
|
115
52
|
menuItem: 'Planning',
|
|
116
|
-
render: () =>
|
|
117
|
-
<Tab.Pane>
|
|
118
|
-
<h2>Planning</h2>
|
|
119
|
-
<p>
|
|
120
|
-
Suspendisse potenti. Vivamus non arcu tincidunt, congue
|
|
121
|
-
massa at, porttitor velit. Curabitur lacinia nisl ut turpis
|
|
122
|
-
convallis, at dictum urna aliquet. Nullam non urna eget
|
|
123
|
-
felis interdum feugiat. Morbi vel neque elit. Nullam a
|
|
124
|
-
luctus leo. Integer maximus sapien in bibendum scelerisque.
|
|
125
|
-
</p>
|
|
126
|
-
</Tab.Pane>
|
|
127
|
-
),
|
|
53
|
+
render: () => <PlanningTab result={result} />,
|
|
128
54
|
},
|
|
129
55
|
{
|
|
130
56
|
menuItem: 'Action Pages',
|
|
131
|
-
render: () =>
|
|
132
|
-
<Tab.Pane>
|
|
133
|
-
<h2>Action PAges</h2>
|
|
134
|
-
<p>
|
|
135
|
-
Phasellus ac eros at urna condimentum lacinia. Pellentesque
|
|
136
|
-
habitant morbi tristique senectus et netus et malesuada
|
|
137
|
-
fames ac turpis egestas. Sed bibendum, sapien a venenatis
|
|
138
|
-
fermentum, mauris augue cursus turpis, vitae elementum massa
|
|
139
|
-
orci sit amet massa. In hac habitasse platea dictumst.
|
|
140
|
-
</p>
|
|
141
|
-
</Tab.Pane>
|
|
142
|
-
),
|
|
57
|
+
render: () => <ActionPagesTab result={result} />,
|
|
143
58
|
},
|
|
144
59
|
]}
|
|
145
60
|
/>
|
|
146
61
|
</div>
|
|
147
62
|
</>
|
|
148
63
|
);
|
|
149
|
-
}
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export default MissionSignatoriesProfileView;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
Statistic,
|
|
5
|
+
StatisticValue,
|
|
6
|
+
StatisticLabel,
|
|
7
|
+
StatisticGroup,
|
|
8
|
+
} from 'semantic-ui-react';
|
|
9
|
+
|
|
10
|
+
const StatisticsSection = ({ statistics }) => {
|
|
11
|
+
return (
|
|
12
|
+
<StatisticGroup widths="two" size="small">
|
|
13
|
+
{statistics.map((stat, index) => (
|
|
14
|
+
<Statistic key={index}>
|
|
15
|
+
<StatisticValue>{stat.value}</StatisticValue>
|
|
16
|
+
<StatisticLabel>{stat.label}</StatisticLabel>
|
|
17
|
+
</Statistic>
|
|
18
|
+
))}
|
|
19
|
+
</StatisticGroup>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default StatisticsSection;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Tab } from 'semantic-ui-react';
|
|
3
|
+
import { Callout } from '@eeacms/volto-eea-design-system/ui';
|
|
4
|
+
|
|
5
|
+
const ActionPagesTab = () => {
|
|
6
|
+
return (
|
|
7
|
+
<Tab.Pane>
|
|
8
|
+
<h2>Action Pages</h2>
|
|
9
|
+
<Callout>
|
|
10
|
+
<p>
|
|
11
|
+
Donec et urna vel risus feugiat pharetra. Proin id lacus vitae velit
|
|
12
|
+
accumsan venenatis. Aenean non mi vel nisi lacinia maximus.
|
|
13
|
+
</p>
|
|
14
|
+
</Callout>
|
|
15
|
+
<p>
|
|
16
|
+
Duis efficitur, sapien quis bibendum auctor, lectus risus feugiat
|
|
17
|
+
sapien, ac pulvinar orci est a arcu. Integer id augue vitae urna
|
|
18
|
+
tristique tempus. Etiam id velit feugiat, scelerisque velit a,
|
|
19
|
+
scelerisque nunc. Vestibulum ante ipsum primis in faucibus orci luctus
|
|
20
|
+
et ultrices posuere cubilia curae; Integer dignissim risus non nibh
|
|
21
|
+
scelerisque, sit amet tincidunt sapien rutrum.
|
|
22
|
+
</p>
|
|
23
|
+
</Tab.Pane>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default ActionPagesTab;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Tab,
|
|
4
|
+
Image,
|
|
5
|
+
Button,
|
|
6
|
+
Segment,
|
|
7
|
+
Grid,
|
|
8
|
+
GridColumn,
|
|
9
|
+
Item,
|
|
10
|
+
ItemGroup,
|
|
11
|
+
ItemContent,
|
|
12
|
+
} from 'semantic-ui-react';
|
|
13
|
+
import { Callout } from '@eeacms/volto-eea-design-system/ui';
|
|
14
|
+
import AccordionList from './../AccordionList';
|
|
15
|
+
|
|
16
|
+
import image from '@eeacms/volto-cca-policy/../theme//assets/images/image-narrow.svg';
|
|
17
|
+
|
|
18
|
+
const AssessmentTab = () => {
|
|
19
|
+
const [activeIndex, setActiveIndex] = React.useState(0);
|
|
20
|
+
return (
|
|
21
|
+
<Tab.Pane>
|
|
22
|
+
<h2>Assessment</h2>
|
|
23
|
+
<Callout>
|
|
24
|
+
<p>
|
|
25
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do
|
|
26
|
+
eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
27
|
+
</p>
|
|
28
|
+
</Callout>
|
|
29
|
+
|
|
30
|
+
<div className="profile-content-box">
|
|
31
|
+
<h3>Climate Risk Assessment</h3>
|
|
32
|
+
<div className="profile-content-box-info">
|
|
33
|
+
<ItemGroup unstackable className="row">
|
|
34
|
+
<Item>
|
|
35
|
+
<Image size="miny" src={image} />
|
|
36
|
+
<ItemContent
|
|
37
|
+
verticalAlign="middle"
|
|
38
|
+
style={{ paddingLeft: '5px' }}
|
|
39
|
+
>
|
|
40
|
+
Lorem ipsum dolor sit amet
|
|
41
|
+
</ItemContent>
|
|
42
|
+
</Item>
|
|
43
|
+
</ItemGroup>
|
|
44
|
+
|
|
45
|
+
<div className="date">
|
|
46
|
+
<p>Year of publication: 2022</p>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<h4>The CRA conducted considers the following factors</h4>
|
|
51
|
+
|
|
52
|
+
<div className="items-wrapper">
|
|
53
|
+
<Grid className="column-grid">
|
|
54
|
+
<GridColumn width={6} className="column-blocks-wrapper">
|
|
55
|
+
<ItemGroup unstackable className="row">
|
|
56
|
+
<Item>
|
|
57
|
+
<Image size="small" src={image} />
|
|
58
|
+
<ItemContent verticalAlign="middle">
|
|
59
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
60
|
+
</ItemContent>
|
|
61
|
+
</Item>
|
|
62
|
+
|
|
63
|
+
<Item>
|
|
64
|
+
<Image size="small" src={image} />
|
|
65
|
+
<ItemContent verticalAlign="middle">
|
|
66
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
67
|
+
</ItemContent>
|
|
68
|
+
</Item>
|
|
69
|
+
|
|
70
|
+
<Item>
|
|
71
|
+
<Image size="small" src={image} />
|
|
72
|
+
<ItemContent verticalAlign="middle">
|
|
73
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
74
|
+
</ItemContent>
|
|
75
|
+
</Item>
|
|
76
|
+
</ItemGroup>
|
|
77
|
+
</GridColumn>
|
|
78
|
+
|
|
79
|
+
<GridColumn width={6}>
|
|
80
|
+
<ItemGroup unstackable className="row">
|
|
81
|
+
<Item>
|
|
82
|
+
<Image size="small" src={image} />
|
|
83
|
+
<ItemContent verticalAlign="middle">
|
|
84
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
85
|
+
</ItemContent>
|
|
86
|
+
</Item>
|
|
87
|
+
|
|
88
|
+
<Item>
|
|
89
|
+
<Image size="small" src={image} />
|
|
90
|
+
<ItemContent verticalAlign="middle">
|
|
91
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
92
|
+
</ItemContent>
|
|
93
|
+
</Item>
|
|
94
|
+
|
|
95
|
+
<Item>
|
|
96
|
+
<Image size="small" src={image} />
|
|
97
|
+
<ItemContent verticalAlign="middle">
|
|
98
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit
|
|
99
|
+
</ItemContent>
|
|
100
|
+
</Item>
|
|
101
|
+
</ItemGroup>
|
|
102
|
+
</GridColumn>
|
|
103
|
+
</Grid>
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
<h4>Further details</h4>
|
|
107
|
+
<Segment>
|
|
108
|
+
Nam tempor finibus lorem, nec varius arcu convallis sed. Nunc id orci
|
|
109
|
+
a neque vehicula malesuada. Donec vehicula libero vel leo convallis,
|
|
110
|
+
nec tincidunt felis tincidunt. Maecenas euismod tristique leo, vel
|
|
111
|
+
malesuada ligula malesuada sed. Donec eget libero id leo congue
|
|
112
|
+
venenatis.
|
|
113
|
+
</Segment>
|
|
114
|
+
<Button primary inverted>
|
|
115
|
+
Download
|
|
116
|
+
</Button>
|
|
117
|
+
</div>
|
|
118
|
+
|
|
119
|
+
<h3>Climate related hazards & sectors most exposed</h3>
|
|
120
|
+
<p>
|
|
121
|
+
Donec eget libero id leo congue venenatis. Ut enim ad minim veniam, quis
|
|
122
|
+
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
|
123
|
+
consequat. Duis aute irure dolor in reprehenderit in voluptate velit
|
|
124
|
+
esse cillum dolore eu fugiat nulla pariatur.
|
|
125
|
+
</p>
|
|
126
|
+
|
|
127
|
+
<br />
|
|
128
|
+
|
|
129
|
+
<Tab
|
|
130
|
+
menu={{
|
|
131
|
+
fluid: true,
|
|
132
|
+
className: 'secondary',
|
|
133
|
+
vertical: true,
|
|
134
|
+
pointing: true,
|
|
135
|
+
}}
|
|
136
|
+
grid={{ paneWidth: 9, tabWidth: 3, stackable: true }}
|
|
137
|
+
activeIndex={activeIndex}
|
|
138
|
+
onTabChange={(e, { activeIndex }) => setActiveIndex(activeIndex)}
|
|
139
|
+
panes={[
|
|
140
|
+
{
|
|
141
|
+
menuItem: 'Water related',
|
|
142
|
+
render: () => (
|
|
143
|
+
<AccordionList
|
|
144
|
+
accordions={[
|
|
145
|
+
{
|
|
146
|
+
title: 'Vestibulum ante ipsum primis',
|
|
147
|
+
content: 'No additional details provided.',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
title: 'Etiam accumsan urna a mauris',
|
|
151
|
+
content: 'No additional details provided.',
|
|
152
|
+
},
|
|
153
|
+
]}
|
|
154
|
+
/>
|
|
155
|
+
),
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
menuItem: 'Heat related',
|
|
159
|
+
render: () => (
|
|
160
|
+
<div>
|
|
161
|
+
Nam tempor finibus lorem, nec varius arcu convallis sed. Nunc id
|
|
162
|
+
orci a neque vehicula malesuada. Donec vehicula libero vel leo
|
|
163
|
+
convallis, nec tincidunt felis tincidunt. Maecenas euismod
|
|
164
|
+
tristique leo, vel malesuada ligula malesuada sed.
|
|
165
|
+
</div>
|
|
166
|
+
),
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
menuItem: 'Other hazards',
|
|
170
|
+
render: () => (
|
|
171
|
+
<div>
|
|
172
|
+
Nam tempor finibus lorem, nec varius arcu convallis sed. Nunc id
|
|
173
|
+
orci a neque vehicula malesuada. Donec vehicula libero vel leo
|
|
174
|
+
convallis, nec tincidunt felis tincidunt. Maecenas euismod
|
|
175
|
+
tristique leo, vel malesuada ligula malesuada sed.
|
|
176
|
+
</div>
|
|
177
|
+
),
|
|
178
|
+
},
|
|
179
|
+
]}
|
|
180
|
+
/>
|
|
181
|
+
</Tab.Pane>
|
|
182
|
+
);
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export default AssessmentTab;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Tab } from 'semantic-ui-react';
|
|
3
|
+
import { Callout } from '@eeacms/volto-eea-design-system/ui';
|
|
4
|
+
import AccordionList from './../AccordionList';
|
|
5
|
+
import StatisticsSection from './../StatisticsSection';
|
|
6
|
+
import { HTMLField } from '@eeacms/volto-cca-policy/helpers';
|
|
7
|
+
import { formatTextToHTML } from '@eeacms/volto-cca-policy/utils';
|
|
8
|
+
|
|
9
|
+
const GovernanceTab = ({ result }) => {
|
|
10
|
+
const statisticsData = [
|
|
11
|
+
{
|
|
12
|
+
value: '460km',
|
|
13
|
+
label: 'Duis non quam et nisi tincidunt',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
value: '51-60%',
|
|
17
|
+
label: 'Vestibulum ante ipsum primis',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
value: '2.431.213',
|
|
21
|
+
label: 'Aliquam erat volutpat',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
value: '2023',
|
|
25
|
+
label: 'Etiam accumsan urna a mauris',
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
<Tab.Pane>
|
|
31
|
+
<h2>Governance</h2>
|
|
32
|
+
<Callout>
|
|
33
|
+
<p>
|
|
34
|
+
Sed at risus vel nulla consequat fermentum. Donec et orci mauris.
|
|
35
|
+
Nullam tempor velit id mi luctus, a scelerisque libero accumsan. In
|
|
36
|
+
hac habitasse platea dictumst. Cras ac nunc nec massa tristique
|
|
37
|
+
fringilla.
|
|
38
|
+
</p>
|
|
39
|
+
</Callout>
|
|
40
|
+
|
|
41
|
+
<StatisticsSection statistics={statisticsData} />
|
|
42
|
+
|
|
43
|
+
<h3>Climate related issues</h3>
|
|
44
|
+
<AccordionList
|
|
45
|
+
accordions={[
|
|
46
|
+
{
|
|
47
|
+
title: 'Vestibulum ante ipsum primis',
|
|
48
|
+
content: 'No additional details provided.',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: 'Etiam accumsan urna a mauris',
|
|
52
|
+
content: 'No additional details provided.',
|
|
53
|
+
},
|
|
54
|
+
]}
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
<h3>Opportunities and benefits of climate action</h3>
|
|
58
|
+
|
|
59
|
+
<HTMLField value={{ data: formatTextToHTML(result?.Describe) }} />
|
|
60
|
+
|
|
61
|
+
<AccordionList
|
|
62
|
+
accordions={[
|
|
63
|
+
{
|
|
64
|
+
title: ' Further details and evidence',
|
|
65
|
+
content: (
|
|
66
|
+
<HTMLField value={{ data: formatTextToHTML(result?.Provide) }} />
|
|
67
|
+
),
|
|
68
|
+
},
|
|
69
|
+
]}
|
|
70
|
+
/>
|
|
71
|
+
|
|
72
|
+
<h3>
|
|
73
|
+
{result?.Signatory} engages with other levels of government regarding
|
|
74
|
+
their:
|
|
75
|
+
</h3>
|
|
76
|
+
<AccordionList
|
|
77
|
+
accordions={[
|
|
78
|
+
{
|
|
79
|
+
title: 'Vestibulum ante ipsum primis',
|
|
80
|
+
content: 'No additional details provided.',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
title: 'Etiam accumsan urna a mauris',
|
|
84
|
+
content: 'No additional details provided.',
|
|
85
|
+
},
|
|
86
|
+
]}
|
|
87
|
+
/>
|
|
88
|
+
</Tab.Pane>
|
|
89
|
+
);
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export default GovernanceTab;
|