diff --git a/package-lock.json b/package-lock.json index 65837591..83d5b31d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,11 +8,11 @@ "name": "data-portal-ui", "version": "1.3.0", "dependencies": { - "@fortawesome/fontawesome-svg-core": "~6.4.2", - "@fortawesome/free-brands-svg-icons": "~6.4.2", - "@fortawesome/free-regular-svg-icons": "~6.4.2", - "@fortawesome/free-solid-svg-icons": "~6.4.2", - "@fortawesome/react-fontawesome": "~0.2.0", + "@fortawesome/fontawesome-svg-core": "~6.6.0", + "@fortawesome/free-brands-svg-icons": "~6.6.0", + "@fortawesome/free-regular-svg-icons": "~6.6.0", + "@fortawesome/free-solid-svg-icons": "~6.6.0", + "@fortawesome/react-fontawesome": "~0.2.2", "@popperjs/core": "~2.11.8", "@react-aria/ssr": "<3.9.3", "@types/node": "~20.9.2", @@ -32,7 +32,6 @@ "react-perfect-scrollbar": "~1.5.8", "react-qr-code": "~2.0.12", "react-router-dom": "6.19.0", - "react-twitter-embed": "~4.0.4", "sass": "~1.69.5", "swiper": "~11.0.4", "typescript": "~4.9.5", @@ -2566,66 +2565,67 @@ } }, "node_modules/@fortawesome/fontawesome-common-types": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.4.2.tgz", - "integrity": "sha512-1DgP7f+XQIJbLFCTX1V2QnxVmpLdKdzzo2k8EmvDOePfchaIGQ9eCHj2up3/jNEbZuBqel5OxiaOJf37TWauRA==", - "hasInstallScript": true, + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.6.0.tgz", + "integrity": "sha512-xyX0X9mc0kyz9plIyryrRbl7ngsA9jz77mCZJsUkLl+ZKs0KWObgaEBoSgQiYWAsSmjz/yjl0F++Got0Mdp4Rw==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/@fortawesome/fontawesome-svg-core": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.4.2.tgz", - "integrity": "sha512-gjYDSKv3TrM2sLTOKBc5rH9ckje8Wrwgx1CxAPbN5N3Fm4prfi7NsJVWd1jklp7i5uSCVwhZS5qlhMXqLrpAIg==", - "hasInstallScript": true, + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.6.0.tgz", + "integrity": "sha512-KHwPkCk6oRT4HADE7smhfsKudt9N/9lm6EJ5BVg0tD1yPA5hht837fB87F8pn15D8JfTqQOjhKTktwmLMiD7Kg==", + "license": "MIT", "dependencies": { - "@fortawesome/fontawesome-common-types": "6.4.2" + "@fortawesome/fontawesome-common-types": "6.6.0" }, "engines": { "node": ">=6" } }, "node_modules/@fortawesome/free-brands-svg-icons": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-6.4.2.tgz", - "integrity": "sha512-LKOwJX0I7+mR/cvvf6qIiqcERbdnY+24zgpUSouySml+5w8B4BJOx8EhDR/FTKAu06W12fmUIcv6lzPSwYKGGg==", - "hasInstallScript": true, + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-6.6.0.tgz", + "integrity": "sha512-1MPD8lMNW/earme4OQi1IFHtmHUwAKgghXlNwWi9GO7QkTfD+IIaYpIai4m2YJEzqfEji3jFHX1DZI5pbY/biQ==", + "license": "(CC-BY-4.0 AND MIT)", "dependencies": { - "@fortawesome/fontawesome-common-types": "6.4.2" + "@fortawesome/fontawesome-common-types": "6.6.0" }, "engines": { "node": ">=6" } }, "node_modules/@fortawesome/free-regular-svg-icons": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@fortawesome/free-regular-svg-icons/-/free-regular-svg-icons-6.4.2.tgz", - "integrity": "sha512-0+sIUWnkgTVVXVAPQmW4vxb9ZTHv0WstOa3rBx9iPxrrrDH6bNLsDYuwXF9b6fGm+iR7DKQvQshUH/FJm3ed9Q==", - "hasInstallScript": true, + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/free-regular-svg-icons/-/free-regular-svg-icons-6.6.0.tgz", + "integrity": "sha512-Yv9hDzL4aI73BEwSEh20clrY8q/uLxawaQ98lekBx6t9dQKDHcDzzV1p2YtBGTtolYtNqcWdniOnhzB+JPnQEQ==", + "license": "(CC-BY-4.0 AND MIT)", "dependencies": { - "@fortawesome/fontawesome-common-types": "6.4.2" + "@fortawesome/fontawesome-common-types": "6.6.0" }, "engines": { "node": ">=6" } }, "node_modules/@fortawesome/free-solid-svg-icons": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.4.2.tgz", - "integrity": "sha512-sYwXurXUEQS32fZz9hVCUUv/xu49PEJEyUOsA51l6PU/qVgfbTb2glsTEaJngVVT8VqBATRIdh7XVgV1JF1LkA==", - "hasInstallScript": true, + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.6.0.tgz", + "integrity": "sha512-IYv/2skhEDFc2WGUcqvFJkeK39Q+HyPf5GHUrT/l2pKbtgEIv1al1TKd6qStR5OIwQdN1GZP54ci3y4mroJWjA==", + "license": "(CC-BY-4.0 AND MIT)", "dependencies": { - "@fortawesome/fontawesome-common-types": "6.4.2" + "@fortawesome/fontawesome-common-types": "6.6.0" }, "engines": { "node": ">=6" } }, "node_modules/@fortawesome/react-fontawesome": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.2.0.tgz", - "integrity": "sha512-uHg75Rb/XORTtVt7OS9WoK8uM276Ufi7gCzshVWkUJbHhh3svsUUeqXerrM96Wm7fRiDzfKRwSoahhMIkGAYHw==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.2.2.tgz", + "integrity": "sha512-EnkrprPNqI6SXJl//m29hpaNzOp1bruISWaOiRtkMi/xSvHJlzc2j2JAYS7egxt/EbjSNV/k6Xy0AQI6vB2+1g==", + "license": "MIT", "dependencies": { "prop-types": "^15.8.1" }, @@ -20891,21 +20891,6 @@ "react-dom": ">=16.6.0" } }, - "node_modules/react-twitter-embed": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/react-twitter-embed/-/react-twitter-embed-4.0.4.tgz", - "integrity": "sha512-2JIL7qF+U62zRzpsh6SZDXNI3hRNVYf5vOZ1WRcMvwKouw+xC00PuFaD0aEp2wlyGaZ+f4x2VvX+uDadFQ3HVA==", - "dependencies": { - "scriptjs": "^2.5.9" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "react": "^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -21536,11 +21521,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/scriptjs": { - "version": "2.5.9", - "resolved": "https://registry.npmjs.org/scriptjs/-/scriptjs-2.5.9.tgz", - "integrity": "sha512-qGVDoreyYiP1pkQnbnFAUIS5AjenNwwQBdl7zeos9etl+hYKWahjRTfzAZZYBv5xNHx7vNKCmaLDQZ6Fr2AEXg==" - }, "node_modules/select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", diff --git a/package.json b/package.json index 9b1381f6..436109db 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "1.3.0", "private": true, "dependencies": { - "@fortawesome/fontawesome-svg-core": "~6.4.2", - "@fortawesome/free-brands-svg-icons": "~6.4.2", - "@fortawesome/free-regular-svg-icons": "~6.4.2", - "@fortawesome/free-solid-svg-icons": "~6.4.2", - "@fortawesome/react-fontawesome": "~0.2.0", + "@fortawesome/fontawesome-svg-core": "~6.6.0", + "@fortawesome/free-brands-svg-icons": "~6.6.0", + "@fortawesome/free-regular-svg-icons": "~6.6.0", + "@fortawesome/free-solid-svg-icons": "~6.6.0", + "@fortawesome/react-fontawesome": "~0.2.2", "@popperjs/core": "~2.11.8", "@react-aria/ssr": "<3.9.3", "@types/node": "~20.9.2", @@ -27,7 +27,6 @@ "react-perfect-scrollbar": "~1.5.8", "react-qr-code": "~2.0.12", "react-router-dom": "6.19.0", - "react-twitter-embed": "~4.0.4", "sass": "~1.69.5", "swiper": "~11.0.4", "typescript": "~4.9.5", diff --git a/src/App.tsx b/src/App.tsx index b4e8f671..e7551752 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,9 +13,7 @@ import { createRoutesFromElements, } from "react-router-dom"; import Home from "./components/home/home"; -import FAQ from "./components/faq/faq"; import SingleDatasetView from "./components/browse/singleDatasetView/singleDatasetView"; -import TermsOfUse from "./components/termsOfUse/termsOfUse"; import WorkPackage from "./components/workPackage/workPackage"; import Callback from "./components/account/callback"; import Register from "./components/register/register"; @@ -33,7 +31,6 @@ const router = createBrowserRouter( createRoutesFromElements( }> } /> - } /> } /> } /> @@ -42,7 +39,6 @@ const router = createBrowserRouter( } /> } /> - } /> } /> } /> } /> diff --git a/src/assets/GHGA_full_Logo_orange.png b/src/assets/GHGA_full_Logo_orange.png new file mode 100644 index 00000000..551973b7 Binary files /dev/null and b/src/assets/GHGA_full_Logo_orange.png differ diff --git a/src/assets/aboutUs/about-banner2.png b/src/assets/aboutUs/about-banner2.png deleted file mode 100644 index 54cad7a2..00000000 Binary files a/src/assets/aboutUs/about-banner2.png and /dev/null differ diff --git a/src/assets/aboutUs/ghga-cooperations.png b/src/assets/aboutUs/ghga-cooperations.png deleted file mode 100644 index dbad15f5..00000000 Binary files a/src/assets/aboutUs/ghga-cooperations.png and /dev/null differ diff --git a/src/assets/download/browse.png b/src/assets/download/browse.png deleted file mode 100644 index 58c8021e..00000000 Binary files a/src/assets/download/browse.png and /dev/null differ diff --git a/src/assets/download/download-1.png b/src/assets/download/download-1.png deleted file mode 100644 index ef030b13..00000000 Binary files a/src/assets/download/download-1.png and /dev/null differ diff --git a/src/assets/download/email.png b/src/assets/download/email.png deleted file mode 100644 index 20027b7a..00000000 Binary files a/src/assets/download/email.png and /dev/null differ diff --git a/src/assets/download/request-access.png b/src/assets/download/request-access.png deleted file mode 100644 index 85339cc8..00000000 Binary files a/src/assets/download/request-access.png and /dev/null differ diff --git a/src/assets/homepage/Bundeslaender.svg b/src/assets/homepage/Bundeslaender.svg deleted file mode 100644 index 1f6a5003..00000000 --- a/src/assets/homepage/Bundeslaender.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/assets/homepage/Germany.svg b/src/assets/homepage/Germany.svg deleted file mode 100644 index c0a7a1c2..00000000 --- a/src/assets/homepage/Germany.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/src/assets/homepage/institutions/CAU_300x150_1.png b/src/assets/homepage/institutions/CAU_300x150_1.png deleted file mode 100644 index 28a86021..00000000 Binary files a/src/assets/homepage/institutions/CAU_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/Charite_300x150_1.png b/src/assets/homepage/institutions/Charite_300x150_1.png deleted file mode 100644 index cb28af86..00000000 Binary files a/src/assets/homepage/institutions/Charite_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/DKFZ_h200_NEW.png b/src/assets/homepage/institutions/DKFZ_h200_NEW.png deleted file mode 100644 index 742cf33a..00000000 Binary files a/src/assets/homepage/institutions/DKFZ_h200_NEW.png and /dev/null differ diff --git a/src/assets/homepage/institutions/DZNE_300x150_1.png b/src/assets/homepage/institutions/DZNE_300x150_1.png deleted file mode 100644 index 14298741..00000000 Binary files a/src/assets/homepage/institutions/DZNE_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/EKUT_300x150_1.png b/src/assets/homepage/institutions/EKUT_300x150_1.png deleted file mode 100644 index 514a67c7..00000000 Binary files a/src/assets/homepage/institutions/EKUT_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/EMBL-EBI_300x150.png b/src/assets/homepage/institutions/EMBL-EBI_300x150.png deleted file mode 100644 index a526f23d..00000000 Binary files a/src/assets/homepage/institutions/EMBL-EBI_300x150.png and /dev/null differ diff --git a/src/assets/homepage/institutions/EMBL_300x150.png b/src/assets/homepage/institutions/EMBL_300x150.png deleted file mode 100644 index d7270f44..00000000 Binary files a/src/assets/homepage/institutions/EMBL_300x150.png and /dev/null differ diff --git a/src/assets/homepage/institutions/HADW_300x150_1.png b/src/assets/homepage/institutions/HADW_300x150_1.png deleted file mode 100644 index 97731038..00000000 Binary files a/src/assets/homepage/institutions/HADW_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/HD_Uniklinik_300x150.png b/src/assets/homepage/institutions/HD_Uniklinik_300x150.png deleted file mode 100644 index 2394d062..00000000 Binary files a/src/assets/homepage/institutions/HD_Uniklinik_300x150.png and /dev/null differ diff --git a/src/assets/homepage/institutions/HMGU_300x150_1.png b/src/assets/homepage/institutions/HMGU_300x150_1.png deleted file mode 100644 index 8a2e05fb..00000000 Binary files a/src/assets/homepage/institutions/HMGU_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/HZI_300x150_1.png b/src/assets/homepage/institutions/HZI_300x150_1.png deleted file mode 100644 index 91e0e8ff..00000000 Binary files a/src/assets/homepage/institutions/HZI_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/LRZ_300x150_1.png b/src/assets/homepage/institutions/LRZ_300x150_1.png deleted file mode 100644 index fe2df1b8..00000000 Binary files a/src/assets/homepage/institutions/LRZ_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/MDC_300x150_1.png b/src/assets/homepage/institutions/MDC_300x150_1.png deleted file mode 100644 index 22667da2..00000000 Binary files a/src/assets/homepage/institutions/MDC_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/NAKO_300x150_1.png b/src/assets/homepage/institutions/NAKO_300x150_1.png deleted file mode 100644 index b6ed2ccb..00000000 Binary files a/src/assets/homepage/institutions/NAKO_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/TUD_300x150_1.png b/src/assets/homepage/institutions/TUD_300x150_1.png deleted file mode 100644 index 3c28f150..00000000 Binary files a/src/assets/homepage/institutions/TUD_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/TUM_300x150_1.png b/src/assets/homepage/institutions/TUM_300x150_1.png deleted file mode 100644 index 46f223c7..00000000 Binary files a/src/assets/homepage/institutions/TUM_300x150_1.png and /dev/null differ diff --git a/src/assets/homepage/institutions/UDS_300x150.png b/src/assets/homepage/institutions/UDS_300x150.png deleted file mode 100644 index 90661897..00000000 Binary files a/src/assets/homepage/institutions/UDS_300x150.png and /dev/null differ diff --git a/src/assets/homepage/institutions/UKT_300x150_1.png b/src/assets/homepage/institutions/UKT_300x150_1.png deleted file mode 100644 index 0dd25f3f..00000000 Binary files a/src/assets/homepage/institutions/UKT_300x150_1.png and /dev/null differ diff --git "a/src/assets/homepage/institutions/Uni_K\303\266ln_300x150.png" "b/src/assets/homepage/institutions/Uni_K\303\266ln_300x150.png" deleted file mode 100644 index bd7fd3bd..00000000 Binary files "a/src/assets/homepage/institutions/Uni_K\303\266ln_300x150.png" and /dev/null differ diff --git a/src/assets/homepage/institutions/csm_CISPA_c64bf38f7a.png b/src/assets/homepage/institutions/csm_CISPA_c64bf38f7a.png deleted file mode 100644 index 94502f64..00000000 Binary files a/src/assets/homepage/institutions/csm_CISPA_c64bf38f7a.png and /dev/null differ diff --git a/src/assets/homepage/institutions/csm_NCT_300x150_1_a7e116933d.png b/src/assets/homepage/institutions/csm_NCT_300x150_1_a7e116933d.png deleted file mode 100644 index 2fd05b16..00000000 Binary files a/src/assets/homepage/institutions/csm_NCT_300x150_1_a7e116933d.png and /dev/null differ diff --git a/src/assets/homepage/institutions/csm_NFDI_Logo_In_Zusammenarbeit_910ce41227.png b/src/assets/homepage/institutions/csm_NFDI_Logo_In_Zusammenarbeit_910ce41227.png deleted file mode 100644 index 488889e1..00000000 Binary files a/src/assets/homepage/institutions/csm_NFDI_Logo_In_Zusammenarbeit_910ce41227.png and /dev/null differ diff --git a/src/assets/homepage/institutions/csm_dfg_logo_schriftzug_blau_857938e130.jpg b/src/assets/homepage/institutions/csm_dfg_logo_schriftzug_blau_857938e130.jpg deleted file mode 100644 index b30f1c50..00000000 Binary files a/src/assets/homepage/institutions/csm_dfg_logo_schriftzug_blau_857938e130.jpg and /dev/null differ diff --git a/src/assets/loginLS/ls-register.png b/src/assets/loginLS/ls-register.png deleted file mode 100644 index d3fa6ab9..00000000 Binary files a/src/assets/loginLS/ls-register.png and /dev/null differ diff --git a/src/assets/metadataModel/div-bg-metadata-model.png b/src/assets/metadataModel/div-bg-metadata-model.png deleted file mode 100644 index d6a6dc7a..00000000 Binary files a/src/assets/metadataModel/div-bg-metadata-model.png and /dev/null differ diff --git a/src/assets/metadataModel/metadatamodel_schema.png b/src/assets/metadataModel/metadatamodel_schema.png deleted file mode 100644 index 08f4bd5b..00000000 Binary files a/src/assets/metadataModel/metadatamodel_schema.png and /dev/null differ diff --git a/src/assets/metadataModel/schema-1.png b/src/assets/metadataModel/schema-1.png deleted file mode 100644 index 4e6e9047..00000000 Binary files a/src/assets/metadataModel/schema-1.png and /dev/null differ diff --git a/src/assets/metadataModel/schema.png b/src/assets/metadataModel/schema.png deleted file mode 100644 index 7027e79e..00000000 Binary files a/src/assets/metadataModel/schema.png and /dev/null differ diff --git a/src/assets/upload/partners/1mg.png b/src/assets/upload/partners/1mg.png deleted file mode 100644 index e7341b83..00000000 Binary files a/src/assets/upload/partners/1mg.png and /dev/null differ diff --git a/src/assets/upload/partners/achse.png b/src/assets/upload/partners/achse.png deleted file mode 100644 index 6a2b7c9f..00000000 Binary files a/src/assets/upload/partners/achse.png and /dev/null differ diff --git a/src/assets/upload/partners/b1mg.png b/src/assets/upload/partners/b1mg.png deleted file mode 100644 index 05e2564b..00000000 Binary files a/src/assets/upload/partners/b1mg.png and /dev/null differ diff --git a/src/assets/upload/partners/de.nbi.png b/src/assets/upload/partners/de.nbi.png deleted file mode 100644 index 3b5bc8ed..00000000 Binary files a/src/assets/upload/partners/de.nbi.png and /dev/null differ diff --git a/src/assets/upload/partners/decoi.png b/src/assets/upload/partners/decoi.png deleted file mode 100644 index d0cd0a50..00000000 Binary files a/src/assets/upload/partners/decoi.png and /dev/null differ diff --git a/src/assets/upload/partners/demap.png b/src/assets/upload/partners/demap.png deleted file mode 100644 index ba743845..00000000 Binary files a/src/assets/upload/partners/demap.png and /dev/null differ diff --git a/src/assets/upload/partners/ega.png b/src/assets/upload/partners/ega.png deleted file mode 100644 index e9519f90..00000000 Binary files a/src/assets/upload/partners/ega.png and /dev/null differ diff --git a/src/assets/upload/partners/elixir.png b/src/assets/upload/partners/elixir.png deleted file mode 100644 index 5c0edbf6..00000000 Binary files a/src/assets/upload/partners/elixir.png and /dev/null differ diff --git a/src/assets/upload/partners/emed.png b/src/assets/upload/partners/emed.png deleted file mode 100644 index a623aae5..00000000 Binary files a/src/assets/upload/partners/emed.png and /dev/null differ diff --git a/src/assets/upload/partners/ga4gh.png b/src/assets/upload/partners/ga4gh.png deleted file mode 100644 index cfa75a98..00000000 Binary files a/src/assets/upload/partners/ga4gh.png and /dev/null differ diff --git a/src/assets/upload/partners/genomde.png b/src/assets/upload/partners/genomde.png deleted file mode 100644 index b80f37e0..00000000 Binary files a/src/assets/upload/partners/genomde.png and /dev/null differ diff --git a/src/assets/upload/partners/namse.png b/src/assets/upload/partners/namse.png deleted file mode 100644 index 6bf64738..00000000 Binary files a/src/assets/upload/partners/namse.png and /dev/null differ diff --git a/src/assets/upload/partners/nc1mg.png b/src/assets/upload/partners/nc1mg.png deleted file mode 100644 index a7ba6522..00000000 Binary files a/src/assets/upload/partners/nc1mg.png and /dev/null differ diff --git a/src/assets/upload/partners/nfcore.png b/src/assets/upload/partners/nfcore.png deleted file mode 100644 index a79bd639..00000000 Binary files a/src/assets/upload/partners/nfcore.png and /dev/null differ diff --git a/src/assets/upload/partners/nfdi.png b/src/assets/upload/partners/nfdi.png deleted file mode 100644 index b3485131..00000000 Binary files a/src/assets/upload/partners/nfdi.png and /dev/null differ diff --git a/src/assets/upload/partners/scog.png b/src/assets/upload/partners/scog.png deleted file mode 100644 index 06f8a8cf..00000000 Binary files a/src/assets/upload/partners/scog.png and /dev/null differ diff --git a/src/assets/upload/partners/solverd.png b/src/assets/upload/partners/solverd.png deleted file mode 100644 index 27efea2f..00000000 Binary files a/src/assets/upload/partners/solverd.png and /dev/null differ diff --git a/src/assets/upload/upload.png b/src/assets/upload/upload.png deleted file mode 100644 index bd89777c..00000000 Binary files a/src/assets/upload/upload.png and /dev/null differ diff --git a/src/components/account/verificationModals/confirmVerificationModal.tsx b/src/components/account/verificationModals/confirmVerificationModal.tsx index 117aea09..6a00a838 100644 --- a/src/components/account/verificationModals/confirmVerificationModal.tsx +++ b/src/components/account/verificationModals/confirmVerificationModal.tsx @@ -82,6 +82,7 @@ const ConfirmVerificationModal = (props: ConfirmVerificationModalProps) => { width: "8em", }} required + autoComplete="one-time-code" minLength={6} maxLength={6} pattern="[A-Z0-9]{6}" diff --git a/src/components/confirm2FA/confirm2FA.tsx b/src/components/confirm2FA/confirm2FA.tsx index 1d970575..580ae594 100644 --- a/src/components/confirm2FA/confirm2FA.tsx +++ b/src/components/confirm2FA/confirm2FA.tsx @@ -199,6 +199,7 @@ const Confirm2FA = () => { width: "8em", }} required + autoComplete="one-time-code" minLength={6} maxLength={6} pattern="[0-9]{6}" diff --git a/src/components/faq/faq.tsx b/src/components/faq/faq.tsx deleted file mode 100644 index 2a1cad1c..00000000 --- a/src/components/faq/faq.tsx +++ /dev/null @@ -1,120 +0,0 @@ -import { Col, Row } from "react-bootstrap"; -import { Link } from "react-router-dom"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faCircleQuestion } from "@fortawesome/free-solid-svg-icons"; -import { STATIC_PAGE_MAIN_DIV_CLASSES } from "../../utils/utils"; - -const FAQ = () => { - return ( -
- - -

