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

exercise page

parent 0850e55a
No related branches found
No related tags found
No related merge requests found
Pipeline #396841 passed
import "./App.css";
import "../contents/example.css"
import "./App.scss";
import "bootstrap/dist/css/bootstrap.min.css";
import { Route, Routes } from "react-router-dom";
......
:root {
/* our colours*/
--text-primary: #850F78;
--mediumpurple: #bc15aa;
/*--purple: #B85BD1; */
--accen-secondary: #F57D22;
--accent-primary: #F4CC1E;
--lightyellow: #fae99e;
--lightblue: #A0A7F3 ;
--verylightblue: #ebecfd;
--offblack: #32232C ;
--cebitecgray: #8295A4;
/*--offwhite: #e9dff1; */
--ourbeige: #FFF6F2;
--darkerbeige: #e2dad7;
--background: #FFF6F2;
/*igem colours*/
--igemdarkgreen: #006530;
--igemmediumgreen: #019968;
--igemlightgreen: #99cb9a;
--info-border-color: var(--mediumpurple);
--vp-ct: var(--text-primary);
--info-border-color: var(--accent-primary);
--info-bg-color: var(--lightyellow);
--info-title-color: var(--text-primary);
--info-code-bg-color: var(--lightyellow);
--note-border-color: var(--text-primary);
--note-bg-color: var(--darkoffwhite);
--note-title-color: var(--text-primary);
--note-code-bg-color: var(--darkoffwhite);
--tip-border-color: var(--text-primary);
--tip-bg-color: var(--darkoffwhite);
--tip-title-color: var(--text-primary);
--tip-code-bg-color: var(--darkoffwhite);
--warning-border-color: var(--accen-secondary);
--warning-bg-color: var(--lightorange);
--warning-title-color: var(--text-primary);
--warning-code-bg-color: var(--lightorange);
}
.example-docu{
background-color: var(--igemlightgreen);
width: fit-content;
}
\ No newline at end of file
import SimpleSlider from "../components/slider";
export function Example() {
return (
<>
<div className="row mt-4">
<div className="col-lg-8">
</div>
<div className="col">
<h3 className="example">Exercises</h3>
<i><h6>By Your name</h6></i>
<div className="example-exercise">
<p> All components should be in this file. The extra css has to be put into exapmle.css. Turn to Liliana if you need or want a scss file, too.</p>
<p>The code you create should be in the respective columns where the assignments are, if not stated otherwise. </p>
<p>Write down how you did it in the documentation-box as a documentation for the others. Use the Docu-Boc component for that.You have to add it to your axercise block manually. </p>
</div>
<DocuBox>
<p>I wrote a text.</p>
</DocuBox>
</div>
<hr/>
<div className="col">
<h3>Lists</h3>
<i><h6>By </h6></i>
<div className="example-exercise">
<p>a. Create a numbered list of fruits. Five items are enough. Use the HTML list element.</p>
<p>b. Create a second column next to the one with the fruit list that contains a button. </p>
</div>
</div>
<hr/>
<div className="col">
<h3>Pictures</h3>
<i><h6>By </h6></i>
<div className="example-exercise">
<p>a. Insert a centered picture of Sinan here. It should be half as wide as the column and have a dottet frame in our purple.</p>
<p>b. When hovering over the picture, it should turn black and white. </p>
</div>
</div>
<hr/>
<div className="col">
<h3>Exercise box</h3>
<i><h6>By </h6></i>
<div className="example-exercise">
<p>Create a box that differs in looks from the rest of the site and emphazises it contains an assignment. </p>
<p>Archieve this effect by using background, shadow, border and/or other css effects on the class "example-exercise". The box should be aestetically pleasing unlike the documentation box. </p>
</div>
</div>
<hr/>
<div className="col">
<h3>Exercise box</h3>
<i><h6>By </h6></i>
<div className="example-exercise"></div>
<p>a. Insert a pdf using our PDF component.</p>
</div>
<hr/>
<div className="col">
<h3>Exercise box</h3>
<i><h6>By </h6></i>
<div className="example-exercise"></div>
<p> Add a dummy sponsor to this slider.</p>
<SimpleSlider>
<a className="sponsor-container" href="https://bts-ev.de/">
<img className="img-sponsor" src="https://static.igem.wiki/teams/5247/sponsors/bts.png"/>
</a>
<a className="sponsor-container" href="https://www.uni-bielefeld.de/fakultaeten/technische-fakultaet/arbeitsgruppen/multiscale-bioengineering/campusbrauerei/">
<img className="img-sponsor" src="https://static.igem.wiki/teams/5247/sponsors/campus-brauerei-hinterlegt.jpeg"/>
</a>
<a className="sponsor-container" href="www.idtdna.com">
<img className="img-sponsor" src="https://static.igem.wiki/teams/5247/sponsors/idt-logo.png"></img>
</a>
<a className="sponsor-container" href="https://www.cebitec.uni-bielefeld.de/">
<img className="img-sponsor" src="https://static.igem.wiki/teams/5247/sponsors/cebitec-farbe.png"/>
</a>
</SimpleSlider>
</div>
<hr/>
<div className="col">
<h4>Header</h4>
<i><h6>By </h6></i>
<div className="example-exercise">
<p>a. Create a header file for this page. It has to be visible and therefore be added to pages.ts</p>
<p>b. Add this page to the navbar under "Contrubution". </p>
</div>
</div>
<hr/>
</>
);
}
function DocuBox({children}: {children: React.ReactNode}){
return(
<>
<div className="example-docu">
<h5>Documentation: </h5>
<div>
{children}
</div>
</div>
</>
)
}
\ No newline at end of file
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