From ffc44c89cf5a10c62a314ba82d579286eb2b0c64 Mon Sep 17 00:00:00 2001 From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de> Date: Wed, 25 Sep 2024 19:05:44 +0200 Subject: [PATCH] keya --- src/data/hptimelinedata.tsx | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/src/data/hptimelinedata.tsx b/src/data/hptimelinedata.tsx index bc0f0bec..7ba75aad 100644 --- a/src/data/hptimelinedata.tsx +++ b/src/data/hptimelinedata.tsx @@ -27,31 +27,9 @@ export interface TimelineDatenpunkt { more_pictures?: Array<string> ; references?: Array<React.ReactNode>; /* Muss HTML Code sein - Liliana erstellt den aus Bib dateien */ interview?: React.ReactNode; + text: string | Array<string> | Array<React.ReactNode>; /* Extra Text */ } -export interface TimelineDatenpunktZwei { - title?: string; /* Prof. , Dr., ... */ - vorname: string; - nachnname: string; - pictureurl: string; - tag: StakeholderTag; - heading: string; - interviewtabid: string; - type: TypeTag; /* nur falls es ein meta tag ist */ - affiliation?: string; - job?: string; - cardtext: string; - language?: Language; - quote: string; - quoteVorname?: string; /* Wenn die quote nicht von der Person ist über die der Text ist */ - quoteNachname?: string; - text: Array<string> | Array<React.ReactNode>; - pictureurl_interview?: string; /* Picture that goes into the paragraph "Insights" */ - pictureurl_aim?: string; /* Picture that goes into the paragraph "Aim of contact" */ - pictureurl_implementation?: string; /* Picture that goes into the paragraph "Implementation" */ - more_pictures?: Array<string> ; - references?: Array<React.ReactNode>; /* Muss HTML Code sein - Liliana erstellt den aus Bib dateien */ - interview?: React.ReactNode; -} + type StakeholderTag = 'Industry' | 'Academia' | 'Patient' | 'Medical Professional' | 'Milestone' | 'Other'; type TypeTag = 'meta' | 'kaya' ; type Language = 'en' | 'de'; @@ -92,7 +70,7 @@ const pics: { [key: string]: string } = { Fehlende Infos einfach leer lassen und keine Dummy-Texte einfügen! */ -export const timelinedata: Array<TimelineDatenpunkt> | Array<TimelineDatenpunktZwei> = [ +export const timelinedata: Array<TimelineDatenpunkt> = [ { vorname: "Building the team", nachnname: "", -- GitLab