@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
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ViewMission 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', 'viewMission')}
|
|
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', 'viewMission')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ViewMission;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import ManageMission from './components/ManageMission';
|
|
4
|
+
import SearchMission from './components/SearchMission';
|
|
5
|
+
import ViewMission from './components/ViewMission';
|
|
6
|
+
|
|
7
|
+
class Mission extends React.Component {
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
const props=this.props;
|
|
11
|
+
return(
|
|
12
|
+
<>
|
|
13
|
+
<ViewMission
|
|
14
|
+
show={props.mission.viewMission}
|
|
15
|
+
hide={props.toggleScreenPopup}
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
<ManageMission
|
|
19
|
+
show={props.mission.manageMission}
|
|
20
|
+
hide={props.toggleScreenPopup}
|
|
21
|
+
/>
|
|
22
|
+
|
|
23
|
+
<SearchMission
|
|
24
|
+
show={props.mission.searchMission}
|
|
25
|
+
hide={props.toggleScreenPopup}
|
|
26
|
+
/>
|
|
27
|
+
</>
|
|
28
|
+
)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default Mission;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { Modal } from 'react-bootstrap';
|
|
4
|
+
|
|
5
|
+
import '../../../assets/scss/contact-popup.scss';
|
|
6
|
+
|
|
7
|
+
import { AgGridReact } from 'ag-grid-react';
|
|
8
|
+
|
|
9
|
+
var filterParams = {
|
|
10
|
+
comparator: function (filterLocalDateAtMidnight, cellValue) {
|
|
11
|
+
var dateAsString = cellValue;
|
|
12
|
+
if (dateAsString === null) return -1;
|
|
13
|
+
var dateParts = dateAsString.split('/');
|
|
14
|
+
var cellDate = new Date(
|
|
15
|
+
Number(dateParts[2]),
|
|
16
|
+
Number(dateParts[1]) - 1,
|
|
17
|
+
Number(dateParts[0])
|
|
18
|
+
);
|
|
19
|
+
if (filterLocalDateAtMidnight.getTime() === cellDate.getTime()) {
|
|
20
|
+
return 0;
|
|
21
|
+
}
|
|
22
|
+
if (cellDate < filterLocalDateAtMidnight) {
|
|
23
|
+
return -1;
|
|
24
|
+
}
|
|
25
|
+
if (cellDate > filterLocalDateAtMidnight) {
|
|
26
|
+
return 1;
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
browserDatePicker: true,
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
class ContactPopup extends React.Component {
|
|
33
|
+
|
|
34
|
+
state = {
|
|
35
|
+
columnDefs: [
|
|
36
|
+
{
|
|
37
|
+
field: 'athlete'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
field: 'age',
|
|
41
|
+
filter: 'agNumberColumnFilter',
|
|
42
|
+
maxWidth: 100,
|
|
43
|
+
},
|
|
44
|
+
{ field: 'country' },
|
|
45
|
+
{
|
|
46
|
+
field: 'year',
|
|
47
|
+
maxWidth: 100,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
field: 'date',
|
|
51
|
+
filter: 'agDateColumnFilter',
|
|
52
|
+
filterParams: filterParams,
|
|
53
|
+
},
|
|
54
|
+
{ field: 'sport' },
|
|
55
|
+
{
|
|
56
|
+
field: 'gold',
|
|
57
|
+
filter: 'agNumberColumnFilter',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
field: 'silver',
|
|
61
|
+
filter: 'agNumberColumnFilter',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
field: 'bronze',
|
|
65
|
+
filter: 'agNumberColumnFilter',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
field: 'total',
|
|
69
|
+
filter: false,
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
defaultColDef: {
|
|
73
|
+
flex: 1,
|
|
74
|
+
minWidth: 150,
|
|
75
|
+
filter: true,
|
|
76
|
+
sortable: true,
|
|
77
|
+
floatingFilter: true,
|
|
78
|
+
resizable: true,
|
|
79
|
+
},
|
|
80
|
+
rowData: null,
|
|
81
|
+
};
|
|
82
|
+
onGridReady = (params) => {
|
|
83
|
+
this.gridApi = params.api;
|
|
84
|
+
this.gridColumnApi = params.columnApi;
|
|
85
|
+
|
|
86
|
+
const updateData = (data) => {
|
|
87
|
+
this.setState({ rowData: data });
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
fetch('https://www.ag-grid.com/example-assets/olympic-winners.json')
|
|
91
|
+
.then((resp) => resp.json())
|
|
92
|
+
.then((data) => updateData(data));
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
render() {
|
|
97
|
+
const { show, hide } = this.props;
|
|
98
|
+
|
|
99
|
+
return (
|
|
100
|
+
<>
|
|
101
|
+
<Modal
|
|
102
|
+
centered
|
|
103
|
+
className="custom-modal custom-contact-modal custom-popup-component"
|
|
104
|
+
show={show}
|
|
105
|
+
onHide={() => hide('nft', 'contactPopup')}
|
|
106
|
+
>
|
|
107
|
+
<Modal.Body>
|
|
108
|
+
<span className="form-cross-icon" onClick={() => hide('nft', 'contactPopup')}>
|
|
109
|
+
<i className="fa fa-times"></i>
|
|
110
|
+
</span>
|
|
111
|
+
|
|
112
|
+
<div className="popup-container contact-Popup default-popup">
|
|
113
|
+
<div className="popup-content">
|
|
114
|
+
<h1 className="single-heading">Contacts</h1>
|
|
115
|
+
<div className="button-bar">
|
|
116
|
+
<button className="sm-button" >Friends</button>
|
|
117
|
+
<button className="sm-button">Family</button>
|
|
118
|
+
<button className="sm-button">Colleagues</button>
|
|
119
|
+
<button className="sm-button">My list 1</button>
|
|
120
|
+
<button className="sm-button">My list 2</button>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
|
|
124
|
+
<div className="ag-theme-alpine custom-ag-parent">
|
|
125
|
+
<AgGridReact
|
|
126
|
+
columnDefs={this.state.columnDefs}
|
|
127
|
+
defaultColDef={this.state.defaultColDef}
|
|
128
|
+
onGridReady={this.onGridReady}
|
|
129
|
+
rowData={this.state.rowData}
|
|
130
|
+
/>
|
|
131
|
+
</div>
|
|
132
|
+
|
|
133
|
+
<div className="right-btn">
|
|
134
|
+
<button className="sm-button" >Find Avatar</button>
|
|
135
|
+
<button className="sm-button" >Create List</button>
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
</div>
|
|
139
|
+
</Modal.Body>
|
|
140
|
+
</Modal>
|
|
141
|
+
</>
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export default ContactPopup;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { Modal } from 'react-bootstrap';
|
|
4
|
+
|
|
5
|
+
import '../../../assets/scss/nft.scss';
|
|
6
|
+
import ProviderDropdown from '../../common/ProviderDropdown';
|
|
7
|
+
|
|
8
|
+
class Solana extends React.Component {
|
|
9
|
+
render() {
|
|
10
|
+
const { show, hide } = this.props;
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<>
|
|
14
|
+
<Modal
|
|
15
|
+
centered
|
|
16
|
+
className="custom-modal custom-popup-component"
|
|
17
|
+
show={show}
|
|
18
|
+
onHide={() => hide('nft', 'solana')}
|
|
19
|
+
>
|
|
20
|
+
<Modal.Body>
|
|
21
|
+
<span className="form-cross-icon" onClick={() => hide('nft', 'solana')}>
|
|
22
|
+
<i className="fa fa-times"></i>
|
|
23
|
+
</span>
|
|
24
|
+
|
|
25
|
+
<div className="popup-container default-popup">
|
|
26
|
+
<div className="nft-container solana">
|
|
27
|
+
<h1 className="single-heading">Solana Provider</h1>
|
|
28
|
+
|
|
29
|
+
<div className="form-container">
|
|
30
|
+
<form>
|
|
31
|
+
<p className="single-form-row">
|
|
32
|
+
<label>Solana : </label>
|
|
33
|
+
<input type="text" />
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
<ProviderDropdown />
|
|
37
|
+
|
|
38
|
+
<p className="single-form-row">
|
|
39
|
+
<label>To Avatar :</label>
|
|
40
|
+
<input type="text" />
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
<p className="single-form-row">
|
|
44
|
+
<label>Or Wallet Address :</label>
|
|
45
|
+
<input type="text" />
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
<p className="single-form-row">
|
|
49
|
+
<label>Message :</label>
|
|
50
|
+
<textarea ></textarea>
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
<p className="single-form-row btn-right">
|
|
54
|
+
<button
|
|
55
|
+
className="sm-button"
|
|
56
|
+
type="submit"
|
|
57
|
+
>Send</button>
|
|
58
|
+
</p>
|
|
59
|
+
</form>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
</Modal.Body>
|
|
64
|
+
</Modal>
|
|
65
|
+
</>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export default Solana;
|
|
@@ -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 ManageOasisNft 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('nft', 'manageOasisNft')}
|
|
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('nft', 'manageOasisNft')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ManageOasisNft;
|
|
@@ -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 PurchaseOasisNft 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('nft', 'purchaseOasisNft')}
|
|
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('nft', 'purchaseOasisNft')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default PurchaseOasisNft;
|
|
@@ -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 PurchaseOasisVirtualLandNft 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('nft', 'purchaseOasisVirtualLandNft')}
|
|
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('nft', 'purchaseOasisVirtualLandNft')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default PurchaseOasisVirtualLandNft;
|
|
@@ -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 SearchOasisNft 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('nft', 'searchOasisNft')}
|
|
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('nft', 'searchOasisNft')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default SearchOasisNft;
|
|
@@ -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 ViewOasisNft 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('nft', 'viewOasisNft')}
|
|
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('nft', 'viewOasisNft')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ViewOasisNft;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import ManageOasisNft from './components/ManageOasisNft';
|
|
4
|
+
import PurchaseOasisNft from './components/PurchaseOasisNft';
|
|
5
|
+
import ViewOasisNft from './components/ViewOasisNft';
|
|
6
|
+
import PurchaseOasisVirtualLandNft from './components/PurchaseOasisVirtualLandNft';
|
|
7
|
+
import SearchOasisNft from './components/SearchOasisNft';
|
|
8
|
+
|
|
9
|
+
class Quest extends React.Component {
|
|
10
|
+
|
|
11
|
+
render() {
|
|
12
|
+
const props=this.props;
|
|
13
|
+
return(
|
|
14
|
+
<>
|
|
15
|
+
<ViewOasisNft
|
|
16
|
+
show={props.nft.viewOasisNft}
|
|
17
|
+
hide={props.toggleScreenPopup}
|
|
18
|
+
/>
|
|
19
|
+
|
|
20
|
+
<ManageOasisNft
|
|
21
|
+
show={props.nft.manageOasisNft}
|
|
22
|
+
hide={props.toggleScreenPopup}
|
|
23
|
+
/>
|
|
24
|
+
|
|
25
|
+
<PurchaseOasisNft
|
|
26
|
+
show={props.nft.purchaseOasisNft}
|
|
27
|
+
hide={props.toggleScreenPopup}
|
|
28
|
+
/>
|
|
29
|
+
|
|
30
|
+
<PurchaseOasisVirtualLandNft
|
|
31
|
+
show={props.nft.purchaseOasisVirtualLandNft}
|
|
32
|
+
hide={props.toggleScreenPopup}
|
|
33
|
+
/>
|
|
34
|
+
|
|
35
|
+
<SearchOasisNft
|
|
36
|
+
show={props.nft.searchOasisNft}
|
|
37
|
+
hide={props.toggleScreenPopup}
|
|
38
|
+
/>
|
|
39
|
+
|
|
40
|
+
</>
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export default Quest;
|
|
@@ -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 CreateOAPP 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('oapp', 'createOAPP')}
|
|
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>This is functionaliy that is built in the STAR ODK and will soon be released. You can then download STAR ODK from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('oapp', 'createOAPP')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default CreateOAPP;
|
|
@@ -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 DeployOAPP 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('oapp', 'deployOAPP')}
|
|
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>This is functionaliy that is built in the STAR ODK and will soon be released. You can then download STAR ODK from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('oapp', 'deployOAPP')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default DeployOAPP;
|
|
@@ -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('oapp', '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('oapp', '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 EditOAPP 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('oapp', 'editOAPP')}
|
|
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>This is functionaliy that is built in the STAR ODK and will soon be released. You can then download STAR ODK from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('oapp', 'editOAPP')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default EditOAPP;
|