diff --git a/src/router/router.js b/src/router/router.js index b838545..4ab40d7 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -25,6 +25,7 @@ import PaymentCompleted from '../views/PaymentCompleted.vue'; import PaymentFailed from "@/views/PaymentFailed.vue"; import Home from '../views/main/Home.vue'; import Wallet from '../views/main/Wallet.vue'; +import CreateCreator from "@/views/profile/creators/CreateCreator.vue"; const routes = [ { @@ -160,6 +161,12 @@ const routes = [ component: ProfilePage, meta: { requiresAuth: true }, }, + { + path: '/create-creator', + name: 'create-creator', + component: CreateCreator, + meta: { requiresAuth: true }, + }, ]; const router = createRouter({ diff --git a/src/views/main/SideBar.vue b/src/views/main/SideBar.vue index 6b2e234..704fb7f 100644 --- a/src/views/main/SideBar.vue +++ b/src/views/main/SideBar.vue @@ -112,9 +112,12 @@ initializeLocale(); - - Activer votre page + + + Activer votre page +
diff --git a/src/views/profile/creators/CreateCreator.vue b/src/views/profile/creators/CreateCreator.vue index 73e4745..448f9e3 100644 --- a/src/views/profile/creators/CreateCreator.vue +++ b/src/views/profile/creators/CreateCreator.vue @@ -1,52 +1,75 @@  diff --git a/src/views/profile/creators/CreatorPage.vue b/src/views/profile/creators/CreatorPage.vue index c5b3464..96e70e5 100644 --- a/src/views/profile/creators/CreatorPage.vue +++ b/src/views/profile/creators/CreatorPage.vue @@ -1,14 +1,11 @@