diff --git a/src/components/HorizontalTimeline.tsx b/src/components/HorizontalTimeline.tsx index d3fd0acdfe8f49fa0b68c131bbc02c0076b44944..1121b73de65298510d34b08178c89f1397e3dbe9 100644 --- a/src/components/HorizontalTimeline.tsx +++ b/src/components/HorizontalTimeline.tsx @@ -1,4 +1,4 @@ -/* import { HPdata as data} from "./seclarations"; + function TimeItem({color, tag, title, children, pic, author, tabid}: ItemProps){ return( @@ -135,4 +135,32 @@ function TimeItem({color, tag, title, children, pic, author, tabid}: ItemProps){ } - */ \ No newline at end of file + let data = [ + { + title: "Deutlich längerer Titel zum Test", + pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg", + tag: "Langer langer TAgs", + color: "blue", + author: "author", + tabid: "Eins", + text: "Text", + }, + { + title: "Deutlich längerer Titel zum Test", + pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg", + tag: "Langer langer TAgs", + color: "blue", + author: "author", + tabid: "Eins", + text: "Text", + }, + { + title: "Deutlich längerer Titel zum Test" , + pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg", + tag: "Tag", + color: "blue", + author: "a", + tabid: "Paris", + text: "Text", + } + ] \ No newline at end of file diff --git a/src/components/data/humanpractice.js b/src/components/data/humanpractice.js deleted file mode 100644 index 942db6ec10c13d61f6714582ea96afa253a86c5d..0000000000000000000000000000000000000000 --- a/src/components/data/humanpractice.js +++ /dev/null @@ -1,29 +0,0 @@ -export const HPdata = [ - { - title: "Deutlich längerer Titel zum Test", - pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg", - tag: "Langer langer TAgs", - color: "blue", - author: "author", - tabid: "Eins", - text: "Text", - }, - { - title: "Deutlich längerer Titel zum Test", - pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg", - tag: "Langer langer TAgs", - color: "blue", - author: "author", - tabid: "Eins", - text: "Text", - }, - { - title: "Deutlich längerer Titel zum Test" , - pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg", - tag: "Tag", - color: "blue", - author: "a", - tabid: "Paris", - text: "Text", - } - ] \ No newline at end of file