From 0da40ebf422a6a8289d7d212ca3c7373983d72aa Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 10 Feb 2024 18:30:47 +0100 Subject: [PATCH] feat: beginning work on managing campaigns --- .eslintrc.cjs | 2 +- src/components/LoggedInHome.vue | 24 +++++++++++++- src/router/index.ts | 5 +++ src/views/CreateCampaignView.vue | 57 ++++++++++++++++++++++++++++++++ 4 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 src/views/CreateCampaignView.vue diff --git a/.eslintrc.cjs b/.eslintrc.cjs index ef3c017..9b2e332 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -12,5 +12,5 @@ module.exports = { parserOptions: { ecmaVersion: 'latest', }, - ignorePatterns: ['node_modules/', '**/node_modules/'], + ignorePatterns: ['pocketbase/'], }; diff --git a/src/components/LoggedInHome.vue b/src/components/LoggedInHome.vue index 7396d84..9ae10ed 100644 --- a/src/components/LoggedInHome.vue +++ b/src/components/LoggedInHome.vue @@ -1,6 +1,28 @@ - + diff --git a/src/router/index.ts b/src/router/index.ts index 9d6ff49..4af8478 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -13,6 +13,11 @@ const router = createRouter({ name: 'account', component: () => import('@/views/AccountView.vue'), }, + { + path: '/new-campaign', + name: 'new-campaign', + component: () => import('@/views/CreateCampaignView.vue'), + }, ], }); diff --git a/src/views/CreateCampaignView.vue b/src/views/CreateCampaignView.vue new file mode 100644 index 0000000..fd7663f --- /dev/null +++ b/src/views/CreateCampaignView.vue @@ -0,0 +1,57 @@ + + + + +