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)
|
||||
.then(response => response.json())
|
||||
.then((response) => {
|
||||
.then(response => {
|
||||
if (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 email = urlParams.get('email');
|
||||
|
@ -64,7 +64,7 @@
|
|||
</section>
|
||||
|
||||
<section>
|
||||
<div class="inner-wrap">
|
||||
<div class="inner-wrap inner-wrap--center">
|
||||
<div id="captcha-block">
|
||||
<p>Click the captcha to continue...</p>
|
||||
<br/>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</section>
|
||||
|
||||
<section>
|
||||
<div class="inner-wrap">
|
||||
<div class="inner-wrap inner-wrap--center">
|
||||
<div id="captcha-block">
|
||||
<p>Click the captcha to continue...</p>
|
||||
<br/>
|
||||
|
|
|
@ -185,6 +185,12 @@ video {
|
|||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
|
||||
&.inner-wrap--center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.inner-wrap--hero {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Reference in a new issue