diff --git a/src/contents/description.tsx b/src/contents/description.tsx index cbd7cabbde5de6b3e171f28ee1c6bcea969da319..fad916939a5488bf2b22b871a3d24bf0f2df7edb 100644 --- a/src/contents/description.tsx +++ b/src/contents/description.tsx @@ -481,12 +481,12 @@ export function Description() { }, { - node: createDrugSteckbrief(drugdata[0]), + node: createDrugSteckbrief(drugdata[1]), buttonname: "Modulators", cssname: "modulators" }, { - node: createDrugSteckbrief(drugdata[0]), + node: createDrugSteckbrief(drugdata[2]), buttonname: "Inhalations", cssname: "inhalations" }, diff --git a/src/data/drug-data.tsx b/src/data/drug-data.tsx index 4b19cedcb8900baaf2cd61f5446ba43498dff41f..f390e6022c0e39058eb2df021995d0a012764549 100644 --- a/src/data/drug-data.tsx +++ b/src/data/drug-data.tsx @@ -2,11 +2,60 @@ export interface DrugDatensatz { name: string; picture: string; + introduction: string; + examples: Array<example>; + +} + +interface example{ + title: string, + text: string } export const drugdata: (Array<DrugDatensatz>) = [ { name: "About", - picture: "" + picture: "...", + introduction: "", + examples: [ + { + title: "", + text: "string" + }, + { + title: "", + text: "string" + }, + ] }, + { + name: "Modulators", + picture: "...", + introduction: "", + examples: [ + { + title: "", + text: "string" + }, + { + title: "", + text: "string" + }, + ] + }, + { + name: "Modulators", + picture: "...", + introduction: "", + examples: [ + { + title: "", + text: "string" + }, + { + title: "", + text: "string" + }, + ] + } ] \ No newline at end of file