-
Profile
+
Profile
Save and continue SWOB
Saved Jobs
Messenger
diff --git a/src/router/index.js b/src/router/index.js
index 745d6bd..8aca1e6 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -7,7 +7,7 @@ import StartFilter from '../views/StartFilter.vue'
import SwipeScreen from '../views/SwipeScreen.vue'
import MatchScreen from '../views/MatchScreen.vue'
import UserMessenger from '../views/UserMessenger.vue'
-import PersonalProfile from '../views/PersonalProfile.vue'
+import UserProfile from '../views/UserProfile.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -53,9 +53,9 @@ const router = createRouter({
component: UserMessenger
},
{
- path: '/personalprofile',
- name: 'personalProfile',
- component: PersonalProfile
+ path: '/userprofile',
+ name: 'userProfile',
+ component: UserProfile
}
]
})
diff --git a/src/stores/company.js b/src/stores/company.js
index 730deb0..5d1737a 100644
--- a/src/stores/company.js
+++ b/src/stores/company.js
@@ -2,7 +2,7 @@ import { defineStore } from 'pinia'
export const useCompanyStore = defineStore('companyStore', {
state() {
- return { companys: [{ id: '', logo: '', name: '' }] }
+ return { companys: [] }
},
actions: {
initCompany(company) {
diff --git a/src/stores/counter.js b/src/stores/example.js
similarity index 100%
rename from src/stores/counter.js
rename to src/stores/example.js
diff --git a/src/stores/user.js b/src/stores/user.js
new file mode 100644
index 0000000..e73d88b
--- /dev/null
+++ b/src/stores/user.js
@@ -0,0 +1,12 @@
+import { defineStore } from 'pinia'
+
+export const useUserStore = defineStore('userStore', {
+ state() {
+ return { users: [] }
+ },
+ actions: {
+ initUsers(user) {
+ this.users = user
+ }
+ }
+})
diff --git a/src/views/RegisterScreen.vue b/src/views/RegisterScreen.vue
index c43cc4f..828a0f4 100644
--- a/src/views/RegisterScreen.vue
+++ b/src/views/RegisterScreen.vue
@@ -1,150 +1,148 @@
-
-
-
-
-
-
-
-
-