-
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
a5dafad
commit 87765ea
Showing
9 changed files
with
100 additions
and
13 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.
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
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,46 @@ | ||
import React from 'react' | ||
|
||
import Container from '../Container' | ||
import GetWalletActions from '../GetWallet/GetWalletActions' | ||
import Icon from '../Icon' | ||
|
||
import './Wc.scss' | ||
|
||
function Wc() { | ||
const urlParams = new URLSearchParams(window.location.search) | ||
const uri = urlParams.get('uri') | ||
const url = `unstoppable.money://wc?uri=${encodeURIComponent(uri)}` | ||
|
||
return ( | ||
<Container> | ||
<div className="Wc"> | ||
|
||
<div className="mt-5 d-flex flex-column justify-content-center"> | ||
<div className="w-100"> | ||
<div className="mb-5 text-center"> | ||
<Icon name="uw" /> | ||
</div> | ||
|
||
<div className="fs-3 text-center"> | ||
Redirecting to Unstoppable Wallet | ||
</div> | ||
|
||
<a href={url} className="Button Button-yellow Button-circle my-5 border-0 w-100 justify-content-center text-decoration-none"> | ||
Open Wallet | ||
</a> | ||
</div> | ||
|
||
<div className="mt-2"> | ||
<div className="fs-3 text-center mb-4"> | ||
Don’t have the app? | ||
</div> | ||
|
||
<GetWalletActions btnSteal /> | ||
</div> | ||
</div> | ||
</div> | ||
</Container> | ||
) | ||
} | ||
|
||
export default Wc |
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 "../../scss/utils"; | ||
|
||
.Wc { | ||
padding: 100px 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.Wc-title { | ||
padding-top: 40px; | ||
padding-bottom: 36px; | ||
font-weight: normal; | ||
font-size: 48px; | ||
line-height: 65px; | ||
color: $light-steal; | ||
} | ||
|
||
.Wc-actions { | ||
|
||
} |