From c3403d4dc84e70fa9a608b8383bb7f67ab709fa4 Mon Sep 17 00:00:00 2001 From: JanProgrammierung Date: Mon, 11 Nov 2024 13:32:54 +0100 Subject: [PATCH 1/2] Changed Footer titles to lower case and replaced one link on clinical data page. Signed-off-by: JanProgrammierung --- next-app/src/app/accessclinicaldata/page.tsx | 27 +++++++++++++++----- next-app/src/components/FooterComponent.tsx | 10 ++++---- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/next-app/src/app/accessclinicaldata/page.tsx b/next-app/src/app/accessclinicaldata/page.tsx index 0207b4e..3772a0c 100644 --- a/next-app/src/app/accessclinicaldata/page.tsx +++ b/next-app/src/app/accessclinicaldata/page.tsx @@ -13,7 +13,7 @@ export default function AboutPage(): ReactElement { const breadcrumbs: { [id: string]: ILink } = { l1: { text: "Home", classes: "", link: "/" }, - l2: { text: "Access Clinical Data", classes: "", link: "" }, + l2: { text: "Access clinical data", classes: "", link: "" }, }; return ( @@ -90,10 +90,17 @@ export default function AboutPage(): ReactElement {

The Swedish quality registries aim to improve the health care system by collecting individualised health data about, for example, certain - diagnoses or problems (further information in Swedish). Data from a - certain registry can be requested by researchers after approval by a - steering group consisting of health care professionals and patient - representatives. + diagnoses or problems{" "} + + (further information in Swedish) + + . Data from a certain registry can be requested by researchers after + approval by a steering group consisting of health care professionals + and patient representatives.

Healthcare providers must inform patients before their medical @@ -103,7 +110,15 @@ export default function AboutPage(): ReactElement { quality register or research study if the individual objects. If a person opposes the processing of their personal data after it has begun, the information should be erased from the register as soon as - possible (further information in Swedish). + possible{" "} + + (further information in Swedish) + + .

Every quality registry in Sweden is connected to one of six centres diff --git a/next-app/src/components/FooterComponent.tsx b/next-app/src/components/FooterComponent.tsx index 849fffc..be18af5 100644 --- a/next-app/src/components/FooterComponent.tsx +++ b/next-app/src/components/FooterComponent.tsx @@ -8,28 +8,28 @@ import { LINK_CLASSES } from "@/constants"; export default function FooterComponent(): ReactElement { const linksCol1: { [id: string]: ILink } = { - l1: { text: "Data Sources", classes: LINK_CLASSES, link: "/datasources" }, + l1: { text: "Data sources", classes: LINK_CLASSES, link: "/datasources" }, l2: { text: "Registries", classes: LINK_CLASSES, link: "/registries", }, l3: { - text: "Access Clinical Data", + text: "Access clinical data", classes: LINK_CLASSES, link: "/accessclinicaldata", }, l4: { - text: "KIARVA Dashboard", + text: "KIARVA dashboard", classes: LINK_CLASSES, link: "/kiarva", }, }; const linksCol2: { [id: string]: ILink } = { - l5: { text: "About Us", classes: LINK_CLASSES, link: "/about/product" }, + l5: { text: "About us", classes: LINK_CLASSES, link: "/about/product" }, l6: { text: "Contact", classes: LINK_CLASSES, link: "/contact" }, - l7: { text: "Privacy Policy", classes: LINK_CLASSES, link: "/privacy" }, + l7: { text: "Privacy policy", classes: LINK_CLASSES, link: "/privacy" }, }; const svgs: { [id: string]: ISVG } = { From daf997d74fefd5ad9acd9ca11880c024de1fc029 Mon Sep 17 00:00:00 2001 From: JanProgrammierung Date: Tue, 12 Nov 2024 16:24:08 +0100 Subject: [PATCH 2/2] Disabled the contact form and added an alert to inform the user Signed-off-by: JanProgrammierung --- next-app/src/app/contact/page.tsx | 27 +++++++++++++++++++ next-app/src/app/privacy/page.tsx | 9 +++---- .../src/components/ContactFormComponent.tsx | 2 +- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/next-app/src/app/contact/page.tsx b/next-app/src/app/contact/page.tsx index c90c127..55cea53 100644 --- a/next-app/src/app/contact/page.tsx +++ b/next-app/src/app/contact/page.tsx @@ -34,6 +34,33 @@ export default function ContactPage(): ReactElement {

+
+ + + + + The contact page is currently under reconstruction, and the contact + form below has been disabled. In the meantime, please reach out to + the Data Science Node in Precision Medicine and Diagnostics at{" "} + + precisionmedicine@scilifelab.se + + . + +
Contact

Please fill out this form if you need to contact us at the Swedish diff --git a/next-app/src/app/privacy/page.tsx b/next-app/src/app/privacy/page.tsx index a0b8463..3d62c59 100644 --- a/next-app/src/app/privacy/page.tsx +++ b/next-app/src/app/privacy/page.tsx @@ -59,11 +59,10 @@ export default function PrivacyPage(): ReactElement {

Privacy policy

- SciLifeLab operates the Swedish Precision Medicine Portal, which - provides the Service. This page is intended to inform website visitors - about our personal data processing policy. By using our Service, you - agree that your personal data will be processed in accordance with - this policy. + Data Centre at SciLifeLab provides and operates the Precision Medicine + Portal. This page is intended to inform website visitors about our + personal data processing policy. By using our Service, you agree that + your personal data will be processed in accordance with this policy.

Data collection and usage

diff --git a/next-app/src/components/ContactFormComponent.tsx b/next-app/src/components/ContactFormComponent.tsx index 35dad95..7fa36af 100644 --- a/next-app/src/components/ContactFormComponent.tsx +++ b/next-app/src/components/ContactFormComponent.tsx @@ -159,7 +159,7 @@ export default function ContactFormComponent(): ReactElement { />

- {checkFormFilled() && checkValidForm() ? ( + {checkFormFilled() && checkValidForm() && false ? ( recaptchaPassed ? (