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,6 +20,11 @@ export default class HomeStay extends Component {
<div className="small-divider" /> <div className="small-divider" />
</div> </div>
</Fade> </Fade>
</header>
<div className="home-stay-flex">
<div className="home-stay-left">
<header className="home-stay-header">
<Fade duration={700} distance="40px" bottom> <Fade duration={700} distance="40px" bottom>
<h2> <h2>
Stay up to date with Stay up to date with
@ -28,9 +33,6 @@ export default class HomeStay extends Component {
</h2> </h2>
</Fade> </Fade>
</header> </header>
<div className="home-stay-flex">
<div className="home-stay-left">
<Fade duration={700} distance="40px" bottom> <Fade duration={700} distance="40px" bottom>
<Mailing id="check1" /> <Mailing id="check1" />
</Fade> </Fade>

View File

@ -63,7 +63,7 @@ export default class HomeUpload extends Component {
const skylink = event.target.skylink.value.replace('sia://', ''); 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'); window.open(`/${event.target.skylink.value}`, '_blank');
} }
} }