2023-09-20 09:57:47 +07:00
|
|
|
<main class="flex flex-col justify-around h-[100vh] bg-[#EAE6E1]">
|
2023-09-18 08:50:13 +07:00
|
|
|
<div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8">
|
|
|
|
|
<div class="sm:mx-auto sm:w-full sm:max-w-sm">
|
|
|
|
|
<img
|
2023-09-20 09:57:47 +07:00
|
|
|
class="mx-auto h-[200px] w-auto"
|
|
|
|
|
src="/assets/logo.png"
|
|
|
|
|
alt="Tao Bin | Forth Vanding Machine"
|
2023-09-18 08:50:13 +07:00
|
|
|
/>
|
|
|
|
|
<h2
|
|
|
|
|
class="mt-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900"
|
|
|
|
|
>
|
2023-09-20 09:57:47 +07:00
|
|
|
Sign in with your @Forth account
|
2023-09-18 08:50:13 +07:00
|
|
|
</h2>
|
|
|
|
|
<div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm flex justify-center">
|
2023-09-20 09:57:47 +07:00
|
|
|
<!-- <div id="signin_google" #googleLoginButton></div> -->
|
|
|
|
|
<button
|
|
|
|
|
class="bg-white px-4 py-2 border flex gap-2 border-slate-200 rounded-lg text-slate-700 hover:border-slate-400 hover:text-slate-900 hover:shadow transition duration-150"
|
|
|
|
|
(click)="loginWithGoogle()"
|
|
|
|
|
>
|
|
|
|
|
<img
|
|
|
|
|
class="w-6 h-6"
|
|
|
|
|
src="assets/google-color.svg"
|
|
|
|
|
alt="google logo"
|
2023-09-20 10:12:19 +07:00
|
|
|
loading="lazy"
|
2023-09-20 09:57:47 +07:00
|
|
|
/>
|
|
|
|
|
<span>Login with @foth.co.th Google account</span>
|
|
|
|
|
</button>
|
|
|
|
|
<!-- <asl-google-signin-button
|
2023-09-18 08:50:13 +07:00
|
|
|
type="standard"
|
|
|
|
|
shape="pill"
|
|
|
|
|
text="signin_with"
|
|
|
|
|
size="large"
|
|
|
|
|
logo_alignment="center"
|
|
|
|
|
theme="outline"
|
2023-09-20 09:57:47 +07:00
|
|
|
width="400"
|
|
|
|
|
></asl-google-signin-button> -->
|
|
|
|
|
<!-- <div
|
|
|
|
|
id="g_id_onload"
|
|
|
|
|
data-client_id="250904650832-atnankrca4pvegjofnp24hmefjke4doq.apps.googleusercontent.com"
|
|
|
|
|
data-context="use"
|
|
|
|
|
data-ux_mode="popup"
|
|
|
|
|
data-callback="handleCredentialResponse"
|
|
|
|
|
data-itp_support="true"
|
|
|
|
|
data-moment_callback="handleMoment"
|
|
|
|
|
></div>
|
2023-09-18 08:50:13 +07:00
|
|
|
|
2023-09-20 09:57:47 +07:00
|
|
|
<div
|
|
|
|
|
class="g_id_signin"
|
|
|
|
|
data-type="standard"
|
|
|
|
|
data-shape="pill"
|
|
|
|
|
data-theme="outline"
|
|
|
|
|
data-text="signin_with"
|
|
|
|
|
data-size="large"
|
|
|
|
|
data-logo_alignment="center"
|
|
|
|
|
data-width="400"
|
|
|
|
|
></div> -->
|
|
|
|
|
</div>
|
2023-09-18 08:50:13 +07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</main>
|