From b6950332ad95a93ae86250b6e1fd4b836b1347dd Mon Sep 17 00:00:00 2001 From: Nivedin <53208152+nivedin@users.noreply.github.com> Date: Tue, 28 Mar 2023 23:33:50 +0530 Subject: [PATCH] refactor: sh admin login polish (#58) --- .../hoppscotch-sh-admin/src/components.d.ts | 12 ++ .../src/components/app/Login.vue | 128 +++++++++--------- .../src/components/app/Sidebar.vue | 7 +- .../hoppscotch-sh-admin/src/pages/index.vue | 24 ++-- 4 files changed, 93 insertions(+), 78 deletions(-) diff --git a/packages/hoppscotch-sh-admin/src/components.d.ts b/packages/hoppscotch-sh-admin/src/components.d.ts index 71c920e53..8f7e04f79 100644 --- a/packages/hoppscotch-sh-admin/src/components.d.ts +++ b/packages/hoppscotch-sh-admin/src/components.d.ts @@ -13,6 +13,18 @@ declare module '@vue/runtime-core' { AppModal: typeof import('./components/app/Modal.vue')['default'] AppSidebar: typeof import('./components/app/Sidebar.vue')['default'] AppToast: typeof import('./components/app/Toast.vue')['default'] + HoppButtonPrimary: typeof import('@hoppscotch/ui')['HoppButtonPrimary'] + HoppButtonSecondary: typeof import('@hoppscotch/ui')['HoppButtonSecondary'] + HoppSmartAnchor: typeof import('@hoppscotch/ui')['HoppSmartAnchor'] + HoppSmartConfirmModal: typeof import('@hoppscotch/ui')['HoppSmartConfirmModal'] + HoppSmartItem: typeof import('@hoppscotch/ui')['HoppSmartItem'] + IconLucideInbox: typeof import('~icons/lucide/inbox')['default'] + IconLucideLayoutDashboard: typeof import('~icons/lucide/layout-dashboard')['default'] + IconLucideMenu: typeof import('~icons/lucide/menu')['default'] + IconLucideSidebarClose: typeof import('~icons/lucide/sidebar-close')['default'] + IconLucideSidebarOpen: typeof import('~icons/lucide/sidebar-open')['default'] + IconLucideUser: typeof import('~icons/lucide/user')['default'] + IconLucideUsers: typeof import('~icons/lucide/users')['default'] ProfilePicture: typeof import('./components/profile/Picture.vue')['default'] TeamsAddMembers: typeof import('./components/teams/AddMembers.vue')['default'] TeamsDetails: typeof import('./components/teams/Details.vue')['default'] diff --git a/packages/hoppscotch-sh-admin/src/components/app/Login.vue b/packages/hoppscotch-sh-admin/src/components/app/Login.vue index d23119791..b98cc96c3 100644 --- a/packages/hoppscotch-sh-admin/src/components/app/Login.vue +++ b/packages/hoppscotch-sh-admin/src/components/app/Login.vue @@ -6,72 +6,78 @@ > and login with an admin account. -
-
- - - - -
-
+
-
- + + + + -
- - -
-
- -

- We sent a magic link to {{ form.email }} -

-

- We sent a magic link to {{ form.email }}. Click on the link to sign - in. -

+
+
+ + +
+ + +
+
+ +

+ We sent a magic link to {{ form.email }} +

+

+ We sent a magic link to {{ form.email }}. Click on the link to sign + in. +

+
-
+ +
By signing in, you are agreeing to our
- - + + hoppscotch-logo Hoppscotch - +
@@ -73,6 +73,7 @@