diff --git a/src/components/app/Popouts/Popouts/SettingsPanels/EditProfile.vue b/src/components/app/Popouts/Popouts/SettingsPanels/EditProfile.vue new file mode 100644 index 0000000..f810c95 --- /dev/null +++ b/src/components/app/Popouts/Popouts/SettingsPanels/EditProfile.vue @@ -0,0 +1,113 @@ + + + + + Username + + + + + + + Email + + + + + + + Change Avatar + + + + + + + + \ No newline at end of file diff --git a/src/components/app/Popouts/Popouts/SettingsPanels/MyProfile.vue b/src/components/app/Popouts/Popouts/SettingsPanels/MyProfile.vue index 0e01742..0bd1843 100644 --- a/src/components/app/Popouts/Popouts/SettingsPanels/MyProfile.vue +++ b/src/components/app/Popouts/Popouts/SettingsPanels/MyProfile.vue @@ -1,53 +1,13 @@ - - - - - Username: - {{ user.username }} - - - Tag: - @{{ user.tag }} - - - - - - Edit Avatar - - - Change Password - - - Logout - - + + Edit Profile + Survey + + + + - import ProfilePicture from "@/components/ProfilePictureTemplate.vue"; -import Survey from "./survey.vue"; +const Survey = () => import("./survey.vue"); +const EditProfile = () => import("./EditProfile.vue"); + import AvatarUpload from "@/services/AvatarUpload.js"; import config from "@/config.js"; import { bus } from "@/main"; @@ -85,10 +47,12 @@ import { mapState } from "vuex"; export default { components: { ProfilePicture, - Survey + Survey, + EditProfile }, data() { return { + tab: 0, alert: { content: "", show: false @@ -158,59 +122,52 @@ export default { diff --git a/src/components/app/Popouts/Popouts/SettingsPanels/survey.vue b/src/components/app/Popouts/Popouts/SettingsPanels/survey.vue index b3690c4..b31c64a 100644 --- a/src/components/app/Popouts/Popouts/SettingsPanels/survey.vue +++ b/src/components/app/Popouts/Popouts/SettingsPanels/survey.vue @@ -225,7 +225,6 @@ export default { .survey-inner { display: flex; margin: auto; - margin-top: 10px; margin-bottom: 50px; flex-direction: column; align-content: center;