About GHGA

-
-
    -
  • - GHGA is a research consortium developing a national infrastructure - to enable the FAIR sharing of genetic and other human omics data. -
  • -
  • - This is embedded into European activities such as the federated - European Genome-Phenome Archive (fEGA) and the European Genomic - Data Infrastructure (GDI). -
  • -
  • - Further Information on the GHGA Project can be found at  - - www.ghga.de - -
  • -
- -
- - - -
-
- - Frequently Asked Questions (FAQ) -
-
-
-
- -
    -
  • - What are the functions of the GHGA Data Portal? -
  • - - The GHGA Data Portal allows users to browse, search, and filter - omics datasets submitted to the GHGA. It uses the GHGA Metadata - Model and conforms with the  - - EGA Metadata Model - - -
  • - What data can be found on GHGA Data Portal? -
  • - - Please visit the GHGA Data Portal  - - browse page - -  and find your data of interest either by a keyword search - or by using the selectors on the left side. Currently, we are - only displaying datasets from partner institutions. - -
  • - How to upload your data to the GHGA Data Portal? -
  • - - During this initial phase of operation, GHGA is only accepting - metadata from partner institutions. - -
  • How to get data access?
  • - - The GHGA Data Portal allows users to request access to data - through the portal. We are listing non-personal metadata and - acting as a gateway to data submitters who will serve the - research data upon approval of the request. Identify your - dataset of interest using the browse and filter functions of the - GHGA Data Portal. Click on the "Request access" button. This - will direct you to a data access request form. Complete the form - with the necessary information and submit it to request access - to the dataset. The data access committee will review your - request and respond accordingly. Please note that GHGA is not - involved in the further process of negotiating the data access. - -
