@openneuro/app 4.33.4 → 4.34.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/package.json +4 -3
  2. package/src/client.jsx +2 -1
  3. package/src/scripts/authentication/signOut.ts +1 -1
  4. package/src/scripts/common/containers/footer.tsx +1 -1
  5. package/src/scripts/common/containers/header.tsx +3 -2
  6. package/src/scripts/common/content/affiliate-content.jsx +72 -0
  7. package/src/scripts/common/content/assets/affiliates/bids.jpg +0 -0
  8. package/src/scripts/common/content/assets/affiliates/datalad.jpg +0 -0
  9. package/src/scripts/common/content/assets/affiliates/nih-bi-logo.png +0 -0
  10. package/src/scripts/common/content/assets/front-page/brand_mark.png +0 -0
  11. package/src/scripts/common/content/assets/front-page/cube-get.png +0 -0
  12. package/src/scripts/common/content/assets/front-page/cube-share.png +0 -0
  13. package/src/scripts/common/content/assets/front-page/cube-use.png +0 -0
  14. package/src/scripts/common/content/assets/front-page/ljaf.png +0 -0
  15. package/src/scripts/common/content/assets/front-page/logo_app.png +0 -0
  16. package/src/scripts/common/content/assets/front-page/logo_cube.png +0 -0
  17. package/src/scripts/common/content/assets/front-page/logo_data.png +0 -0
  18. package/src/scripts/common/content/assets/front-page/logo_users.png +0 -0
  19. package/src/scripts/common/content/assets/front-page/novo-logo.png +0 -0
  20. package/src/scripts/common/content/assets/front-page/nru-logo.png +0 -0
  21. package/src/scripts/common/content/assets/front-page/nsf.png +0 -0
  22. package/src/scripts/common/content/assets/front-page/sqm-logo.png +0 -0
  23. package/src/scripts/common/content/assets/front-page/squishymedia.png +0 -0
  24. package/src/scripts/common/content/assets/front-page/stanford.png +0 -0
  25. package/src/scripts/common/content/assets/modality-cubes/brain-initiative.jpg +0 -0
  26. package/src/scripts/common/content/assets/modality-cubes/eeg.jpg +0 -0
  27. package/src/scripts/common/content/assets/modality-cubes/ieeg.jpg +0 -0
  28. package/src/scripts/common/content/assets/modality-cubes/meg.jpg +0 -0
  29. package/src/scripts/common/content/assets/modality-cubes/mri.jpg +0 -0
  30. package/src/scripts/common/content/assets/modality-cubes/nih_cube.jpg +0 -0
  31. package/src/scripts/common/content/assets/modality-cubes/nirs.jpg +0 -0
  32. package/src/scripts/common/content/assets/modality-cubes/pet-scan.jpg +0 -0
  33. package/src/scripts/common/content/assets/portal-content/nih-bi-brand.png +0 -0
  34. package/src/scripts/common/content/facet-content.jsx +186 -0
  35. package/src/scripts/common/content/front-page-content.jsx +177 -0
  36. package/src/scripts/common/content/image-attribution.tsx +3 -3
  37. package/src/scripts/common/content/modality-cube-content.jsx +92 -0
  38. package/src/scripts/common/content/portal-content.jsx +149 -0
  39. package/src/scripts/common/content/portal-grant-content.jsx +30 -0
  40. package/src/scripts/common/content/sortby-list.jsx +18 -0
  41. package/src/scripts/common/forms/warn-button.jsx +1 -1
  42. package/src/scripts/components/accordion/AccordionTab.tsx +68 -0
  43. package/src/scripts/components/accordion/AccordionWrap.tsx +22 -0
  44. package/src/scripts/components/accordion/__tests__/AccordionTab.spec.tsx +35 -0
  45. package/src/scripts/components/accordion/accordion.scss +68 -0
  46. package/src/scripts/components/activity-slider/ActivitySlider.tsx +121 -0
  47. package/src/scripts/components/activity-slider/slider.scss +130 -0
  48. package/src/scripts/components/affiliate-article/AffiliateArticle.tsx +26 -0
  49. package/src/scripts/components/affiliate-article/affiliate.scss +32 -0
  50. package/src/scripts/components/aggregate-count/AggregateCount.tsx +20 -0
  51. package/src/scripts/components/assets/activity-icon.png +0 -0
  52. package/src/scripts/components/assets/close-button.png +0 -0
  53. package/src/scripts/components/assets/favicon copy.ico +0 -0
  54. package/src/scripts/components/assets/favicon.ico +0 -0
  55. package/src/scripts/components/assets/get_data_browse.png +0 -0
  56. package/src/scripts/components/assets/get_data_download.png +0 -0
  57. package/src/scripts/components/assets/ljaf copy.png +0 -0
  58. package/src/scripts/components/assets/logo_app copy.png +0 -0
  59. package/src/scripts/components/assets/logo_cube copy.png +0 -0
  60. package/src/scripts/components/assets/logo_data copy.png +0 -0
  61. package/src/scripts/components/assets/logo_users copy.png +0 -0
  62. package/src/scripts/components/assets/mri-scan.jpg +0 -0
  63. package/src/scripts/components/assets/nih copy.png +0 -0
  64. package/src/scripts/components/assets/nih-bi-brand.jpg +0 -0
  65. package/src/scripts/components/assets/nih-stanford.jpg +0 -0
  66. package/src/scripts/components/assets/nih.png +0 -0
  67. package/src/scripts/components/assets/nimh.png +0 -0
  68. package/src/scripts/components/assets/nsf copy.png +0 -0
  69. package/src/scripts/components/assets/on-dark-horz.svg +1 -0
  70. package/src/scripts/components/assets/on-dark.svg +1 -0
  71. package/src/scripts/components/assets/on-light-horz.svg +1 -0
  72. package/src/scripts/components/assets/on-light.svg +1 -0
  73. package/src/scripts/components/assets/orcid_24x24 copy.png +0 -0
  74. package/src/scripts/components/assets/orcid_24x24.png +0 -0
  75. package/src/scripts/components/assets/share_data_collaborate.png +0 -0
  76. package/src/scripts/components/assets/share_data_publish.png +0 -0
  77. package/src/scripts/components/assets/share_data_validate.png +0 -0
  78. package/src/scripts/components/assets/squishymedia copy.png +0 -0
  79. package/src/scripts/components/assets/stanford copy.png +0 -0
  80. package/src/scripts/components/assets/tab-get_data.png +0 -0
  81. package/src/scripts/components/assets/tab-share_data.png +0 -0
  82. package/src/scripts/components/assets/tab-use_data.png +0 -0
  83. package/src/scripts/components/assets/use_data_analyze.png +0 -0
  84. package/src/scripts/components/assets/use_data_snapshot.png +0 -0
  85. package/src/scripts/components/button/Button.tsx +113 -0
  86. package/src/scripts/components/button/__tests__/Button.spec.tsx +21 -0
  87. package/src/scripts/components/button/button.scss +140 -0
  88. package/src/scripts/components/count-toggle/CountToggle.tsx +65 -0
  89. package/src/scripts/components/count-toggle/__tests__/CountToggle.spec.tsx +31 -0
  90. package/src/scripts/components/count-toggle/count-toggle.scss +34 -0
  91. package/src/scripts/components/dropdown/Dropdown.tsx +38 -0
  92. package/src/scripts/components/dropdown/dropdown.scss +29 -0
  93. package/src/scripts/components/facets/FacetRadio.tsx +43 -0
  94. package/src/scripts/components/facets/FacetRange.tsx +35 -0
  95. package/src/scripts/components/facets/FacetSearch.tsx +66 -0
  96. package/src/scripts/components/facets/FacetSelect.tsx +87 -0
  97. package/src/scripts/components/facets/SingleSelect.tsx +39 -0
  98. package/src/scripts/components/facets/__tests__/FacetSelect.spec.tsx +14 -0
  99. package/src/scripts/components/facets/__tests__/SingleSelect.spec.tsx +58 -0
  100. package/src/scripts/components/facets/facet.scss +244 -0
  101. package/src/scripts/components/footer/Footer.tsx +52 -0
  102. package/src/scripts/components/footer/footer.scss +20 -0
  103. package/src/scripts/components/formatting/__tests__/modality-label.spec.tsx +34 -0
  104. package/src/scripts/components/formatting/modality-label.tsx +34 -0
  105. package/src/scripts/components/front-page/ActivityHeader.tsx +12 -0
  106. package/src/scripts/components/front-page/AffiliateBlock.tsx +22 -0
  107. package/src/scripts/components/front-page/Contributors.tsx +28 -0
  108. package/src/scripts/components/front-page/GetUpdates.tsx +99 -0
  109. package/src/scripts/components/front-page/Infographic.tsx +36 -0
  110. package/src/scripts/components/front-page/front-page.scss +295 -0
  111. package/src/scripts/components/header/Header.tsx +151 -0
  112. package/src/scripts/components/header/LandingExpandedHeader.tsx +110 -0
  113. package/src/scripts/components/header/header.scss +409 -0
  114. package/src/scripts/components/icon/Icon.tsx +55 -0
  115. package/src/scripts/components/icon/__tests__/Icon.spec.tsx +10 -0
  116. package/src/scripts/components/icon/icon.scss +8 -0
  117. package/src/scripts/components/input/Input.tsx +137 -0
  118. package/src/scripts/components/input/TermSearch.tsx +101 -0
  119. package/src/scripts/components/input/input.scss +147 -0
  120. package/src/scripts/components/input/term-search.scss +68 -0
  121. package/src/scripts/components/json-tree/ExpandableProperty.tsx +35 -0
  122. package/src/scripts/components/json-tree/RecursiveProperty.tsx +67 -0
  123. package/src/scripts/components/json-tree/json-tree.scss +19 -0
  124. package/src/scripts/components/loading/Loading.tsx +19 -0
  125. package/src/scripts/components/loading/__tests__/Loading.spec.tsx +12 -0
  126. package/src/scripts/components/loading/loading.scss +141 -0
  127. package/src/scripts/components/logo/Logo.tsx +44 -0
  128. package/src/scripts/components/logo/__tests__/Logo.spec.tsx +22 -0
  129. package/src/scripts/components/modal/Modal.tsx +51 -0
  130. package/src/scripts/components/modal/ModalExample.tsx +25 -0
  131. package/src/scripts/components/modal/UserLoginModal.tsx +74 -0
  132. package/src/scripts/components/modal/__tests__/UserLoginModal.spec.tsx +37 -0
  133. package/src/scripts/components/modal/modal.scss +60 -0
  134. package/src/scripts/components/modality-cube/ModalityCube.tsx +60 -0
  135. package/src/scripts/components/modality-cube/modality-cube.scss +303 -0
  136. package/src/scripts/components/page/Page.tsx +61 -0
  137. package/src/scripts/components/page/page.scss +408 -0
  138. package/src/scripts/components/progress-bar/ProgressBar.tsx +16 -0
  139. package/src/scripts/components/progress-bar/progress-bar.scss +34 -0
  140. package/src/scripts/components/radio/Radio.tsx +33 -0
  141. package/src/scripts/components/radio/RadioGroup.tsx +45 -0
  142. package/src/scripts/components/radio/__tests__/RadioGroup.spec.tsx +31 -0
  143. package/src/scripts/components/radio/radio.scss +335 -0
  144. package/src/scripts/components/range/TwoHandleRange.scss +108 -0
  145. package/src/scripts/components/range/TwoHandleRange.tsx +128 -0
  146. package/src/scripts/components/range/__tests__/TwoHandleRange.spec.tsx +34 -0
  147. package/src/scripts/components/read-more/ReadMore.tsx +50 -0
  148. package/src/scripts/components/read-more/__tests__/ReadMore.spec.tsx +14 -0
  149. package/src/scripts/components/read-more/read-more.scss +79 -0
  150. package/src/scripts/components/scss/_flex-grid.scss +216 -0
  151. package/src/scripts/components/scss/_helper-classes.scss +162 -0
  152. package/src/scripts/components/scss/_normalize.scss +614 -0
  153. package/src/scripts/components/scss/_variables.scss +245 -0
  154. package/src/scripts/components/scss/global.scss +124 -0
  155. package/src/scripts/components/scss/toasts.scss +33 -0
  156. package/src/scripts/components/scss/upload-modal.scss +479 -0
  157. package/src/scripts/components/search-page/CommunityHeader.tsx +27 -0
  158. package/src/scripts/components/search-page/FacetBlockContainerExample.tsx +6 -0
  159. package/src/scripts/components/search-page/FilterDateItem.tsx +44 -0
  160. package/src/scripts/components/search-page/FilterListItem.tsx +62 -0
  161. package/src/scripts/components/search-page/FiltersBlock.tsx +277 -0
  162. package/src/scripts/components/search-page/ModalityHeader.tsx +64 -0
  163. package/src/scripts/components/search-page/NeurobagelSearch.tsx +59 -0
  164. package/src/scripts/components/search-page/SearchPage.tsx +114 -0
  165. package/src/scripts/components/search-page/SearchResultItem.tsx +417 -0
  166. package/src/scripts/components/search-page/SearchResultsList.tsx +48 -0
  167. package/src/scripts/components/search-page/SearchSort.tsx +52 -0
  168. package/src/scripts/components/search-page/SearchSortContainerExample.tsx +9 -0
  169. package/src/scripts/components/search-page/TermListItem.tsx +41 -0
  170. package/src/scripts/components/search-page/__tests__/NuerobagelSearch.spec.tsx +17 -0
  171. package/src/scripts/components/search-page/filters-block.scss +99 -0
  172. package/src/scripts/components/search-page/neurobagel_logo.svg +75 -0
  173. package/src/scripts/components/search-page/search-page.scss +505 -0
  174. package/src/scripts/components/search-page/search-result.scss +117 -0
  175. package/src/scripts/components/search-page/search-sort.scss +56 -0
  176. package/src/scripts/components/select/SelectGroup.tsx +41 -0
  177. package/src/scripts/components/select/__tests__/SelectGroup.spec.tsx +43 -0
  178. package/src/scripts/components/select/select.scss +40 -0
  179. package/src/scripts/components/textarea/Textarea.tsx +68 -0
  180. package/src/scripts/components/textarea/__tests__/Textarea.spec.tsx +53 -0
  181. package/src/scripts/components/tooltip/Tooltip.tsx +30 -0
  182. package/src/scripts/components/tooltip/__tests__/Tooltip.spec.tsx +14 -0
  183. package/src/scripts/components/tooltip/tooltip.scss +159 -0
  184. package/src/scripts/components/user/UserMenu.tsx +72 -0
  185. package/src/scripts/components/user/user-menu.scss +88 -0
  186. package/src/scripts/components/warn-button/WarnButton.tsx +97 -0
  187. package/src/scripts/components/warn-button/warn-button.scss +39 -0
  188. package/src/scripts/datalad/dataset/dataset-query-context.js +2 -0
  189. package/src/scripts/dataset/comments/comment.jsx +1 -1
  190. package/src/scripts/dataset/components/AnalyzeDropdown.tsx +2 -2
  191. package/src/scripts/dataset/components/CloneDropdown.tsx +2 -2
  192. package/src/scripts/dataset/components/DatasetEventItem.tsx +105 -0
  193. package/src/scripts/dataset/components/DatasetGitAccess.tsx +2 -2
  194. package/src/scripts/dataset/components/DatasetToolButton.tsx +2 -2
  195. package/src/scripts/dataset/components/ModalitiesMetaDataBlock.tsx +2 -10
  196. package/src/scripts/dataset/components/ValidationBlock.tsx +37 -2
  197. package/src/scripts/dataset/components/VersionList.tsx +1 -1
  198. package/src/scripts/dataset/components/scss/dataset-events.module.scss +41 -0
  199. package/src/scripts/dataset/dataset-query.jsx +12 -11
  200. package/src/scripts/dataset/download/__tests__/__snapshots__/download-command-line.spec.jsx.snap +7 -1
  201. package/src/scripts/dataset/download/__tests__/download-command-line.spec.jsx +2 -2
  202. package/src/scripts/dataset/download/download-command-line.jsx +17 -13
  203. package/src/scripts/dataset/download/download-datalad.jsx +6 -3
  204. package/src/scripts/dataset/download/download-link.jsx +1 -1
  205. package/src/scripts/dataset/download/download-s3.jsx +0 -4
  206. package/src/scripts/dataset/files/file-display.jsx +1 -1
  207. package/src/scripts/dataset/files/file-tree-unloaded-directory.jsx +1 -1
  208. package/src/scripts/dataset/files/file-tree.tsx +1 -1
  209. package/src/scripts/dataset/files/file-view.jsx +1 -1
  210. package/src/scripts/dataset/files/file-viewer-type.jsx +5 -1
  211. package/src/scripts/dataset/files/file.tsx +2 -2
  212. package/src/scripts/dataset/files/files.tsx +3 -3
  213. package/src/scripts/dataset/files/viewers/file-viewer-json.jsx +1 -1
  214. package/src/scripts/dataset/files/viewers/file-viewer-markdown.tsx +13 -0
  215. package/src/scripts/dataset/fragments/cancel-button.tsx +1 -1
  216. package/src/scripts/dataset/fragments/dataset-citation.jsx +2 -2
  217. package/src/scripts/dataset/fragments/edit-button.tsx +1 -1
  218. package/src/scripts/dataset/fragments/edit-list.jsx +1 -1
  219. package/src/scripts/dataset/fragments/save-button.tsx +1 -1
  220. package/src/scripts/dataset/mutations/admin-exports.jsx +1 -1
  221. package/src/scripts/dataset/mutations/cache-clear.jsx +1 -1
  222. package/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx +2 -2
  223. package/src/scripts/dataset/mutations/dataset-events.tsx +187 -0
  224. package/src/scripts/dataset/mutations/dataset-relations.tsx +1 -1
  225. package/src/scripts/dataset/mutations/delete-anonymous-reviewer.tsx +1 -1
  226. package/src/scripts/dataset/mutations/delete-comment.jsx +1 -1
  227. package/src/scripts/dataset/mutations/delete-file.jsx +1 -1
  228. package/src/scripts/dataset/mutations/deprecate-version.tsx +1 -1
  229. package/src/scripts/dataset/mutations/flag-annex-object.jsx +2 -2
  230. package/src/scripts/dataset/mutations/follow.tsx +1 -1
  231. package/src/scripts/dataset/mutations/import-dataset.tsx +1 -1
  232. package/src/scripts/dataset/mutations/publish.jsx +1 -1
  233. package/src/scripts/dataset/mutations/remove-annex-object.jsx +2 -2
  234. package/src/scripts/dataset/mutations/remove-permissions.tsx +1 -1
  235. package/src/scripts/dataset/mutations/revalidate.jsx +2 -2
  236. package/src/scripts/dataset/mutations/snapshot.tsx +1 -1
  237. package/src/scripts/dataset/mutations/star.tsx +1 -1
  238. package/src/scripts/dataset/mutations/submit-metadata.jsx +1 -1
  239. package/src/scripts/dataset/mutations/undo-deprecate-version.tsx +2 -2
  240. package/src/scripts/dataset/mutations/update-permissions.tsx +1 -1
  241. package/src/scripts/dataset/routes/admin-datalad.jsx +4 -0
  242. package/src/scripts/dataset/routes/dataset-default.tsx +1 -1
  243. package/src/scripts/dataset/routes/delete-page.tsx +7 -3
  244. package/src/scripts/dataset/routes/deprecate-snapshot-page.tsx +1 -1
  245. package/src/scripts/dataset/routes/manage-permissions.jsx +1 -1
  246. package/src/scripts/dataset/routes/snapshot-default.tsx +1 -1
  247. package/src/scripts/dataset/routes/snapshot.tsx +1 -1
  248. package/src/scripts/dataset/snapshot-container.tsx +14 -8
  249. package/src/scripts/pages/admin/flagged-files.jsx +1 -1
  250. package/src/scripts/pages/admin/user-tools.tsx +1 -1
  251. package/src/scripts/pages/admin/users.tsx +2 -2
  252. package/src/scripts/pages/api.jsx +2 -2
  253. package/src/scripts/pages/front-page/aggregate-queries/aggregate-counts-container.tsx +6 -7
  254. package/src/scripts/pages/front-page/front-page.tsx +7 -9
  255. package/src/scripts/pages/metadata/dataset-metadata.tsx +1 -1
  256. package/src/scripts/search/__tests__/search-container.spec.tsx +7 -7
  257. package/src/scripts/search/filters-block-container.tsx +66 -9
  258. package/src/scripts/search/initial-search-params.tsx +7 -7
  259. package/src/scripts/search/inputs/__tests__/sort-by-select.spec.tsx +1 -1
  260. package/src/scripts/search/inputs/admin-allDatasets-toggle.tsx +1 -1
  261. package/src/scripts/search/inputs/age-range-input.tsx +3 -2
  262. package/src/scripts/search/inputs/author-input.tsx +3 -2
  263. package/src/scripts/search/inputs/dataset-type-select.tsx +3 -2
  264. package/src/scripts/search/inputs/date-radios.tsx +3 -2
  265. package/src/scripts/search/inputs/diagnosis-select.tsx +3 -2
  266. package/src/scripts/search/inputs/initiative-select.tsx +12 -6
  267. package/src/scripts/search/inputs/keyword-input.tsx +2 -2
  268. package/src/scripts/search/inputs/modality-select.tsx +28 -26
  269. package/src/scripts/search/inputs/pet/bodyParts_input.tsx +4 -3
  270. package/src/scripts/search/inputs/pet/scannerManufacturersModelNames_input.tsx +4 -3
  271. package/src/scripts/search/inputs/pet/scannerManufacturers_input.tsx +4 -3
  272. package/src/scripts/search/inputs/pet/tracerNames_input.tsx +4 -3
  273. package/src/scripts/search/inputs/pet/tracerRadionuclides_input.tsx +4 -3
  274. package/src/scripts/search/inputs/section-select.tsx +3 -2
  275. package/src/scripts/search/inputs/sex-radios.tsx +3 -2
  276. package/src/scripts/search/inputs/show-datasets-radios.tsx +4 -3
  277. package/src/scripts/search/inputs/sort-by-select.tsx +1 -1
  278. package/src/scripts/search/inputs/species-select.tsx +3 -2
  279. package/src/scripts/search/inputs/study-domain-input.tsx +4 -3
  280. package/src/scripts/search/inputs/subject-count-range-input.tsx +3 -2
  281. package/src/scripts/search/inputs/task-input.tsx +4 -3
  282. package/src/scripts/search/search-container.tsx +14 -17
  283. package/src/scripts/search/search-params-ctx.tsx +28 -5
  284. package/src/scripts/search/search-routes.tsx +2 -4
  285. package/src/scripts/search/use-search-results.tsx +14 -13
  286. package/src/scripts/uploader/upload-issues.tsx +1 -1
  287. package/src/scripts/uploader/upload-progress.jsx +1 -1
  288. package/src/scripts/uploader/uploader-modal.jsx +1 -1
  289. package/src/scripts/users/components/close-button.tsx +1 -1
  290. package/src/scripts/users/components/edit-button.tsx +1 -1
  291. package/src/scripts/users/components/edit-list.tsx +1 -1
  292. package/src/scripts/users/components/edit-string.tsx +1 -1
  293. package/src/scripts/users/dataset-card.tsx +2 -2
  294. package/src/scripts/users/user-notification-accordion.tsx +1 -1
  295. package/src/scripts/utils/user-login-modal-ctx.tsx +1 -1
  296. package/src/scripts/validation/validation-issues.tsx +2 -1
  297. package/src/scripts/validation/validation-panel.tsx +2 -1
  298. package/src/scripts/validation/validation-results.tsx +4 -3
  299. package/src/scripts/validation-legacy/validation-panel.jsx +2 -1
  300. package/src/scripts/validation-legacy/validation-results.issues.jsx +2 -3
  301. package/src/scripts/validation-legacy/validation-results.tsx +3 -4
  302. package/tsconfig.json +1 -4
