@oasisomniverse/react 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +69 -0
- package/package.json +72 -0
- package/src/components/App.js +504 -0
- package/src/components/ForgetPassword.js +126 -0
- package/src/components/Login.js +222 -0
- package/src/components/ResetPassword.js +176 -0
- package/src/components/Signup.js +285 -0
- package/src/components/VerifyEmail.js +68 -0
- package/src/components/common/AvatarConnect.jsx +89 -0
- package/src/components/common/Contact.jsx +60 -0
- package/src/components/common/Eggs.jsx +50 -0
- package/src/components/common/Game.jsx +36 -0
- package/src/components/common/HyperDrive.jsx +50 -0
- package/src/components/common/KarmaToast.jsx +38 -0
- package/src/components/common/Map.jsx +42 -0
- package/src/components/common/MenuMessage.jsx +70 -0
- package/src/components/common/Messaging.jsx +74 -0
- package/src/components/common/Mission.jsx +40 -0
- package/src/components/common/NFT.jsx +42 -0
- package/src/components/common/NavBar.jsx +52 -0
- package/src/components/common/Navbar.js +137 -0
- package/src/components/common/OApp.jsx +41 -0
- package/src/components/common/ONET.jsx +50 -0
- package/src/components/common/ONODE.jsx +49 -0
- package/src/components/common/OasisModal.css +9 -0
- package/src/components/common/OasisModal.jsx +29 -0
- package/src/components/common/ProviderDropdown.js +25 -0
- package/src/components/common/ProviderDropdown.jsx +61 -0
- package/src/components/common/Providers.jsx +38 -0
- package/src/components/common/Quest.jsx +40 -0
- package/src/components/common/SearchAvatars.jsx +49 -0
- package/src/components/common/Seeds.jsx +39 -0
- package/src/components/common/Settings.jsx +70 -0
- package/src/components/common/StarField.jsx +56 -0
- package/src/components/common/Wallet.jsx +45 -0
- package/src/components/common/message/MessageContacts.jsx +66 -0
- package/src/components/common/message/Messages.jsx +75 -0
- package/src/components/common/sidebar/Sidebar.jsx +27 -0
- package/src/components/common/sidebar/SidebarData.js +615 -0
- package/src/components/common/sidebar/SidebarMenuItem.jsx +79 -0
- package/src/components/index.js +26 -0
- package/src/components/pages/forgotPassword.js +47 -0
- package/src/components/popups/avatar/components/AvatarWallet.jsx +169 -0
- package/src/components/popups/avatar/components/EditAvatar.jsx +34 -0
- package/src/components/popups/avatar/components/SearchAvatar.jsx +34 -0
- package/src/components/popups/avatar/components/ViewAvatar.jsx +148 -0
- package/src/components/popups/avatar/index.jsx +39 -0
- package/src/components/popups/comingsoon/ComingSoon.jsx +28 -0
- package/src/components/popups/confirmation/Confirmation.js +30 -0
- package/src/components/popups/contact/index.js +100 -0
- package/src/components/popups/data-screen/components/AddData.jsx +89 -0
- package/src/components/popups/data-screen/components/CrossChainManagement.jsx +87 -0
- package/src/components/popups/data-screen/components/LoadData.jsx +157 -0
- package/src/components/popups/data-screen/components/ManageData.jsx +34 -0
- package/src/components/popups/data-screen/components/OffChainManagement.jsx +177 -0
- package/src/components/popups/data-screen/components/SearchData.jsx +34 -0
- package/src/components/popups/data-screen/index.jsx +52 -0
- package/src/components/popups/eggs/components/ManageEggs.jsx +34 -0
- package/src/components/popups/eggs/components/SearchEggs.jsx +34 -0
- package/src/components/popups/eggs/components/ViewEggs.jsx +34 -0
- package/src/components/popups/eggs/index.jsx +31 -0
- package/src/components/popups/game/components/SearchProfiles.jsx +34 -0
- package/src/components/popups/game/components/ViewAchievements.jsx +34 -0
- package/src/components/popups/game/components/ViewLeagues.jsx +34 -0
- package/src/components/popups/game/components/ViewTournaments.jsx +34 -0
- package/src/components/popups/game/index.jsx +38 -0
- package/src/components/popups/karma/components/SearchKarma.jsx +34 -0
- package/src/components/popups/karma/components/ViewAvatarKarma.jsx +139 -0
- package/src/components/popups/karma/components/ViewKarma.jsx +103 -0
- package/src/components/popups/karma/components/VoteKarma.jsx +34 -0
- package/src/components/popups/karma/index.jsx +34 -0
- package/src/components/popups/map/components/Add2dObjectMap.jsx +34 -0
- package/src/components/popups/map/components/Add3dObjectMap.jsx +34 -0
- package/src/components/popups/map/components/AddQuestToMap.jsx +34 -0
- package/src/components/popups/map/components/DownloadOurWorld.jsx +34 -0
- package/src/components/popups/map/components/ManageMap.jsx +34 -0
- package/src/components/popups/map/components/PlotRouteOnMap.jsx +34 -0
- package/src/components/popups/map/components/SearchMap.jsx +34 -0
- package/src/components/popups/map/components/ViewGlobal3dMap.jsx +34 -0
- package/src/components/popups/map/components/ViewHalonsOnMap.jsx +34 -0
- package/src/components/popups/map/components/ViewOappOnMap.jsx +34 -0
- package/src/components/popups/map/components/ViewQuestOnMap.jsx +34 -0
- package/src/components/popups/map/index.jsx +79 -0
- package/src/components/popups/messages/Message.jsx +86 -0
- package/src/components/popups/mission/components/ManageMission.jsx +34 -0
- package/src/components/popups/mission/components/SearchMission.jsx +34 -0
- package/src/components/popups/mission/components/ViewMission.jsx +34 -0
- package/src/components/popups/mission/index.jsx +32 -0
- package/src/components/popups/nft/ContactPopup.jsx +146 -0
- package/src/components/popups/nft/Solana.jsx +70 -0
- package/src/components/popups/nft/components/ManageOasisNft.jsx +34 -0
- package/src/components/popups/nft/components/PurchaseOasisNft.jsx +34 -0
- package/src/components/popups/nft/components/PurchaseOasisVirtualLandNft.jsx +34 -0
- package/src/components/popups/nft/components/SearchOasisNft.jsx +34 -0
- package/src/components/popups/nft/components/ViewOasisNft.jsx +34 -0
- package/src/components/popups/nft/index.jsx +45 -0
- package/src/components/popups/oapp/components/CreateOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/DeployOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/DownloadOurWorld.jsx +34 -0
- package/src/components/popups/oapp/components/EditOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/InstallOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/LaunchOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/ManageOAPP.jsx +68 -0
- package/src/components/popups/oapp/components/SearchOAPP.jsx +34 -0
- package/src/components/popups/oapp/index.jsx +62 -0
- package/src/components/popups/provider/components/ActivityPub.jsx +34 -0
- package/src/components/popups/provider/components/CompareProviderSpeeds.jsx +123 -0
- package/src/components/popups/provider/components/Eosio.jsx +34 -0
- package/src/components/popups/provider/components/Ethereum.jsx +34 -0
- package/src/components/popups/provider/components/Holochain.jsx +34 -0
- package/src/components/popups/provider/components/Ipfs.jsx +35 -0
- package/src/components/popups/provider/components/ManageAutoFailOver.jsx +34 -0
- package/src/components/popups/provider/components/ManageAutoReplicaton.jsx +34 -0
- package/src/components/popups/provider/components/ManageLoadBalancing.jsx +34 -0
- package/src/components/popups/provider/components/ManageProviders.jsx +34 -0
- package/src/components/popups/provider/components/MongoDb.jsx +34 -0
- package/src/components/popups/provider/components/Neo4j.jsx +34 -0
- package/src/components/popups/provider/components/SearchProviders.jsx +122 -0
- package/src/components/popups/provider/components/Seeds.jsx +34 -0
- package/src/components/popups/provider/components/Solid.jsx +34 -0
- package/src/components/popups/provider/components/SqlLite.jsx +34 -0
- package/src/components/popups/provider/components/ThreeFold.jsx +34 -0
- package/src/components/popups/provider/components/ViewProviderStats.jsx +123 -0
- package/src/components/popups/provider/components/ViewProviders.jsx +121 -0
- package/src/components/popups/provider/index.jsx +113 -0
- package/src/components/popups/quest/components/ManageQuest.jsx +34 -0
- package/src/components/popups/quest/components/SearchQuest.jsx +34 -0
- package/src/components/popups/quest/components/ViewQuest.jsx +34 -0
- package/src/components/popups/quest/index.jsx +32 -0
- package/src/components/popups/seeds/components/AcceptInvite.jsx +61 -0
- package/src/components/popups/seeds/components/DonateSeeds.jsx +178 -0
- package/src/components/popups/seeds/components/ManageSeeds.jsx +34 -0
- package/src/components/popups/seeds/components/PayWithSeeds.jsx +233 -0
- package/src/components/popups/seeds/components/RewardSeeds.jsx +178 -0
- package/src/components/popups/seeds/components/SearchSeeds.jsx +91 -0
- package/src/components/popups/seeds/components/SendInvite.jsx +178 -0
- package/src/components/popups/seeds/components/ViewOrganizations.jsx +178 -0
- package/src/components/popups/seeds/components/ViewSeeds.jsx +221 -0
- package/src/components/popups/seeds/index.jsx +70 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import "../../../assets/scss/data-screen.scss";
|
|
4
|
+
import ViewKarma from './components/ViewKarma';
|
|
5
|
+
import ViewAvatarKarma from './components/ViewAvatarKarma';
|
|
6
|
+
import SearchKarma from './components/SearchKarma';
|
|
7
|
+
import VoteKarma from './components/VoteKarma';
|
|
8
|
+
class Karma extends React.Component {
|
|
9
|
+
render() {
|
|
10
|
+
const props=this.props;
|
|
11
|
+
return(
|
|
12
|
+
<>
|
|
13
|
+
<ViewKarma
|
|
14
|
+
show={props.karma.viewKarmaWeightings}
|
|
15
|
+
hide={props.toggleScreenPopup}
|
|
16
|
+
/>
|
|
17
|
+
<SearchKarma
|
|
18
|
+
show={props.karma.searchKarma}
|
|
19
|
+
hide={props.toggleScreenPopup}
|
|
20
|
+
/>
|
|
21
|
+
<VoteKarma
|
|
22
|
+
show={props.karma.voteKarma}
|
|
23
|
+
hide={props.toggleScreenPopup}
|
|
24
|
+
/>
|
|
25
|
+
<ViewAvatarKarma
|
|
26
|
+
show={props.karma.viewAvatarKarma}
|
|
27
|
+
hide={props.toggleScreenPopup}
|
|
28
|
+
/>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Karma;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class Add2dObjectMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'add2dObjectMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'add2dObjectMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Add2dObjectMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class Add3dObjectMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'add3dObjectMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'add3dObjectMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Add3dObjectMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class AddQuestToMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'addQuestToMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'addQuestToMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default AddQuestToMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class DownloadOurWorld extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'downloadOurWorld')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>STAR ODK Coming Soon.</h2>
|
|
25
|
+
<p>The alpha release of this will be coming soon… please check back soon… thank you.</p>
|
|
26
|
+
<button onClick={() => hide('map', 'downloadOurWorld')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default DownloadOurWorld;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ManageMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'manageMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Our World Coming Soon.</h2>
|
|
25
|
+
<p>This is functionaliy that is built in the Unity Smartphone Prototype for Our World and will soon be released. You can then download Our World from either the Map or OAPP menu.</p>
|
|
26
|
+
<button onClick={() => hide('map', 'manageMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ManageMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class PlotRouteOnMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'plotRouteOnMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'plotRouteOnMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default PlotRouteOnMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class SearchMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'searchMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'searchMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default SearchMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ViewGlobal3dMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'viewGlobal3dMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Our World Coming Soon.</h2>
|
|
25
|
+
<p>This is functionaliy that is built in the Unity Smartphone Prototype for Our World and will soon be released. You can then download Our World from either the Map or OAPP menu.</p>
|
|
26
|
+
<button onClick={() => hide('map', 'viewGlobal3dMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ViewGlobal3dMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ViewHalonsOnMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'viewHalonsOnMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'viewHalonsOnMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ViewHalonsOnMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ViewOappOnMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'viewOappOnMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'viewOappOnMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ViewOappOnMap;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ViewQuestOnMap extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('map', 'viewQuestOnMap')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('map', 'viewQuestOnMap')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ViewQuestOnMap;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Add2dObjectMap from './components/Add2dObjectMap';
|
|
3
|
+
import Add3dObjectMap from './components/Add3dObjectMap';
|
|
4
|
+
import AddQuestToMap from './components/AddQuestToMap';
|
|
5
|
+
import DownloadOurWorld from './components/DownloadOurWorld';
|
|
6
|
+
import ManageMap from './components/ManageMap';
|
|
7
|
+
import SearchMap from './components/SearchMap';
|
|
8
|
+
import PlotRouteOnMap from './components/PlotRouteOnMap';
|
|
9
|
+
import ViewGlobal3dMap from './components/ViewGlobal3dMap';
|
|
10
|
+
import ViewHalonsOnMap from './components/ViewHalonsOnMap';
|
|
11
|
+
import ViewOappOnMap from './components/ViewOappOnMap';
|
|
12
|
+
import ViewQuestOnMap from './components/ViewQuestOnMap';
|
|
13
|
+
|
|
14
|
+
class Map extends React.Component {
|
|
15
|
+
|
|
16
|
+
render() {
|
|
17
|
+
const props=this.props;
|
|
18
|
+
return(
|
|
19
|
+
<>
|
|
20
|
+
<Add2dObjectMap
|
|
21
|
+
show={props.map.add2dObjectMap}
|
|
22
|
+
hide={props.toggleScreenPopup}
|
|
23
|
+
/>
|
|
24
|
+
|
|
25
|
+
<Add3dObjectMap
|
|
26
|
+
show={props.map.add3dObjectMap}
|
|
27
|
+
hide={props.toggleScreenPopup}
|
|
28
|
+
/>
|
|
29
|
+
|
|
30
|
+
<AddQuestToMap
|
|
31
|
+
show={props.map.addQuestToMap}
|
|
32
|
+
hide={props.toggleScreenPopup}
|
|
33
|
+
/>
|
|
34
|
+
|
|
35
|
+
<DownloadOurWorld
|
|
36
|
+
show={props.map.downloadOurWorld}
|
|
37
|
+
hide={props.toggleScreenPopup}
|
|
38
|
+
/>
|
|
39
|
+
|
|
40
|
+
<ManageMap
|
|
41
|
+
show={props.map.manageMap}
|
|
42
|
+
hide={props.toggleScreenPopup}
|
|
43
|
+
/>
|
|
44
|
+
|
|
45
|
+
<PlotRouteOnMap
|
|
46
|
+
show={props.map.plotRouteOnMap}
|
|
47
|
+
hide={props.toggleScreenPopup}
|
|
48
|
+
/>
|
|
49
|
+
|
|
50
|
+
<SearchMap
|
|
51
|
+
show={props.map.searchMap}
|
|
52
|
+
hide={props.toggleScreenPopup}
|
|
53
|
+
/>
|
|
54
|
+
|
|
55
|
+
<ViewGlobal3dMap
|
|
56
|
+
show={props.map.viewGlobal3dMap}
|
|
57
|
+
hide={props.toggleScreenPopup}
|
|
58
|
+
/>
|
|
59
|
+
|
|
60
|
+
<ViewHalonsOnMap
|
|
61
|
+
show={props.map.viewHalonsOnMap}
|
|
62
|
+
hide={props.toggleScreenPopup}
|
|
63
|
+
/>
|
|
64
|
+
|
|
65
|
+
<ViewOappOnMap
|
|
66
|
+
show={props.map.viewOappOnMap}
|
|
67
|
+
hide={props.toggleScreenPopup}
|
|
68
|
+
/>
|
|
69
|
+
|
|
70
|
+
<ViewQuestOnMap
|
|
71
|
+
show={props.map.viewQuestOnMap}
|
|
72
|
+
hide={props.toggleScreenPopup}
|
|
73
|
+
/>
|
|
74
|
+
</>
|
|
75
|
+
)
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export default Map;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
// import { Link } from "react-router-dom";
|
|
3
|
+
import { Modal } from "react-bootstrap";
|
|
4
|
+
|
|
5
|
+
import MessageContacts from "../../common/message/MessageContacts";
|
|
6
|
+
import Messages from "../../common/message/Messages";
|
|
7
|
+
import "../../../assets/scss/popup.scss";
|
|
8
|
+
import "../../../assets/scss/message.scss";
|
|
9
|
+
import avatar from "../../../assets/images/loggedin.png"
|
|
10
|
+
|
|
11
|
+
class Message extends React.Component {
|
|
12
|
+
constructor(props) {
|
|
13
|
+
super(props);
|
|
14
|
+
this.state = {
|
|
15
|
+
contactList: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Test 123',
|
|
18
|
+
img: avatar,
|
|
19
|
+
date: '13th October 2021',
|
|
20
|
+
lastMessage: 'Test 123',
|
|
21
|
+
active: true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Test 123',
|
|
25
|
+
img: avatar,
|
|
26
|
+
date: '13th October 2021',
|
|
27
|
+
lastMessage: 'Test 123',
|
|
28
|
+
active: false
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
messageList: [
|
|
32
|
+
{
|
|
33
|
+
from: 'Admin',
|
|
34
|
+
img: avatar,
|
|
35
|
+
date: '10th October',
|
|
36
|
+
message: 'Hey what are you doing?'
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
from: 'me',
|
|
40
|
+
date: '10th October',
|
|
41
|
+
message: 'Making chating work on React'
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
from: 'Admin',
|
|
45
|
+
img: avatar,
|
|
46
|
+
date: 'Yesterday',
|
|
47
|
+
message: 'OK Good luck'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
from: 'me',
|
|
51
|
+
date: '8:00 am',
|
|
52
|
+
message: 'Thank you'
|
|
53
|
+
},
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
render() {
|
|
59
|
+
return (
|
|
60
|
+
<Modal
|
|
61
|
+
size="xl"
|
|
62
|
+
show={true}
|
|
63
|
+
dialogClassName=""
|
|
64
|
+
onHide={() => this.props.history.push("/")}
|
|
65
|
+
>
|
|
66
|
+
<Modal.Header closeButton>
|
|
67
|
+
<Modal.Title>Messages</Modal.Title>
|
|
68
|
+
</Modal.Header>
|
|
69
|
+
<Modal.Body>
|
|
70
|
+
<div class="container">
|
|
71
|
+
<div class="messaging">
|
|
72
|
+
<div class="inbox_msg">
|
|
73
|
+
<MessageContacts
|
|
74
|
+
contactList={this.state.contactList}
|
|
75
|
+
/>
|
|
76
|
+
<Messages messageList={this.state.messageList}/>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</Modal.Body>
|
|
81
|
+
</Modal>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export default Message;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ManageMission extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('mission', 'manageMission')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('mission', 'manageMission')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ManageMission;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class SearchMission extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('mission', 'searchMission')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('mission', 'searchMission')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default SearchMission;
|