-
- -
-
- ); -}; - -export default FAQ; diff --git a/src/components/footer/footerIcons.tsx b/src/components/footer/footerIcons.tsx index ae93d3b7..63cff174 100644 --- a/src/components/footer/footerIcons.tsx +++ b/src/components/footer/footerIcons.tsx @@ -1,48 +1,84 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Link } from "react-router-dom"; import { - faTwitter, + faBluesky, faGithub, + faLinkedinIn, + faMastodon, faYoutube, } from "@fortawesome/free-brands-svg-icons"; import { Container } from "react-bootstrap"; +import { faEnvelope } from "@fortawesome/free-solid-svg-icons"; const FooterIcons = () => { const year = new Date().getFullYear(); return ( - + + + + + + + + + +

- ©{year} GHGA. All Rights Reserved.
- Imprint + ©{year} GHGA. All Rights Reserved. +
+ + Imprint + {" | "} - Data Protection + + Data Protection + {" | "} - Terms of Use + + Terms of Use +

); diff --git a/src/components/footer/footerNavbar.tsx b/src/components/footer/footerNavbar.tsx index 32cf57bd..5028067b 100644 --- a/src/components/footer/footerNavbar.tsx +++ b/src/components/footer/footerNavbar.tsx @@ -1,6 +1,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Col, Row, Button } from "react-bootstrap"; import { + faArrowUpRightFromSquare, faDatabase, faEarthEurope, faFileLines, @@ -52,7 +53,12 @@ const FooterNavbar = () => {

- + - ) : ( - "" - )} - - - - ))} - - - +
+

