Skip to content
Snippets Groups Projects
Commit 4c8d0827 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

tag system

parent 0b217286
No related branches found
No related tags found
No related merge requests found
Pipeline #394513 passed
......@@ -793,6 +793,22 @@ svg{
width: fit-content !important;
}
.Patient{
background-color: var(--accen-secondary);
}
.Medical{
background-color: var(--accent-primary);
}
.Academia{
background-color: var(--lightblue);
}
.Industry{
background-color: var(--text-primary);
}
.timelineolli {
position: relative;
display: inline-block;
......
function TimeItem({color, tag, title, children, pic, author, tabid}: ItemProps){
function TimeItem({tag, title, children, pic, author, tabid}: ItemProps){
let cl = "t-tag " + tag;
return(
<li className="timelineolli">
<div className="timeline-item moretop">
<div className="">
<div className="t-tag" style={{ background: color }}>
<div className={cl}>
{tag}
</div>
<div className="row align-items-center">
......@@ -108,7 +109,6 @@ function TimeItem({color, tag, title, children, pic, author, tabid}: ItemProps){
title: string ,
children: React.ReactNode;
tag: string,
color: string,
pic: string,
author: string,
tabid: string
......@@ -124,7 +124,6 @@ function TimeItem({color, tag, title, children, pic, author, tabid}: ItemProps){
title={data[i].title}
pic={data[i].pic}
tag={data[i].tag}
color={data[i].color}
author={data[i].author}
tabid={data[i].tabid}
>
......@@ -139,28 +138,25 @@ function TimeItem({color, tag, title, children, pic, author, tabid}: ItemProps){
{
title: "Deutlich längerer Titel zum Test",
pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg",
tag: "Langer langer TAgs",
color: "blue",
tag: "Patient",
author: "author",
tabid: "Eins",
tabid: "Max",
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",
tag: "Academia",
author: "author",
tabid: "Eins",
tabid: "Weber",
text: "Text",
},
{
title: "Deutlich längerer Titel zum Test" ,
pic: "https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg",
tag: "Tag",
color: "blue",
tag: "Medical Professional",
author: "a",
tabid: "Paris",
tabid: "Physio",
text: "Text",
}
]
\ No newline at end of file
......@@ -8,8 +8,8 @@
- Filter mit HalbkreisDing als Tabsteuerung | Einteilung nach Bereich (Academia, Insustry, ..., und auch nach Delivery und Mechanism)
- DNA Strang als Timeline?
*/
/* import { TimeHori } from "../components/HorizontalTimeline";
import { AllPopus } from "../components/HorizontalTimeline"; */
import { TimeHori } from "../components/HorizontalTimeline";
import { AllPopus } from "../components/HorizontalTimeline";
export function HumanPractices() {
......@@ -17,21 +17,51 @@ export function HumanPractices() {
return (
<>
{/*
<AllPopus></AllPopus>
<TimeHori></TimeHori> */}
<TimeHori></TimeHori>
<div>
<div id="Eins" className="tabcontent">
<div id="Max" className="tabcontent">
<h3>London</h3>
<p>London is the capital city of England.</p>
</div>
<div id="Paris" className="tabcontent">
<div id="Wischmeyer" className="tabcontent">
<h3>Paris</h3>
<p>Paris is the capital of France.</p>
</div>
<div id="Zwei" className="tabcontent">
<div id="Berens" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Friedlein" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Rnhale" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Mattjis" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Physio" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Eltern" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Olariu" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Weber" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
<div id="Eltern" className="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment