diff --git a/components/description/PillarsFlex.js b/components/description/PillarsFlex.js new file mode 100644 index 0000000000000000000000000000000000000000..0681d713e0b0a0c24bbe23919b90cd78c493097a --- /dev/null +++ b/components/description/PillarsFlex.js @@ -0,0 +1,130 @@ +import styled from "styled-components"; +import AnimateImage from "../AnimateImage"; + +const Pillar = styled.div` + width: 15vw; + display: flex; + flex-direction: column; + text-align: center; + justify-content: space-between; +`; + +const Image = styled.img` + padding: 1%; + width: 12vw; + margin: auto; + @media only screen and (max-width: 768px) { + width: 80vw; + height: auto; + } +`; + +const Black = styled.strong` + background-color: #272727; + background-size: 100%; + background-repeat: repeat; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + -moz-background-clip: text; + -moz-text-fill-color: transparent; + text-align: center; +`; + +export default function PillarsFlex({ alternate }) { + return ( + <> + {/* desktop */} + <div + className="flex-col desktop-only" + style={{ justifyContent: "space-between", textAlign: "center" }} + > + <div className="flex-row" style={{ justifyContent: "space-between" }}> + <Pillar> + <AnimateImage + svgs={["1", "2", "3", "4", "5", "6"]} + prefix={ + "https://static.igem.wiki/teams/4796/wiki/animations/production/" + } + /> + </Pillar> + <Pillar> + <AnimateImage + svgs={["13", "14", "15", "16", "17", "18"]} + prefix={ + "https://static.igem.wiki/teams/4796/wiki/animations/energy/" + } + /> + </Pillar> + <Pillar> + <AnimateImage + svgs={["6", "7", "8", "9", "10", "11", "12"]} + prefix={ + "https://static.igem.wiki/teams/4796/wiki/animations/purification/" + } + /> + </Pillar> + </div> + + <div className="flex-row" style={{ justifyContent: "space-between" }}> + <Pillar> + {alternate ? ( + <Black> + <p>Protein Production Efficiency</p> + </Black> + ) : ( + <White> + <p>Protein Production Efficiency</p> + </White> + )} + </Pillar> + <Pillar> + {alternate ? ( + <Black> + <p> + Energy Usage <br /> + Efficiency + </p> + </Black> + ) : ( + <White> + <p> + Energy Usage <br /> + Efficiency + </p> + </White> + )} + </Pillar> + <Pillar> + {alternate ? ( + <Black> + <p>Protein Purification Efficiency</p> + </Black> + ) : ( + <White> + <p>Protein Purification Efficiency</p> + </White> + )} + </Pillar> + </div> + + <div className="flex-row" style={{ justifyContent: "space-between" }}> + <Pillar> + <p> + Employing rapid dividing <i>Vibrio natriegens</i> as a chassis for + cell free protein synthesis. + </p> + </Pillar> + <Pillar> + <p> + Using oxidative phosphorylation instead of substrate level through + split inteins. + </p> + </Pillar> + <Pillar> + <p>Thiol-sensitive intein for affinity tag purification aid.</p> + </Pillar> + </div> + </div> + </> + ); +} diff --git a/pages/design.mdx b/pages/design.mdx index e7ea191c5988082fa1094aac4bccfdbe04e9405f..78fbc0a3b9567b878f8e298b85481a3a89327463 100644 --- a/pages/design.mdx +++ b/pages/design.mdx @@ -1,6 +1,6 @@ import ContentLayout from "../components/ContentLayout.js"; import Figure from "../components/Figure.js"; -import Pillars from "@/components/description/Pillars"; +import PillarsFlex from "@/components/description/PillarsFlex"; export const meta = { title: "Design", @@ -56,7 +56,7 @@ a high efficiency protein production system that utilises cheap substrates and allows for simultaneous protein biosynthesis, extraction and purification.** -<Pillars alternate /> +<PillarsFlex alternate /> Figure 1: The three pillars of protein production P.I.L.O.T seeks to tackle. diff --git a/pages/usermanual.mdx b/pages/usermanual.mdx index 7adf3adcfbc74a8e058af0a5116d897f1ade1a60..e4cff85ae5e5b4c17d2451e88ce0cad542713f50 100644 --- a/pages/usermanual.mdx +++ b/pages/usermanual.mdx @@ -1,5 +1,5 @@ import ContentLayout from "../components/ContentLayout.js"; -import Pillars from "@/components/description/Pillars"; +import PillarsFlex from "@/components/description/PillarsFlex"; import Materialtable from "@/components/usermanual/Materialtable"; import Eppendorftable from "@/components/usermanual/Eppendorftable"; import Preparationtable from "@/components/usermanual/Preparationtable"; @@ -30,7 +30,7 @@ Cell-free Protein Synthesis is the scalable, _in-vitro_ production of recombinan ## Project Pillars -<Pillars alternate /> +<PillarsFlex alternate /> ### Strategic Energy Optimization through Methanol Integration