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

new pages + HP

parent 06d9acc7
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
--mediumpurple: #bc15aa; --mediumpurple: #bc15aa;
/*--purple: #B85BD1; */ /*--purple: #B85BD1; */
--accen-secondary: #F57D22; --accen-secondary: #F57D22;
--accent-gradient-one-of-three: #F59121;
--accent-gradient-two-of-three: #F5A520;
--accent-gradient-three-of-three: #F5B91F;
--accent-primary: #F4CC1E; --accent-primary: #F4CC1E;
--lightyellow: #fae99e; --lightyellow: #fae99e;
--lightblue: #A0A7F3 ; --lightblue: #A0A7F3 ;
...@@ -3323,13 +3326,28 @@ div[class*="boxy"] { ...@@ -3323,13 +3326,28 @@ div[class*="boxy"] {
animation-play-state: paused; animation-play-state: paused;
} */ } */
.methods-node:nth-of-type(1) div{
margin-top: 25%;
font-weight: bold;
font-size: medium;
}
.methods-node:nth-of-type(3) div{
margin-top: 35%;
font-weight: bold;
font-size: small;
}
.methods-node:nth-of-type(5) div, .methods-node:nth-of-type(2) div, .methods-node:nth-of-type(4) div{
margin-top: 35%;
font-weight: bold;
font-size: medium;
}
.methods-node{ .methods-node{
position: relative; position: relative;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
height: 6rem; height: 6rem;
width: 6rem; width: 6rem;
line-height: var(--node-size);
border: 0.1vw solid var(--text-primary); border: 0.1vw solid var(--text-primary);
border-radius: 50%; border-radius: 50%;
cursor: pointer; cursor: pointer;
...@@ -3342,10 +3360,19 @@ div[class*="boxy"] { ...@@ -3342,10 +3360,19 @@ div[class*="boxy"] {
text-align: center; text-align: center;
} }
.methods-node:nth-of-type(1){ .methods-node:nth-of-type(1){
background-color: var(--accent-primary); background-color: var(--accen-secondary);
} }
.methods-node:nth-of-type(2){ .methods-node:nth-of-type(2){
background-color: var(--accen-secondary); background-color: var(--accent-gradient-one-of-three);
}
.methods-node:nth-of-type(3){
background-color: var(--accent-gradient-two-of-three);
}
.methods-node:nth-of-type(4){
background-color: var(--accent-gradient-three-of-three);
}
.methods-node:nth-of-type(5){
background-color: var(--accent-primary);
} }
.methods-node:nth-of-type(odd) { .methods-node:nth-of-type(odd) {
top: 2vw; top: 2vw;
......
...@@ -937,7 +937,7 @@ export function EngineeringCycle(){ ...@@ -937,7 +937,7 @@ export function EngineeringCycle(){
function EngineeringCycleZwei(){ export function EngineeringCycleZwei(){
return( return(
<svg <svg
viewBox="0 0 15851.014 15529.118" viewBox="0 0 15851.014 15529.118"
......
export function Collaborations() {
return (
<>
<div className="row mt-4">
<div className="col">
</div>
</div>
</>
);
}
\ No newline at end of file
export function Education() {
return (
<>
<div className="row">
<div className="col">
<h2>Wiki under construction!</h2>
<hr/>
</div>
</div>
<div className="row">
</div>
</>
);
}
\ No newline at end of file
...@@ -16,7 +16,6 @@ import { BlockQuoteB } from "../components/Quotes"; ...@@ -16,7 +16,6 @@ import { BlockQuoteB } from "../components/Quotes";
import { Box, Tab } from "@mui/material"; import { Box, Tab } from "@mui/material";
import {TabContext, TabList, TabPanel} from '@mui/lab'; import {TabContext, TabList, TabPanel} from '@mui/lab';
import React from "react"; import React from "react";
import { Circle } from "../components/Shapes";
let timelinebuttonrowdata = [ let timelinebuttonrowdata = [
...@@ -165,9 +164,9 @@ export function HumanPractices() { ...@@ -165,9 +164,9 @@ export function HumanPractices() {
</section> </section>
<section id="Methods" className="section"> <section id="Methods" className="section">
<div className="center"> <div className="center">
<h3 className="col personalstyleone">Methods</h3> <h3 className="col personalstyleone">Method</h3>
</div> </div>
<ButtonFourFill></ButtonFourFill> <HPTabsTwo/>
</section> </section>
<section id="Analysis"> <section id="Analysis">
<div className="center" > <div className="center" >
...@@ -183,7 +182,7 @@ export function HumanPractices() { ...@@ -183,7 +182,7 @@ export function HumanPractices() {
<div className="center"> <div className="center">
<h3 className="col personalstyleone">Reflection Framework</h3> <h3 className="col personalstyleone">Reflection Framework</h3>
</div> </div>
<HPTabsTwo/>
</section> </section>
...@@ -229,27 +228,47 @@ function HPTabs(){ ...@@ -229,27 +228,47 @@ function HPTabs(){
) )
} }
/* <div className="methods-node">
<div>R<sup>3</sup></div>
</div>
<div className="methods-node">
<div>Human Practices Cycle</div>
</div>
<div className="methods-node">
<div>Stakeholder Framework</div>
</div>
<div className="methods-node">
<div>Feedback Cycle</div>
</div>
<div className="methods-node">
<div></div>
</div> */
function HPTabsTwo(){ function HPTabsTwo(){
const [value, setValue] = React.useState('1');
const handleChange = (_event: React.SyntheticEvent, newValue: string) => {
setValue(newValue);
};
return( return(
<> <>
<div className="col"> <div className="row align-items-center">
<div className="methods-node"> <div className="col"></div>
Ho <div className="col-8">
</div> <div className="methods-node">
<div className="methods-node"> <div>Project selection</div>
Hi </div>
</div> <div className="methods-node">
<div className="methods-node"> <div>Foundation</div>
Ho </div>
</div> <div className="methods-node">
<div className="methods-node"> <div>Diversification</div>
Hi </div>
</div> <div className="methods-node">
<div>Fine-tuning</div>
</div>
<div className="methods-node">
<div>Finalization</div>
</div>
</div>
<div className="col"></div>
</div> </div>
<div className="row align-items-center"> <div className="row align-items-center">
<div className="col-3"> <div className="col-3">
......
...@@ -64,6 +64,15 @@ export * from "../headers/eth-h.tsx" ...@@ -64,6 +64,15 @@ export * from "../headers/eth-h.tsx"
export * from "./example.tsx"; export * from "./example.tsx";
export * from "./education.tsx";
export * from "../headers/edu-h.tsx"
export * from "../sidebars/engS.tsx" export * from "../sidebars/engS.tsx"
export * from "../sidebars/none.tsx" export * from "../sidebars/none.tsx"
export * from "./survey.tsx";
export * from "../headers/sur-h.tsx"
export * from "./collaborations.tsx";
export * from "../headers/coll-h.tsx"
export function Survey() {
return (
<>
<div className="row mt-4">
<div className="col">
</div>
</div>
</>
);
}
\ No newline at end of file
export function COLLH() {
return (
<HeaderBox title="Collaborations">
</HeaderBox>
);
}
import HeaderBox from "../components/header-box";
\ No newline at end of file
export function EDUH() {
return (
<HeaderBox title="Education and Outreach">
</HeaderBox>
);
}
import HeaderBox from "../components/header-box";
\ No newline at end of file
export function SURH() {
return (
<HeaderBox title="Survey">
</HeaderBox>
);
}
import HeaderBox from "../components/header-box";
\ No newline at end of file
...@@ -21,13 +21,16 @@ ...@@ -21,13 +21,16 @@
Results, Results,
Safety, Safety,
Team, Team,
Education,
Wiki, Wiki,
Impressum, Impressum,
Example Example,
Survey,
Collaborations
} from "./contents"; } from "./contents";
import { DescSidebar, NoSidebar, EngSide } from "./contents"; import { DescSidebar, NoSidebar, EngSide } from "./contents";
import { BFHH, ETHH, JUDGEH, DESH, PROOFH, SUPH, PARTH, MESH, ENGH, DRYH, HOMEH, HPH, INTSH, SPONH, RESH, ATTH, CONTH, DESCH, EXPH, IMPH, NOTEH, SAFEH, TEAMH, WIKIH } from "./contents"; import { BFHH, SURH, COLLH, EDUH, ETHH, JUDGEH, DESH, PROOFH, SUPH, PARTH, MESH, ENGH, DRYH, HOMEH, HPH, INTSH, SPONH, RESH, ATTH, CONTH, DESCH, EXPH, IMPH, NOTEH, SAFEH, TEAMH, WIKIH } from "./contents";
interface Base { interface Base {
name: string | undefined; name: string | undefined;
...@@ -64,6 +67,14 @@ const Pages: (Page | Folder)[] = [ ...@@ -64,6 +67,14 @@ const Pages: (Page | Folder)[] = [
header: BFHH, header: BFHH,
navlist: NoSidebar, navlist: NoSidebar,
}, },
{
name: "Collaborations",
title: "Collaborations",
path: "/collaborations",
component: Collaborations,
header: COLLH,
navlist: NoSidebar,
},
{ {
name: "Contribution", name: "Contribution",
title: "Contribution", title: "Contribution",
...@@ -96,6 +107,14 @@ const Pages: (Page | Folder)[] = [ ...@@ -96,6 +107,14 @@ const Pages: (Page | Folder)[] = [
header: DRYH, header: DRYH,
navlist: NoSidebar, navlist: NoSidebar,
}, },
{
name: "Education",
title: "Education",
path: "/education",
component: Education,
header: EDUH,
navlist: NoSidebar,
},
{ {
name: "Engineering Success", name: "Engineering Success",
title: "Engineering", title: "Engineering",
...@@ -242,6 +261,14 @@ const Pages: (Page | Folder)[] = [ ...@@ -242,6 +261,14 @@ const Pages: (Page | Folder)[] = [
header: SUPH, header: SUPH,
navlist: NoSidebar, navlist: NoSidebar,
}, },
{
name: "Survey",
title: "Survey",
path: "/survey",
component: Survey,
header: SURH,
navlist: NoSidebar,
},
{ {
name: "Team", name: "Team",
title: "Team", title: "Team",
...@@ -296,6 +323,14 @@ export const NavPages: (Page | Folder)[] = [ ...@@ -296,6 +323,14 @@ export const NavPages: (Page | Folder)[] = [
header: SPONH, header: SPONH,
navlist: NoSidebar, navlist: NoSidebar,
}, },
{
name: "Collaborations",
title: "Collaborations",
path: "/collaborations",
component: Collaborations,
header: COLLH,
navlist: NoSidebar,
},
], ],
}, },
{ {
...@@ -309,6 +344,19 @@ export const NavPages: (Page | Folder)[] = [ ...@@ -309,6 +344,19 @@ export const NavPages: (Page | Folder)[] = [
header: DESCH, header: DESCH,
navlist: DescSidebar navlist: DescSidebar
}, },
{
name: "Judging",
title: "Judging",
path: "/judging",
component: Judging,
header: JUDGEH,
navlist: NoSidebar,
},
],
},
{
name: "Lab",
folder: [
{ {
name: "Results", name: "Results",
title: "Results", title: "Results",
...@@ -339,28 +387,7 @@ export const NavPages: (Page | Folder)[] = [ ...@@ -339,28 +387,7 @@ export const NavPages: (Page | Folder)[] = [
path: "/engineering", path: "/engineering",
component: Engineering, component: Engineering,
header: ENGH, header: ENGH,
navlist: EngSide, navlist: EngSide ,
},
],
},
{
name: "Lab",
folder: [
{
name: "Wet Lab",
title: "Wet Lab",
path: "/experiments",
component: Experiments,
header: EXPH,
navlist: NoSidebar,
},
{
name: "Dry Lab",
title: "Dry Lab",
path: "/dry-lab",
component: Drylab,
header: DRYH,
navlist: NoSidebar,
}, },
{ {
name: "Design", name: "Design",
...@@ -415,6 +442,14 @@ export const NavPages: (Page | Folder)[] = [ ...@@ -415,6 +442,14 @@ export const NavPages: (Page | Folder)[] = [
header: HPH, header: HPH,
navlist: NoSidebar navlist: NoSidebar
}, },
{
name: "Ethics",
title: "Ethics",
path: "/ethics",
component: Ethics,
header: ETHH,
navlist: NoSidebar,
},
{ {
name: "Interviews", name: "Interviews",
title: "Interviews", title: "Interviews",
...@@ -423,6 +458,22 @@ export const NavPages: (Page | Folder)[] = [ ...@@ -423,6 +458,22 @@ export const NavPages: (Page | Folder)[] = [
header: INTSH, header: INTSH,
navlist: NoSidebar, navlist: NoSidebar,
}, },
{
name: "Education and Outreach",
title: "Education",
path: "/education",
component: Education,
header: EDUH,
navlist: NoSidebar,
},
{
name: "Survey",
title: "Survey",
path: "/survey",
component: Survey,
header: SURH,
navlist: NoSidebar,
},
] ]
}, },
{ {
......
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