ui: redesign login lobby, fix auth view transition timing
This commit is contained in:
@@ -7,6 +7,17 @@
|
||||
<link rel="stylesheet" href="/assets/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
window._tutorGoogleCallback = null;
|
||||
window._tutorPendingGoogleResponse = null;
|
||||
window.handleCredentialResponse = function(response) {
|
||||
if (window._tutorGoogleCallback) {
|
||||
window._tutorGoogleCallback(response);
|
||||
} else {
|
||||
window._tutorPendingGoogleResponse = response;
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="https://accounts.google.com/gsi/client" async defer></script>
|
||||
|
||||
<section id="login-view" class="login-view">
|
||||
@@ -14,11 +25,13 @@
|
||||
<p class="eyebrow">Tutor Platform</p>
|
||||
<h1>Interview practice</h1>
|
||||
<p class="lede">Prove you are becoming more interview-ready after each short practice loop.</p>
|
||||
<div class="login-divider" data-label="Account"></div>
|
||||
<div id="auth-area" class="auth-area">
|
||||
<div id="g_id_onload" data-client_id="13671390758-bp1ed6psn43bl86r8a9kv81o40nkea90.apps.googleusercontent.com" data-callback="handleCredentialResponse" data-auto_prompt="false"></div>
|
||||
<div class="g_id_signin" data-type="standard" data-size="large" data-theme="outline" data-text="sign_in_with" data-shape="rectangular" data-logo_alignment="left"></div>
|
||||
</div>
|
||||
<p id="login-error" class="error-line" role="alert"></p>
|
||||
<p id="login-error" class="login-error" role="alert"></p>
|
||||
<p class="login-legal">By signing in, you agree to our <a href="#">Terms</a> and <a href="#">Privacy Policy</a>.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user