-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
380 additions
and
253 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
import Spinner from 'components/Spinner'; | ||
|
||
export default ({ isCreation }) => { | ||
return ( | ||
<Container> | ||
<Spinner /> | ||
<Note> | ||
{isCreation | ||
? 'Your zkAccount is being created based on the connected wallet.' | ||
: 'Accessing your zkAccount with your connected wallet.' | ||
} | ||
</Note> | ||
</Container> | ||
); | ||
}; | ||
|
||
const Container = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; | ||
box-sizing: border-box; | ||
& > * { | ||
margin-bottom: 16px; | ||
&:last-child { | ||
margin-bottom: 0; | ||
} | ||
} | ||
`; | ||
|
||
const Note = styled.span` | ||
font-size: 14px; | ||
color: ${({ theme }) => theme.text.color.secondary}; | ||
line-height: 20px; | ||
text-align: center; | ||
`; |
Oops, something went wrong.