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

Major responsive design update #82

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 112 additions & 12 deletions next-app/src/app/about/faq/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,115 @@
'use client';
"use client";

import { ReactElement } from 'react';
import AccordionComponent from '@/components/AccordionComponent';
import { TrackPageViewIfEnabled } from '@/util/cookiesHandling';
import { ReactElement } from "react";
import { TrackPageViewIfEnabled } from "@/util/cookiesHandling";

export default function AboutFAQPage(): ReactElement {
TrackPageViewIfEnabled();

return (
<>
<AccordionComponent />
</>
);
}
TrackPageViewIfEnabled();

return (
<>
<div className="collapse collapse-arrow bg-neutral mb-4">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-xl font-medium">
What is the Data Science Node in Precision Medicine & Diagnostics?
</div>
<div className="collapse-content">
<p>
We are one out of the four Data Driven Life Science&apos;s nodes at
SciLifeLab; our node is hosted by Karolinska Institutet. Established
in late 2023, we are currently organising our efforts to develop
technologies and data support that aid Swedish precision medicine
researchers and bridge the gap between hospital and research. By
providing robust data science tools and support, we aim to empower
researchers who focus on enhancing diagnostics and personalised
treatment strategies, facilitating the translation of precision
medicine innovations into clinical practice. Our work is
specifically driven by the Data Centre, a central hub within
SciLifeLab.{" "}
</p>
</div>
</div>
<div className="collapse collapse-arrow bg-neutral mb-4">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-xl font-medium">
How do you take the FAIR principles into account in your work?
</div>
<div className="collapse-content">
<p>
We incorporate the FAIR principles by keeping our code open on a
GitHub repository (link) and want to offer several dashboards with
open data for researchers. We aim to make data on our portal
findable and accessible, as well as providing detailed dataset
descriptions, thus enhancing reusability. We address
interoperability on our platform by actively participating in
national and international projects that aim to create a cohesive
precision medicine ecosystem and a coordinated exchange system of
data between regions and EU countries.{" "}
</p>
</div>
</div>
<div className="collapse collapse-arrow bg-neutral mb-4">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-xl font-medium">
How can I provide feedback or suggest improvements for the portal?
</div>
<div className="collapse-content">
<p>
We highly value your feedback. Please share your suggestions and
comments through the contact form.{" "}
</p>
</div>
</div>
<div className="collapse collapse-arrow bg-neutral mb-4">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-xl font-medium">
Where do the courses and events you diplay come from? Where can I
submit event information?
</div>
<div className="collapse-content">
<p>
The majority of events and training sessions are sourced from
external APIs, with contributions from both SciLifeLab Training Hub
and NBIS. If you have an API that enables the fetching of relevant
events in the fields of precision medicine and diagnostics, please
reach out to our team via the contact form. If you have individual
events or courses that you would like us to feature, please contact
us, and we could display it on our page. In the future, we plan to
offer a specific form that will allow you to submit all the required
information directly. Please stay tuned for this update.
</p>
</div>
</div>
<div className="collapse collapse-arrow bg-neutral mb-4">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-xl font-medium">
How was the data sources list curated? Can I add specific data sources
myself?
</div>
<div className="collapse-content">
<p>
The Data Centre&apos;s data stewards have manually searched for,
collected, and summarised the displayed data sources. We recognise
that new sources are continually emerging and strive to keep our
data updated and accurate. If you think we have missed a source or
have mislabelled one, please contact us using the contact form..
</p>
</div>
</div>
<div className="collapse collapse-arrow bg-neutral">
<input type="radio" name="my-accordion-2" />
<div className="collapse-title text-xl font-medium">
How can I showcase my research data on the portal?
</div>
<div className="collapse-content">
<p>
We are always eager to collaborate and support the Swedish precision
medicine and diagnostics research community. If you would like your
project or data source to be featured as a separate page on this
portal, please reach out to us via the contact form.
</p>
</div>
</div>
</>
);
}
3 changes: 1 addition & 2 deletions next-app/src/app/about/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { BODY_CLASSES } from "@/constants";
import "../globals.css";
import AboutPageComponent from "@/components/AboutPageComponent";
import { LastUpdated } from "@/components/common/last-updated";
Expand All @@ -9,7 +8,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<div className={BODY_CLASSES}>
<div>
<AboutPageComponent />
{children}
<LastUpdated date="11-11-2024" />
Expand Down
Loading
Loading