1
- import ' ./App.css'
1
+ import " ./App.css" ;
2
2
3
- import { ContractOwner } from ' ./components/sections/ContractOwner'
4
- import { AllGoals } from ' ./components/sections/AllGoals'
5
- import { GoalDetails } from ' ./components/sections/GoalDetails'
6
- import { UserGoals } from ' ./components/sections/UserGoals'
3
+ import { ContractOwner } from " ./components/sections/ContractOwner" ;
4
+ import { AllGoals } from " ./components/sections/AllGoals" ;
5
+ import { GoalDetails } from " ./components/sections/GoalDetails" ;
6
+ import { UserGoals } from " ./components/sections/UserGoals" ;
7
7
8
- import { CreateGoal } from './components/sections/CreateGoal'
9
- import { CreateGoalSolo } from './components/sections/CreateGoalSolo'
10
- import { ClaimStake } from './components/sections/ClaimStake'
11
- import { StakeAndUnlockGoal } from './components/sections/StakeAndUnlockGoal'
12
- import { ConfirmTaskCompletion } from './components/sections/ConfirmTaskCompletion'
13
- import { SettleGoal } from './components/sections/SettleGoal'
14
- import { CreateTask } from './components/sections/CreateTask'
15
- import { LinkWallet } from './components/sections/LinkWallet'
16
- import { AllTasks } from './components/sections/AllTasks'
17
- import { ConfirmTask } from './components/sections/ConfirmTask'
18
- import { AllUnconfirmedTasks } from './components/sections/AllUnconfirmedTasks'
19
- import { UserPoints } from './components/sections/UserPoints'
8
+ import { CreateGoal } from "./components/sections/CreateGoal" ;
9
+ import { CreateGoalSolo } from "./components/sections/CreateGoalSolo" ;
10
+ import { ClaimStake } from "./components/sections/ClaimStake" ;
11
+ import { StakeAndUnlockGoal } from "./components/sections/StakeAndUnlockGoal" ;
12
+ import { ConfirmTaskCompletion } from "./components/sections/ConfirmTaskCompletion" ;
13
+ import { SettleGoal } from "./components/sections/SettleGoal" ;
14
+ import { CreateTask } from "./components/sections/CreateTask" ;
15
+ import { LinkWallet } from "./components/sections/LinkWallet" ;
16
+ import { AllTasks } from "./components/sections/AllTasks" ;
17
+ import { ConfirmTask } from "./components/sections/ConfirmTask" ;
18
+ import { AllUnconfirmedTasks } from "./components/sections/AllUnconfirmedTasks" ;
19
+ import { UserPoints } from "./components/sections/UserPoints" ;
20
+ import { DonateToProject } from "./components/sections/DonateToProject" ;
21
+ import { ClaimReward } from "./components/sections/ClaimReward" ;
22
+ import { GetClaimedRewards } from "./components/sections/GetClaimedRewards" ;
23
+ import { GetTotalRewards } from "./components/sections/GetTotalRewards" ;
24
+ import { AllProjects } from "./components/sections/AllProjects" ;
25
+ import { GetProjectParticipants } from "./components/sections/GetProjectParticipants" ;
20
26
// import { GoalCreated } from './components/sections/GoalCreated'
21
27
22
28
function App ( ) {
23
29
return (
24
30
< >
25
31
< header className = "header" >
26
- < img className = "logo" src = "/logo.png" alt = "logo" width = { 28 } height = { 28 } />
32
+ < img
33
+ className = "logo"
34
+ src = "/logo.png"
35
+ alt = "logo"
36
+ width = { 28 }
37
+ height = { 28 }
38
+ />
27
39
< span > YouBet SDK</ span >
28
40
</ header >
29
41
< main className = "main" >
@@ -46,13 +58,26 @@ function App() {
46
58
< CreateTask />
47
59
< ConfirmTask />
48
60
< LinkWallet />
61
+ < DonateToProject />
62
+ < ClaimReward />
63
+ < GetTotalRewards />
64
+ < GetClaimedRewards />
65
+ < AllProjects />
66
+ < GetProjectParticipants />
49
67
{ /* <GoalCreated /> */ }
50
68
</ main >
51
69
< footer className = "footer" >
52
- Powered By < a href = "https://youbetdao.github.io/" target = "_blank" rel = "noreferrer noopener" > YouBet</ a >
70
+ Powered By{ " " }
71
+ < a
72
+ href = "https://youbetdao.github.io/"
73
+ target = "_blank"
74
+ rel = "noreferrer noopener"
75
+ >
76
+ YouBet
77
+ </ a >
53
78
</ footer >
54
79
</ >
55
- )
80
+ ) ;
56
81
}
57
82
58
- export default App
83
+ export default App ;
0 commit comments