import { useState } from 'react' type ChapterProps = { clickAction1?: () => void clickAction2?: () => void map?: any } export function Welcome1({ clickAction1, map }: ChapterProps) { return ( <>

Welcome to {map?.name || "Utopia Map"}

It is a tool for collaborative mapping to connect local initiatives, people and events.

Join us and grow the network by adding projects and events to the map.

Create your personal profile and place it on the map.

) } 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 = () => { window.my_modal_3.close(); } export const ModalContent = ({map}:{map: any}) => { const [chapter, setChapter] = useState(1); //const setQuestsOpen = useSetQuestOpen() const ActiveChapter = () => { switch (chapter) { case 1: return { close(); setTimeout(() => { // setQuestsOpen(true); setChapter(1); }, 1000); }}/> case 2: return { setChapter(3) }} /> case 3: return { setChapter(4) }} /> case 4: return { close(); setTimeout(() => { // setQuestsOpen(true); setChapter(1); }, 1000); }} /> default: return <> }; }; return ( ) }