update move login button to shared component
This commit is contained in:
parent
930911d7a9
commit
1ff1e6a90c
9 changed files with 196 additions and 48 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<main class="flex flex-col justify-around h-[100vh] bg-[#EAE6E1]">
|
||||
<main class="flex flex-col justify-around h-[100vh] bg-primary">
|
||||
<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
|
||||
|
|
@ -13,18 +13,7 @@
|
|||
</h2>
|
||||
<div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm flex justify-center">
|
||||
<!-- <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"
|
||||
loading="lazy"
|
||||
/>
|
||||
<span>Login with @foth.co.th Google account</span>
|
||||
</button>
|
||||
<app-google-button></app-google-button>
|
||||
<!-- <asl-google-signin-button
|
||||
type="standard"
|
||||
shape="pill"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue