Skip to content

Commit

Permalink
Merge pull request #32 from PortalNetwork/develop
Browse files Browse the repository at this point in the history
v0.1.3
  • Loading branch information
PhyrexTsai authored Oct 21, 2018
2 parents b6d034b + e5ab23c commit c56681f
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 38 deletions.
2 changes: 1 addition & 1 deletion css/Connect.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 13 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ class App extends Component {
this.fetchAccount(web3);
}

async initError (error) {
console.log(error);
}

footerOutFn = (isOut) =>{
this.setState({isFooterOut: isOut})
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/Clients/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ClientsDiv = styled.div`
height: auto;
min-height: 600px;
margin: 0px auto;
padding: 48px 20px 60px 20px;
padding: 20px 20px 20px 20px;
background-color: #1f398f;
box-sizing: border-box;
@media screen and (max-width: 720px) {
Expand All @@ -23,9 +23,9 @@ class Clients extends Component {
<ClientsDiv>
<Introduction/>
<div className="wallet">
<a href="javascript:;" className="wallet_list"><img src={metamask} alt=""/><p>Metamask</p></a>
<a href="javascript:;" className="wallet_list"><img src={status} alt=""/><p>Status</p></a>
<a href="javascript:;" className="wallet_list"><img src={toshi} alt=""/><p>TOSHI</p></a>
<a href="https://metamask.io/" target="_blank" className="wallet_list"><img src={metamask} alt=""/><p>Metamask</p></a>
<a href="https://status.im/" target="_blank" className="wallet_list"><img src={status} alt=""/><p>Status</p></a>
<a href="https://wallet.coinbase.com/" target="_blank" className="wallet_list"><img src={toshi} alt=""/><p>Coinbase Wallet</p></a>
</div>
</ClientsDiv>
)
Expand Down
6 changes: 3 additions & 3 deletions src/components/Connect/Connect.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
height: auto;
min-height: 600px;
margin: 0px auto;
padding: 48px 20px 60px 20px;
padding: 10px 20px 10px 20px;
background-color: #1f398f;
box-sizing: border-box; }
@media screen and (max-width: 720px) {
.main {
min-height: 500px; } }

.introduction {
margin-bottom: 25px; }
margin-bottom: 10px; }
.introduction .figure {
padding: 0px 0px 33px 0px; }
padding: 0px 0px 10px 0px; }
.introduction .figure img {
width: 100%; }
.introduction h3 {
Expand Down
6 changes: 3 additions & 3 deletions src/components/Connect/Connect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
height: auto;
min-height: 600px;
margin: 0px auto;
padding: 48px 20px 60px 20px;
padding: 10px 20px 10px 20px;
background-color: #1f398f;
box-sizing: border-box;
@media screen and (max-width: 720px) {
min-height: 500px;
}
}
.introduction {
margin-bottom: 25px;
margin-bottom: 10px;

.figure {
padding: 0px 0px 33px 0px;
padding: 0px 0px 10px 0px;

img {
width: 100%;
Expand Down
3 changes: 1 addition & 2 deletions src/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Footer = styled.div`
bottom: ${props => (props.isFooterOut ? '-250px' : '0px')};;
left: 0;
width: 100%;
height: 161px;
height: 100px;
padding: 20px;
box-sizing: border-box;
background-color: #19307d;
Expand All @@ -20,7 +20,6 @@ const Content = styled.div`
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 25px;
`;

const Footertext = styled.p`
Expand Down
6 changes: 3 additions & 3 deletions src/components/Introduction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import React, { Component } from 'react'
import styled from 'styled-components';
import landing from '../../images/landing.png';
const Introduction = styled.div`
margin-bottom: 25px;
height: ${props => (props.isSeach ? '0px' : '198px')};
margin-bottom: 10px;
height: ${props => (props.isSeach ? '0px' : '180px')};
transition: height .4s;
overflow: hidden;
img {
width: 100%;
margin-bottom: 33px;
margin-bottom: 15px;
}
h3 {
font-size: 16px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchBar/SearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Main = styled.div`
height: auto;
min-height: 600px;
margin: 0px auto;
padding: 48px 20px 161px 20px;
padding: 10px 20px 161px 20px;
background-color: #1f398f;
box-sizing: border-box;
@media screen and (max-width: 720px) {
Expand Down

0 comments on commit c56681f

Please sign in to comment.