From c5046647459a63482487b13fca33598ea8e74fa3 Mon Sep 17 00:00:00 2001
From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de>
Date: Wed, 25 Sep 2024 17:33:17 +0200
Subject: [PATCH] hp

---
 src/contents/Human Practices/HP-abstract.tsx     | 11 +++++++++++
 src/contents/Human Practices/human-practices.tsx |  2 ++
 src/contents/description.tsx                     | 13 +++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 src/contents/Human Practices/HP-abstract.tsx

diff --git a/src/contents/Human Practices/HP-abstract.tsx b/src/contents/Human Practices/HP-abstract.tsx
new file mode 100644
index 00000000..58191a2a
--- /dev/null
+++ b/src/contents/Human Practices/HP-abstract.tsx	
@@ -0,0 +1,11 @@
+import { LoremMedium } from "../../components/Loremipsum"
+import { Section } from "../../components/sections"
+
+export function HPAbstract(){
+
+    return(
+        <Section title="Abstract" id="Abstract">
+            <LoremMedium/>
+        </Section>
+    )
+}
\ No newline at end of file
diff --git a/src/contents/Human Practices/human-practices.tsx b/src/contents/Human Practices/human-practices.tsx
index fc002599..390fb210 100644
--- a/src/contents/Human Practices/human-practices.tsx	
+++ b/src/contents/Human Practices/human-practices.tsx	
@@ -55,6 +55,7 @@ import { HPIntegrated } from "./IHP";
 import { HPFurtherEngagement } from "./Further Engagement/FurtherEngagement";
 import { HPSupplement } from "./Further Engagement/SupMaterial";
 import { useTabNavigation } from "../../utils/TabNavigation";
+import { HPAbstract } from "./HP-abstract";
 
 export function HumanPractices() {
   useTabNavigation();
@@ -64,6 +65,7 @@ export function HumanPractices() {
 
   return (  
     <div className="col">
+      <HPAbstract/>
       <HPOverview/>
       <HPIntroduction/>
       <HPIntegrated/>
diff --git a/src/contents/description.tsx b/src/contents/description.tsx
index 91df5776..d73df700 100644
--- a/src/contents/description.tsx
+++ b/src/contents/description.tsx
@@ -524,6 +524,12 @@ let symptombuttonrowdata = [
 function createSymptomSteckbrief(data: SymptomDatensatz){
     let examplelist = []; 
     for (let index = 0; index < data.subsections.length; index++) {
+        let absaetze = []
+        for (let i = 0; i < data.subsections[index].text.length; i++) {
+            absaetze.push(
+                <p>{data.subsections[index].text[i]}</p>
+            )
+        }
         examplelist.push(
             <div className="drug">
                 <H4 text={data.subsections[index].title}/>
@@ -557,6 +563,13 @@ function createSymptomSteckbrief(data: SymptomDatensatz){
 function createDrugSteckbrief(data: DrugDatensatz){
     let examplelist = []; 
     for (let index = 0; index < data.examples.length; index++) {
+        let absaetze = []
+        for (let i = 0; i < data.examples[index].text.length; i++) {
+            absaetze.push(
+                <p>{data.examples[index].text[i]}</p>
+            )
+            
+        }
         examplelist.push(
             <div className="drug">
                 <H4 text={data.examples[index].title}/>
-- 
GitLab