Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates #86

Merged
merged 7 commits into from
Nov 13, 2024
27 changes: 21 additions & 6 deletions next-app/src/app/accessclinicaldata/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -90,10 +90,17 @@ export default function AboutPage(): ReactElement {
<p>
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{" "}
<a
href="https://www.1177.se/sa-fungerar-varden/lagar-och-bestammelser/nationella-kvalitetsregister/#:~:text=I%20nationella%20kvalitetsregister%20samlas%20information,l%C3%A4mnas%20till%20ett%20nationellt%20kvalitetsregister"
target="_blank"
className="text-primary hover:text-black underline"
>
(further information in Swedish)
</a>
. Data from a certain registry can be requested by researchers after
approval by a steering group consisting of health care professionals
and patient representatives.
</p>
<p>
Healthcare providers must inform patients before their medical
Expand All @@ -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{" "}
<a
href="https://www.riksdagen.se/sv/dokument-och-lagar/dokument/svensk-forfattningssamling/patientdatalag-2008355_sfs-2008-355/#K7"
target="_blank"
className="text-primary hover:text-black underline"
>
(further information in Swedish)
</a>
.
</p>
<p>
Every quality registry in Sweden is connected to one of six centres
Expand Down
27 changes: 27 additions & 0 deletions next-app/src/app/contact/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,33 @@ export default function ContactPage(): ReactElement {
</ul>
</div>
<div className="flex flex-col gap-y-4">
<div className="alert">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
className="h-6 w-6 shrink-0 stroke-current"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
></path>
</svg>
<span className="text-sm lg:text-base">
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{" "}
<a
href="mailto:[email protected]"
className="text-primary hover:text-black underline"
>
[email protected]
</a>
.
</span>
</div>
<Title level={1}>Contact</Title>
<p>
Please fill out this form if you need to contact us at the Swedish
Expand Down
9 changes: 4 additions & 5 deletions next-app/src/app/privacy/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ export default function PrivacyPage(): ReactElement {
<div className="flex flex-col gap-y-4">
<Title level={1}>Privacy policy</Title>
<p>
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.
</p>
<Title level={2}>Data collection and usage</Title>
<p>
Expand Down
2 changes: 1 addition & 1 deletion next-app/src/components/ContactFormComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default function ContactFormComponent(): ReactElement {
/>
</div>
<div className="flex flex-col items-center">
{checkFormFilled() && checkValidForm() ? (
{checkFormFilled() && checkValidForm() && false ? (
recaptchaPassed ? (
<input
type="submit"
Expand Down
10 changes: 5 additions & 5 deletions next-app/src/components/FooterComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 } = {
Expand Down
Loading