merge header with signup box

This commit is contained in:
Karol Wypchlo 2020-02-13 19:14:31 -05:00
parent e342c422e0
commit 8cd7f29107
2 changed files with 10 additions and 8 deletions

View File

@ -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>

View File

@ -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');
}
}