From 215616d771382ded3e9eb34a54b04bdb35b590c9 Mon Sep 17 00:00:00 2001 From: Tim <135014430+nagisa77@users.noreply.github.com> Date: Mon, 1 Sep 2025 13:13:16 +0800 Subject: [PATCH] feat: unify third-party auth component --- frontend_nuxt/components/ThirdPartyAuth.vue | 174 ++++++++++++++++++++ frontend_nuxt/pages/login.vue | 93 +---------- frontend_nuxt/pages/signup.vue | 92 +---------- 3 files changed, 178 insertions(+), 181 deletions(-) create mode 100644 frontend_nuxt/components/ThirdPartyAuth.vue diff --git a/frontend_nuxt/components/ThirdPartyAuth.vue b/frontend_nuxt/components/ThirdPartyAuth.vue new file mode 100644 index 000000000..3a4a9f2a5 --- /dev/null +++ b/frontend_nuxt/components/ThirdPartyAuth.vue @@ -0,0 +1,174 @@ + + + + + diff --git a/frontend_nuxt/pages/login.vue b/frontend_nuxt/pages/login.vue index 79018f1af..473babd7c 100644 --- a/frontend_nuxt/pages/login.vue +++ b/frontend_nuxt/pages/login.vue @@ -34,44 +34,15 @@ -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
+ diff --git a/frontend_nuxt/pages/signup.vue b/frontend_nuxt/pages/signup.vue index 0638e3491..c301524ab 100644 --- a/frontend_nuxt/pages/signup.vue +++ b/frontend_nuxt/pages/signup.vue @@ -68,44 +68,15 @@ -
- - - - - -
+