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

tried map

parent e804caf2
No related branches found
No related tags found
No related merge requests found
Pipeline #387900 passed
...@@ -88,8 +88,8 @@ yarn add react-pdf ...@@ -88,8 +88,8 @@ yarn add react-pdf
npm install --save react-grid-gallery npm install --save react-grid-gallery
Argument of type 'ImageExtendedRow<T>[]' is not assignable to parameter of type 'ConcatArray<never>[]'. Argument of type 'DSVRowArray<string>' is not assignable to parameter of type 'SetStateAction<never[]>'.
Type 'ImageExtendedRow<T>' is not assignable to type 'ConcatArray<never>'. Type 'DSVRowArray<string>' is not assignable to type 'never[]'.
The types returned by 'slice(...)' are incompatible between these types. The types returned by 'pop()' are incompatible between these types.
Type 'ImageExtended<T>[]' is not assignable to type 'never[]'. Type 'DSVRowString<string> | undefined' is not assignable to type 'undefined'.
Type 'ImageExtended<T>' is not assignable to type 'never'. Type 'DSVRowString<string>' is not assignable to type 'undefined'.
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
...@@ -675,14 +675,14 @@ svg text:hover{ ...@@ -675,14 +675,14 @@ svg text:hover{
/* SHAPES */ /* SHAPES */
.circle { /* .circle {
display: flex; display: flex;
width: 10vw; width: 10vw;
height: 10vw; height: 10vw;
background-color: var(--lightblue) !important; background-color: var(--lightblue) !important;
border-radius: 50%; border-radius: 50%;
margin: 1vw; margin: 1vw;
} } */
.shape-text { .shape-text {
margin: auto; margin: auto;
text-align: center; text-align: center;
......
import {
ComposableMap,
Geographies,
Geography,
Sphere,
Graticule
} from "react-simple-maps";
const geoUrl = "/features.json";
export default function MapChart() {
return(
<ComposableMap
projectionConfig={{
rotate: [-10, 0, 0],
scale: 147
}}
>
<Sphere id=''fill="none" stroke="#E4E5E6" strokeWidth={0.5} />
<Graticule stroke="#E4E5E6" strokeWidth={0.5} />
<Geographies geography={geoUrl}>
{({ geographies }) =>
geographies.map((geo) => {
return (
<Geography
key={geo.rsmKey}
geography={geo}
/>
);
})
}
</Geographies>
</ComposableMap>
);
};
export * from './comps';
export * from './Villagebuttons.tsx'; export * from './Villagebuttons.tsx';
export * from './headings.tsx'; export * from './headings.tsx';
export * from './Sidebar.tsx'; export * from './Sidebar.tsx';
export * from './Pensioniert/timeline-bfh.tsx';
export * from './Videoboxes.tsx'; export * from './Videoboxes.tsx';
export * from './Timeline.tsx'; export * from './Timeline.tsx';
...@@ -22,15 +21,11 @@ export * from './components/events/Events'; ...@@ -22,15 +21,11 @@ export * from './components/events/Events';
export * from '../Card.js'; export * from '../Card.js';
export * from './components/events/ImageEvent.js'; export * from './components/events/ImageEvent.js';
export * from './components/events/TextEvent.js'; export * from './components/events/TextEvent.js';
export * from './components/events/TweetEvent';
export * from './components/events/YouTubeEvent.js';
export *from './components/events/EventDate.js'; export *from './components/events/EventDate.js';
export * from './Marker.js'; export * from './Marker.js';
export * from './My-Timeline.tsx' export * from './My-Timeline.tsx'
export * from './Maps.js'
declare module 'anychart-react'
import { H2 } from "../components/headings"; import { H2 } from "../components/headings";
import { Circle } from "../components/Shapes"; import { Circle } from "../components/Shapes";
export function Description() { export function Description() {
return ( return (
<div className="row mt-4"> <div className="row mt-4">
...@@ -23,12 +22,13 @@ export function Description() { ...@@ -23,12 +22,13 @@ export function Description() {
</div> </div>
<div className="col-2 "> <div className="col-2 ">
<Circle text="1:3000 newborns worldwide"/> <Circle text="1:3000 newborns worldwide"/>
<Circle text="x:y newborns in Germany"/> <Circle text="x:y newborns in Germany"/>
<Circle text="kosten"/> <Circle text="kosten"/>
</div> </div>
</div> </div>
<div className="col"> <div className="col">
</div> </div>
</section> </section>
</div> </div>
......
...@@ -25,4 +25,6 @@ export * from "./software.tsx"; ...@@ -25,4 +25,6 @@ export * from "./software.tsx";
export * from "./sustainable.tsx"; */ export * from "./sustainable.tsx"; */
// Contribution // Contribution
export * from "./Bfh.tsx"; export * from "./Bfh.tsx";
export * from "./wiki.tsx"; export * from "./wiki.tsx";
\ No newline at end of file
This diff is collapsed.
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