@eeacms/volto-eea-design-system 0.9.5 → 1.0.0-alpha.2

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.
Files changed (322) hide show
  1. package/.coverage.babel.config.js +1 -5
  2. package/.i18n.babel.config.js +1 -0
  3. package/.project.eslintrc.js +4 -5
  4. package/CHANGELOG.md +38 -9
  5. package/README.md +1 -105
  6. package/RELEASE.md +74 -0
  7. package/babel.config.js +17 -0
  8. package/cypress.config.js +26 -0
  9. package/jest-addon.config.js +4 -4
  10. package/package.json +15 -14
  11. package/src/ui/Accordion/Accordion.stories.js +167 -0
  12. package/src/ui/Comment/Comment.stories.js +117 -0
  13. package/src/ui/Confirm/Confirm.stories.js +97 -0
  14. package/src/ui/Container/Container.stories.js +62 -0
  15. package/src/ui/ContentBox/ContentBox.stories.js +66 -0
  16. package/src/ui/Footer/Footer.stories.js +100 -0
  17. package/src/ui/Form/Checkbox.stories.js +211 -0
  18. package/src/ui/Form/Dropdown.stories.js +183 -0
  19. package/src/ui/Form/FileUpload.stories.js +46 -0
  20. package/src/ui/Form/Input.stories.js +219 -0
  21. package/src/ui/Form/Radio.stories.js +256 -0
  22. package/src/ui/Form/Textarea.stories.js +126 -0
  23. package/src/ui/Form/Toggle.stories.js +68 -0
  24. package/src/ui/Grid/ComponentGrid.stories.js +41 -0
  25. package/src/ui/Header/Header.stories.js +1526 -0
  26. package/src/ui/Heading/Heading.stories.js +62 -0
  27. package/src/ui/Item/Item.stories.js +242 -0
  28. package/src/ui/Item/ItemGroupWithIcons.stories.js +195 -0
  29. package/src/ui/Label/Label.stories.js +129 -0
  30. package/src/ui/List/DefaultList.stories.js +33 -0
  31. package/src/ui/List/DescriptionList.stories.js +77 -0
  32. package/src/ui/List/OrderedList.stories.js +140 -0
  33. package/src/ui/List/UnorderedList.stories.js +73 -0
  34. package/src/ui/Logo/Logo.stories.js +31 -0
  35. package/src/ui/Media/Image.stories.js +237 -0
  36. package/src/ui/Message/Message.stories.js +171 -0
  37. package/src/ui/Modal/Modal.stories.js +136 -0
  38. package/src/ui/Pagination/Pagination.stories.js +97 -0
  39. package/src/ui/Progress/Progress.stories.js +195 -0
  40. package/src/ui/Statistic/Statistic.stories.js +464 -0
  41. package/src/ui/Tab/Tab.stories.js +202 -0
  42. package/src/ui/Table/Table.stories.js +395 -0
  43. package/templates/eea.hbs +33 -1
  44. package/theme/themes/eea/assets/logo/climate-health.svg +42 -49
  45. package/theme/themes/eea/extras/footer.less +22 -3
  46. package/theme/themes/eea/extras/footer.variables +7 -2
  47. package/theme/themes/eea/globals/utilities.less +3 -3
  48. package/website/.eslintrc +59 -0
  49. package/website/README.md +33 -0
  50. package/website/babel.config.js +3 -0
  51. package/website/docs/0-intro.md +21 -0
  52. package/website/docs/2-whatsnew.md +2054 -0
  53. package/website/docs/dataguide/0-intro.md +15 -0
  54. package/website/docs/dataguide/_category_.yml +10 -0
  55. package/website/docs/pubguide/0-writing.md +12 -0
  56. package/website/docs/pubguide/1-design.md +16 -0
  57. package/website/docs/pubguide/_category_.yml +10 -0
  58. package/website/docs/webcontent/0-intro.md +10 -0
  59. package/website/docs/webcontent/_category_.yml +10 -0
  60. package/website/docs/webdev/3-Guidelines/0-intro.md +17 -0
  61. package/website/docs/webdev/3-Guidelines/1-typography.mdx +270 -0
  62. package/website/docs/webdev/3-Guidelines/2-colours.md +915 -0
  63. package/website/docs/webdev/3-Guidelines/3-images.md +81 -0
  64. package/website/docs/webdev/3-Guidelines/4-iconography.mdx +16298 -0
  65. package/website/docs/webdev/3-Guidelines/5-spacing.md +116 -0
  66. package/website/docs/webdev/3-Guidelines/_category_.yml +8 -0
  67. package/website/docs/webdev/4-Templates/1-Grid.mdx +12 -0
  68. package/website/docs/webdev/4-Templates/2-SiteHeader.mdx +12 -0
  69. package/website/docs/webdev/4-Templates/3-SiteFooter.mdx +12 -0
  70. package/website/docs/webdev/4-Templates/4-PageHeader.mdx +12 -0
  71. package/website/docs/webdev/4-Templates/_category_.yml +8 -0
  72. package/website/docs/webdev/5-Components/0-Accordion.mdx +12 -0
  73. package/website/docs/webdev/5-Components/1-Callout.mdx +11 -0
  74. package/website/docs/webdev/5-Components/10-Item.mdx +12 -0
  75. package/website/docs/webdev/5-Components/11-Labeled-icons.mdx +11 -0
  76. package/website/docs/webdev/5-Components/12-Labels.mdx +13 -0
  77. package/website/docs/webdev/5-Components/13-Lists.mdx +13 -0
  78. package/website/docs/webdev/5-Components/14-Logo.mdx +12 -0
  79. package/website/docs/webdev/5-Components/15-Image.mdx +12 -0
  80. package/website/docs/webdev/5-Components/16-Loader.mdx +11 -0
  81. package/website/docs/webdev/5-Components/17-Messages.mdx +14 -0
  82. package/website/docs/webdev/5-Components/18-Modal.mdx +14 -0
  83. package/website/docs/webdev/5-Components/19-Pagination.mdx +14 -0
  84. package/website/docs/webdev/5-Components/2-Breadcrumb.mdx +14 -0
  85. package/website/docs/webdev/5-Components/20-Popup.mdx +14 -0
  86. package/website/docs/webdev/5-Components/21-Progress.mdx +14 -0
  87. package/website/docs/webdev/5-Components/21-Quote/1-Quote.mdx +14 -0
  88. package/website/docs/webdev/5-Components/21-Quote/2-Testimonial.mdx +14 -0
  89. package/website/docs/webdev/5-Components/21-Quote/_category_.yml +8 -0
  90. package/website/docs/webdev/5-Components/22-Segment.mdx +14 -0
  91. package/website/docs/webdev/5-Components/23-Statistic.mdx +14 -0
  92. package/website/docs/webdev/5-Components/24-Search/0-Filters.mdx +12 -0
  93. package/website/docs/webdev/5-Components/24-Search/1-Suggestions.mdx +11 -0
  94. package/website/docs/webdev/5-Components/24-Search/2-Searchbox.mdx +11 -0
  95. package/website/docs/webdev/5-Components/24-Search/_category_.yml +8 -0
  96. package/website/docs/webdev/5-Components/24-Tab.mdx +14 -0
  97. package/website/docs/webdev/5-Components/25-Table.mdx +14 -0
  98. package/website/docs/webdev/5-Components/25-Visuals/0-Dashboard.mdx +11 -0
  99. package/website/docs/webdev/5-Components/25-Visuals/1-Charts.mdx +11 -0
  100. package/website/docs/webdev/5-Components/25-Visuals/2-Maps.mdx +11 -0
  101. package/website/docs/webdev/5-Components/25-Visuals/_category_.yml +8 -0
  102. package/website/docs/webdev/5-Components/26-Content.mdx +13 -0
  103. package/website/docs/webdev/5-Components/27-Tags.mdx +13 -0
  104. package/website/docs/webdev/5-Components/28-Timeline.mdx +13 -0
  105. package/website/docs/webdev/5-Components/3-Buttons.mdx +13 -0
  106. package/website/docs/webdev/5-Components/3-Callout.mdx +11 -0
  107. package/website/docs/webdev/5-Components/4-Cards.mdx +13 -0
  108. package/website/docs/webdev/5-Components/5-Comment.mdx +12 -0
  109. package/website/docs/webdev/5-Components/6-Confirm.mdx +12 -0
  110. package/website/docs/webdev/5-Components/7-Divider.mdx +12 -0
  111. package/website/docs/webdev/5-Components/7-Forms/0-Checkbox.mdx +11 -0
  112. package/website/docs/webdev/5-Components/7-Forms/1-Dropdown.mdx +12 -0
  113. package/website/docs/webdev/5-Components/7-Forms/2-TextInput.mdx +11 -0
  114. package/website/docs/webdev/5-Components/7-Forms/3-Radio.mdx +12 -0
  115. package/website/docs/webdev/5-Components/7-Forms/4-TextArea.mdx +12 -0
  116. package/website/docs/webdev/5-Components/7-Forms/_category_.yml +8 -0
  117. package/website/docs/webdev/5-Components/8-Headings.mdx +12 -0
  118. package/website/docs/webdev/5-Components/9-Inpage-Navigation.mdx +12 -0
  119. package/website/docs/webdev/5-Components/_category_.yml +10 -0
  120. package/website/docs/webdev/7-Utilities/_category_.yml +8 -0
  121. package/website/docs/webdev/7-Utilities/intro.md +1 -0
  122. package/website/docs/webdev/8-Resources/_category_.yml +8 -0
  123. package/website/docs/webdev/8-Resources/developer-guidelines.md +149 -0
  124. package/website/docs/webdev/8-Resources/theming-guidelines.md +285 -0
  125. package/website/docs/webdev/_category_.yml +10 -0
  126. package/website/docs/webdev/md_components/accordion_components/api_markdown.md +25 -0
  127. package/website/docs/webdev/md_components/accordion_components/showcase_markdown.md +3 -0
  128. package/website/docs/webdev/md_components/accordion_components/usage_markdown.md +27 -0
  129. package/website/docs/webdev/md_components/breadcrumb_components/api_markdown.md +42 -0
  130. package/website/docs/webdev/md_components/breadcrumb_components/showcase_markdown.md +6 -0
  131. package/website/docs/webdev/md_components/breadcrumb_components/usage_markdown.md +18 -0
  132. package/website/docs/webdev/md_components/button_components/showcase_markdown.md +25 -0
  133. package/website/docs/webdev/md_components/button_components/usage_markdown.md +53 -0
  134. package/website/docs/webdev/md_components/callout_components/showcase_markdown.md +3 -0
  135. package/website/docs/webdev/md_components/callout_components/usage_markdown.md +20 -0
  136. package/website/docs/webdev/md_components/card_components/showcase_markdown.md +3 -0
  137. package/website/docs/webdev/md_components/card_components/usage_markdown.md +36 -0
  138. package/website/docs/webdev/md_components/charts_components/usage_markdown.md +18 -0
  139. package/website/docs/webdev/md_components/checkbox_components/showcase_markdown.md +17 -0
  140. package/website/docs/webdev/md_components/checkbox_components/usage_markdown.md +31 -0
  141. package/website/docs/webdev/md_components/comment_components/api_markdown.md +25 -0
  142. package/website/docs/webdev/md_components/comment_components/showcase_markdown.md +3 -0
  143. package/website/docs/webdev/md_components/comment_components/usage_markdown.md +1 -0
  144. package/website/docs/webdev/md_components/component_grid_components/api_markdown.md +25 -0
  145. package/website/docs/webdev/md_components/component_grid_components/showcase_markdown.md +9 -0
  146. package/website/docs/webdev/md_components/component_grid_components/usage_markdown.md +87 -0
  147. package/website/docs/webdev/md_components/confirm_components/api_markdown.md +25 -0
  148. package/website/docs/webdev/md_components/confirm_components/showcase_markdown.md +3 -0
  149. package/website/docs/webdev/md_components/confirm_components/usage_markdown.md +9 -0
  150. package/website/docs/webdev/md_components/content_components/usage_markdown.md +21 -0
  151. package/website/docs/webdev/md_components/dashboard_components/usage_markdown.md +20 -0
  152. package/website/docs/webdev/md_components/divider_components/showcase_markdown.md +5 -0
  153. package/website/docs/webdev/md_components/divider_components/usage_markdown.md +39 -0
  154. package/website/docs/webdev/md_components/dropdown_components/api_markdown.md +34 -0
  155. package/website/docs/webdev/md_components/dropdown_components/showcase_markdown.md +5 -0
  156. package/website/docs/webdev/md_components/dropdown_components/usage_markdown.md +24 -0
  157. package/website/docs/webdev/md_components/filters_components/usage_markdown.md +39 -0
  158. package/website/docs/webdev/md_components/grid_components/api_markdown.md +25 -0
  159. package/website/docs/webdev/md_components/grid_components/showcase_markdown.md +9 -0
  160. package/website/docs/webdev/md_components/grid_components/usage_markdown.md +89 -0
  161. package/website/docs/webdev/md_components/heading_components/api_markdown.md +25 -0
  162. package/website/docs/webdev/md_components/heading_components/showcase_markdown.md +3 -0
  163. package/website/docs/webdev/md_components/heading_components/usage_markdown.md +9 -0
  164. package/website/docs/webdev/md_components/iframe_component.mdx +14 -0
  165. package/website/docs/webdev/md_components/inpage_navigation_components/api_markdown.md +46 -0
  166. package/website/docs/webdev/md_components/inpage_navigation_components/showcase_markdown.md +3 -0
  167. package/website/docs/webdev/md_components/inpage_navigation_components/usage_markdown.md +18 -0
  168. package/website/docs/webdev/md_components/item_components/api_markdown.md +25 -0
  169. package/website/docs/webdev/md_components/item_components/showcase_markdown.md +9 -0
  170. package/website/docs/webdev/md_components/item_components/usage_markdown.md +1 -0
  171. package/website/docs/webdev/md_components/label_components/showcase_markdown.md +17 -0
  172. package/website/docs/webdev/md_components/label_components/usage_markdown.md +18 -0
  173. package/website/docs/webdev/md_components/labeled-icons_components/showcase_markdown.md +14 -0
  174. package/website/docs/webdev/md_components/labeled-icons_components/usage_markdown.md +13 -0
  175. package/website/docs/webdev/md_components/list_components/showcase_markdown.md +13 -0
  176. package/website/docs/webdev/md_components/list_components/usage_markdown.md +75 -0
  177. package/website/docs/webdev/md_components/loader_components/showcase_markdown.md +7 -0
  178. package/website/docs/webdev/md_components/loader_components/usage_markdown.md +13 -0
  179. package/website/docs/webdev/md_components/logo_components/api_markdown.md +25 -0
  180. package/website/docs/webdev/md_components/logo_components/showcase_markdown.md +3 -0
  181. package/website/docs/webdev/md_components/logo_components/usage_markdown.md +4 -0
  182. package/website/docs/webdev/md_components/maps_components/usage_markdown.md +64 -0
  183. package/website/docs/webdev/md_components/media_container_image_components/api_markdown.md +25 -0
  184. package/website/docs/webdev/md_components/media_container_image_components/showcase_markdown.md +7 -0
  185. package/website/docs/webdev/md_components/media_container_image_components/usage_markdown.md +10 -0
  186. package/website/docs/webdev/md_components/message_components/api_markdown.md +30 -0
  187. package/website/docs/webdev/md_components/message_components/showcase_markdown.md +17 -0
  188. package/website/docs/webdev/md_components/message_components/usage_markdown.md +22 -0
  189. package/website/docs/webdev/md_components/modal_components/api_markdown.md +36 -0
  190. package/website/docs/webdev/md_components/modal_components/showcase_markdown.md +3 -0
  191. package/website/docs/webdev/md_components/modal_components/usage_markdown.md +11 -0
  192. package/website/docs/webdev/md_components/page_header_components/api_markdown.md +25 -0
  193. package/website/docs/webdev/md_components/page_header_components/showcase_markdown.md +5 -0
  194. package/website/docs/webdev/md_components/page_header_components/usage_markdown.md +30 -0
  195. package/website/docs/webdev/md_components/pagination_components/api_markdown.md +36 -0
  196. package/website/docs/webdev/md_components/pagination_components/showcase_markdown.md +3 -0
  197. package/website/docs/webdev/md_components/pagination_components/usage_markdown.md +17 -0
  198. package/website/docs/webdev/md_components/popup_components/api_markdown.md +36 -0
  199. package/website/docs/webdev/md_components/popup_components/showcase_markdown.md +9 -0
  200. package/website/docs/webdev/md_components/popup_components/usage_markdown.md +15 -0
  201. package/website/docs/webdev/md_components/progress_components/api_markdown.md +36 -0
  202. package/website/docs/webdev/md_components/progress_components/showcase_markdown.md +13 -0
  203. package/website/docs/webdev/md_components/progress_components/usage_markdown.md +9 -0
  204. package/website/docs/webdev/md_components/quote_components/api_markdown.md +27 -0
  205. package/website/docs/webdev/md_components/quote_components/showcase_markdown.md +13 -0
  206. package/website/docs/webdev/md_components/quote_components/usage_markdown.md +8 -0
  207. package/website/docs/webdev/md_components/radio_components/api_markdown.md +34 -0
  208. package/website/docs/webdev/md_components/radio_components/showcase_markdown.md +15 -0
  209. package/website/docs/webdev/md_components/radio_components/usage_markdown.md +26 -0
  210. package/website/docs/webdev/md_components/searchbox_components/usage_markdown.md +15 -0
  211. package/website/docs/webdev/md_components/segment_components/api_markdown.md +36 -0
  212. package/website/docs/webdev/md_components/segment_components/showcase_markdown.md +3 -0
  213. package/website/docs/webdev/md_components/segment_components/usage_markdown.md +1 -0
  214. package/website/docs/webdev/md_components/site_footer_components/api_markdown.md +25 -0
  215. package/website/docs/webdev/md_components/site_footer_components/showcase_markdown.md +3 -0
  216. package/website/docs/webdev/md_components/site_footer_components/usage_markdown.md +26 -0
  217. package/website/docs/webdev/md_components/site_header_components/api_markdown.md +25 -0
  218. package/website/docs/webdev/md_components/site_header_components/showcase_markdown.md +3 -0
  219. package/website/docs/webdev/md_components/site_header_components/usage_markdown.md +51 -0
  220. package/website/docs/webdev/md_components/static/8px_spacing.png +0 -0
  221. package/website/docs/webdev/md_components/static/EEA_logo.png +0 -0
  222. package/website/docs/webdev/md_components/static/PXuse.png +0 -0
  223. package/website/docs/webdev/md_components/static/colors1.png +0 -0
  224. package/website/docs/webdev/md_components/static/columns1.png +0 -0
  225. package/website/docs/webdev/md_components/static/columns2.png +0 -0
  226. package/website/docs/webdev/md_components/static/columns3.png +0 -0
  227. package/website/docs/webdev/md_components/static/componenetPX.png +0 -0
  228. package/website/docs/webdev/md_components/static/desktop-mid-grid.png +0 -0
  229. package/website/docs/webdev/md_components/static/desktop_grid.png +0 -0
  230. package/website/docs/webdev/md_components/static/font-size1.png +0 -0
  231. package/website/docs/webdev/md_components/static/font-size2.png +0 -0
  232. package/website/docs/webdev/md_components/static/grid1.png +0 -0
  233. package/website/docs/webdev/md_components/static/grid2.png +0 -0
  234. package/website/docs/webdev/md_components/static/grid3.png +0 -0
  235. package/website/docs/webdev/md_components/static/grid4.png +0 -0
  236. package/website/docs/webdev/md_components/static/height150.png +0 -0
  237. package/website/docs/webdev/md_components/static/layoutPX.png +0 -0
  238. package/website/docs/webdev/md_components/static/line-height.png +0 -0
  239. package/website/docs/webdev/md_components/static/mobile-mid-grid.png +0 -0
  240. package/website/docs/webdev/md_components/static/mobile_grid.png +0 -0
  241. package/website/docs/webdev/md_components/static/spacing1.png +0 -0
  242. package/website/docs/webdev/md_components/static/spacing2.png +0 -0
  243. package/website/docs/webdev/md_components/static/tablet-mid-grid.png +0 -0
  244. package/website/docs/webdev/md_components/static/tablet_grid.png +0 -0
  245. package/website/docs/webdev/md_components/statistic_components/api_markdown.md +36 -0
  246. package/website/docs/webdev/md_components/statistic_components/showcase_markdown.md +8 -0
  247. package/website/docs/webdev/md_components/statistic_components/usage_markdown.md +1 -0
  248. package/website/docs/webdev/md_components/suggestions_components/usage_markdown.md +13 -0
  249. package/website/docs/webdev/md_components/tab_component.mdx +21 -0
  250. package/website/docs/webdev/md_components/tab_components/api_markdown.md +29 -0
  251. package/website/docs/webdev/md_components/tab_components/showcase_markdown.md +9 -0
  252. package/website/docs/webdev/md_components/tab_components/usage_markdown.md +26 -0
  253. package/website/docs/webdev/md_components/table_components/api_markdown.md +27 -0
  254. package/website/docs/webdev/md_components/table_components/showcase_markdown.md +3 -0
  255. package/website/docs/webdev/md_components/table_components/usage_markdown.md +22 -0
  256. package/website/docs/webdev/md_components/tags_components/showcase_markdown.md +6 -0
  257. package/website/docs/webdev/md_components/tags_components/usage_markdown.md +11 -0
  258. package/website/docs/webdev/md_components/testimonial_components/api_markdown.md +27 -0
  259. package/website/docs/webdev/md_components/testimonial_components/showcase_markdown.md +7 -0
  260. package/website/docs/webdev/md_components/testimonial_components/usage_markdown.md +7 -0
  261. package/website/docs/webdev/md_components/text_input_components/showcase_markdown.md +14 -0
  262. package/website/docs/webdev/md_components/text_input_components/usage_markdown.md +32 -0
  263. package/website/docs/webdev/md_components/textarea_components/api_markdown.md +34 -0
  264. package/website/docs/webdev/md_components/textarea_components/showcase_markdown.md +5 -0
  265. package/website/docs/webdev/md_components/textarea_components/usage_markdown.md +16 -0
  266. package/website/docs/webdev/md_components/timeline_components/api_markdown.md +27 -0
  267. package/website/docs/webdev/md_components/timeline_components/showcase_markdown.md +17 -0
  268. package/website/docs/webdev/md_components/timeline_components/usage_markdown.md +2 -0
  269. package/website/docusaurus.config.js +127 -0
  270. package/website/package.json +52 -0
  271. package/website/sidebars.js +24 -0
  272. package/website/src/components/HomepageFeatures.js +71 -0
  273. package/website/src/components/HomepageFeatures.module.css +13 -0
  274. package/website/src/css/custom.css +226 -0
  275. package/website/src/pages/index.js +43 -0
  276. package/website/src/pages/index.module.css +25 -0
  277. package/website/static/.nojekyll +0 -0
  278. package/website/static/fonts/roboto/LICENSE.txt +202 -0
  279. package/website/static/fonts/roboto/Roboto-Black.ttf +0 -0
  280. package/website/static/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
  281. package/website/static/fonts/roboto/Roboto-Bold.ttf +0 -0
  282. package/website/static/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
  283. package/website/static/fonts/roboto/Roboto-Italic.ttf +0 -0
  284. package/website/static/fonts/roboto/Roboto-Light.ttf +0 -0
  285. package/website/static/fonts/roboto/Roboto-LightItalic.ttf +0 -0
  286. package/website/static/fonts/roboto/Roboto-Medium.ttf +0 -0
  287. package/website/static/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
  288. package/website/static/fonts/roboto/Roboto-Regular.ttf +0 -0
  289. package/website/static/fonts/roboto/Roboto-Thin.ttf +0 -0
  290. package/website/static/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
  291. package/website/static/img/eea_icon.png +0 -0
  292. package/website/static/img/favicon.ico +0 -0
  293. package/website/static/img/logo.svg +1 -0
  294. package/website/static/img/undraw_add_information_j2wg.svg +1 -0
  295. package/website/static/img/undraw_add_post_re_174w.svg +1 -0
  296. package/website/static/img/undraw_all_the_data_re_hh4w.svg +1 -0
  297. package/website/static/img/undraw_book_lover_re_rwjy.svg +1 -0
  298. package/website/static/img/undraw_books_re_8gea.svg +1 -0
  299. package/website/static/img/undraw_content_creator_re_pt5b.svg +1 -0
  300. package/website/static/img/undraw_data_re_80ws.svg +1 -0
  301. package/website/static/img/undraw_data_trends_re_2cdy.svg +1 -0
  302. package/website/static/img/undraw_design_data_re_0s26.svg +1 -0
  303. package/website/static/img/undraw_designer_girl_re_h54c.svg +1 -0
  304. package/website/static/img/undraw_designer_life_re_6ywf.svg +1 -0
  305. package/website/static/img/undraw_designer_re_5v95.svg +1 -0
  306. package/website/static/img/undraw_dev_focus_re_6iwt.svg +1 -0
  307. package/website/static/img/undraw_developer_activity_re_39tg.svg +1 -0
  308. package/website/static/img/undraw_docusaurus_mountain.svg +170 -0
  309. package/website/static/img/undraw_docusaurus_react.svg +169 -0
  310. package/website/static/img/undraw_docusaurus_tree.svg +1 -0
  311. package/website/static/img/undraw_education_f8ru.svg +1 -0
  312. package/website/static/img/undraw_my_documents_re_13dc.svg +1 -0
  313. package/website/static/img/undraw_online_articles_re_yrkj.svg +1 -0
  314. package/website/static/img/undraw_personal_notebook_re_d7dc.svg +1 -0
  315. package/website/static/img/undraw_programmer_re_owql.svg +1 -0
  316. package/website/static/img/undraw_programming_re_kg9v.svg +1 -0
  317. package/website/static/img/undraw_proud_coder_re_exuy.svg +1 -0
  318. package/website/static/img/undraw_static_website_re_x70h.svg +1 -0
  319. package/website/static/img/undraw_typewriter_re_u9i2.svg +1 -0
  320. package/website/static/img/undraw_visual_data_re_mxxo.svg +1 -0
  321. package/website/static/img/undraw_web_development_0l6v.svg +1 -0
  322. package/cypress.json +0 -17
