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

which html ebed works?

parent 4ac27782
No related branches found
No related tags found
No related merge requests found
Pipeline #389476 passed
......@@ -12,4 +12,18 @@ return(
)
}
export function Map2(){
const htmlFile = `<div style="min-height: 374px">
<script type="text/javascript" defer src="src/utils/mapscript.js" charset="utf-8">
</script>
<noscript>
<img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" />
</noscript>
</div>`
return(
<div dangerouslySetInnerHTML={{ __html: htmlFile }} />
)
}
/* min-height: "374px" */
\ No newline at end of file
//import { Inspirations, InspirationLink } from "../components";
/* import { Sidebar } from "react-pro-sidebar"; */
import { Map1 } from "../components/Map1";
import { Map1, Map2 } from "../components/Map1";
export function Home() {
return (
......@@ -10,6 +10,8 @@ export function Home() {
<h2>Wiki under construction!</h2>
<hr />
<Map1></Map1>
<hr />
<Map2></Map2>
</div>
</div>
<div className="row">
......
......@@ -139,6 +139,10 @@ function Troubleshooting(){
const openPop = (event : React.MouseEvent&lt;HTMLButtonElement, MouseEvent&gt;) =&gt; {}
</code>
<h6>Solutions</h6>
<p>Change to: </p>
<code>
const openPop = (_event : React.MouseEvent&lt;HTMLButtonElement, MouseEvent&gt;) =&gt; {}
</code>
</Collapsible>
</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