-
Notifications
You must be signed in to change notification settings - Fork 29
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
1 parent
9c78833
commit 9bfecf5
Showing
14 changed files
with
285 additions
and
26 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
36 changes: 36 additions & 0 deletions
36
apps/dapp/src/components/Pages/Nexus/Quests/FirstQuest/Quiz/ConnectWalletSlide.tsx
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,36 @@ | ||
import styled from 'styled-components'; | ||
import { Button } from 'components/Button/Button'; | ||
import Slide from './Slide'; | ||
import { Account } from 'components/Layouts/CoreLayout/Account'; | ||
|
||
const ConnectWalletSlide = () => { | ||
return ( | ||
<Slide headerText={''}> | ||
<Container> | ||
Connect wallet to continue | ||
<br /><br /> | ||
<ConnectButtonWrapper> | ||
<Account /> | ||
</ConnectButtonWrapper> | ||
</Container> | ||
</Slide> | ||
); | ||
}; | ||
|
||
const ConnectButtonWrapper = styled.div` | ||
width: 300px; | ||
margin: auto; | ||
`; | ||
|
||
const Container = styled.div` | ||
border: 0.0625rem solid ${(props) => props.color ?? props.theme.palette.brand}; | ||
border-radius: 16px; | ||
padding: 4rem; | ||
width: 1056px; | ||
text-align: center; | ||
line-height: 40px; | ||
margin-top: 200px; | ||
font-size: 20px; | ||
`; | ||
|
||
export default ConnectWalletSlide; |
55 changes: 55 additions & 0 deletions
55
apps/dapp/src/components/Pages/Nexus/Quests/FirstQuest/Quiz/SuccessSlide.tsx
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,55 @@ | ||
import styled from 'styled-components'; | ||
import { Button } from 'components/Button/Button'; | ||
import Slide from './Slide'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
const SuccessSlide = () => { | ||
return ( | ||
<Slide headerText={''}> | ||
<TextContainer> | ||
YOU MUST BE WEARY, TEMPLAR. | ||
<br /> | ||
THIS QUEST HAS ENDED. <br /> | ||
RETURN TO THE NEXUS <br /> | ||
TO REST FROM YOUR PILGRIMAGE. | ||
</TextContainer> | ||
<Link to={'/nexus'}> | ||
<ReturnToNexusButton>RETURN TO THE NEXUS</ReturnToNexusButton> | ||
</Link> | ||
</Slide> | ||
); | ||
}; | ||
|
||
const TextContainer = styled.div` | ||
border: 0.0625rem solid ${(props) => props.color ?? props.theme.palette.brand}; | ||
border-radius: 16px; | ||
padding: 4rem; | ||
width: 1056px; | ||
text-align: center; | ||
line-height: 40px; | ||
margin-top: 200px; | ||
background: radial-gradient( | ||
58.56% 58.56% at 50% 49.88%, | ||
rgba(193, 177, 177, 0.12) 38.54%, | ||
rgba(193, 177, 177, 0) 100% | ||
); | ||
font-size: 20px; | ||
`; | ||
|
||
const ReturnToNexusButton = styled(Button)` | ||
width: 400px; | ||
height: 61px; | ||
background: linear-gradient(180deg, #504f4f 45.31%, #0c0b0b 100%); | ||
border: 1px solid #bd7b4f; | ||
border-radius: 25px; | ||
color: #ffffff; | ||
margin-top: 80px; | ||
margin-bottom: 20px; | ||
&:hover { | ||
border: 1px solid; | ||
border-image-source: linear-gradient(0deg, #ffdec9, #ffdec9), linear-gradient(0deg, #d9a37d, #d9a37d); | ||
} | ||
`; | ||
|
||
export default SuccessSlide; |
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
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
Oops, something went wrong.