From 563a92f720aa717524bc8fe4f10092f22c88bc80 Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Thu, 4 Jul 2024 19:32:59 +0200 Subject: [PATCH] test --- src/components/Map1.tsx | 12 ++++++++++++ src/contents/Home.tsx | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/Map1.tsx b/src/components/Map1.tsx index 508d3f1e..973ef665 100644 --- a/src/components/Map1.tsx +++ b/src/components/Map1.tsx @@ -26,4 +26,16 @@ return( ) } +export function Map3(){ + return( + <div style={{minHeight: "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> + ) +} + /* min-height: "374px" */ \ No newline at end of file diff --git a/src/contents/Home.tsx b/src/contents/Home.tsx index 7d026f1f..3a30e54d 100644 --- a/src/contents/Home.tsx +++ b/src/contents/Home.tsx @@ -1,6 +1,6 @@ //import { Inspirations, InspirationLink } from "../components"; /* import { Sidebar } from "react-pro-sidebar"; */ -import { Map1, Map2 } from "../components/Map1"; +import { Map1, Map2, Map3 } from "../components/Map1"; export function Home() { return ( @@ -14,6 +14,8 @@ export function Home() { Hallo <hr /> <Map2></Map2> + <hr /> + <Map3></Map3> </div> </div> <div className="row"> -- GitLab