@@ -0,0 +1,130 @@
1
+ @import '../scss/variables';
2
+
3
+ .activity-slider {
4
+ h3 {
5
+ text-align: center;
6
+ color: #9f2995;
7
+ text-transform: uppercase;
8
+ font-weight: 700;
9
+ font-size: 22px;
10
+ letter-spacing: 1px;
11
+ }
12
+
13
+ .activity-slider-node {
14
+ padding: 20px 30px;
15
+ display: flex;
16
+ flex-direction: column;
17
+ align-self: center;
18
+ text-align: center;
19
+ .ds-name h4 {
20
+ font-size: 18px;
21
+ font-weight: 600;
22
+ margin-bottom: 0;
23
+ text-decoration: underline;
24
+ a {
25
+ word-break: break-word;
26
+ }
27
+ }
28
+ .ds-pub-views,
29
+ .ds-pub-date {
30
+ font-weight: 600;
31
+ font-size: 14px;
32
+ margin: 10px 0 0;
33
+ }
34
+ }
35
+ .activity-slider-node {
36
+ .hexagon-wrapper {
37
+ text-align: center;
38
+ margin: 20px auto 0;
39
+ position: relative;
40
+ display: inline-block;
41
+ width: 45px;
42
+ height: 45px;
43
+ div.label {
44
+ position: absolute;
45
+ top: 0;
46
+ text-align: center;
47
+ width: 100%;
48
+ left: 0;
49
+ right: 0;
50
+ bottom: 0;
51
+ display: flex;
52
+ justify-content: center;
53
+ align-items: center;
54
+ color: #fff;
55
+ font-weight: 600;
56
+ font-size: 13px;
57
+ }
58
+ }
59
+
60
+ .hexagon {
61
+ height: 100%;
62
+ width: calc(100% * 0.57735);
63
+ display: inline-block;
64
+ }
65
+
66
+ .hexagon:before {
67
+ position: absolute;
68
+ top: 0;
69
+ right: calc((100% / 2) - ((100% * 0.57735) / 2));
70
+ background-color: inherit;
71
+ height: inherit;
72
+ width: inherit;
73
+ content: '';
74
+ transform: rotateZ(60deg);
75
+ }
76
+
77
+ .hexagon:after {
78
+ position: absolute;
79
+ top: 0;
80
+ right: calc((100% / 2) - ((100% * 0.57735) / 2));
81
+ background-color: inherit;
82
+ height: inherit;
83
+ width: inherit;
84
+ content: '';
85
+ transform: rotateZ(-60deg);
86
+ }
87
+ .hexagon {
88
+ transition: background-color 0.3s;
89
+ background-color: $on-dark-aqua;
90
+
91
+ &.mri {
92
+ background-color: $mri-theme;
93
+ }
94
+ &.eeg {
95
+ background-color: $eeg-theme;
96
+ }
97
+
98
+ &.pet {
99
+ background-color: $pet-theme;
100
+ }
101
+ &.ieeg {
102
+ background-color: $ieeg-theme;
103
+ }
104
+
105
+ &.meg {
106
+ background-color: $meg-theme;
107
+ }
108
+ &.eeg {
109
+ background-color: $on-light-green;
110
+ }
111
+ &.nirs{
112
+ background-color: $nirs-theme;
113
+ }
114
+ }
115
+ }
116
+ }
117
+ .react-multi-carousel-dot--active button {
118
+ background-color: var(--current-theme-primary);
119
+ }
120
+ .react-multi-carousel-dot button {
121
+ border-color: var(--current-theme-primary);
122
+ }
123
+
124
+ .react-multi-carousel-list.activity-slider i.fas {
125
+ position: absolute;
126
+ color: var(--current-theme-primary);
127
+ &.fa-chevron-right {
128
+ right: 0;
129
+ }
130
+ }
@@ -0,0 +1,26 @@
1
+ import React from "react"
2
+ import "./affiliate.scss"
3
+
4
+ export interface AffiliateArticleProps {
5
+ logo?: string
6
+ header?: string
7
+ contentOne?: React.ReactNode
8
+ contentTwo?: React.ReactNode
9
+ }
10
+
11
+ export const AffiliateArticle: React.FC<AffiliateArticleProps> = ({
12
+ logo,
13
+ header,
14
+ contentOne,
15
+ contentTwo,
16
+ ...props
17
+ }) => {
18
+ return (
19
+ <div className="affiliate-card" {...props}>
20
+ {logo ? <img src={logo} alt="" loading="lazy" /> : null}
21
+ {header ? <h2>{header}</h2> : null}
22
+ {contentOne ? <div>{contentOne}</div> : null}
23
+ {contentTwo ? <span>{contentTwo}</span> : null}
24
+ </div>
25
+ )
26
+ }
@@ -0,0 +1,32 @@
1
+ .affiliate-card {
2
+ padding: 0 30px;
3
+ flex: 1 1 200px;
4
+ img {
5
+ width: 300px;
6
+ max-width: 100%;
7
+ height: auto;
8
+ }
9
+ h2 {
10
+ font-size: 18px;
11
+ }
12
+ > div {
13
+ margin: 0 0 20px;
14
+ font-size: 18px;
15
+ }
16
+ > span {
17
+ font-size: 15px;
18
+ }
19
+ }
20
+
21
+ .affiliate-wrap {
22
+ display: flex;
23
+ max-width: 980px;
24
+ margin: 0 auto;
25
+
26
+ @media (max-width: 980px) {
27
+ display: block;
28
+ .affiliate-card {
29
+ margin-bottom: 50px;
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,20 @@
1
+ import React from "react"
2
+
3
+ export interface AggregateCountProps {
4
+ count?: number
5
+ type: "publicDataset" | "participants"
6
+ }
7
+
8
+ export const AggregateCount = ({ count, type }: AggregateCountProps) => {
9
+ const textContent: string = {
10
+ publicDataset: "Public Dataset",
11
+ participants: "Participant",
12
+ }[type]
13
+
14
+ return (
15
+ <div className="aggregate-count">
16
+ <span>{count.toLocaleString()}</span> {textContent}
17
+ {count !== 1 && "s"}
18
+ </div>
19
+ )
20
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 875.04 218.02"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Layer_2-2" data-name="Layer 2"><g id="Layer_1-2-2" data-name="Layer 1-2"><polygon points="187.18 164.44 97.18 217.13 97.18 112.95 187.18 60.26 187.18 164.44" style="fill:#ebebeb"/><polygon points="187.11 60.51 96.29 113.53 3.67 61.7 94.49 8.68 187.11 60.51" style="fill:#fff"/><polygon points="97.58 113.44 97.98 216.89 4.97 164.82 4.56 61.37 97.58 113.44" style="fill:#fafafa"/></g><g id="Layer_5" data-name="Layer 5"><line x1="7.06" y1="168.77" x2="9.95" y2="163.51" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="12.31" y1="159.21" x2="91.54" y2="15.11" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.780815124511719,4.90867280960083"/><line x1="92.72" y1="12.96" x2="95.61" y2="7.7" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="128.34" y1="199.57" x2="127.36" y2="193.65" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="126.57" y1="188.93" x2="97.63" y2="14.7" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.487283706665039,4.786368370056152"/><line x1="97.24" y1="12.34" x2="96.25" y2="6.42" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="59.68" y1="197" x2="62.39" y2="191.65" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="64.6" y1="187.28" x2="138.64" y2="40.91" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.751670837402344,4.896529674530029"/><line x1="139.75" y1="38.72" x2="142.46" y2="33.37" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="39.79" y1="37.86" x2="45.21" y2="40.42" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="49.56" y1="42.47" x2="180.42" y2="104.22" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.537068367004395,4.807111740112305"/><line x1="182.59" y1="105.24" x2="188.02" y2="107.8" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="166.84" y1="72.51" x2="168.14" y2="78.37" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="169.15" y1="82.94" x2="185.89" y2="158.38" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.239151000976562,4.682979583740234"/><line x1="186.4" y1="160.66" x2="187.7" y2="166.52" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="3.85" y1="104.6" x2="9.56" y2="106.45" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="14.53" y1="108.07" x2="181.11" y2="162.25" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.5494384765625,5.2289323806762695"/><line x1="183.59" y1="163.06" x2="189.3" y2="164.92" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="188.02" y1="107.8" x2="183.09" y2="111.23" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="178.89" y1="114.15" x2="66.71" y2="192.12" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.280027389526367,5.116678237915039"/><line x1="64.6" y1="193.58" x2="59.68" y2="197" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="4.49" y1="168.77" x2="9.67" y2="165.73" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="13.75" y1="163.34" x2="108.93" y2="107.54" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.363714218139648,4.7348809242248535"/><line x1="110.97" y1="106.35" x2="116.15" y2="103.31" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="39.79" y1="39.79" x2="40.55" y2="45.74" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="41.22" y1="50.98" x2="59.22" y2="190.99" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.689005851745605,5.287086009979248"/><line x1="59.55" y1="193.62" x2="60.32" y2="199.57" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="4.49" y1="60.32" x2="97.86" y2="113.9" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="97.22" y1="215.93" x2="98.18" y2="112.94" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="187.34" y1="60.27" x2="141.82" y2="33.99" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="186.73" y1="108.45" x2="186.73" y2="59.68" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="128.98" y1="198.93" x2="96.67" y2="216.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="59.68" y1="197" x2="97.58" y2="216.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="165.88" y1="72.83" x2="187.05" y2="60" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="4.17" y1="104.92" x2="4.56" y2="59.72" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="40.99" y1="39.23" x2="4.26" y2="60.44" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="98.04" y1="113.56" x2="108.77" y2="107.48" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/></g><g id="Layer_4" data-name="Layer 4"><circle cx="7.38" cy="168.44" r="7.38" style="fill:#00505c"/><circle cx="95.93" cy="7.38" r="7.38" style="fill:#00505c"/><circle cx="112.62" cy="104.92" r="7.38" style="fill:#00505c"/><circle cx="4.17" cy="104.28" r="4.17" style="fill:#00505c"/><circle cx="40.11" cy="38.82" r="4.81" style="fill:#00505c"/><circle cx="189.3" cy="164.92" r="7.7" style="fill:#00505c"/><circle cx="187.37" cy="107.8" r="4.49" style="fill:#00505c"/><circle cx="166.84" cy="72.51" r="4.49" style="fill:#00505c"/><circle cx="129.3" cy="199.25" r="5.45" style="fill:#00505c"/><circle cx="59.68" cy="197" r="5.78" style="fill:#00505c"/><circle cx="142.46" cy="33.37" r="6.42" style="fill:#00505c"/></g><g id="Layer_3" data-name="Layer 3"><g style="isolation:isolate"><g style="isolation:isolate"><path d="M266.35,151.75A42.65,42.65,0,0,1,250,134.69q-5.94-11-5.93-25.4T250,83.9a42.67,42.67,0,0,1,16.4-17.07,49.22,49.22,0,0,1,47.32,0,42.74,42.74,0,0,1,16.4,17.07q5.93,11,5.93,25.39t-5.93,25.4a42.71,42.71,0,0,1-16.4,17.06,49.15,49.15,0,0,1-47.32,0Zm44.52-19.26q7.26-8.81,7.27-23.2T310.87,86.1q-7.26-8.8-20.86-8.8t-20.86,8.8q-7.27,8.79-7.27,23.19t7.27,23.2q7.26,8.79,20.86,8.8T310.87,132.49Z" style="fill:#4d4d4d"/></g><g style="isolation:isolate"><path d="M396.12,92.89a29.1,29.1,0,0,1,10.26,12.54,45,45,0,0,1,0,34.66,29.08,29.08,0,0,1-10.26,12.53,28,28,0,0,1-16.26,4.66,35.86,35.86,0,0,1-10.2-1.26,27.14,27.14,0,0,1-8.07-4.07v36.26H345.06V89.29h13.33l1.74,6.14a31.31,31.31,0,0,1,8.93-5.4,29.89,29.89,0,0,1,10.8-1.8A28,28,0,0,1,396.12,92.89ZM388.79,138q4.13-5.73,4.13-15.19t-4.13-15.2a13.36,13.36,0,0,0-11.47-5.73q-8.26,0-12.39,5.59t-4.14,15.34q0,9.72,4.14,15.33t12.39,5.6A13.34,13.34,0,0,0,388.79,138Z" style="fill:#4d4d4d"/><path d="M431.38,152.55a30.52,30.52,0,0,1-12.26-12.66,38.06,38.06,0,0,1-4.07-17.67,37.56,37.56,0,0,1,3.87-17.06,30.18,30.18,0,0,1,11.19-12.33,32.17,32.17,0,0,1,17.47-4.6q9.33,0,15.79,3.86a25,25,0,0,1,9.74,10.4,32.47,32.47,0,0,1,3.26,14.67,44.47,44.47,0,0,1-1.06,9.06H432.25q1.32,8.81,6.93,13.13a21.33,21.33,0,0,0,13.46,4.34,38.4,38.4,0,0,0,20-5.47l.8,14a43.36,43.36,0,0,1-9.93,3.66,51,51,0,0,1-12.33,1.4Q439.57,157.28,431.38,152.55ZM459.57,115a15.09,15.09,0,0,0-2.93-9.19c-1.95-2.67-5-4-9.06-4a13.62,13.62,0,0,0-9.87,3.6,18.43,18.43,0,0,0-5.06,9.59Z" style="fill:#4d4d4d"/><path d="M537.83,96.49q6.39,8.27,6.4,22.27V156H527.7V120.09q0-9.33-3.14-13.8t-10.06-4.46A15.79,15.79,0,0,0,502,107.56V156H485.44V89.29H500.9l.27,4.67A31.14,31.14,0,0,1,519,88.23Q531.43,88.23,537.83,96.49Z" style="fill:#4d4d4d"/></g></g><g style="isolation:isolate"><path d="M557.66,87.76h10.1l33.85,51.41V87.76H611v68.68h-7.95L567,102.19v54.25h-9.32Z" style="fill:#00505c"/><path d="M626.73,87.76h41.89V96.2H636.05v20.11H662v8.44h-25.9V148H669.5v8.44H626.73Z" style="fill:#00505c"/><path d="M687.41,149.82q-7.12-8-7.12-22.52V87.76h9.32v37q0,11.28,4,18t15.1,6.67q11.09,0,15.11-6.72t4-17.91v-37h9.32V127.3q0,14.52-7.12,22.52t-21.34,8Q694.52,157.81,687.41,149.82Z" style="fill:#00505c"/><path d="M752.11,87.76h22.27q11.18,0,17.46,5.15t6.28,15.75q0,13.74-12,19.33l15.4,28.45H790.17l-13.93-26.78H761.92v26.78h-9.81Zm22.17,33.56q6.87,0,10.5-3.34t3.63-9.32q0-6-3.58-9.27T774.28,96.1H761.92v25.22Z" style="fill:#00505c"/><path d="M823.68,153.4a30.71,30.71,0,0,1-12-12.51,39.33,39.33,0,0,1-4.32-18.79,39.33,39.33,0,0,1,4.32-18.79,30.75,30.75,0,0,1,12-12.5,36.89,36.89,0,0,1,35,0,30.75,30.75,0,0,1,12,12.5A39.33,39.33,0,0,1,875,122.1a39.33,39.33,0,0,1-4.32,18.79,30.71,30.71,0,0,1-12,12.51,37,37,0,0,1-35,0Zm30.56-8.1a21.54,21.54,0,0,0,8.09-9.51,36,36,0,0,0,0-27.37,21.51,21.51,0,0,0-8.09-9.52,26.21,26.21,0,0,0-26.1,0,21.45,21.45,0,0,0-8.09,9.52,36,36,0,0,0,0,27.37,21.48,21.48,0,0,0,8.09,9.51,26.14,26.14,0,0,0,26.1,0Z" style="fill:#00505c"/></g></g></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 631.02 521.1"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Layer_2-2" data-name="Layer 2"><g id="Layer_1-2-2" data-name="Layer 1-2"><polygon points="456.22 256.25 315.95 338.36 315.95 176.01 456.22 93.9 456.22 256.25" style="fill:#ebebeb"/><polygon points="456.1 94.3 314.57 176.92 170.24 96.15 311.77 13.53 456.1 94.3" style="fill:#fff"/><polygon points="316.57 176.78 317.21 337.99 172.26 256.85 171.63 95.64 316.57 176.78" style="fill:#fafafa"/></g><g id="Layer_5" data-name="Layer 5"><line x1="175.52" y1="263" x2="178.41" y2="257.74" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="180.79" y1="253.4" x2="309.43" y2="19.43" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.888879776000977,4.953700065612793"/><line x1="310.62" y1="17.26" x2="313.52" y2="12" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="364.52" y1="311" x2="363.53" y2="305.08" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="362.72" y1="300.16" x2="315.91" y2="18.38" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.96426773071289,4.985111713409424"/><line x1="315.5" y1="15.92" x2="314.52" y2="10" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="257.52" y1="307" x2="260.22" y2="301.65" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="262.45" y1="297.24" x2="382.69" y2="59.56" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.860186576843262,4.941744327545166"/><line x1="383.81" y1="57.35" x2="386.52" y2="52" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="226.52" y1="59" x2="231.94" y2="61.56" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="236.47" y1="63.7" x2="449.82" y2="164.37" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.020994186401367,5.008747577667236"/><line x1="452.09" y1="165.44" x2="457.52" y2="168" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="424.52" y1="113" x2="425.81" y2="118.86" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="426.88" y1="123.64" x2="455.19" y2="251.25" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.74992847442627,4.895803451538086"/><line x1="455.72" y1="253.64" x2="457.02" y2="259.5" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="170.52" y1="163" x2="176.22" y2="164.86" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="180.94" y1="166.39" x2="451.45" y2="254.38" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.914405822753906,4.964335918426514"/><line x1="453.81" y1="255.14" x2="459.52" y2="257" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="457.52" y1="168" x2="452.59" y2="171.42" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="448.38" y1="174.35" x2="264.55" y2="302.11" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.295169830322266,5.122987270355225"/><line x1="262.44" y1="303.58" x2="257.52" y2="307" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="171.52" y1="263" x2="176.69" y2="259.97" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="180.95" y1="257.47" x2="338.21" y2="165.28" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.855802536010742,4.93991756439209"/><line x1="340.34" y1="164.03" x2="345.52" y2="161" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="226.52" y1="62" x2="227.28" y2="67.95" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="227.91" y1="72.83" x2="257.44" y2="302.61" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.804829597473145,4.918679237365723"/><line x1="257.75" y1="305.05" x2="258.52" y2="311" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="171.52" y1="94" x2="317.02" y2="177.5" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="316.02" y1="336.5" x2="317.51" y2="176" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="456.46" y1="93.92" x2="385.53" y2="52.97" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="455.52" y1="169" x2="455.52" y2="93" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="365.52" y1="310" x2="315.16" y2="337.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="257.52" y1="307" x2="316.58" y2="337.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="423.02" y1="113.5" x2="456.02" y2="93.5" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="171.02" y1="163.5" x2="171.63" y2="93.07" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="228.39" y1="61.13" x2="171.15" y2="94.18" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="317.31" y1="176.97" x2="334.02" y2="167.5" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/></g><g id="Layer_4" data-name="Layer 4"><circle cx="176.02" cy="262.5" r="11.5" style="fill:#00505c"/><circle cx="314.02" cy="11.5" r="11.5" style="fill:#00505c"/><circle cx="340.02" cy="163.5" r="11.5" style="fill:#00505c"/><circle cx="171.02" cy="162.5" r="6.5" style="fill:#00505c"/><circle cx="227.02" cy="60.5" r="7.5" style="fill:#00505c"/><circle cx="459.52" cy="257" r="12" style="fill:#00505c"/><circle cx="456.52" cy="168" r="7" style="fill:#00505c"/><circle cx="424.52" cy="113" r="7" style="fill:#00505c"/><circle cx="366.02" cy="310.5" r="8.5" style="fill:#00505c"/><circle cx="257.52" cy="307" r="9" style="fill:#00505c"/><circle cx="386.52" cy="52" r="10" style="fill:#00505c"/></g><g id="Layer_3" data-name="Layer 3"><g style="isolation:isolate"><g style="isolation:isolate"><path d="M27,484.64a42.65,42.65,0,0,1-16.4-17.06q-5.94-11-5.93-25.4t5.93-25.39A42.67,42.67,0,0,1,27,399.72a46.32,46.32,0,0,1,23.66-6.06,46.35,46.35,0,0,1,23.66,6.06,42.74,42.74,0,0,1,16.4,17.07q5.93,11,5.93,25.39t-5.93,25.4a42.71,42.71,0,0,1-16.4,17.06,46.25,46.25,0,0,1-23.66,6.07A46.23,46.23,0,0,1,27,484.64Zm44.52-19.26q7.26-8.81,7.27-23.2T71.52,419q-7.26-8.81-20.86-8.8T29.79,419q-7.26,8.79-7.26,23.19t7.26,23.2q7.27,8.79,20.87,8.8T71.52,465.38Z" transform="translate(-4.67)" style="fill:#4d4d4d"/></g><g style="isolation:isolate"><path d="M156.77,425.78A29.1,29.1,0,0,1,167,438.32,45,45,0,0,1,167,473a29.08,29.08,0,0,1-10.26,12.53,28,28,0,0,1-16.26,4.66,35.86,35.86,0,0,1-10.2-1.26,27.14,27.14,0,0,1-8.07-4.07V521.1H105.71V422.18H119l1.74,6.14a31.31,31.31,0,0,1,8.93-5.4,29.89,29.89,0,0,1,10.8-1.8A28,28,0,0,1,156.77,425.78Zm-7.33,45.06q4.13-5.73,4.13-15.19t-4.13-15.2A13.36,13.36,0,0,0,138,434.72q-8.26,0-12.39,5.59t-4.14,15.34q0,9.72,4.14,15.33t12.39,5.6A13.34,13.34,0,0,0,149.44,470.84Z" transform="translate(-4.67)" style="fill:#4d4d4d"/><path d="M192,485.44a30.52,30.52,0,0,1-12.26-12.66,38.06,38.06,0,0,1-4.07-17.67,37.68,37.68,0,0,1,3.86-17.06,30.27,30.27,0,0,1,11.2-12.33,32.17,32.17,0,0,1,17.47-4.6q9.33,0,15.79,3.86a25,25,0,0,1,9.74,10.4A32.47,32.47,0,0,1,237,450.05a44.47,44.47,0,0,1-1.06,9.06H192.9q1.32,8.81,6.93,13.13a21.33,21.33,0,0,0,13.46,4.34,38.49,38.49,0,0,0,20-5.47l.8,14a43.36,43.36,0,0,1-9.93,3.66,51,51,0,0,1-12.33,1.4Q200.22,490.17,192,485.44Zm28.19-37.53a15.14,15.14,0,0,0-2.93-9.2c-1.95-2.66-5-4-9.06-4a13.62,13.62,0,0,0-9.87,3.6,18.39,18.39,0,0,0-5.06,9.59Z" transform="translate(-4.67)" style="fill:#4d4d4d"/><path d="M298.48,429.38q6.39,8.26,6.4,22.27v37.19H288.35V453q0-9.33-3.14-13.8t-10.06-4.46a15.79,15.79,0,0,0-12.53,5.73v48.39H246.09V422.18h15.46l.27,4.67a31.14,31.14,0,0,1,17.86-5.73Q292.08,421.12,298.48,429.38Z" transform="translate(-4.67)" style="fill:#4d4d4d"/></g></g><g style="isolation:isolate"><path d="M318.31,420.65h10.1l33.85,51.41V420.65h9.42v68.68h-7.95l-36.1-54.25v54.25h-9.32Z" transform="translate(-4.67)" style="fill:#00505c"/><path d="M387.38,420.65h41.89v8.44H396.7V449.2h25.9v8.44H396.7v23.25h33.45v8.44H387.38Z" transform="translate(-4.67)" style="fill:#00505c"/><path d="M448.06,482.71q-7.12-8-7.12-22.52V420.65h9.32v37q0,11.28,4,17.95t15.1,6.68q11.1,0,15.11-6.72t4-17.91v-37h9.32v39.54q0,14.52-7.12,22.52t-21.34,8Q455.17,490.7,448.06,482.71Z" transform="translate(-4.67)" style="fill:#00505c"/><path d="M512.76,420.65H535q11.19,0,17.46,5.15t6.28,15.75q0,13.74-12,19.33l15.41,28.45H550.82l-13.93-26.78H522.57v26.78h-9.81Zm22.17,33.56q6.87,0,10.5-3.34t3.63-9.32q0-6-3.58-9.27T534.93,429H522.57v25.22Z" transform="translate(-4.67)" style="fill:#00505c"/><path d="M584.33,486.29a30.71,30.71,0,0,1-12-12.51,43,43,0,0,1,0-37.58,30.75,30.75,0,0,1,12-12.5,36.89,36.89,0,0,1,35,0,30.75,30.75,0,0,1,12,12.5,43,43,0,0,1,0,37.58,30.71,30.71,0,0,1-12,12.51,37,37,0,0,1-35,0Zm30.56-8.1a21.48,21.48,0,0,0,8.09-9.51,36,36,0,0,0,0-27.37,21.45,21.45,0,0,0-8.09-9.52,26.21,26.21,0,0,0-26.1,0,21.45,21.45,0,0,0-8.09,9.52,36,36,0,0,0,0,27.37,21.48,21.48,0,0,0,8.09,9.51,26.14,26.14,0,0,0,26.1,0Z" transform="translate(-4.67)" style="fill:#00505c"/></g></g></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 875.04 218.02"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Layer_2-2" data-name="Layer 2"><g id="Layer_1-2-2" data-name="Layer 1-2"><polygon points="187.18 164.44 97.18 217.13 97.18 112.95 187.18 60.26 187.18 164.44" style="fill:#ebebeb"/><polygon points="187.11 60.51 96.29 113.53 3.67 61.7 94.49 8.68 187.11 60.51" style="fill:#fff"/><polygon points="97.58 113.44 97.98 216.89 4.97 164.82 4.56 61.37 97.58 113.44" style="fill:#fafafa"/></g><g id="Layer_5" data-name="Layer 5"><line x1="7.06" y1="168.77" x2="9.95" y2="163.51" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="12.31" y1="159.21" x2="91.54" y2="15.11" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.780815124511719,4.90867280960083"/><line x1="92.72" y1="12.96" x2="95.61" y2="7.7" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="128.34" y1="199.57" x2="127.36" y2="193.65" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="126.57" y1="188.93" x2="97.63" y2="14.7" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.487283706665039,4.786368370056152"/><line x1="97.24" y1="12.34" x2="96.25" y2="6.42" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="59.68" y1="197" x2="62.39" y2="191.65" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="64.6" y1="187.28" x2="138.64" y2="40.91" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.751670837402344,4.896529674530029"/><line x1="139.75" y1="38.72" x2="142.46" y2="33.37" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="39.79" y1="37.86" x2="45.21" y2="40.42" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="49.56" y1="42.47" x2="180.42" y2="104.22" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.537068367004395,4.807111740112305"/><line x1="182.59" y1="105.24" x2="188.02" y2="107.8" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="166.84" y1="72.51" x2="168.14" y2="78.37" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="169.15" y1="82.94" x2="185.89" y2="158.38" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.239151000976562,4.682979583740234"/><line x1="186.4" y1="160.66" x2="187.7" y2="166.52" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="3.85" y1="104.6" x2="9.56" y2="106.45" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="14.53" y1="108.07" x2="181.11" y2="162.25" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.5494384765625,5.2289323806762695"/><line x1="183.59" y1="163.06" x2="189.3" y2="164.92" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="188.02" y1="107.8" x2="183.09" y2="111.23" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="178.89" y1="114.15" x2="66.71" y2="192.12" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.280027389526367,5.116678237915039"/><line x1="64.6" y1="193.58" x2="59.68" y2="197" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="4.49" y1="168.77" x2="9.67" y2="165.73" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="13.75" y1="163.34" x2="108.93" y2="107.54" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.363714218139648,4.7348809242248535"/><line x1="110.97" y1="106.35" x2="116.15" y2="103.31" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="39.79" y1="39.79" x2="40.55" y2="45.74" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="41.22" y1="50.98" x2="59.22" y2="190.99" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.689005851745605,5.287086009979248"/><line x1="59.55" y1="193.62" x2="60.32" y2="199.57" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="4.49" y1="60.32" x2="97.86" y2="113.9" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="97.22" y1="215.93" x2="98.18" y2="112.94" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="187.34" y1="60.27" x2="141.82" y2="33.99" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="186.73" y1="108.45" x2="186.73" y2="59.68" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="128.98" y1="198.93" x2="96.67" y2="216.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="59.68" y1="197" x2="97.58" y2="216.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="165.88" y1="72.83" x2="187.05" y2="60" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="4.17" y1="104.92" x2="4.56" y2="59.72" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="40.99" y1="39.23" x2="4.26" y2="60.44" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="98.04" y1="113.56" x2="108.77" y2="107.48" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/></g><g id="Layer_4" data-name="Layer 4"><circle cx="7.38" cy="168.44" r="7.38" style="fill:#37bcd2"/><circle cx="95.93" cy="7.38" r="7.38" style="fill:#37bcd2"/><circle cx="112.62" cy="104.92" r="7.38" style="fill:#37bcd2"/><circle cx="4.17" cy="104.28" r="4.17" style="fill:#37bcd2"/><circle cx="40.11" cy="38.82" r="4.81" style="fill:#37bcd2"/><circle cx="189.3" cy="164.92" r="7.7" style="fill:#37bcd2"/><circle cx="187.37" cy="107.8" r="4.49" style="fill:#37bcd2"/><circle cx="166.84" cy="72.51" r="4.49" style="fill:#37bcd2"/><circle cx="129.3" cy="199.25" r="5.45" style="fill:#37bcd2"/><circle cx="59.68" cy="197" r="5.78" style="fill:#37bcd2"/><circle cx="142.46" cy="33.37" r="6.42" style="fill:#37bcd2"/></g><g id="Layer_3" data-name="Layer 3"><g style="isolation:isolate"><g style="isolation:isolate"><path d="M266.35,151.75A42.65,42.65,0,0,1,250,134.69q-5.94-11-5.93-25.4T250,83.9a42.67,42.67,0,0,1,16.4-17.07,49.22,49.22,0,0,1,47.32,0,42.74,42.74,0,0,1,16.4,17.07q5.93,11,5.93,25.39t-5.93,25.4a42.71,42.71,0,0,1-16.4,17.06,49.15,49.15,0,0,1-47.32,0Zm44.52-19.26q7.26-8.81,7.27-23.2T310.87,86.1q-7.26-8.8-20.86-8.8t-20.86,8.8q-7.27,8.79-7.27,23.19t7.27,23.2q7.26,8.79,20.86,8.8T310.87,132.49Z" style="fill:#fff"/></g><g style="isolation:isolate"><path d="M396.12,92.89a29.1,29.1,0,0,1,10.26,12.54,45,45,0,0,1,0,34.66,29.08,29.08,0,0,1-10.26,12.53,28,28,0,0,1-16.26,4.66,35.86,35.86,0,0,1-10.2-1.26,27.14,27.14,0,0,1-8.07-4.07v36.26H345.06V89.29h13.33l1.74,6.14a31.31,31.31,0,0,1,8.93-5.4,29.89,29.89,0,0,1,10.8-1.8A28,28,0,0,1,396.12,92.89ZM388.79,138q4.13-5.73,4.13-15.19t-4.13-15.2a13.36,13.36,0,0,0-11.47-5.73q-8.26,0-12.39,5.59t-4.14,15.34q0,9.72,4.14,15.33t12.39,5.6A13.34,13.34,0,0,0,388.79,138Z" style="fill:#fff"/><path d="M431.38,152.55a30.52,30.52,0,0,1-12.26-12.66,38.06,38.06,0,0,1-4.07-17.67,37.56,37.56,0,0,1,3.87-17.06,30.18,30.18,0,0,1,11.19-12.33,32.17,32.17,0,0,1,17.47-4.6q9.33,0,15.79,3.86a25,25,0,0,1,9.74,10.4,32.47,32.47,0,0,1,3.26,14.67,44.47,44.47,0,0,1-1.06,9.06H432.25q1.32,8.81,6.93,13.13a21.33,21.33,0,0,0,13.46,4.34,38.4,38.4,0,0,0,20-5.47l.8,14a43.36,43.36,0,0,1-9.93,3.66,51,51,0,0,1-12.33,1.4Q439.57,157.28,431.38,152.55ZM459.57,115a15.09,15.09,0,0,0-2.93-9.19c-1.95-2.67-5-4-9.06-4a13.62,13.62,0,0,0-9.87,3.6,18.43,18.43,0,0,0-5.06,9.59Z" style="fill:#fff"/><path d="M537.83,96.49q6.39,8.27,6.4,22.27V156H527.7V120.09q0-9.33-3.14-13.8t-10.06-4.46A15.79,15.79,0,0,0,502,107.56V156H485.44V89.29H500.9l.27,4.67A31.14,31.14,0,0,1,519,88.23Q531.43,88.23,537.83,96.49Z" style="fill:#fff"/></g></g><g style="isolation:isolate"><path d="M557.66,87.76h10.1l33.85,51.41V87.76H611v68.68h-7.95L567,102.19v54.25h-9.32Z" style="fill:#37bcd2"/><path d="M626.73,87.76h41.89V96.2H636.05v20.11H662v8.44h-25.9V148H669.5v8.44H626.73Z" style="fill:#37bcd2"/><path d="M687.41,149.82q-7.12-8-7.12-22.52V87.76h9.32v37q0,11.28,4,18t15.1,6.67q11.09,0,15.11-6.72t4-17.91v-37h9.32V127.3q0,14.52-7.12,22.52t-21.34,8Q694.52,157.81,687.41,149.82Z" style="fill:#37bcd2"/><path d="M752.11,87.76h22.27q11.18,0,17.46,5.15t6.28,15.75q0,13.74-12,19.33l15.4,28.45H790.17l-13.93-26.78H761.92v26.78h-9.81Zm22.17,33.56q6.87,0,10.5-3.34t3.63-9.32q0-6-3.58-9.27T774.28,96.1H761.92v25.22Z" style="fill:#37bcd2"/><path d="M823.68,153.4a30.71,30.71,0,0,1-12-12.51,39.33,39.33,0,0,1-4.32-18.79,39.33,39.33,0,0,1,4.32-18.79,30.75,30.75,0,0,1,12-12.5,36.89,36.89,0,0,1,35,0,30.75,30.75,0,0,1,12,12.5A39.33,39.33,0,0,1,875,122.1a39.33,39.33,0,0,1-4.32,18.79,30.71,30.71,0,0,1-12,12.51,37,37,0,0,1-35,0Zm30.56-8.1a21.54,21.54,0,0,0,8.09-9.51,36,36,0,0,0,0-27.37,21.51,21.51,0,0,0-8.09-9.52,26.21,26.21,0,0,0-26.1,0,21.45,21.45,0,0,0-8.09,9.52,36,36,0,0,0,0,27.37,21.48,21.48,0,0,0,8.09,9.51,26.14,26.14,0,0,0,26.1,0Z" style="fill:#37bcd2"/></g></g></g></g></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 631.02 521.1"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Layer_2-2" data-name="Layer 2"><g id="Layer_1-2-2" data-name="Layer 1-2"><polygon points="456.22 256.25 315.95 338.36 315.95 176.01 456.22 93.9 456.22 256.25" style="fill:#ebebeb"/><polygon points="456.1 94.3 314.57 176.92 170.24 96.15 311.77 13.53 456.1 94.3" style="fill:#fff"/><polygon points="316.57 176.78 317.21 337.99 172.26 256.85 171.63 95.64 316.57 176.78" style="fill:#fafafa"/></g><g id="Layer_5" data-name="Layer 5"><line x1="175.52" y1="263" x2="178.41" y2="257.74" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="180.79" y1="253.4" x2="309.43" y2="19.43" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.888879776000977,4.953700065612793"/><line x1="310.62" y1="17.26" x2="313.52" y2="12" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="364.52" y1="311" x2="363.53" y2="305.08" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="362.72" y1="300.16" x2="315.91" y2="18.38" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.96426773071289,4.985111713409424"/><line x1="315.5" y1="15.92" x2="314.52" y2="10" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="257.52" y1="307" x2="260.22" y2="301.65" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="262.45" y1="297.24" x2="382.69" y2="59.56" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.860186576843262,4.941744327545166"/><line x1="383.81" y1="57.35" x2="386.52" y2="52" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="226.52" y1="59" x2="231.94" y2="61.56" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="236.47" y1="63.7" x2="449.82" y2="164.37" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.020994186401367,5.008747577667236"/><line x1="452.09" y1="165.44" x2="457.52" y2="168" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="424.52" y1="113" x2="425.81" y2="118.86" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="426.88" y1="123.64" x2="455.19" y2="251.25" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.74992847442627,4.895803451538086"/><line x1="455.72" y1="253.64" x2="457.02" y2="259.5" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="170.52" y1="163" x2="176.22" y2="164.86" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="180.94" y1="166.39" x2="451.45" y2="254.38" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.914405822753906,4.964335918426514"/><line x1="453.81" y1="255.14" x2="459.52" y2="257" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="457.52" y1="168" x2="452.59" y2="171.42" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="448.38" y1="174.35" x2="264.55" y2="302.11" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:12.295169830322266,5.122987270355225"/><line x1="262.44" y1="303.58" x2="257.52" y2="307" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="171.52" y1="263" x2="176.69" y2="259.97" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="180.95" y1="257.47" x2="338.21" y2="165.28" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.855802536010742,4.93991756439209"/><line x1="340.34" y1="164.03" x2="345.52" y2="161" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="226.52" y1="62" x2="227.28" y2="67.95" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="227.91" y1="72.83" x2="257.44" y2="302.61" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px;stroke-dasharray:11.804829597473145,4.918679237365723"/><line x1="257.75" y1="305.05" x2="258.52" y2="311" style="fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:3px"/><line x1="171.52" y1="94" x2="317.02" y2="177.5" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="316.02" y1="336.5" x2="317.51" y2="176" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="456.46" y1="93.92" x2="385.53" y2="52.97" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="455.52" y1="169" x2="455.52" y2="93" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="365.52" y1="310" x2="315.16" y2="337.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="257.52" y1="307" x2="316.58" y2="337.69" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="423.02" y1="113.5" x2="456.02" y2="93.5" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="171.02" y1="163.5" x2="171.63" y2="93.07" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="228.39" y1="61.13" x2="171.15" y2="94.18" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/><line x1="317.31" y1="176.97" x2="334.02" y2="167.5" style="fill:none;stroke:#6d6d6d;stroke-miterlimit:10;stroke-width:3px"/></g><g id="Layer_4" data-name="Layer 4"><circle cx="176.02" cy="262.5" r="11.5" style="fill:#37bcd2"/><circle cx="314.02" cy="11.5" r="11.5" style="fill:#37bcd2"/><circle cx="340.02" cy="163.5" r="11.5" style="fill:#37bcd2"/><circle cx="171.02" cy="162.5" r="6.5" style="fill:#37bcd2"/><circle cx="227.02" cy="60.5" r="7.5" style="fill:#37bcd2"/><circle cx="459.52" cy="257" r="12" style="fill:#37bcd2"/><circle cx="456.52" cy="168" r="7" style="fill:#37bcd2"/><circle cx="424.52" cy="113" r="7" style="fill:#37bcd2"/><circle cx="366.02" cy="310.5" r="8.5" style="fill:#37bcd2"/><circle cx="257.52" cy="307" r="9" style="fill:#37bcd2"/><circle cx="386.52" cy="52" r="10" style="fill:#37bcd2"/></g><g id="Layer_3" data-name="Layer 3"><g style="isolation:isolate"><g style="isolation:isolate"><path d="M27,484.64a42.65,42.65,0,0,1-16.4-17.06q-5.94-11-5.93-25.4t5.93-25.39A42.67,42.67,0,0,1,27,399.72a46.32,46.32,0,0,1,23.66-6.06,46.35,46.35,0,0,1,23.66,6.06,42.74,42.74,0,0,1,16.4,17.07q5.93,11,5.93,25.39t-5.93,25.4a42.71,42.71,0,0,1-16.4,17.06,46.25,46.25,0,0,1-23.66,6.07A46.23,46.23,0,0,1,27,484.64Zm44.52-19.26q7.26-8.81,7.27-23.2T71.52,419q-7.26-8.81-20.86-8.8T29.79,419q-7.26,8.79-7.26,23.19t7.26,23.2q7.27,8.79,20.87,8.8T71.52,465.38Z" transform="translate(-4.67)" style="fill:#fff"/></g><g style="isolation:isolate"><path d="M156.77,425.78A29.1,29.1,0,0,1,167,438.32,45,45,0,0,1,167,473a29.08,29.08,0,0,1-10.26,12.53,28,28,0,0,1-16.26,4.66,35.86,35.86,0,0,1-10.2-1.26,27.14,27.14,0,0,1-8.07-4.07V521.1H105.71V422.18H119l1.74,6.14a31.31,31.31,0,0,1,8.93-5.4,29.89,29.89,0,0,1,10.8-1.8A28,28,0,0,1,156.77,425.78Zm-7.33,45.06q4.13-5.73,4.13-15.19t-4.13-15.2A13.36,13.36,0,0,0,138,434.72q-8.26,0-12.39,5.59t-4.14,15.34q0,9.72,4.14,15.33t12.39,5.6A13.34,13.34,0,0,0,149.44,470.84Z" transform="translate(-4.67)" style="fill:#fff"/><path d="M192,485.44a30.52,30.52,0,0,1-12.26-12.66,38.06,38.06,0,0,1-4.07-17.67,37.68,37.68,0,0,1,3.86-17.06,30.27,30.27,0,0,1,11.2-12.33,32.17,32.17,0,0,1,17.47-4.6q9.33,0,15.79,3.86a25,25,0,0,1,9.74,10.4A32.47,32.47,0,0,1,237,450.05a44.47,44.47,0,0,1-1.06,9.06H192.9q1.32,8.81,6.93,13.13a21.33,21.33,0,0,0,13.46,4.34,38.49,38.49,0,0,0,20-5.47l.8,14a43.36,43.36,0,0,1-9.93,3.66,51,51,0,0,1-12.33,1.4Q200.22,490.17,192,485.44Zm28.19-37.53a15.14,15.14,0,0,0-2.93-9.2c-1.95-2.66-5-4-9.06-4a13.62,13.62,0,0,0-9.87,3.6,18.39,18.39,0,0,0-5.06,9.59Z" transform="translate(-4.67)" style="fill:#fff"/><path d="M298.48,429.38q6.39,8.26,6.4,22.27v37.19H288.35V453q0-9.33-3.14-13.8t-10.06-4.46a15.79,15.79,0,0,0-12.53,5.73v48.39H246.09V422.18h15.46l.27,4.67a31.14,31.14,0,0,1,17.86-5.73Q292.08,421.12,298.48,429.38Z" transform="translate(-4.67)" style="fill:#fff"/></g></g><g style="isolation:isolate"><path d="M318.31,420.65h10.1l33.85,51.41V420.65h9.42v68.68h-7.95l-36.1-54.25v54.25h-9.32Z" transform="translate(-4.67)" style="fill:#37bcd2"/><path d="M387.38,420.65h41.89v8.44H396.7V449.2h25.9v8.44H396.7v23.25h33.45v8.44H387.38Z" transform="translate(-4.67)" style="fill:#37bcd2"/><path d="M448.06,482.71q-7.12-8-7.12-22.52V420.65h9.32v37q0,11.28,4,17.95t15.1,6.68q11.1,0,15.11-6.72t4-17.91v-37h9.32v39.54q0,14.52-7.12,22.52t-21.34,8Q455.17,490.7,448.06,482.71Z" transform="translate(-4.67)" style="fill:#37bcd2"/><path d="M512.76,420.65H535q11.19,0,17.46,5.15t6.28,15.75q0,13.74-12,19.33l15.41,28.45H550.82l-13.93-26.78H522.57v26.78h-9.81Zm22.17,33.56q6.87,0,10.5-3.34t3.63-9.32q0-6-3.58-9.27T534.93,429H522.57v25.22Z" transform="translate(-4.67)" style="fill:#37bcd2"/><path d="M584.33,486.29a30.71,30.71,0,0,1-12-12.51,43,43,0,0,1,0-37.58,30.75,30.75,0,0,1,12-12.5,36.89,36.89,0,0,1,35,0,30.75,30.75,0,0,1,12,12.5,43,43,0,0,1,0,37.58,30.71,30.71,0,0,1-12,12.51,37,37,0,0,1-35,0Zm30.56-8.1a21.48,21.48,0,0,0,8.09-9.51,36,36,0,0,0,0-27.37,21.45,21.45,0,0,0-8.09-9.52,26.21,26.21,0,0,0-26.1,0,21.45,21.45,0,0,0-8.09,9.52,36,36,0,0,0,0,27.37,21.48,21.48,0,0,0,8.09,9.51,26.14,26.14,0,0,0,26.1,0Z" transform="translate(-4.67)" style="fill:#37bcd2"/></g></g></g></g></g></svg>
@@ -0,0 +1,113 @@
1
+ import React from "react"
2
+ import styled from "@emotion/styled"
3
+ import "./button.scss"
4
+
5
+ type IconProps = {
6
+ fontSize?: string | number
7
+ className?: string
8
+ ariaHidden?: boolean | "false" | "true"
9
+ }
10
+
11
+ const Icon: React.FC<IconProps> = ({ fontSize, className, ariaHidden }) => {
12
+ const I = styled.i({ fontSize })
13
+ return <I className={className} aria-hidden={ariaHidden} />
14
+ }
15
+
16
+ export type ButtonPropsSize = "xsmall" | "small" | "medium" | "large"
17
+
18
+ export interface ButtonProps {
19
+ primary?: boolean
20
+ secondary?: boolean
21
+ backgroundColor?: string
22
+ size?: ButtonPropsSize
23
+ label: string
24
+ nobg?: boolean
25
+ disabled?: boolean
26
+ onClick?: (e: React.MouseEvent) => void
27
+ navbar?: boolean
28
+ iconOnly?: boolean
29
+ icon?: string
30
+ color?: string
31
+ imgSrc?: string
32
+ iconSize?: string
33
+ className?: string
34
+ children?: React.ReactNode
35
+ type?: "button" | "submit" | "reset"
36
+ form?: string
37
+ }
38
+
39
+ /**
40
+ * Primary UI component for user interaction
41
+ */
42
+ export const Button = ({
43
+ primary,
44
+ size = "medium",
45
+ backgroundColor,
46
+ label,
47
+ nobg,
48
+ navbar = false,
49
+ icon,
50
+ secondary,
51
+ color,
52
+ imgSrc,
53
+ iconSize,
54
+ className,
55
+ children,
56
+ disabled,
57
+ iconOnly,
58
+ type,
59
+ form,
60
+ ...props
61
+ }: ButtonProps) => {
62
+ const mode = primary && !navbar
63
+ ? "on-button--primary"
64
+ : secondary && !navbar
65
+ ? "on-button--secondary"
66
+ : nobg && !navbar
67
+ ? "on-no-background"
68
+ : !navbar
69
+ ? "on-button--default"
70
+ : "on-button--navbar"
71
+ const iconWithText = icon && label && !iconOnly
72
+ ? "icon-text"
73
+ : imgSrc && label
74
+ ? "img-icon-text"
75
+ : null
76
+ const fontIcon = icon
77
+ ? <Icon fontSize={iconSize} className={icon} ariaHidden="true" />
78
+ : null
79
+ const imgIcon = imgSrc
80
+ ? (
81
+ <img
82
+ style={{ width: iconSize }}
83
+ src={imgSrc}
84
+ alt={label}
85
+ aria-hidden="true"
86
+ />
87
+ )
88
+ : null
89
+
90
+ return (
91
+ <button
92
+ form={form}
93
+ disabled={disabled}
94
+ role="button"
95
+ type={type ? type : "button"}
96
+ className={[
97
+ "on-button",
98
+ `on-button--${size}`,
99
+ mode,
100
+ iconWithText,
101
+ `${className}`,
102
+ ].join(" ")}
103
+ style={{ backgroundColor, color }}
104
+ aria-label={label}
105
+ {...props}
106
+ >
107
+ {imgIcon}
108
+ {fontIcon}
109
+ {iconOnly ? null : label}
110
+ {children}
111
+ </button>
112
+ )
113
+ }
@@ -0,0 +1,21 @@
1
+ import { vi } from "vitest"
2
+ import React from "react"
3
+ import { fireEvent, render, screen } from "@testing-library/react"
4
+ import { Button } from "../Button"
5
+
6
+ describe("Button component", () => {
7
+ it("is clickable", () => {
8
+ const onClick = vi.fn()
9
+ render(<Button label="Primary" primary onClick={onClick} />)
10
+ expect(onClick).not.toBeCalled()
11
+ fireEvent.click(screen.getByText(/Primary/))
12
+ expect(onClick).toBeCalled()
13
+ })
14
+ it("is not clickable while disabled", () => {
15
+ const onClick = vi.fn()
16
+ render(<Button label="Primary" primary onClick={onClick} disabled />)
17
+ expect(onClick).not.toBeCalled()
18
+ fireEvent.click(screen.getByText(/Primary/))
19
+ expect(onClick).not.toBeCalled()
20
+ })
21
+ })