merge header with signup box
This commit is contained in:
parent
e342c422e0
commit
8cd7f29107
|
@ -20,17 +20,19 @@ export default class HomeStay extends Component {
|
|||
<div className="small-divider" />
|
||||
</div>
|
||||
</Fade>
|
||||
<Fade duration={700} distance="40px" bottom>
|
||||
<h2>
|
||||
Stay up to date with
|
||||
<br />
|
||||
<strong>Skynet updates</strong>
|
||||
</h2>
|
||||
</Fade>
|
||||
</header>
|
||||
|
||||
<div className="home-stay-flex">
|
||||
<div className="home-stay-left">
|
||||
<header className="home-stay-header">
|
||||
<Fade duration={700} distance="40px" bottom>
|
||||
<h2>
|
||||
Stay up to date with
|
||||
<br />
|
||||
<strong>Skynet updates</strong>
|
||||
</h2>
|
||||
</Fade>
|
||||
</header>
|
||||
<Fade duration={700} distance="40px" bottom>
|
||||
<Mailing id="check1" />
|
||||
</Fade>
|
||||
|
|
|
@ -63,7 +63,7 @@ export default class HomeUpload extends Component {
|
|||
|
||||
const skylink = event.target.skylink.value.replace('sia://', '');
|
||||
|
||||
if(skylink.length === 46) {
|
||||
if(skylink.match(/^[a-zA-Z0-9_-]{46}$/)) {
|
||||
window.open(`/${event.target.skylink.value}`, '_blank');
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue