-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Description --- Adds ui elements for the wallet and milestones - needs to be hooked up to the backend Motivation and Context --- How Has This Been Tested? --- Manually What process can a PR reviewer use to test or verify this change? --- <!-- Checklist --> <!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit tag, will be included exactly as is in the CHANGELOG, so please think about it carefully. --> Breaking Changes --- x - [x] None - [ ] Requires data directory on base node to be deleted - [ ] Requires hard fork - [ ] Other - Please specify <!-- Does this include a breaking change? If so, include this line as a footer --> <!-- BREAKING CHANGE: Description what the user should do, e.g. delete a database, resync the chain -->
- Loading branch information
Showing
7 changed files
with
245 additions
and
15 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Stack, Typography } from '@mui/material'; | ||
import { StyledLinearProgress, ProgressBox } from '../styles'; | ||
import gem from '../../../assets/images/gem-sml.png'; | ||
|
||
function Milestones() { | ||
const progress = 70; | ||
return ( | ||
<Stack spacing={0.5}> | ||
<Stack direction="row" justifyContent="space-between" spacing={1}> | ||
<Typography variant="body2">Next milestone</Typography> | ||
<Typography variant="body2">5 XTR</Typography> | ||
</Stack> | ||
<ProgressBox> | ||
<StyledLinearProgress variant="determinate" value={progress} /> | ||
<img src={gem} alt="gem" /> | ||
</ProgressBox> | ||
</Stack> | ||
); | ||
} | ||
|
||
export default Milestones; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
|
||
export const success = { | ||
100: '#E6FAF6', | ||
200: '#5F9C91', | ||
200: '#06C983', | ||
300: '#094E41', | ||
}; | ||
|
||
|