From cc122da5ce753fd0297ed6532f635c2ace691e4b Mon Sep 17 00:00:00 2001 From: Silas Owu Date: Thu, 3 Oct 2024 10:23:42 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=BA=20Feat:=20update=20auth=20service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/services/auth/auth.service.ts | 3 --- src/app/views/auth/auth/auth.component.html | 2 +- src/app/views/auth/auth/auth.component.scss | 17 ++++++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/services/auth/auth.service.ts b/src/app/services/auth/auth.service.ts index 905b8f6..a76b824 100644 --- a/src/app/services/auth/auth.service.ts +++ b/src/app/services/auth/auth.service.ts @@ -95,13 +95,10 @@ export class AuthService { throw new Error('No authenticated user found'); } try { - // Update Auth profile await updateProfile(currentUser, { displayName: user.username, photoURL: user.image }); - - // Update email if changed if (currentUser.email !== user.email) { await updateEmail(currentUser, user.email); } diff --git a/src/app/views/auth/auth/auth.component.html b/src/app/views/auth/auth/auth.component.html index 630d75f..fe73ca0 100644 --- a/src/app/views/auth/auth/auth.component.html +++ b/src/app/views/auth/auth/auth.component.html @@ -1,6 +1,6 @@
-

Fireblog

+

Fireblog

diff --git a/src/app/views/auth/auth/auth.component.scss b/src/app/views/auth/auth/auth.component.scss index f03b880..149e18a 100644 --- a/src/app/views/auth/auth/auth.component.scss +++ b/src/app/views/auth/auth/auth.component.scss @@ -1,19 +1,22 @@ @use '../../../../partials/_variables.scss' as *; +@use '../../../../partials/mixins' as *; -main{ +main { height: 100%; width: 100%; display: flex; justify-content: center; - h2{ - color: $blueviolet; - font-family: $titlefont; - font-size: 2rem; + + h2 { + @include title-text; + span { + @include gradient-text; + } } - div{ - margin-top: 7rem; + div { + margin-top: 3.75rem; display: flex; flex-direction: column; align-items: center;