From 93f55f561943460f14201de9aacd0121cfdcb6d1 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sat, 2 Oct 2021 13:22:07 +0530 Subject: [PATCH] feat: init profile page --- .../hoppscotch-app/assets/icons/verified.svg | 1 + .../hoppscotch-app/components/app/Header.vue | 6 + .../hoppscotch-app/components/teams/index.vue | 15 +- packages/hoppscotch-app/locales/en.json | 1 + packages/hoppscotch-app/pages/profile.vue | 138 ++++++++++++++++++ packages/hoppscotch-app/pages/settings.vue | 114 +-------------- 6 files changed, 149 insertions(+), 126 deletions(-) create mode 100644 packages/hoppscotch-app/assets/icons/verified.svg create mode 100644 packages/hoppscotch-app/pages/profile.vue diff --git a/packages/hoppscotch-app/assets/icons/verified.svg b/packages/hoppscotch-app/assets/icons/verified.svg new file mode 100644 index 000000000..2a2c4e926 --- /dev/null +++ b/packages/hoppscotch-app/assets/icons/verified.svg @@ -0,0 +1 @@ + diff --git a/packages/hoppscotch-app/components/app/Header.vue b/packages/hoppscotch-app/components/app/Header.vue index 283e58b48..04804d63f 100644 --- a/packages/hoppscotch-app/components/app/Header.vue +++ b/packages/hoppscotch-app/components/app/Header.vue @@ -69,6 +69,12 @@ svg="user" /> + -

- {{ $t("team.title") }} -

-
- -
-
+
+
+
+
+
+ +
+
+
+ + +
+ +

+ {{ currentUser.email || $t("state.nothing_found") }} + +

+
+
+ + +
+

+ {{ $t("settings.sync") }} +

+
+ {{ $t("settings.sync_description") }} +
+
+
+ + {{ $t("settings.sync_collections") }} + +
+
+ + {{ $t("settings.sync_environments") }} + +
+
+ + {{ $t("settings.sync_history") }} + +
+
+
+
+ + + + + +
+
+
+ +
+
+ + + diff --git a/packages/hoppscotch-app/pages/settings.vue b/packages/hoppscotch-app/pages/settings.vue index 27bad3436..3229a1ff2 100644 --- a/packages/hoppscotch-app/pages/settings.vue +++ b/packages/hoppscotch-app/pages/settings.vue @@ -1,104 +1,6 @@