@oasisomniverse/nextjs 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.
Files changed (128) hide show
  1. package/package.json +29 -0
  2. package/src/components/ForgetPassword.tsx +127 -0
  3. package/src/components/Login.tsx +223 -0
  4. package/src/components/ResetPassword.tsx +177 -0
  5. package/src/components/Signup.tsx +286 -0
  6. package/src/components/VerifyEmail.tsx +69 -0
  7. package/src/components/common/AvatarConnect.tsx +90 -0
  8. package/src/components/common/Contact.tsx +61 -0
  9. package/src/components/common/Eggs.tsx +51 -0
  10. package/src/components/common/Game.tsx +37 -0
  11. package/src/components/common/HyperDrive.tsx +51 -0
  12. package/src/components/common/KarmaToast.tsx +39 -0
  13. package/src/components/common/Map.tsx +43 -0
  14. package/src/components/common/MenuMessage.tsx +71 -0
  15. package/src/components/common/Messaging.tsx +75 -0
  16. package/src/components/common/Mission.tsx +41 -0
  17. package/src/components/common/NFT.tsx +43 -0
  18. package/src/components/common/NavBar.tsx +138 -0
  19. package/src/components/common/OApp.tsx +42 -0
  20. package/src/components/common/ONET.tsx +51 -0
  21. package/src/components/common/ONODE.tsx +50 -0
  22. package/src/components/common/OasisModal.tsx +30 -0
  23. package/src/components/common/ProviderDropdown.tsx +26 -0
  24. package/src/components/common/Providers.tsx +39 -0
  25. package/src/components/common/Quest.tsx +41 -0
  26. package/src/components/common/SearchAvatars.tsx +50 -0
  27. package/src/components/common/Seeds.tsx +40 -0
  28. package/src/components/common/Settings.tsx +71 -0
  29. package/src/components/common/StarField.tsx +57 -0
  30. package/src/components/common/Wallet.tsx +46 -0
  31. package/src/components/popups/avatar/components/AvatarWallet.tsx +170 -0
  32. package/src/components/popups/avatar/components/EditAvatar.tsx +35 -0
  33. package/src/components/popups/avatar/components/SearchAvatar.tsx +35 -0
  34. package/src/components/popups/avatar/components/ViewAvatar.tsx +149 -0
  35. package/src/components/popups/avatar/index.tsx +40 -0
  36. package/src/components/popups/comingsoon/ComingSoon.tsx +29 -0
  37. package/src/components/popups/confirmation/Confirmation.tsx +31 -0
  38. package/src/components/popups/contact/index.tsx +101 -0
  39. package/src/components/popups/data-screen/components/AddData.tsx +90 -0
  40. package/src/components/popups/data-screen/components/CrossChainManagement.tsx +88 -0
  41. package/src/components/popups/data-screen/components/LoadData.tsx +158 -0
  42. package/src/components/popups/data-screen/components/ManageData.tsx +35 -0
  43. package/src/components/popups/data-screen/components/OffChainManagement.tsx +178 -0
  44. package/src/components/popups/data-screen/components/SearchData.tsx +35 -0
  45. package/src/components/popups/data-screen/index.tsx +53 -0
  46. package/src/components/popups/eggs/components/ManageEggs.tsx +35 -0
  47. package/src/components/popups/eggs/components/SearchEggs.tsx +35 -0
  48. package/src/components/popups/eggs/components/ViewEggs.tsx +35 -0
  49. package/src/components/popups/eggs/index.tsx +32 -0
  50. package/src/components/popups/game/components/SearchProfiles.tsx +35 -0
  51. package/src/components/popups/game/components/ViewAchievements.tsx +35 -0
  52. package/src/components/popups/game/components/ViewLeagues.tsx +35 -0
  53. package/src/components/popups/game/components/ViewTournaments.tsx +35 -0
  54. package/src/components/popups/game/index.tsx +39 -0
  55. package/src/components/popups/karma/components/SearchKarma.tsx +35 -0
  56. package/src/components/popups/karma/components/ViewAvatarKarma.tsx +140 -0
  57. package/src/components/popups/karma/components/ViewKarma.tsx +104 -0
  58. package/src/components/popups/karma/components/VoteKarma.tsx +35 -0
  59. package/src/components/popups/karma/index.tsx +35 -0
  60. package/src/components/popups/map/components/Add2dObjectMap.tsx +35 -0
  61. package/src/components/popups/map/components/Add3dObjectMap.tsx +35 -0
  62. package/src/components/popups/map/components/AddQuestToMap.tsx +35 -0
  63. package/src/components/popups/map/components/DownloadOurWorld.tsx +35 -0
  64. package/src/components/popups/map/components/ManageMap.tsx +35 -0
  65. package/src/components/popups/map/components/PlotRouteOnMap.tsx +35 -0
  66. package/src/components/popups/map/components/SearchMap.tsx +35 -0
  67. package/src/components/popups/map/components/ViewGlobal3dMap.tsx +35 -0
  68. package/src/components/popups/map/components/ViewHalonsOnMap.tsx +35 -0
  69. package/src/components/popups/map/components/ViewOappOnMap.tsx +35 -0
  70. package/src/components/popups/map/components/ViewQuestOnMap.tsx +35 -0
  71. package/src/components/popups/map/index.tsx +80 -0
  72. package/src/components/popups/messages/Message.tsx +87 -0
  73. package/src/components/popups/mission/components/ManageMission.tsx +35 -0
  74. package/src/components/popups/mission/components/SearchMission.tsx +35 -0
  75. package/src/components/popups/mission/components/ViewMission.tsx +35 -0
  76. package/src/components/popups/mission/index.tsx +33 -0
  77. package/src/components/popups/nft/ContactPopup.tsx +147 -0
  78. package/src/components/popups/nft/Solana.tsx +71 -0
  79. package/src/components/popups/nft/components/ManageOasisNft.tsx +35 -0
  80. package/src/components/popups/nft/components/PurchaseOasisNft.tsx +35 -0
  81. package/src/components/popups/nft/components/PurchaseOasisVirtualLandNft.tsx +35 -0
  82. package/src/components/popups/nft/components/SearchOasisNft.tsx +35 -0
  83. package/src/components/popups/nft/components/ViewOasisNft.tsx +35 -0
  84. package/src/components/popups/nft/index.tsx +46 -0
  85. package/src/components/popups/oapp/components/CreateOAPP.tsx +35 -0
  86. package/src/components/popups/oapp/components/DeployOAPP.tsx +35 -0
  87. package/src/components/popups/oapp/components/DownloadOurWorld.tsx +35 -0
  88. package/src/components/popups/oapp/components/EditOAPP.tsx +35 -0
  89. package/src/components/popups/oapp/components/InstallOAPP.tsx +35 -0
  90. package/src/components/popups/oapp/components/LaunchOAPP.tsx +35 -0
  91. package/src/components/popups/oapp/components/ManageOAPP.tsx +69 -0
  92. package/src/components/popups/oapp/components/SearchOAPP.tsx +35 -0
  93. package/src/components/popups/oapp/index.tsx +63 -0
  94. package/src/components/popups/provider/components/ActivityPub.tsx +35 -0
  95. package/src/components/popups/provider/components/CompareProviderSpeeds.tsx +124 -0
  96. package/src/components/popups/provider/components/Eosio.tsx +35 -0
  97. package/src/components/popups/provider/components/Ethereum.tsx +35 -0
  98. package/src/components/popups/provider/components/Holochain.tsx +35 -0
  99. package/src/components/popups/provider/components/Ipfs.tsx +36 -0
  100. package/src/components/popups/provider/components/ManageAutoFailOver.tsx +35 -0
  101. package/src/components/popups/provider/components/ManageAutoReplicaton.tsx +35 -0
  102. package/src/components/popups/provider/components/ManageLoadBalancing.tsx +35 -0
  103. package/src/components/popups/provider/components/ManageProviders.tsx +35 -0
  104. package/src/components/popups/provider/components/MongoDb.tsx +35 -0
  105. package/src/components/popups/provider/components/Neo4j.tsx +35 -0
  106. package/src/components/popups/provider/components/SearchProviders.tsx +123 -0
  107. package/src/components/popups/provider/components/Seeds.tsx +35 -0
  108. package/src/components/popups/provider/components/Solid.tsx +35 -0
  109. package/src/components/popups/provider/components/SqlLite.tsx +35 -0
  110. package/src/components/popups/provider/components/ThreeFold.tsx +35 -0
  111. package/src/components/popups/provider/components/ViewProviderStats.tsx +124 -0
  112. package/src/components/popups/provider/components/ViewProviders.tsx +122 -0
  113. package/src/components/popups/provider/index.tsx +114 -0
  114. package/src/components/popups/quest/components/ManageQuest.tsx +35 -0
  115. package/src/components/popups/quest/components/SearchQuest.tsx +35 -0
  116. package/src/components/popups/quest/components/ViewQuest.tsx +35 -0
  117. package/src/components/popups/quest/index.tsx +33 -0
  118. package/src/components/popups/seeds/components/AcceptInvite.tsx +62 -0
  119. package/src/components/popups/seeds/components/DonateSeeds.tsx +179 -0
  120. package/src/components/popups/seeds/components/ManageSeeds.tsx +35 -0
  121. package/src/components/popups/seeds/components/PayWithSeeds.tsx +234 -0
  122. package/src/components/popups/seeds/components/RewardSeeds.tsx +179 -0
  123. package/src/components/popups/seeds/components/SearchSeeds.tsx +92 -0
  124. package/src/components/popups/seeds/components/SendInvite.tsx +179 -0
  125. package/src/components/popups/seeds/components/ViewOrganizations.tsx +179 -0
  126. package/src/components/popups/seeds/components/ViewSeeds.tsx +222 -0
  127. package/src/components/popups/seeds/index.tsx +71 -0
  128. package/src/index.ts +129 -0
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class ViewLeagues extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('game', 'viewLeagues')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Coming Soon</h2>
26
+ <p>This module is coming soon...</p>
27
+ <button onClick={() => hide('game', 'viewLeagues')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default ViewLeagues;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class ViewTournaments extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('game', 'viewTournaments')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Coming Soon</h2>
26
+ <p>This module is coming soon...</p>
27
+ <button onClick={() => hide('game', 'viewTournaments')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default ViewTournaments;
@@ -0,0 +1,39 @@
1
+ 'use client';
2
+ import React from 'react';
3
+
4
+ import SearchProfiles from './components/SearchProfiles';
5
+ import ViewAchievements from './components/ViewAchievements';
6
+ import ViewLeagues from './components/ViewLeagues';
7
+ import ViewTournaments from './components/ViewTournaments';
8
+
9
+ class Game extends React.Component {
10
+
11
+ render() {
12
+ const props=this.props;
13
+ return(
14
+ <>
15
+ <SearchProfiles
16
+ show={props.game.searchProfiles}
17
+ hide={props.toggleScreenPopup}
18
+ />
19
+
20
+ <ViewTournaments
21
+ show={props.game.viewTournaments}
22
+ hide={props.toggleScreenPopup}
23
+ />
24
+
25
+ <ViewLeagues
26
+ show={props.game.viewLeagues}
27
+ hide={props.toggleScreenPopup}
28
+ />
29
+
30
+ <ViewAchievements
31
+ show={props.game.viewAchievements}
32
+ hide={props.toggleScreenPopup}
33
+ />
34
+ </>
35
+ )
36
+ }
37
+ }
38
+
39
+ export default Game;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class SearchKarma extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('karma', 'searchKarma')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>UI Coming Soon</h2>
26
+ <p>You can use this functionality directly by accessing the OASIS API from the Developer menu.</p>
27
+ <button onClick={() => hide('karma', 'searchKarma')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default SearchKarma;
@@ -0,0 +1,140 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ // import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ import axios from "axios";
8
+ import { toast } from 'react-toastify';
9
+ import { AgGridReact } from 'ag-grid-react';
10
+ import API_BASE_URL from "../../../../config/api";
11
+
12
+ class ViewAvatarKarma extends React.Component {
13
+ state = {
14
+ columnDefs: [
15
+ {
16
+ field: "date",
17
+ headerName: "Date"
18
+ },
19
+ {
20
+ field: 'level',
21
+
22
+ },
23
+ {
24
+ field: "type",
25
+ headerName: "Type"
26
+ },
27
+ {
28
+ field: "karma",
29
+ headerName: "Karma",
30
+ },
31
+ {
32
+ field: "source",
33
+ headerName: "Source"
34
+ },
35
+ {
36
+ field: "title",
37
+ headerName: "Title"
38
+ },
39
+ {
40
+ field: "description",
41
+ headerName: "Description"
42
+ },
43
+ {
44
+ field: "weblink",
45
+ headerName: "Weblink"
46
+ },
47
+ ],
48
+ defaultColDef: {
49
+ flex: 1,
50
+ minWidth: 150,
51
+ filter: true,
52
+ sortable: true,
53
+ floatingFilter: true,
54
+ resizable: true,
55
+ // overflow:true
56
+ },
57
+ rowData: null,
58
+ };
59
+
60
+ onGridReady = (params) => {
61
+ this.gridApi = params.api;
62
+ this.gridColumnApi = params.columnApi;
63
+
64
+ const updateData = (data) => {
65
+ this.setState({ rowData: data });
66
+ };
67
+
68
+ fetch('https://www.ag-grid.com/example-assets/olympic-winners.json')
69
+ .then((resp) => resp.json())
70
+ .then((data) => updateData(data));
71
+ };
72
+
73
+ getApiData = () => {
74
+ this.setState({ loading: true })
75
+
76
+ axios({
77
+ method: 'get',
78
+ url: API_BASE_URL,
79
+ headers: {
80
+ 'Content-Type': 'application/json'
81
+ },
82
+ })
83
+ .then((response) => {
84
+ this.setState({loading: false})
85
+
86
+ if (response.data.result?.isError) {
87
+ toast.error(response.data.result.message);
88
+ return;
89
+ }
90
+
91
+ toast.success(response.data.result.message);
92
+ })
93
+ .catch((err) => {
94
+ toast.error('err');
95
+ this.setState({loading: false})
96
+ return { error: true, data: err };
97
+ });
98
+ }
99
+
100
+ render() {
101
+ const { show, hide } = this.props;
102
+
103
+ return (
104
+ <>
105
+ <Modal
106
+ size="xl"
107
+ centered
108
+ className="custom-modal custom-popup-component light-custom-popup"
109
+ show={show}
110
+ onHide={() => hide('karma', 'viewAvatarKarma')}
111
+ >
112
+ <Modal.Body>
113
+ <span className="form-cross-icon" onClick={() => hide('karma', 'viewAvatarKarma')}>
114
+ <i className="fa fa-times"></i>
115
+ </span>
116
+
117
+ <h1 className="single-heading">Karma</h1>
118
+
119
+ <div className="grids-container">
120
+ <div className="single-grid">
121
+ <p className="heading">Seeds Sent</p>
122
+
123
+ <div className="ag-theme-alpine custom-ag-parent">
124
+ <AgGridReact
125
+ columnDefs={this.state.columnDefs}
126
+ defaultColDef={this.state.defaultColDef}
127
+ onGridReady={this.onGridReady}
128
+ rowData={this.state.rowData}
129
+ />
130
+ </div>
131
+ </div>
132
+ </div>
133
+ </Modal.Body>
134
+ </Modal>
135
+ </>
136
+ );
137
+ }
138
+ }
139
+
140
+ export default ViewAvatarKarma;
@@ -0,0 +1,104 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from 'react-bootstrap';
4
+ // import Loader from "react-loader-spinner";
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+ import oasisApi from "oasis-api";
7
+
8
+ class ViewKarma extends React.Component {
9
+
10
+ constructor(props) {
11
+ super(props);
12
+ this.state = {
13
+ columnDefs: [
14
+ { field: 'date' },
15
+ { field: 'avatar' },
16
+ { field: 'positive/negative' },
17
+ { field: 'type' },
18
+ { field: 'karma' },
19
+ { field: 'source' },
20
+ { field: 'description' },
21
+ { field: 'weblink' },
22
+ ],
23
+ defaultColDef: {
24
+ flex: 1,
25
+ minWidth: 150,
26
+ filter: true,
27
+ sortable: true,
28
+ floatingFilter: true,
29
+ resizable: true,
30
+ },
31
+ rowData: null,
32
+ // loading: true,
33
+ // loggedIn: true,
34
+ };
35
+ }
36
+
37
+ onGridReady = async (params) => {
38
+ this.gridApi = params.api;
39
+ this.gridColumnApi = params.columnApi;
40
+ let karmaRecords = []
41
+
42
+ const avatarApi = new oasisApi.Avatar()
43
+ const karmaApi = new oasisApi.Karma()
44
+
45
+ const avatarRes = await avatarApi.getAll()
46
+ if(!avatarRes.error){
47
+ const avatars = avatarRes.data.result
48
+ for(let i=0; i<=avatars.length-1; i++){
49
+ const avatar = avatars[i]
50
+ const karmaRes = await karmaApi.getKarmaAkashicRecordsForAvatar(avatar.avatarId)
51
+ if(!karmaRes.error){
52
+ if(karmaRes.data.result){
53
+ const karmas = karmaRes.data.result
54
+ for(let j=0; j<=karmas.length-1; j++){
55
+ const karma = karmas[j]
56
+ console.log(karma)
57
+ const karmaRecord = {
58
+ date: karma.date,
59
+ avatar: avatar.username,
60
+ 'positive/negative': karma.karmaTypePositive.value,
61
+ type: karma.karmaTypePositive.name,
62
+ source: karma.karmaSource.name,
63
+ description: karma.karmaSourceDesc,
64
+ weblink: 'oasisweb4.one',
65
+ karma: karma.karma
66
+ }
67
+ karmaRecords.push(karmaRecord)
68
+ console.log(karmaRecord)
69
+ };
70
+ }
71
+ }
72
+ };
73
+ }
74
+ console.log(karmaRecords);
75
+ this.setState({rowData: karmaRecords})
76
+ }
77
+ //run this after component mounts
78
+ render() {
79
+ const { show, hide } = this.props;
80
+ return (
81
+ <>
82
+ <Modal
83
+ size="sm"
84
+ show={show}
85
+ dialogClassName=""
86
+ onHide={() => hide('karma', 'viewKarmaWeightings')}
87
+ >
88
+ <Modal.Body className="text-center coming-soon">
89
+ <img
90
+ src={InfoIcon}
91
+ alt="icon"
92
+ />
93
+ <h2>UI Coming Soon</h2>
94
+ <p>This module is coming soon...</p>
95
+ <button onClick={() => hide('karma', 'viewKarmaWeightings')}>OK</button>
96
+ </Modal.Body>
97
+ </Modal>
98
+ </>
99
+ );
100
+
101
+ }
102
+ }
103
+
104
+ export default ViewKarma;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class VoteKarma extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('karma', 'voteKarma')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Coming Soon</h2>
26
+ <p>This module is coming soon...</p>
27
+ <button onClick={() => hide('karma', 'voteKarma')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default VoteKarma;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+
4
+ import "../../../assets/scss/data-screen.scss";
5
+ import ViewKarma from './components/ViewKarma';
6
+ import ViewAvatarKarma from './components/ViewAvatarKarma';
7
+ import SearchKarma from './components/SearchKarma';
8
+ import VoteKarma from './components/VoteKarma';
9
+ class Karma extends React.Component {
10
+ render() {
11
+ const props=this.props;
12
+ return(
13
+ <>
14
+ <ViewKarma
15
+ show={props.karma.viewKarmaWeightings}
16
+ hide={props.toggleScreenPopup}
17
+ />
18
+ <SearchKarma
19
+ show={props.karma.searchKarma}
20
+ hide={props.toggleScreenPopup}
21
+ />
22
+ <VoteKarma
23
+ show={props.karma.voteKarma}
24
+ hide={props.toggleScreenPopup}
25
+ />
26
+ <ViewAvatarKarma
27
+ show={props.karma.viewAvatarKarma}
28
+ hide={props.toggleScreenPopup}
29
+ />
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default Karma;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class Add2dObjectMap extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('map', 'add2dObjectMap')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Coming Soon</h2>
26
+ <p>This module is coming soon...</p>
27
+ <button onClick={() => hide('map', 'add2dObjectMap')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default Add2dObjectMap;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class Add3dObjectMap extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('map', 'add3dObjectMap')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Coming Soon</h2>
26
+ <p>This module is coming soon...</p>
27
+ <button onClick={() => hide('map', 'add3dObjectMap')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default Add3dObjectMap;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class AddQuestToMap extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('map', 'addQuestToMap')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Coming Soon</h2>
26
+ <p>This module is coming soon...</p>
27
+ <button onClick={() => hide('map', 'addQuestToMap')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default AddQuestToMap;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class DownloadOurWorld extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('map', 'downloadOurWorld')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>STAR ODK Coming Soon.</h2>
26
+ <p>The alpha release of this will be coming soon… please check back soon… thank you.</p>
27
+ <button onClick={() => hide('map', 'downloadOurWorld')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default DownloadOurWorld;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class ManageMap extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('map', 'manageMap')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Our World Coming Soon.</h2>
26
+ <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>
27
+ <button onClick={() => hide('map', 'manageMap')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default ManageMap;
@@ -0,0 +1,35 @@
1
+ 'use client';
2
+ import React from 'react';
3
+ import { Modal } from "react-bootstrap";
4
+ import '../../../../assets/scss/coming-soon.scss';
5
+ import InfoIcon from '../../../../assets/images/icon-info.svg'
6
+
7
+ class PlotRouteOnMap extends React.Component {
8
+ state = { }
9
+ render() {
10
+ const { show, hide } = this.props;
11
+
12
+ return (
13
+ <>
14
+ <Modal
15
+ size="sm"
16
+ show={show}
17
+ dialogClassName=""
18
+ onHide={() => hide('map', 'plotRouteOnMap')}
19
+ >
20
+ <Modal.Body className="text-center coming-soon">
21
+ <img
22
+ src={InfoIcon}
23
+ alt="icon"
24
+ />
25
+ <h2>Coming Soon</h2>
26
+ <p>This module is coming soon...</p>
27
+ <button onClick={() => hide('map', 'plotRouteOnMap')}>OK</button>
28
+ </Modal.Body>
29
+ </Modal>
30
+ </>
31
+ );
32
+ }
33
+ }
34
+
35
+ export default PlotRouteOnMap;