@@ -0,0 +1,1526 @@
1
+ import React from 'react';
2
+ import Header from './Header';
3
+ import { Dropdown, Image, Segment, Container } from 'semantic-ui-react';
4
+ import { Logo } from '@eeacms/volto-eea-design-system/ui';
5
+
6
+ import LogoImage from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/eea-logo.svg';
7
+ import InvertedLogoImage from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/logo/EEA-Logo-White-2.svg';
8
+ import globeIcon from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/global-line.svg';
9
+ import eeaFlag from '@eeacms/volto-eea-design-system/../theme/themes/eea/assets/images/Header/eea.png';
10
+ import cx from 'classnames';
11
+
12
+ export default {
13
+ title: 'Layout/Header',
14
+ component: Header,
15
+ argTypes: {
16
+ links: {
17
+ table: {
18
+ disable: true,
19
+ },
20
+ },
21
+ languages: {
22
+ table: {
23
+ disable: true,
24
+ },
25
+ },
26
+ menuItems: {
27
+ description: 'items for the header menu',
28
+ table: {
29
+ type: { summary: 'array' },
30
+ defaultValue: { summary: '' },
31
+ },
32
+ },
33
+ transparency: {
34
+ description: 'transparent main section',
35
+ table: {
36
+ defaultValue: { summary: '""' },
37
+ type: { summary: 'boolean' },
38
+ },
39
+ },
40
+ inverted: {
41
+ description: 'Inverted logo',
42
+ table: {
43
+ defaultValue: { summary: '""' },
44
+ type: { summary: 'boolean' },
45
+ },
46
+ },
47
+ },
48
+ decorators: [(Story) => <Story />],
49
+ };
50
+
51
+ const logoProps = {
52
+ title: 'Site',
53
+ alt: 'European Environment Agency',
54
+ url: 'https://eea.europa.eu',
55
+ src: LogoImage,
56
+ invertedSrc: InvertedLogoImage,
57
+ };
58
+
59
+ const links = [
60
+ { title: 'EEA Main Portal', href: '/#' },
61
+ { title: 'Biodiversity Information System for Europe', href: '/#' },
62
+ { title: 'Climate Adaptation Platform', href: '/#' },
63
+ { title: 'Copernicus in situ component', href: '/#' },
64
+ { title: 'Copernicus land monitoring', href: '/#' },
65
+ { title: 'European Industrial Emissions Portal', href: '/#' },
66
+ { title: 'Forest Information System for Europe', href: '/#' },
67
+ { title: 'Information Platform for Chemical Monitoring', href: '/#' },
68
+ { title: 'Marine Water Information System for Europe', href: '/#' },
69
+ { title: 'Fresh Water Information System for Europe', href: '/#' },
70
+ ];
71
+
72
+ const languages = [
73
+ { name: 'Български', code: 'bg' },
74
+ { name: 'čeština', code: 'cs' },
75
+ { name: 'Hrvatski', code: 'hr' },
76
+ { name: 'dansk', code: 'da' },
77
+ { name: 'Nederlands', code: 'nl' },
78
+ { name: 'ελληνικά', code: 'el' },
79
+ { name: 'English', code: 'en' },
80
+ { name: 'eesti', code: 'et' },
81
+ { name: 'Suomi', code: 'fi' },
82
+ { name: 'Français', code: 'fr' },
83
+ { name: 'Deutsch', code: 'de' },
84
+ { name: 'magyar', code: 'hu' },
85
+ { name: 'Íslenska', code: 'is' },
86
+ { name: 'italiano', code: 'it' },
87
+ { name: 'Latviešu', code: 'lv' },
88
+ { name: 'lietuvių', code: 'lt' },
89
+ { name: 'Malti', code: 'mt' },
90
+ { name: 'Norsk', code: 'no' },
91
+ { name: 'polski', code: 'pl' },
92
+ { name: 'Português', code: 'pt' },
93
+ { name: 'Română', code: 'ro' },
94
+ { name: 'slovenčina', code: 'sk' },
95
+ { name: 'Slovenščina', code: 'sl' },
96
+ { name: 'Español', code: 'es' },
97
+ { name: 'Svenska', code: 'sv' },
98
+ { name: 'Türkçe', code: 'tr' },
99
+ ];
100
+
101
+ const menuItems = [
102
+ {
103
+ '@id': 'Topics',
104
+ items: [
105
+ {
106
+ '@id': 'At-a-glance',
107
+ description: '',
108
+ items: [
109
+ {
110
+ '@id': 'Climate',
111
+ description: '',
112
+ items: [],
113
+ review_state: null,
114
+ title: 'Climate',
115
+ url: '/#',
116
+ },
117
+ {
118
+ '@id': 'Health',
119
+ description: '',
120
+ items: [],
121
+ review_state: null,
122
+ title: 'Health',
123
+ url: '/#',
124
+ },
125
+ {
126
+ '@id': 'Nature',
127
+ description: '',
128
+ items: [],
129
+ review_state: null,
130
+ title: 'Nature',
131
+ url: '/#',
132
+ },
133
+ {
134
+ '@id': 'Sustainability',
135
+ description: '',
136
+ items: [],
137
+ review_state: null,
138
+ title: 'Sustainability',
139
+ url: '/#',
140
+ },
141
+ {
142
+ '@id': 'Economy-and-resources',
143
+ description: '',
144
+ items: [],
145
+ review_state: null,
146
+ title: 'Economy and resources',
147
+ url: '/#',
148
+ },
149
+ {
150
+ '@id': 'State-of-Europe’s-environment',
151
+ description: '',
152
+ items: [],
153
+ review_state: null,
154
+ title: 'State of Europe’s environment',
155
+ url: '/#',
156
+ },
157
+ ],
158
+ review_state: null,
159
+ title: 'At a glance',
160
+ url: '/#',
161
+ },
162
+ {
163
+ '@id': 'Closer-look',
164
+ description: '',
165
+ items: [
166
+ {
167
+ '@id': 'Agriculture-and-food-system',
168
+ description: '',
169
+ items: [],
170
+ review_state: null,
171
+ title: 'Agriculture and food system',
172
+ url: '/#',
173
+ },
174
+ {
175
+ '@id': 'Air-quality',
176
+ description: '',
177
+ items: [],
178
+ review_state: null,
179
+ title: 'Air quality',
180
+ url: '/#',
181
+ },
182
+ {
183
+ '@id': 'Bathing-water',
184
+ description: '',
185
+ items: [],
186
+ review_state: null,
187
+ title: 'Bathing water',
188
+ url: '/#',
189
+ },
190
+ {
191
+ '@id': 'Biodiversity-habitats-and-species',
192
+ description: '',
193
+ items: [],
194
+ review_state: null,
195
+ title: 'Biodiversity , habitats and species',
196
+ url: '/#',
197
+ },
198
+ {
199
+ '@id': 'Bioeconomy',
200
+ description: '',
201
+ items: [],
202
+ review_state: null,
203
+ title: 'Bioeconomy',
204
+ url: '/#',
205
+ },
206
+ {
207
+ '@id': 'Buildings and construction',
208
+ description: '',
209
+ items: [],
210
+ review_state: null,
211
+ title: 'Buildings and construction',
212
+ url: '/#',
213
+ },
214
+ {
215
+ '@id': 'CC-Adaptation',
216
+ description: '',
217
+ items: [],
218
+ review_state: null,
219
+ title: 'CC Adaptation',
220
+ url: '/#',
221
+ },
222
+ {
223
+ '@id': 'CC-impacts-and-risks',
224
+ description: '',
225
+ items: [],
226
+ review_state: null,
227
+ title: 'CC impacts and risks',
228
+ url: '/#',
229
+ },
230
+ {
231
+ '@id': 'CC-mitigation',
232
+ description: '',
233
+ items: [],
234
+ review_state: null,
235
+ title: 'CC mitigation',
236
+ url: '/#',
237
+ },
238
+ {
239
+ '@id': 'Chemicals',
240
+ description: '',
241
+ items: [],
242
+ review_state: null,
243
+ title: 'Chemicals',
244
+ url: '/#',
245
+ },
246
+ {
247
+ '@id': 'Circular-economy',
248
+ description: '',
249
+ items: [],
250
+ review_state: null,
251
+ title: 'Circular economy',
252
+ url: '/#',
253
+ },
254
+ {
255
+ '@id': 'Electric-vehicles',
256
+ description: '',
257
+ items: [],
258
+ review_state: null,
259
+ title: 'Electric vehicles',
260
+ url: '/#',
261
+ },
262
+ {
263
+ '@id': 'Energy',
264
+ description: '',
265
+ items: [],
266
+ review_state: null,
267
+ title: 'Energy',
268
+ url: '/#',
269
+ },
270
+ {
271
+ '@id': 'Energy-efficiency',
272
+ description: '',
273
+ items: [],
274
+ review_state: null,
275
+ title: 'Energy efficiency',
276
+ url: '/#',
277
+ },
278
+ {
279
+ '@id': 'Environmental-health-impacts',
280
+ description: '',
281
+ items: [],
282
+ review_state: null,
283
+ title: 'Environmental health impacts',
284
+ url: '/#',
285
+ },
286
+ {
287
+ '@id': 'Enivornmental-inequalities',
288
+ description: '',
289
+ items: [],
290
+ review_state: null,
291
+ title: 'Enivornmental inequalities',
292
+ url: '/#',
293
+ },
294
+ {
295
+ '@id': 'Environmental-noise',
296
+ description: '',
297
+ items: [],
298
+ review_state: null,
299
+ title: 'Environmental noise',
300
+ url: '/#',
301
+ },
302
+ {
303
+ '@id': 'Extreme-weather-floods-droughts-heatwaves',
304
+ description: '',
305
+ items: [],
306
+ review_state: null,
307
+ title: 'Extreme weather: floods, droughts, heatwaves',
308
+ url: '/#',
309
+ },
310
+ {
311
+ '@id': 'Forests-and-forestry',
312
+ description: '',
313
+ items: [],
314
+ review_state: null,
315
+ title: 'Forests and forestry',
316
+ url: '/#',
317
+ },
318
+ {
319
+ '@id': 'Industry',
320
+ description: '',
321
+ items: [],
322
+ review_state: null,
323
+ title: 'Industry',
324
+ url: '/#',
325
+ },
326
+ {
327
+ '@id': 'Land-use',
328
+ description: '',
329
+ items: [],
330
+ review_state: null,
331
+ title: 'Land use',
332
+ url: '/#',
333
+ },
334
+ {
335
+ '@id': 'Marine-and-coastal-zones',
336
+ description: '',
337
+ items: [],
338
+ review_state: null,
339
+ title: 'Marine and coastal zones',
340
+ url: '/#',
341
+ },
342
+ {
343
+ '@id': 'Plastics',
344
+ description: '',
345
+ items: [],
346
+ review_state: null,
347
+ title: 'Plastics',
348
+ url: '/#',
349
+ },
350
+ {
351
+ '@id': 'Pollution',
352
+ description: '',
353
+ items: [],
354
+ review_state: null,
355
+ title: 'Pollution',
356
+ url: '/#',
357
+ },
358
+ {
359
+ '@id': 'Production-and-consumption ',
360
+ description: '',
361
+ items: [],
362
+ review_state: null,
363
+ title: 'Production and consumption ',
364
+ url: '/#',
365
+ },
366
+ {
367
+ '@id': 'Protected-areas',
368
+ description: '',
369
+ items: [],
370
+ review_state: null,
371
+ title: 'Protected areas',
372
+ url: '/#',
373
+ },
374
+ {
375
+ '@id': 'Protecting-and-restoring-nature',
376
+ description: '',
377
+ items: [],
378
+ review_state: null,
379
+ title: 'Protecting and restoring nature',
380
+ url: '/#',
381
+ },
382
+ {
383
+ '@id': 'Renewable-energy',
384
+ description: '',
385
+ items: [],
386
+ review_state: null,
387
+ title: 'Renewable-energy',
388
+ url: '/#',
389
+ },
390
+ {
391
+ '@id': 'Resource-use-and-materials',
392
+ description: '',
393
+ items: [],
394
+ review_state: null,
395
+ title: 'Resource use and materials',
396
+ url: '/#',
397
+ },
398
+ {
399
+ '@id': 'Road-transport',
400
+ description: '',
401
+ items: [],
402
+ review_state: null,
403
+ title: 'Road transport',
404
+ url: '/#',
405
+ },
406
+ {
407
+ '@id': 'Soil',
408
+ description: '',
409
+ items: [],
410
+ review_state: null,
411
+ title: 'Soil',
412
+ url: '/#',
413
+ },
414
+ {
415
+ '@id': 'State-of-Europes-environment',
416
+ description: '',
417
+ items: [],
418
+ review_state: null,
419
+ title: 'State of Europe’s environment',
420
+ url: '/#',
421
+ },
422
+ {
423
+ '@id': 'Sustainability-challenges',
424
+ description: '',
425
+ items: [],
426
+ review_state: null,
427
+ title: 'Sustainability challenges',
428
+ url: '/#',
429
+ },
430
+ {
431
+ '@id': 'Sustainability-solutions',
432
+ description: '',
433
+ items: [],
434
+ review_state: null,
435
+ title: 'Sustainability solutions',
436
+ url: '/#',
437
+ },
438
+ {
439
+ '@id': 'Sustainable-finance',
440
+ description: '',
441
+ items: [],
442
+ review_state: null,
443
+ title: 'Sustainable-finance',
444
+ url: '/#',
445
+ },
446
+ {
447
+ '@id': 'Textiles',
448
+ description: '',
449
+ items: [],
450
+ review_state: null,
451
+ title: 'Textiles',
452
+ url: '/#',
453
+ },
454
+ {
455
+ '@id': 'Urban-sustainability',
456
+ description: '',
457
+ items: [],
458
+ review_state: null,
459
+ title: 'Urban sustainability',
460
+ url: '/#',
461
+ },
462
+ {
463
+ '@id': 'Waste',
464
+ description: '',
465
+ items: [],
466
+ review_state: null,
467
+ title: 'Waste',
468
+ url: '/#',
469
+ },
470
+ {
471
+ '@id': 'Water',
472
+ description: '',
473
+ items: [],
474
+ review_state: null,
475
+ title: 'Water',
476
+ url: '/#',
477
+ },
478
+ ],
479
+ review_state: null,
480
+ title: 'Closer look',
481
+ url: '/#',
482
+ },
483
+ ],
484
+ review_state: null,
485
+ title: 'Topics',
486
+ url: '/#',
487
+ },
488
+ {
489
+ '@id': 'Data-and-publications',
490
+ items: [],
491
+ review_state: null,
492
+ title: 'Data and publications',
493
+ url: '/#',
494
+ },
495
+
496
+ {
497
+ '@id': 'Countries',
498
+ items: [
499
+ {
500
+ '@id': 'EEA-member-countries',
501
+ description: '',
502
+ items: [
503
+ {
504
+ '@id': 'Austria',
505
+ description: '',
506
+ items: [],
507
+ review_state: null,
508
+ title: 'Austria',
509
+ url: '/#',
510
+ },
511
+ {
512
+ '@id': 'Belgium',
513
+ description: '',
514
+ items: [],
515
+ review_state: null,
516
+ title: 'Belgium',
517
+ url: '/#',
518
+ },
519
+ {
520
+ '@id': 'Bulgaria',
521
+ description: '',
522
+ items: [],
523
+ review_state: null,
524
+ title: 'Bulgaria',
525
+ url: '/#',
526
+ },
527
+ {
528
+ '@id': 'Croatia',
529
+ description: '',
530
+ items: [],
531
+ review_state: null,
532
+ title: 'Croatia',
533
+ url: '/#',
534
+ },
535
+ {
536
+ '@id': 'Cyprus',
537
+ description: '',
538
+ items: [],
539
+ review_state: null,
540
+ title: 'Cyprus',
541
+ url: '/#',
542
+ },
543
+ {
544
+ '@id': 'Czechia',
545
+ description: '',
546
+ items: [],
547
+ review_state: null,
548
+ title: 'Czechia',
549
+ url: '/#',
550
+ },
551
+ {
552
+ '@id': 'Denmark',
553
+ description: '',
554
+ items: [],
555
+ review_state: null,
556
+ title: 'Denmark',
557
+ url: '/#',
558
+ },
559
+ {
560
+ '@id': 'Estonia',
561
+ description: '',
562
+ items: [],
563
+ review_state: null,
564
+ title: 'Estonia',
565
+ url: '/#',
566
+ },
567
+ {
568
+ '@id': 'Finland',
569
+ description: '',
570
+ items: [],
571
+ review_state: null,
572
+ title: 'Finland',
573
+ url: '/#',
574
+ },
575
+ {
576
+ '@id': 'France',
577
+ description: '',
578
+ items: [],
579
+ review_state: null,
580
+ title: 'France',
581
+ url: '/#',
582
+ },
583
+ {
584
+ '@id': 'Germany',
585
+ description: '',
586
+ items: [],
587
+ review_state: null,
588
+ title: 'Germany',
589
+ url: '/#',
590
+ },
591
+ {
592
+ '@id': 'Greece',
593
+ description: '',
594
+ items: [],
595
+ review_state: null,
596
+ title: 'Greece',
597
+ url: '/#',
598
+ },
599
+ {
600
+ '@id': 'Hungary',
601
+ description: '',
602
+ items: [],
603
+ review_state: null,
604
+ title: 'Hungary',
605
+ url: '/#',
606
+ },
607
+ {
608
+ '@id': 'Iceland',
609
+ description: '',
610
+ items: [],
611
+ review_state: null,
612
+ title: 'Iceland',
613
+ url: '/#',
614
+ },
615
+ {
616
+ '@id': 'Ireland',
617
+ description: '',
618
+ items: [],
619
+ review_state: null,
620
+ title: 'Ireland',
621
+ url: '/#',
622
+ },
623
+ {
624
+ '@id': 'Italy',
625
+ description: '',
626
+ items: [],
627
+ review_state: null,
628
+ title: 'Italy',
629
+ url: '/#',
630
+ },
631
+ {
632
+ '@id': 'Latvia',
633
+ description: '',
634
+ items: [],
635
+ review_state: null,
636
+ title: 'Latvia',
637
+ url: '/#',
638
+ },
639
+ {
640
+ '@id': 'Liechtenstein',
641
+ description: '',
642
+ items: [],
643
+ review_state: null,
644
+ title: 'Liechtenstein',
645
+ url: '/#',
646
+ },
647
+ {
648
+ '@id': 'Lithuania',
649
+ description: '',
650
+ items: [],
651
+ review_state: null,
652
+ title: 'Lithuania',
653
+ url: '/#',
654
+ },
655
+ {
656
+ '@id': 'Luxembourg',
657
+ description: '',
658
+ items: [],
659
+ review_state: null,
660
+ title: 'Luxembourg',
661
+ url: '/#',
662
+ },
663
+ {
664
+ '@id': 'Malta',
665
+ description: '',
666
+ items: [],
667
+ review_state: null,
668
+ title: 'Malta',
669
+ url: '/#',
670
+ },
671
+ {
672
+ '@id': 'Netherlands',
673
+ description: '',
674
+ items: [],
675
+ review_state: null,
676
+ title: 'Netherlands',
677
+ url: '/#',
678
+ },
679
+ {
680
+ '@id': 'Norway',
681
+ description: '',
682
+ items: [],
683
+ review_state: null,
684
+ title: 'Norway',
685
+ url: '/#',
686
+ },
687
+ {
688
+ '@id': 'Poland',
689
+ description: '',
690
+ items: [],
691
+ review_state: null,
692
+ title: 'Poland',
693
+ url: '/#',
694
+ },
695
+ {
696
+ '@id': 'Portugal',
697
+ description: '',
698
+ items: [],
699
+ review_state: null,
700
+ title: 'Portugal',
701
+ url: '/#',
702
+ },
703
+ {
704
+ '@id': 'Romania',
705
+ description: '',
706
+ items: [],
707
+ review_state: null,
708
+ title: 'Romania',
709
+ url: '/#',
710
+ },
711
+ {
712
+ '@id': 'Slovakia',
713
+ description: '',
714
+ items: [],
715
+ review_state: null,
716
+ title: 'Slovakia',
717
+ url: '/#',
718
+ },
719
+ {
720
+ '@id': 'Slovenia',
721
+ description: '',
722
+ items: [],
723
+ review_state: null,
724
+ title: 'Slovenia',
725
+ url: '/#',
726
+ },
727
+ {
728
+ '@id': 'Spain',
729
+ description: '',
730
+ items: [],
731
+ review_state: null,
732
+ title: 'Spain',
733
+ url: '/#',
734
+ },
735
+ {
736
+ '@id': 'Sweden',
737
+ description: '',
738
+ items: [],
739
+ review_state: null,
740
+ title: 'Sweden',
741
+ url: '/#',
742
+ },
743
+ {
744
+ '@id': 'Switzerland',
745
+ description: '',
746
+ items: [],
747
+ review_state: null,
748
+ title: 'Switzerland',
749
+ url: '/#',
750
+ },
751
+ {
752
+ '@id': 'Turkey',
753
+ description: '',
754
+ items: [],
755
+ review_state: null,
756
+ title: 'Turkey',
757
+ url: '/#',
758
+ },
759
+ ],
760
+ review_state: null,
761
+ title: 'EEA member countries',
762
+ url: '/#',
763
+ },
764
+ {
765
+ '@id': 'Cooperating-countries',
766
+ description: '',
767
+ items: [
768
+ {
769
+ '@id': 'Albania',
770
+ description: '',
771
+ items: [],
772
+ review_state: null,
773
+ title: 'Albania',
774
+ url: '/#',
775
+ },
776
+ {
777
+ '@id': 'Bosnia-and-Herzegovina',
778
+ description: '',
779
+ items: [],
780
+ review_state: null,
781
+ title: 'Bosnia and Herzegovina',
782
+ url: '/#',
783
+ },
784
+ {
785
+ '@id': 'Kosovo**',
786
+ description: '',
787
+ items: [],
788
+ review_state: null,
789
+ title: 'Kosovo**',
790
+ url: '/#',
791
+ },
792
+ {
793
+ '@id': 'Montenegro',
794
+ description: '',
795
+ items: [],
796
+ review_state: null,
797
+ title: 'Montenegro',
798
+ url: '/#',
799
+ },
800
+ {
801
+ '@id': 'North-Macedonia',
802
+ description: '',
803
+ items: [],
804
+ review_state: null,
805
+ title: 'North Macedonia',
806
+ url: '/#',
807
+ },
808
+ {
809
+ '@id': 'Serbia',
810
+ description: '',
811
+ items: [],
812
+ review_state: null,
813
+ title: 'Serbia',
814
+ url: '/#',
815
+ },
816
+ ],
817
+ review_state: null,
818
+ title: 'Cooperating countries',
819
+ url: '/#',
820
+ },
821
+ {
822
+ '@id': 'Former-member-country',
823
+ description: '',
824
+ items: [
825
+ {
826
+ '@id': 'United Kingdom*',
827
+ description: '',
828
+ items: [],
829
+ review_state: null,
830
+ title: 'United Kingdom*',
831
+ url: '/#',
832
+ },
833
+ ],
834
+ review_state: null,
835
+ title: 'Former member country',
836
+ url: '/#',
837
+ },
838
+ ],
839
+ review_state: null,
840
+ title: 'Countries',
841
+ url: '/#',
842
+ },
843
+ {
844
+ '@id': 'Newsroom',
845
+ items: [],
846
+ review_state: null,
847
+ title: 'Newsroom',
848
+ url: '/#',
849
+ },
850
+ {
851
+ '@id': 'About-Us',
852
+ items: [
853
+ {
854
+ '@id': 'Mission-vision-and-values',
855
+ description: '',
856
+ items: [
857
+ {
858
+ '@id': 'About-the-EEA',
859
+ description: '',
860
+ items: [],
861
+ review_state: null,
862
+ title: 'About the EEA',
863
+ url: '/#',
864
+ },
865
+ {
866
+ '@id': 'Eco-management-Reducing-our-environmental-footprint-EMAS',
867
+ description: '',
868
+ items: [],
869
+ review_state: null,
870
+ title: 'Eco-management/Reducing our environmental footprint (EMAS)',
871
+ url: '/#',
872
+ },
873
+ {
874
+ '@id': 'Copernicus',
875
+ description: '',
876
+ items: [],
877
+ review_state: null,
878
+ title: 'Copernicus',
879
+ url: '/#',
880
+ },
881
+ {
882
+ '@id': 'Digitilization',
883
+ description: '',
884
+ items: [],
885
+ review_state: null,
886
+ title: 'Digitilization',
887
+ url: '/#',
888
+ },
889
+ ],
890
+ review_state: null,
891
+ title: 'Mission, vision and values',
892
+ url: '/#',
893
+ },
894
+ {
895
+ '@id': 'Governance',
896
+ description: '',
897
+ items: [
898
+ {
899
+ '@id': 'Executive-Director',
900
+ description: '',
901
+ items: [],
902
+ review_state: null,
903
+ title: 'Executive Director',
904
+ url: '/#',
905
+ },
906
+ {
907
+ '@id': 'Management-board-&-bureau',
908
+ description: '',
909
+ items: [],
910
+ review_state: null,
911
+ title: 'Management board & bureau',
912
+ url: '/#',
913
+ },
914
+ {
915
+ '@id': 'Operational-management-Senior-Management-Team)',
916
+ description: '',
917
+ items: [],
918
+ review_state: null,
919
+ title: 'Operational management (Senior Management Team)',
920
+ url: '/#',
921
+ },
922
+ {
923
+ '@id': 'Scientific-commitee',
924
+ description: '',
925
+ items: [],
926
+ review_state: null,
927
+ title: 'Scientific commitee',
928
+ url: '/#',
929
+ },
930
+ {
931
+ '@id': 'Organizational-chart',
932
+ description: '',
933
+ items: [],
934
+ review_state: null,
935
+ title: 'Organizational chart',
936
+ url: '/#',
937
+ },
938
+ ],
939
+ review_state: null,
940
+ title: 'Governance',
941
+ url: '/#',
942
+ },
943
+ {
944
+ '@id': 'Our-knowledge-network-Eionet',
945
+ description: '',
946
+ items: [
947
+ {
948
+ '@id': 'About-the-Eionet',
949
+ description: '',
950
+ items: [],
951
+ review_state: null,
952
+ title: 'About the Eionet',
953
+ url: '/#',
954
+ },
955
+ {
956
+ '@id': 'Members',
957
+ description: '',
958
+ items: [],
959
+ review_state: null,
960
+ title: 'Members',
961
+ url: '/#',
962
+ },
963
+ {
964
+ '@id': 'ETCs',
965
+ description: '',
966
+ items: [],
967
+ review_state: null,
968
+ title: 'ETCs',
969
+ url: '/#',
970
+ },
971
+ {
972
+ '@id': 'Interest-groups',
973
+ description: '',
974
+ items: [],
975
+ review_state: null,
976
+ title: 'Interest groups',
977
+ url: '/#',
978
+ },
979
+ {
980
+ '@id': 'Data-reporting',
981
+ description: '',
982
+ items: [],
983
+ review_state: null,
984
+ title: 'Data-reporting',
985
+ url: '/#',
986
+ },
987
+ {
988
+ '@id': 'Eionet-projects',
989
+ description: '',
990
+ items: [],
991
+ review_state: null,
992
+ title: 'Eionet projects',
993
+ url: '/#',
994
+ },
995
+ ],
996
+ review_state: null,
997
+ title: 'Our knowledge network (Eionet)',
998
+ url: '/#',
999
+ },
1000
+ {
1001
+ '@id': 'Services-and-projects',
1002
+ description: '',
1003
+ items: [
1004
+ {
1005
+ '@id': 'EUROGEO',
1006
+ description: '',
1007
+ items: [],
1008
+ review_state: null,
1009
+ title: 'EUROGEO',
1010
+ url: '/#',
1011
+ },
1012
+ {
1013
+ '@id': 'Human-Biomonitoring-for-Europe',
1014
+ description: '',
1015
+ items: [],
1016
+ review_state: null,
1017
+ title: 'Human Biomonitoring for Europe',
1018
+ url: '/#',
1019
+ },
1020
+ {
1021
+ '@id': 'COPERNICUS',
1022
+ description: '',
1023
+ items: [],
1024
+ review_state: null,
1025
+ title: 'COPERNICUS',
1026
+ url: '/#',
1027
+ },
1028
+ {
1029
+ '@id': 'IPA-2020',
1030
+ description: '',
1031
+ items: [],
1032
+ review_state: null,
1033
+ title: 'IPA 2020',
1034
+ url: '/#',
1035
+ },
1036
+ {
1037
+ '@id': 'UNEP-IRP',
1038
+ description: '',
1039
+ items: [],
1040
+ review_state: null,
1041
+ title: 'UNEP IRP',
1042
+ url: '/#',
1043
+ },
1044
+ ],
1045
+ review_state: null,
1046
+ title: 'Services and projects',
1047
+ url: '/#',
1048
+ },
1049
+ {
1050
+ '@id': 'Contract-opportunities',
1051
+ description: '',
1052
+ items: [
1053
+ {
1054
+ '@id': 'Open-calls-Tenders-above',
1055
+ description: '',
1056
+ items: [],
1057
+ review_state: null,
1058
+ title: 'Open calls - Tenders above 140Κ €',
1059
+ url: '/#',
1060
+ },
1061
+ {
1062
+ '@id': 'Negotiation-procedures-Tenders',
1063
+ description: '',
1064
+ items: [],
1065
+ review_state: null,
1066
+ title: 'Negotiation procedures - Tenders 15K - 140K €',
1067
+ url: '/#',
1068
+ },
1069
+ {
1070
+ '@id': 'Toolbox',
1071
+ description: '',
1072
+ items: [],
1073
+ review_state: null,
1074
+ title: 'Toolbox',
1075
+ url: '/#',
1076
+ },
1077
+ {
1078
+ '@id': 'Contracts-and-grants-awarded',
1079
+ description: '',
1080
+ items: [],
1081
+ review_state: null,
1082
+ title: 'Contracts and grants awarded',
1083
+ url: '/#',
1084
+ },
1085
+ ],
1086
+ review_state: null,
1087
+ title: 'Contract opportunities',
1088
+ url: '/#',
1089
+ },
1090
+ {
1091
+ '@id': 'Careers',
1092
+ description: '',
1093
+ items: [
1094
+ {
1095
+ '@id': 'What-do-we-offer',
1096
+ description: '',
1097
+ items: [],
1098
+ review_state: null,
1099
+ title: 'What do we offer?',
1100
+ url: '/#',
1101
+ },
1102
+ {
1103
+ '@id': 'Vacancies',
1104
+ description: '',
1105
+ items: [],
1106
+ review_state: null,
1107
+ title: 'Vacancies',
1108
+ url: '/#',
1109
+ },
1110
+ {
1111
+ '@id': 'Bluebook-traineeships',
1112
+ description: '',
1113
+ items: [],
1114
+ review_state: null,
1115
+ title: 'Bluebook traineeships',
1116
+ url: '/#',
1117
+ },
1118
+ ],
1119
+ review_state: null,
1120
+ title: 'Careers',
1121
+ url: '/#',
1122
+ },
1123
+ {
1124
+ '@id': 'Partners-and-networks',
1125
+ description: '',
1126
+ items: [
1127
+ {
1128
+ '@id': 'Network-of-heads-of-Environmental-Protection-Agencies',
1129
+ description: '',
1130
+ items: [],
1131
+ review_state: null,
1132
+ title:
1133
+ 'Network of heads of Environmental Protection Agencies (EPA network)',
1134
+ url: '/#',
1135
+ },
1136
+ {
1137
+ '@id': 'EU-instititions-and-agencies',
1138
+ description: '',
1139
+ items: [],
1140
+ review_state: null,
1141
+ title: 'EU instititions and agencies',
1142
+ url: '/#',
1143
+ },
1144
+ {
1145
+ '@id': 'International-cooperation-Research-Institutions',
1146
+ description: '',
1147
+ items: [],
1148
+ review_state: null,
1149
+ title: 'International cooperation (Research Institutions)',
1150
+ url: '/#',
1151
+ },
1152
+ ],
1153
+ review_state: null,
1154
+ title: 'Partners and networks',
1155
+ url: '/#',
1156
+ },
1157
+ {
1158
+ '@id': 'Contact-us',
1159
+ description: '',
1160
+ items: [
1161
+ {
1162
+ '@id': 'Contact-details-and-form',
1163
+ description: '',
1164
+ items: [],
1165
+ review_state: null,
1166
+ title: 'Contact details and form',
1167
+ url: '/#',
1168
+ },
1169
+ {
1170
+ '@id': 'Frequently-Asked-Questions',
1171
+ description: '',
1172
+ items: [],
1173
+ review_state: null,
1174
+ title: 'Frequently Asked Questions',
1175
+ url: '/#',
1176
+ },
1177
+ ],
1178
+ review_state: null,
1179
+ title: 'Contact us',
1180
+ url: '/#',
1181
+ },
1182
+ ],
1183
+ review_state: null,
1184
+ title: 'About Us',
1185
+ url: '/#',
1186
+ },
1187
+ ];
1188
+
1189
+ const debounce = (func) => {
1190
+ let timer;
1191
+ return (event) => {
1192
+ if (timer) clearTimeout(timer);
1193
+ timer = setTimeout(func, 50, event);
1194
+ };
1195
+ };
1196
+
1197
+ const handleDropdownClick = (event) => {
1198
+ event.stopPropagation();
1199
+ };
1200
+
1201
+ const Template = (args) => {
1202
+ const [viewportWidth, setWidth] = React.useState(
1203
+ typeof window !== 'undefined' && window.innerWidth,
1204
+ );
1205
+ React.useEffect(() => {
1206
+ const handleWindowResize = window.addEventListener('resize', () =>
1207
+ debounce(setWidth(window.innerWidth)),
1208
+ );
1209
+
1210
+ return () => window.removeEventListener('resize', handleWindowResize);
1211
+ }, []);
1212
+
1213
+ const {
1214
+ languages,
1215
+ links,
1216
+ linksMenuTitle,
1217
+ tabletLinksMenuTitle,
1218
+ mobileLinksMenuTitle,
1219
+ menuItems,
1220
+ } = args;
1221
+
1222
+ const [language, setLanguage] = React.useState('en');
1223
+ const [pathname, setPathname] = React.useState('/');
1224
+
1225
+ return (
1226
+ <>
1227
+ <Header>
1228
+ <Header.TopHeader>
1229
+ <Header.TopItem className="official-union">
1230
+ <Image src={eeaFlag} alt="eea flag"></Image>
1231
+ <Header.TopDropdownMenu
1232
+ text="An official website of the European Union | How do you know?"
1233
+ tabletText="An official website of the European Union"
1234
+ mobileText=" "
1235
+ icon="chevron down"
1236
+ aria-label="dropdown"
1237
+ className=""
1238
+ viewportWidth={viewportWidth}
1239
+ >
1240
+ <div
1241
+ className="content"
1242
+ role="menu"
1243
+ tabIndex="0"
1244
+ onClick={handleDropdownClick}
1245
+ onKeyDown={handleDropdownClick}
1246
+ >
1247
+ <p>
1248
+ All official European Union website addresses are in the{' '}
1249
+ europa.eu domain.
1250
+ </p>
1251
+ <a
1252
+ href="https://europa.eu/european-union/contact/institutions-bodies_en"
1253
+ target="_blank"
1254
+ rel="noreferrer"
1255
+ role="option"
1256
+ aria-selected="false"
1257
+ >
1258
+ See all EU institutions and bodies
1259
+ </a>
1260
+ </div>
1261
+ </Header.TopDropdownMenu>
1262
+ </Header.TopItem>
1263
+
1264
+ <Header.TopItem>
1265
+ <Header.TopDropdownMenu
1266
+ id="theme-sites"
1267
+ text={linksMenuTitle}
1268
+ tabletText={tabletLinksMenuTitle}
1269
+ mobileText={mobileLinksMenuTitle}
1270
+ viewportWidth={viewportWidth}
1271
+ >
1272
+ <div className="wrapper">
1273
+ {links.map((item, index) => (
1274
+ <Dropdown.Item key={index}>
1275
+ <a
1276
+ href={item.href}
1277
+ className="site"
1278
+ target="_blank"
1279
+ rel="noreferrer"
1280
+ >
1281
+ {item.title}
1282
+ </a>
1283
+ </Dropdown.Item>
1284
+ ))}
1285
+ </div>
1286
+ </Header.TopDropdownMenu>
1287
+ </Header.TopItem>
1288
+
1289
+ <Header.TopDropdownMenu
1290
+ id="language-switcher"
1291
+ className="item"
1292
+ text={`${language.toUpperCase()}`}
1293
+ mobileText={`${language.toUpperCase()}`}
1294
+ icon={
1295
+ <Image
1296
+ role="option"
1297
+ src={globeIcon}
1298
+ alt="language dropdown globe icon"
1299
+ ></Image>
1300
+ }
1301
+ viewportWidth={viewportWidth}
1302
+ >
1303
+ <ul
1304
+ className="wrapper language-list"
1305
+ role="listbox"
1306
+ aria-label="language switcher"
1307
+ >
1308
+ {languages.map((item, index) => (
1309
+ <Dropdown.Item
1310
+ as="li"
1311
+ key={index}
1312
+ text={
1313
+ <span>
1314
+ {item.name}
1315
+ <span className="country-code">
1316
+ {item.code.toUpperCase()}
1317
+ </span>
1318
+ </span>
1319
+ }
1320
+ onClick={() => setLanguage(item.code)}
1321
+ ></Dropdown.Item>
1322
+ ))}
1323
+ </ul>
1324
+ </Header.TopDropdownMenu>
1325
+ </Header.TopHeader>
1326
+ <Header.Main
1327
+ transparency={args.transparency}
1328
+ inverted={args.inverted}
1329
+ pathname={pathname}
1330
+ logo={<Logo {...logoProps} inverted={args.inverted} />}
1331
+ menuItems={menuItems}
1332
+ renderMenuItem={(item, options = {}, props) => {
1333
+ const { onClick } = options;
1334
+ return (
1335
+ <a
1336
+ onClick={(e) => {
1337
+ const path = item['@id'] || item.url;
1338
+ setPathname(path);
1339
+ e.preventDefault();
1340
+ onClick && onClick(e, item);
1341
+ }}
1342
+ href={item['@id'] || item.url}
1343
+ {...options}
1344
+ className={cx(options?.className, {
1345
+ active: item['@id'] === pathname,
1346
+ })}
1347
+ >
1348
+ {props?.iconPosition !== 'right' && props?.children}
1349
+ <span>{item.title}</span>
1350
+ {props?.iconPosition === 'right' && props?.children}
1351
+ </a>
1352
+ );
1353
+ }}
1354
+ renderGlobalMenuItem={(item, options = {}) => {
1355
+ const { onClick } = options;
1356
+ return (
1357
+ <a
1358
+ onClick={(e) => {
1359
+ // const path = item['@id'] || item.url;
1360
+ // setPathname(path);
1361
+ e.preventDefault();
1362
+ onClick && onClick(e, item);
1363
+ }}
1364
+ href={item['@id'] || item.url}
1365
+ >
1366
+ {item.title}
1367
+ </a>
1368
+ );
1369
+ }}
1370
+ ></Header.Main>
1371
+ </Header>
1372
+
1373
+ <Segment>Current location: {pathname}</Segment>
1374
+ <Container>
1375
+ <h1>Page title</h1>
1376
+ <p>
1377
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1378
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1379
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1380
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1381
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1382
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1383
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1384
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1385
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1386
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1387
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1388
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1389
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1390
+ </p>
1391
+ <p>
1392
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1393
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1394
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1395
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1396
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1397
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1398
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1399
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1400
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1401
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1402
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1403
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1404
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1405
+ </p>
1406
+ <p>
1407
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1408
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1409
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1410
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1411
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1412
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1413
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1414
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1415
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1416
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1417
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1418
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1419
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1420
+ </p>
1421
+ <p>
1422
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1423
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1424
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1425
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1426
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1427
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1428
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1429
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1430
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1431
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1432
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1433
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1434
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1435
+ </p>
1436
+ <p>
1437
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1438
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1439
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1440
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1441
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1442
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1443
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1444
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1445
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1446
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1447
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1448
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1449
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1450
+ </p>
1451
+ <p>
1452
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1453
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1454
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1455
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1456
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1457
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1458
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1459
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1460
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1461
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1462
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1463
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1464
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1465
+ </p>
1466
+ <p>
1467
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1468
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1469
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1470
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1471
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1472
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1473
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1474
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1475
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1476
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1477
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1478
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1479
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1480
+ </p>
1481
+ <p>
1482
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1483
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1484
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1485
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1486
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1487
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1488
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1489
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1490
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1491
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1492
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1493
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1494
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1495
+ </p>
1496
+ <p>
1497
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
1498
+ commodo ligula eget dolor. Aenean massa strong. Cum sociis natoque
1499
+ penatibus et magnis dis parturient montes, nascetur ridiculus mus.
1500
+ Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
1501
+ Nulla consequat massa quis enim. Donec pede justo, fringilla vel,
1502
+ aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut,
1503
+ imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede link
1504
+ mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum
1505
+ semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,
1506
+ porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante,
1507
+ dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla
1508
+ ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam
1509
+ ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
1510
+ </p>
1511
+ </Container>
1512
+ </>
1513
+ );
1514
+ };
1515
+
1516
+ export const Default = Template.bind({});
1517
+ Default.args = {
1518
+ linksMenuTitle: 'Environmental information systems',
1519
+ tabletLinksMenuTitle: 'EEA information systems',
1520
+ mobileLinksMenuTitle: 'EEA information systems',
1521
+ links,
1522
+ languages,
1523
+ menuItems,
1524
+ transparency: false,
1525
+ inverted: false,
1526
+ };