diff --git a/frontend/README.md b/README.md similarity index 100% rename from frontend/README.md rename to README.md diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 1c3ca68a..f9f04041 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -4195,9 +4195,9 @@ "license": "MIT" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "license": "MIT", "dependencies": { @@ -5953,9 +5953,9 @@ } }, "node_modules/filelist/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/frontend/src/ModalContent.tsx b/frontend/src/ModalContent.tsx index 29406894..590fdd59 100644 --- a/frontend/src/ModalContent.tsx +++ b/frontend/src/ModalContent.tsx @@ -2,7 +2,6 @@ /* eslint-disable @typescript-eslint/restrict-plus-operands */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ -/* eslint-disable react/no-unescaped-entities */ /* eslint-disable @typescript-eslint/no-non-null-assertion */ import { useEffect, useState } from 'react' import { TextView } from 'utopia-ui' @@ -45,77 +44,6 @@ export function Welcome1({ clickAction1, map }: ChapterProps) { ) } -export function Welcome2({ clickAction1 }: ChapterProps) { - return ( - <> -

Dencentralized Networking

- - -

- Find like-minded people, projects and events. In your neighbourhood and wherever you are! -

-

Onboard new people, places and events

-
- -
- - ) -} - -export function Welcome3({ clickAction1 }: ChapterProps) { - return ( - <> -

Mapping the Change

-

More and more people are waking up to what's really happening.

-

- They are in the process of understanding the potential that is within themselves and within - the whole mankind. -

- - -

- Starting to reconnect with our Mother Earth and beginning to question things that long times - have been taken for granted. -

-
- -
- - ) -} - -export function Welcome4({ clickAction1 }: ChapterProps) { - return ( - <> -

Dezentralized Networks

- -

- Find like-minded people, places and events. In your neighbourhood and wherever you are! -

- - -

- Hypnotised, they sit in front of screens in concrete blocks, flooded and disillusioned by - irrelevant information. -

- -

- From an early age, they are trained to do alienated work and consume unhealthy and - meaningless products. -

-
- -
- - ) -} - const close = () => { const myModal = document.getElementById('my_modal_3') as HTMLDialogElement myModal.close() @@ -147,34 +75,6 @@ export const ModalContent = ({ map }: { map: any }) => { }} /> ) - case 2: - return ( - { - setChapter(3) - }} - /> - ) - case 3: - return ( - { - setChapter(4) - }} - /> - ) - case 4: - return ( - { - close() - setTimeout(() => { - // setQuestsOpen(true); - setChapter(1) - }, 1000) - }} - /> - ) default: return <> } diff --git a/frontend/src/pages/MapContainer.tsx b/frontend/src/pages/MapContainer.tsx index 3ca2e349..6e39a682 100644 --- a/frontend/src/pages/MapContainer.tsx +++ b/frontend/src/pages/MapContainer.tsx @@ -120,7 +120,9 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) { {layer.itemType.show_name_input && ( )} - {layer.itemType.show_start_end_input && } + {layer.itemType.show_start_end_input && ( + + )} {layer.itemType.show_text_input && (