Skip to content

Commit

Permalink
Merge pull request #95 from ScilifelabDataCentre/logo_sizes
Browse files Browse the repository at this point in the history
Logo sizes and removed SCAPIS
  • Loading branch information
JanProgrammierung authored Dec 23, 2024
2 parents e99b85b + d40776b commit 5411f62
Show file tree
Hide file tree
Showing 67 changed files with 10 additions and 11 deletions.
Binary file modified next-app/public/img/datasources/BBMRI-ERIC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/BioSamples.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/EMPIAR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/ENA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/GDC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/Genevestigator_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/MassIVE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/PDBe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/PDC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/PRIDE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/Reactome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/SCAPIS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/SCB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/SND.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/Sveriges_dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/UK_biobank_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/UniProt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/VR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/aida.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/alphafold_db.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/arrayexpress.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/bioimagearchive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/bioimagezoo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/biostudies.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/cbioportal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified next-app/public/img/datasources/ccle.png
Binary file modified next-app/public/img/datasources/cellosaurus.png
Binary file modified next-app/public/img/datasources/chembl.png
Binary file modified next-app/public/img/datasources/clinvar.png
Binary file modified next-app/public/img/datasources/decipher.png
Binary file modified next-app/public/img/datasources/dryad.png
Binary file modified next-app/public/img/datasources/ecdb.png
Binary file modified next-app/public/img/datasources/ecdc.png
Binary file modified next-app/public/img/datasources/ega.png
Binary file modified next-app/public/img/datasources/ensembl.png
Binary file modified next-app/public/img/datasources/fega-sweden-logo.png
Binary file modified next-app/public/img/datasources/figshare.png
Binary file modified next-app/public/img/datasources/gemma.png
Binary file modified next-app/public/img/datasources/geo.png
Binary file modified next-app/public/img/datasources/gwas.png
Binary file modified next-app/public/img/datasources/hdca.png
Binary file modified next-app/public/img/datasources/hgnc.png
Binary file modified next-app/public/img/datasources/hpa.png
Binary file modified next-app/public/img/datasources/inparanoidb.png
Binary file modified next-app/public/img/datasources/intact.png
Binary file modified next-app/public/img/datasources/mendeley-data.png
Binary file modified next-app/public/img/datasources/metatlas.png
Binary file modified next-app/public/img/datasources/mint.png
Binary file modified next-app/public/img/datasources/orphadata.png
Binary file modified next-app/public/img/datasources/orthodisease.png
Binary file modified next-app/public/img/datasources/pathogens.png
Binary file modified next-app/public/img/datasources/pdb.png
Binary file modified next-app/public/img/datasources/proteomexchange.png
Binary file modified next-app/public/img/datasources/sbdi.png
Binary file modified next-app/public/img/datasources/scilifelab.png
Binary file modified next-app/public/img/datasources/silva.png
Binary file modified next-app/public/img/datasources/skin-sci-foundation.png
Binary file modified next-app/public/img/datasources/socialstyrelsen.png
Binary file modified next-app/public/img/datasources/sonnhammer.png
Binary file modified next-app/public/img/datasources/sra.png
Binary file modified next-app/public/img/datasources/string.png
Binary file modified next-app/public/img/datasources/subcell.png
Binary file modified next-app/public/img/datasources/swiss-model.png
Binary file modified next-app/public/img/datasources/tcga.png
Binary file modified next-app/public/img/datasources/tcia.png
Binary file modified next-app/public/img/datasources/veupathdb.png
21 changes: 10 additions & 11 deletions next-app/src/app/datasources/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,13 @@ export default function DataPage(): ReactElement {
async function getData() {
try {
const response = await axios.get(dataSourcesURI);
const tmpDataSourcesJSON = response.data.filter(
(element: IDataSourcesDC) =>
const tmpDataSourcesJSON = response.data
.filter((element: IDataSourcesDC) =>
element.ddls.includes("Precision Medicine and Diagnostics")
);
)
.filter(
(element: IDataSourcesDC) => element.name !== "SCAPIS database"
); // Exclude "SCAPIS"
setDataSourcesJSON(tmpDataSourcesJSON);
} catch (error) {
console.error("Error fetching data:", error);
Expand Down Expand Up @@ -197,12 +200,10 @@ export default function DataPage(): ReactElement {
<div className="lg:grid lg:grid-cols-4 lg:gap-8 pt-8">
<div className="lg:col-span-1 mb-8 lg:mb-0">
<div className="space-y-8">
{/* Disclaimer */}
<div className="w-full max-w-lg bg-muted border border-neutral rounded-lg p-4 text-sm text-muted-foreground text-left mx-auto">
To access data, researchers may need to obtain ethical approval,
submit data requests and set up data management agreements.
</div>
{/* Search */}
<div className="space-y-4">
<label
htmlFor="search"
Expand All @@ -220,7 +221,6 @@ export default function DataPage(): ReactElement {
className="bg-muted"
/>
</div>
{/* Data Type Filters */}
<div className="space-y-4">
<h2 className="font-bold text-2xl text-foreground">Data Type</h2>
<Card>
Expand Down Expand Up @@ -248,7 +248,6 @@ export default function DataPage(): ReactElement {
</CardContent>
</Card>
</div>
{/* Disease Type Filters */}
<div className="space-y-4">
<h2 className="font-bold text-2xl text-foreground">
Disease Type
Expand Down Expand Up @@ -293,17 +292,17 @@ export default function DataPage(): ReactElement {
.map((item, index) => (
<Card key={index}>
<CardHeader className="bg-muted">
<CardTitle className="flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4">
<CardTitle className="flex flex-row justify-between items-center gap-4 sm:flex-row">
<a
href={sanitizeURL(item.url)}
target="_blank"
rel="noopener noreferrer"
className="text-xl text-primary hover:underline"
className="text-xl text-primary hover:underline flex-grow"
>
{item.name}
</a>
<img
className="float-right w-62 h-12 object-scale-down object-right pl-2"
className="w-40 h-10 object-contain object-right"
src={`/img/datasources/${sanitizeString(
item.thumbnail.split("/").pop()?.split(".")[0] || ""
)}.png`}
Expand All @@ -318,7 +317,7 @@ export default function DataPage(): ReactElement {
))}
</div>
</div>
<LastUpdated date="11-11-2024" />
<LastUpdated date="18-12-2024" />
</div>
);
}

0 comments on commit 5411f62

Please sign in to comment.