diff --git a/src/app/pages/login-social/login-social.component.html b/src/app/pages/login-social/login-social.component.html index 03d4e78a..91e72253 100644 --- a/src/app/pages/login-social/login-social.component.html +++ b/src/app/pages/login-social/login-social.component.html @@ -1,10 +1,6 @@
- - - - - Cadastra-se - - + + + + Cadastra-se
- diff --git a/src/app/pages/login-social/login-social.component.ts b/src/app/pages/login-social/login-social.component.ts index d8e6d1a7..90272a6a 100644 --- a/src/app/pages/login-social/login-social.component.ts +++ b/src/app/pages/login-social/login-social.component.ts @@ -1,10 +1,23 @@ import { Component } from '@angular/core'; +import { Router } from '@angular/router'; @Component({ selector: 'app-login-social', templateUrl: './login-social.component.html', styleUrls: ['./login-social.component.css'] }) -export class LoginSocialComponent { -} +export class LoginSocialComponent { + + constructor(private router: Router) {} + + loginWithGoogle() { + + window.location.href = 'http://localhost:8000/auth/login'; + } + + loginWithFacebook() { + + window.location.href = 'http://localhost:8000/facebook'; + } +} \ No newline at end of file