Skip to content

Instantly share code, notes, and snippets.

@NyaGarcia
Created October 29, 2021 10:34
Show Gist options
  • Save NyaGarcia/a2ce2a9af4ff0dbcf27a571392092316 to your computer and use it in GitHub Desktop.
Save NyaGarcia/a2ce2a9af4ff0dbcf27a571392092316 to your computer and use it in GitHub Desktop.
Adding the Google sign in option
<div class="background">
<div class="login-container">
<div class="text-container">
<h1>Hey Stranger</h1>
<p>
Want to create an awesome account to access this awesome app? Go ahead
and click the button below!
</p>
<button mat-button routerLink="/register">Sign up</button>
</div>
<div class="form-container">
<h1>Welcome to NgBytes Login</h1>
<button class="mat-raised-button" (click)="loginWithGoogle()">
Sign In with Google
</button>
<h5>Or sign in with your email</h5>
<ngbytes-login-form (formData)="login($event)"></ngbytes-login-form>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment