-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3096 from erditkurteshiSQA/master
Add Nearcon graphic to NEAR Wallet page
- Loading branch information
Showing
4 changed files
with
95 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
import NearCon from '../../images/nearcon-wallet.png'; | ||
|
||
const Container = styled.div` | ||
&& { | ||
border-radius: 8px; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
text-align: center; | ||
color: #d5d4d8; | ||
font-size: 14px; | ||
margin-bottom: 40px; | ||
& div { | ||
position: relative; | ||
} | ||
} | ||
`; | ||
|
||
const StyledBannerLink = styled.a` | ||
margin-top: 12px; | ||
width: 270px; | ||
height: 35px; | ||
background: #604cc8; | ||
color: #fff; | ||
border: 2px solid #604cc8; | ||
border-radius: 50px; | ||
font-weight: 400; | ||
font-size: 16px; | ||
line-height: 24px; | ||
display: flex; | ||
align-items: center; | ||
text-align: center; | ||
justify-content: center; | ||
position: absolute; | ||
left: 24px; | ||
bottom: 18px; | ||
&:hover { | ||
color: #fff; | ||
text-decoration: none; | ||
cursor: pointer; | ||
} | ||
`; | ||
|
||
const GetYourTicket = () => { | ||
return ( | ||
<Container> | ||
<div> | ||
<img src={NearCon} alt='NearCon-wallet'/> | ||
<StyledBannerLink href="https://near.org/nearcon23.near/widget/Index" target="_blank"> | ||
GET YOUR TICKETS | ||
</StyledBannerLink> | ||
</div> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default GetYourTicket; |
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,29 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
import GetYourTicket from './GetYourTickets'; | ||
|
||
const StyledContainer = styled.div` | ||
background-color: transparent; | ||
border-radius: 8px; | ||
padding-bottom: 30px; | ||
margin-bottom: 35px; | ||
height: 400px; | ||
color: #25272A; | ||
`; | ||
|
||
const StyledBanner = styled.div` | ||
height: 395px; | ||
margin-bottom: 10px; | ||
`; | ||
|
||
export default () => { | ||
return ( | ||
<StyledContainer> | ||
<StyledBanner> | ||
<GetYourTicket /> | ||
</StyledBanner> | ||
</StyledContainer> | ||
); | ||
}; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.