Captcha fix? And, design

This commit is contained in:
ポール ウェッブ 2019-03-21 13:08:20 -05:00
parent b3e908c1da
commit 20ee0064ae
3 changed files with 10 additions and 4 deletions

View file

@ -19,7 +19,7 @@
fetch(url) fetch(url)
.then(response => response.json()) .then(response => response.json())
.then((response) => { .then(response => {
if (response.error) if (response.error)
throw Error(response.error); throw Error(response.error);
@ -35,7 +35,7 @@
}); });
} }
const verifyCallback = function(response) { const verifyCallback = response => {
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
const email = urlParams.get('email'); const email = urlParams.get('email');
@ -64,7 +64,7 @@
</section> </section>
<section> <section>
<div class="inner-wrap"> <div class="inner-wrap inner-wrap--center">
<div id="captcha-block"> <div id="captcha-block">
<p>Click the captcha to continue...</p> <p>Click the captcha to continue...</p>
<br/> <br/>

View file

@ -43,7 +43,7 @@
</section> </section>
<section> <section>
<div class="inner-wrap"> <div class="inner-wrap inner-wrap--center">
<div id="captcha-block"> <div id="captcha-block">
<p>Click the captcha to continue...</p> <p>Click the captcha to continue...</p>
<br/> <br/>

View file

@ -185,6 +185,12 @@ video {
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
&.inner-wrap--center {
display: flex;
justify-content: center;
text-align: center;
}
&.inner-wrap--hero { &.inner-wrap--hero {
align-items: center; align-items: center;
display: flex; display: flex;