About GHGA

+
+

+ GHGA – The German Human Genome-Phenome Archive +

+ + + GHGA Logo + + +

+ + GHGA + {" "} + is a national infrastructure to enable the FAIR and secure sharing + of genetic and other human omics data. It is embedded into European + activities such as the federated European Genome-Phenome Archive ( + + FEGA + + ) and the European Genomic Data Infrastructure ( + + GDI + + ). +

+

+ GHGA is funded by the Deutsche Forschungsgemeinschaft (DFG, German + Research Foundation, Grant Number{" "} + + 441914366 + {" "} + (NFDI 1/1)) as part of the National Research Data Infrastructure + initiative ( + + NFDI + + ) and by the contributing institutions. +

+

+ Further Information can be found at{" "} + + www.ghga.de + + . +

+ +
+
); }; diff --git a/src/components/home/homeBottomSection/standards.json b/src/components/home/homeBottomSection/standards.json deleted file mode 100644 index 6503ae90..00000000 --- a/src/components/home/homeBottomSection/standards.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "description": "In 2016, the \u2018FAIR Guiding Principles for scientific data management and stewardship\u2019 were published in Scientific Data. The authors intended to provide guidelines to improve the Findability, Accessibility, Interoperability, and Reuse of digital assets. The principles emphasise machine-actionability (i.e., the capacity of computational systems to find, access, interoperate, and reuse data with none or minimal human intervention) because humans increasingly rely on computational support to deal with data as a result of the increase in volume, complexity, and creation speed of data.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.go-fair.org/fair-principles/", - "name": "FAIR" - }, - { - "description": "LinkML is a flexible modeling language that allows you to author schemas in YAML that describe the structure of your data. Additionally, it is a framework for working with and validating data in a variety of formats (JSON, RDF, TSV), with generators for compiling LinkML schemas to other frameworks.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://linkml.io/linkml/", - "name": "LinkML" - }, - { - "description": "The Mondo Disease Ontology (Mondo) aims to harmonize disease definitions across the world. The name Mondo comes from the latin word \u2018mundus\u2019 and means \u2018for the world.\u2019\n\nNumerous sources for disease definitions and data models currently exist, which include HPO, OMIM, SNOMED CT, ICD, PhenoDB, MedDRA, MedGen, ORDO, DO, GARD, etc; however, these sources partially overlap and sometimes conflict, making it difficult to know definitively how they relate to each other. This has resulted in a proliferation of mappings between disease entries in different resources; however mappings are problematic: collectively, they are expensive to create and maintain. Most importantly, the mappings lack completeness, accuracy, and precision; as a result, mapping calls are often inconsistent between resources. The UMLS provides intermediate concepts through which other resources can be mapped, but these mappings suffer from the same challenges: they are not guaranteed to be one-to-one, especially in areas with evolving disease concepts such as rare disease.\n\nIn order to address the lack of a unified disease terminology that provides precise equivalences between disease concepts, we created Mondo, which provides a logic-based structure for unifying multiple disease resources.\n\nMondo\u2019s development is coordinated with the Human Phenotype Ontology (HPO), which describes the individual phenotypic features that constitute a disease. Like the HPO, Mondo provides a hierarchical structure which can be used for classification or \u201crolling up\u201d diseases to higher level groupings. It provides mappings to other disease resources, but in contrast to other mappings between ontologies, we precisely annotate each mapping using strict semantics, so that we know when two disease names or identifiers are equivalent or one-to-one, in contrast to simply being closely related.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://mondo.monarchinitiative.org/", - "name": "MONDO" - }, - { - "description": "Is the most comprehensive, multilingual clinical healthcare terminology in the world.\nIs a resource with comprehensive, scientifically validated clinical content.\nEnables consistent, processable representation of clinical content in electronic health records.\nIs mapped to other international standards.\nIs already used in more than fifty countries.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://confluence.ihtsdotools.org/display/DOC/SNOMED+CT+Document+Library", - "name": "SNOMED" - }, - { - "description": "The Human Ancestry Ontology (HAncestro) provides a systematic description of the ancestry concepts used in the NHGRI-EBI Catalog of published genome-wide association studies. It includes a list of countries, regions and major areas (essentially continents), as well as a fairly exhaustive list of defined ancestral categories, uncategorised ancestral categories and population isolates.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://github.com/EBISPOT/ancestro", - "name": "HANCESTRO" - }, - { - "description": "The Experimental Factor Ontology (EFO) provides a systematic description of many experimental variables available in EBI databases, and for projects such as the GWAS catalog. It combines parts of several biological ontologies, such as UBERON anatomy, ChEBI chemical compounds, and Cell Ontology. The scope of EFO is to support the annotation, analysis and visualization of data handled by many groups at the EBI and as the core ontology for Open Targets. EFO is developed by the EMBL-EBI Samples, Phenotypes and Ontologies Team (SPOT).", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.ebi.ac.uk/efo/", - "name": "EFO" - }, - { - "description": "The Human Phenotype Ontology (HPO) provides a standardized vocabulary of phenotypic abnormalities encountered in human disease. Each term in the HPO describes a phenotypic abnormality, such as Atrial septal defect. The HPO is currently being developed using the medical literature, Orphanet, DECIPHER, and OMIM. HPO currently contains over 13,000 terms and over 156,000 annotations to hereditary diseases. The HPO project and others have developed software for phenotype-driven differential diagnostics, genomic diagnostics, and translational research. The HPO is a flagship product of the Monarch Initiative, an NIH-supported international consortium dedicated to semantic integration of biomedical and model organism data with the ultimate goal of improving biomedical research. The HPO, as a part of the Monarch Initiative, is a central component of one of the 13 driver projects in the Global Alliance for Genomics and Health (GA4GH) strategic roadmap.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://hpo.jax.org/app/", - "name": "HPO" - }, - { - "description": "Uberon is an integrated cross-species anatomy ontology representing a variety of entities classified according to traditional anatomical criteria such as structure, function and developmental lineage. The ontology includes comprehensive relationships to taxon-specific anatomical ontologies, allowing integration of functional, phenotype and expression data.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.ebi.ac.uk/ols/ontologies/uberon", - "name": "UBERON" - }, - { - "description": "The German National Cohort (\u201cNAKO Gesundheitsstudie\u201d) is an interdisciplinary, population-based cohort study that will follow the long-term medical histories of 200,000 participants over 25-30 years. As Germany\u2019s largest health study, the overarching aim of the National Cohort is to inform more effective disease prevention strategies, with a focus on seven major disease groups: cancer, diabetes, and cardiovascular, neurologic and psychiatric, infectious, respiratory and musculoskeletal diseases. It will provide a major, central resource for population-based epidemiology in Germany, and will help to identify new and tailored strategies for early detection, prediction, and primary prevention of major diseases.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.dkfz.de/en/epidemiologie-krebserkrankungen/units/NAKO_Studienzentrum_eng/NAKO_engl.html", - "name": "NAKO" - }, - { - "description": "The NCT and DKTK MASTER (Molecularly Aided Stratification for Tumor Eradication) Program is a central platform for comprehensive, multidimensional characterization of young cancer patients and patients with rare cancers seen at NCT/UCC Dresden, NCT Heidelberg, or one of the sites of the German Cancer Consortium (DKTK; Berlin, Essen/D\u00fcsseldorf, Frankfurt/Mainz, Freiburg, Munich, T\u00fcbingen)", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.nct-heidelberg.de/forschung/molecular-stratification/master.html", - "name": "NCT-MASTER" - }, - { - "description": "INFORM (INdividualized Therapy FOr Relapsed Malignancies in Childhood) takes on the challenge of offering these patients a second chance. It is the largest transnational genome sequencing program for children with cancer in Europe, making it possible to identify molecular targets that may open up new treatment options. Since 2015, many children and adolescents have been either included in clinical trials after having their genome decoded in INFORM, or have been given so-called off-label treatment under controlled conditions with drugs that were originally approved for adults. Up to now, more than 1,800 patients have been included in the INFORM registry. The results of INFORM are also used to develop innovative phase I/II studies such as the INFORM2 trial series.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.kitz-heidelberg.de/en/clinical-studies/molecular-diagnostics-studies/inform/", - "name": "INFORM" - }, - { - "description": "In the German Consortium for Translational Cancer Research, researchers and physicians at eight locations in Germany are cooperating to bring promising approaches in cancer research into clinical practice more quickly.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://dktk.dkfz.de/", - "name": "DKTK" - }, - { - "description": "The German Center for Cardiovascular Research DZHK, founded in 2011, unites basic and clinical researchers at seven locations in Germany. The aim of the facility is to bring new approaches from cardiovascular research into clinical application as quickly as possible in order to improve the prevention, diagnosis and treatment of cardiovascular diseases.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://dzhk.de/das-dzhk/ueber-uns/mission/", - "name": "DZHK" - }, - { - "description": "Medical Informatics Initiative Core Dataset. The consortia of the Medical Informatics Initiative (MII) and all participating university hospital sites have agreed upon a common set of core data. This is based on international IT and terminology standards, and is the prerequisite for shared use of data. Within the MII\u2019s corresponding working groups, the university hospital sites across all consortia defined what data records must, at a minimum, be captured and stored by the MII\u2019s data integration centres for all in-patients \u2013 independent of medical indication and of each consortium\u2019s specific use case. This guarantees interoperability between data integration centres despite their diverse underlying concepts.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.medizininformatik-initiative.de/en/medical-informatics-initiatives-core-data-set", - "name": "MII" - }, - { - "description": "Data Use Ontology (DUO) is a standard released by the fEGA, which grants researchers the ability to use human biomedical datasets for controlled-access datasets depending on their research purpose and permissions. Users can tag the datasets with specific usage constraints, which allows them to be discovered based on the permissions granted to health, clinical, and biological researchers. The DUO standard has already been used to annotate over 200,000 datasets throughout the world. For instance, a rare disease researcher can access any dataset that is authorized for commercial and rare disease use cases. The DUO standard contains human-readable explanations and terms, generated by the corresponding data access committees (DAC). The DUO standard is structured with 25 terms that reflect two types of data use: permission and modifier terms. Permission terms contain, for instance: general research use (GRU), health or medical or biomedical (HMB) disease-specific (DS), and population origins or ancestry (POA), which are all clearly approved applications or specialized fields of study. Modifier terms include limitations and requirements within controlled access such as non-commercial use only (NCU), ethics approval required (IRB) and genetics studies only (GSO).", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.ga4gh.org/product/data-use-ontology-duo/", - "name": "DUO" - }, - { - "description": "The Data Repository Service (DRS) API is a standard released by GA4GH in 2019. It provides standardized access to data independent from the architecture or technology stack of the storage repository. It essentially acts as a data catalog that lists access metadata in a standardized way. Another GA4GH standard being used by GHGA is the encryption file format Crypt4GH. It acts as a container around existing file formats, encrypting files with a symmetric stream cipher to allow for random access of the encrypted data. The symmetric key is encrypted separately via asynchronous encryption. Ideally, this means that neither the secret nor the data itself will be stored on a disk in a decrypted state throughout the file life cycle. Crypt4GH thus provides a solution to both encryptions at rest as well as transfer encryption. It is meant as a file format for bioinformatics research, but in theory can be used for any kind of file format, and some bioinformatic toolsets, like SAMtools, already provide support for Crypt4GH.", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.ga4gh.org/product/data-repository-service-drs/", - "name": "DRS" - }, - { - "description": "Minimum information (MI) standards are sets of guidelines and formats for reporting data derived by specific high-throughput methods. The purpose of MI standards is to ensure the data generated by high-throughput methods can be easily verified, analyzed and interpreted by the wider scientific community. Minimal information standards are available for a vast variety of experiment types including microarray (MIAME), RNAseq (MINSEQE), metabolomics (MSI) and proteomics (MIAPE).", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.ebi.ac.uk/training/online/courses/bioinformatics-terrified/what-makes-a-good-bioinformatics-database/minimum-information-standards/#:~:text=Minimum%20information%20standards%20are%20sets,by%20the%20wider%20scientific%20community.", - "name": "MI Standards" - }, - { - "description": "The Dublin CoreTM Metadata Element Set is a vocabulary of fifteen properties for use in resource description. The fifteen element \"Dublin CoreTM\" described in this standard is part of a larger set of metadata vocabularies and technical specifications maintained by the Dublin CoreTM Metadata Initiative (DCMI). The full set of vocabularies, DCMI Metadata Terms [DCMI-TERMS], also includes sets of resource classes (including the DCMI Type Vocabulary [DCMI-TYPE]), vocabulary encoding schemes, and syntax encoding schemes. The terms in DCMI vocabularies are intended to be used in combination with terms from other, compatible vocabularies in the context of application profiles and on the basis of the DCMI Abstract Model [DCAM].", - "img_alt": "Chart", - "img_location": "", - "learn_more_href": "https://www.dublincore.org/", - "name": "DublinCore" - } -] diff --git a/src/components/home/homeMidSection/homeMidSection.tsx b/src/components/home/homeMidSection/homeMidSection.tsx index 96d60d46..0c17164c 100644 --- a/src/components/home/homeMidSection/homeMidSection.tsx +++ b/src/components/home/homeMidSection/homeMidSection.tsx @@ -109,7 +109,7 @@ const HomeMidSection = () => { Badges.push({ badgeTitle: BadgeTitleGen(faDna, "Platforms: " + protocolTypes.length), badgeBody: ( - +
{protocolTypes.map((x) => ( @@ -129,7 +129,7 @@ const HomeMidSection = () => { Badges.push({ badgeTitle: BadgeTitleGen(faUser, "Individuals: " + numIndividuals, true), badgeBody: ( -
+
{individualSexes.map((x) => { return ( @@ -150,7 +150,7 @@ const HomeMidSection = () => { Badges.push({ badgeTitle: BadgeTitleGen(faChartColumn, "Files: " + fileStats.count), badgeBody: ( -
+
{fileStats.stats.format.map((x) => ( @@ -169,13 +169,13 @@ const HomeMidSection = () => {

Statistics

-
+
{Badges.map((x, idx) => (
{ - const listPartnersImages: any = importAllFilesFromFolder( - require.context("../../../assets/upload/partners/", false, /\.png$/) - ); - const [prevEl, setPrevEl] = React.useState(null); - const [nextEl, setNextEl] = React.useState(null); - - const carouselHeight = "100px"; - return ( - - -

Our Partners

-
- - -
setPrevEl(node)}> - -
- - - - - {listPartnersImages - .map((value: any) => ({ value, sort: Math.random() })) - .sort((a: any, b: any) => a.sort - b.sort) - .map(({ value }: any) => value) - .map((x: any, idx: number) => ( - -
- Institution -
-
- ))} -
-
- - -
setNextEl(node)}> - -
- - - - - ); -}; - -export default HomePartnersCarousel; diff --git a/src/components/home/homePartners/institutions.json b/src/components/home/homePartners/institutions.json deleted file mode 100644 index a539f89d..00000000 --- a/src/components/home/homePartners/institutions.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "href": "", - "img_location": "", - "name": "" - }, - { - "href": "", - "img_location": "", - "name": "" - } -] diff --git a/src/components/home/homeTopSection/homeTopSection.tsx b/src/components/home/homeTopSection/homeTopSection.tsx index 91e56170..9e6082ad 100644 --- a/src/components/home/homeTopSection/homeTopSection.tsx +++ b/src/components/home/homeTopSection/homeTopSection.tsx @@ -1,6 +1,5 @@ import { Button, Col, Row } from "react-bootstrap"; -import germany from "../../../assets/homepage/Germany.svg"; -import { Link, NavLink } from "react-router-dom"; +import { NavLink } from "react-router-dom"; /** Section on top of the home page where general information is given about platform. */ const HomeTopSection = () => { @@ -8,43 +7,30 @@ const HomeTopSection = () => { const LINK_CLASS = "text-secondary"; return ( - - - Germany - - -

- The GHGA Data Portal is a discovery platform for human omics data - available for research that can be requested from one of the GHGA - Data Hubs. -

-

- The public catalog is a first step towards our goal to provide - comprehensive data archival services for human omics data. -

+ +

- The datasets within are annotated following the GHGA Metadata Model, - which is compatible with the metadata model of the EGA. + The GHGA Data Portal is a secure national infrastructure for human + omics data available under controlled access. Access to the archived + data can be requested from the data controllers who are responsible + for evaluating your data access request.

- Please also see further documentation under  - - “How to get data access” - - , and  - - “Submit data to GHGA” - + GHGA Metadata Model + + , which is compatible with the metadata model of the EGA. +

+

+ For further documentation, please visit the{" "} + + GHGA User Documentation + + .

@@ -52,7 +38,7 @@ const HomeTopSection = () => { variant="quinary" className="py-1 fs-5 mt-4 text-white shadow-md-dark" > - Get started + Browse data
diff --git a/src/components/register/register.tsx b/src/components/register/register.tsx index 7de0ac14..b758df46 100644 --- a/src/components/register/register.tsx +++ b/src/components/register/register.tsx @@ -9,6 +9,7 @@ import { faIdCard, faArrowRightFromBracket, faPenToSquare, + faArrowUpRightFromSquare, } from "@fortawesome/free-solid-svg-icons"; import { useMessages } from "../messages/usage"; import { authService, useAuth } from "../../services/auth"; @@ -25,7 +26,7 @@ const Register = () => { const { user, logoutUser } = useAuth(); const [disabledButton, setDisabledButton] = useState(false); - const oldState = user?.state + const oldState = user?.state; const back = () => { let path = sessionStorage.getItem("lastPath"); @@ -64,7 +65,7 @@ const Register = () => { const buttonText = () => blocked ? (user?.id ? "Confirm" : "Register") : "Continue"; - + const submitUserData = async () => { if (!blocked) { navigate("/setup-2fa"); @@ -127,13 +128,11 @@ const Register = () => { }, modal: true, }); - } - else { + } else { showMessage({ type: "success", title: `Re-registration successful`, - detail: - "You have been successfully re-registered.", + detail: "You have been successfully re-registered.", label1: "Continue", modal: true, }); @@ -222,8 +221,13 @@ const Register = () => { /> diff --git a/src/components/termsOfUse/termsOfUse.tsx b/src/components/termsOfUse/termsOfUse.tsx deleted file mode 100644 index edfe1663..00000000 --- a/src/components/termsOfUse/termsOfUse.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { faGavel } from "@fortawesome/free-solid-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { - STATIC_PAGE_MAIN_DIV_CLASSES, -} from "../../utils/utils"; - -export const TermsOfUse = () => { - return ( -
-
- - TermsOfUse -
-
-
-

- The Terms of Use for the GHGA Data Portal will be available here soon. -

-

- If you register with us via LS Login for downloading or uploading data, you will also need to comply with the{" "} - Acceptable Usage Policy and Conditions of Use of the LS Login service. -

- -
-
- ); -}; - -export default TermsOfUse;