mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Captcha fix? And, design
This commit is contained in:
parent
b3e908c1da
commit
20ee0064ae
3 changed files with 10 additions and 4 deletions
|
@ -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/>
|
||||||
|
|
|
@ -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/>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue