diff --git a/src/router/index.ts b/src/router/index.ts index 2f228ad..04fe189 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -10,38 +10,36 @@ const router = createRouter({ }, { path: '/signup', - component: () => import('@/views/SignupView.vue'), children: [ { path: '', - component: () => import('@/views/signup/SignupHomeView.vue') + component: () => import('@/views/SignupView.vue') }, { path: 'register', - component: () => import('@/views/signup/SignupRegisterView.vue') + component: () => import('@/views/SignupRegisterView.vue') }, { path: 'after-mail', - component: () => import('@/views/signup/SignupAfterMailView.vue') + component: () => import('@/views/SignupAfterMailView.vue') } ] }, { path: '/login', component: () => import('@/views/LoginView.vue') }, { path: '/reset-password', - component: () => import('@/views/ResetPasswordView.vue'), children: [ { path: '', - component: () => import('@/views/reset-password/ResetPasswordHomeView.vue') + component: () => import('@/views/ResetPasswordView.vue') }, { path: 'form', - component: () => import('@/views/reset-password/ResetPasswordFormView.vue') + component: () => import('@/views/ResetPasswordFormView.vue') }, { path: 'after-mail', - component: () => import('@/views/reset-password/ResetPasswordAfterMailView.vue') + component: () => import('@/views/ResetPasswordAfterMailView.vue') } ] }, @@ -51,13 +49,13 @@ const router = createRouter({ children: [ { path: '', - component: () => import('@/views/user/UserHomeView.vue') + component: () => import('@/views/user/UserHome.vue') }, { path: 'submissions', - component: () => import('@/views/user/UserSubmissionsView.vue') + component: () => import('@/views/user/UserSubmissions.vue') }, - { path: 'problems', component: () => import('@/views/user/UserProblemsView.vue') } + { path: 'problems', component: () => import('@/views/user/UserProblems.vue') } ] }, { @@ -70,35 +68,35 @@ const router = createRouter({ children: [ { path: '', - component: () => import('@/views/problem/ProblemHomeView.vue') + component: () => import('@/views/problem/ProblemHome.vue') }, { path: 'submit', - component: () => import('@/views/problem/ProblemSubmitView.vue') + component: () => import('@/views/problem/ProblemSubmit.vue') }, { path: 'submissions', - component: () => import('@/views/problem/ProblemSubmissionsView.vue') + component: () => import('@/views/problem/ProblemSubmissions.vue') }, { path: 'submissions/:submissionId', - component: () => import('@/views/problem/ProblemSubmissionView.vue') + component: () => import('@/views/problem/ProblemSubmission.vue') }, { path: 'editorials', - component: () => import('@/views/problem/ProblemEditorialsView.vue') + component: () => import('@/views/problem/ProblemEditorials.vue') }, { path: 'editorials/:editorialId', - component: () => import('@/views/problem/ProblemEditorialView.vue') + component: () => import('@/views/problem/ProblemEditorial.vue') }, { path: 'editorials/:editorialId/edit', - component: () => import('@/views/problem/ProblemEditorialEditView.vue') + component: () => import('@/views/problem/ProblemEditorialEdit.vue') }, { path: 'edit', - component: () => import('@/views/problem/ProblemEditView.vue') + component: () => import('@/views/problem/ProblemEdit.vue') } ] }, @@ -109,11 +107,11 @@ const router = createRouter({ { path: '', redirect: '/settings/account' }, { path: 'account', - component: () => import('@/views/settings/SettingsAccountView.vue') + component: () => import('@/views/settings/SettingsAccount.vue') }, { path: 'profile', - component: () => import('@/views/settings/SettingsProfileView.vue') + component: () => import('@/views/settings/SettingsProfile.vue') } ] } diff --git a/src/views/reset-password/ResetPasswordAfterMailView.vue b/src/views/ResetPasswordAfterMailView.vue similarity index 71% rename from src/views/reset-password/ResetPasswordAfterMailView.vue rename to src/views/ResetPasswordAfterMailView.vue index 12a9758..0474b05 100644 --- a/src/views/reset-password/ResetPasswordAfterMailView.vue +++ b/src/views/ResetPasswordAfterMailView.vue @@ -2,7 +2,7 @@ diff --git a/src/views/reset-password/ResetPasswordFormView.vue b/src/views/ResetPasswordFormView.vue similarity index 75% rename from src/views/reset-password/ResetPasswordFormView.vue rename to src/views/ResetPasswordFormView.vue index 55e16b2..378e7ac 100644 --- a/src/views/reset-password/ResetPasswordFormView.vue +++ b/src/views/ResetPasswordFormView.vue @@ -2,7 +2,7 @@ diff --git a/src/views/ResetPasswordView.vue b/src/views/ResetPasswordView.vue index 4aec564..4a09e6b 100644 --- a/src/views/ResetPasswordView.vue +++ b/src/views/ResetPasswordView.vue @@ -3,7 +3,6 @@ diff --git a/src/views/signup/SignupAfterMailView.vue b/src/views/SignupAfterMailView.vue similarity index 76% rename from src/views/signup/SignupAfterMailView.vue rename to src/views/SignupAfterMailView.vue index 5cbf5f7..d091e29 100644 --- a/src/views/signup/SignupAfterMailView.vue +++ b/src/views/SignupAfterMailView.vue @@ -2,7 +2,7 @@ diff --git a/src/views/signup/SignupRegisterView.vue b/src/views/SignupRegisterView.vue similarity index 77% rename from src/views/signup/SignupRegisterView.vue rename to src/views/SignupRegisterView.vue index ec66ee8..3387b0c 100644 --- a/src/views/signup/SignupRegisterView.vue +++ b/src/views/SignupRegisterView.vue @@ -2,7 +2,7 @@ diff --git a/src/views/SignupView.vue b/src/views/SignupView.vue index 255e181..aeaf190 100644 --- a/src/views/SignupView.vue +++ b/src/views/SignupView.vue @@ -3,7 +3,6 @@ diff --git a/src/views/problem/ProblemEditView.vue b/src/views/problem/ProblemEdit.vue similarity index 100% rename from src/views/problem/ProblemEditView.vue rename to src/views/problem/ProblemEdit.vue diff --git a/src/views/problem/ProblemEditorialView.vue b/src/views/problem/ProblemEditorial.vue similarity index 100% rename from src/views/problem/ProblemEditorialView.vue rename to src/views/problem/ProblemEditorial.vue diff --git a/src/views/problem/ProblemEditorialEditView.vue b/src/views/problem/ProblemEditorialEdit.vue similarity index 100% rename from src/views/problem/ProblemEditorialEditView.vue rename to src/views/problem/ProblemEditorialEdit.vue diff --git a/src/views/problem/ProblemEditorialsView.vue b/src/views/problem/ProblemEditorials.vue similarity index 100% rename from src/views/problem/ProblemEditorialsView.vue rename to src/views/problem/ProblemEditorials.vue diff --git a/src/views/problem/ProblemHomeView.vue b/src/views/problem/ProblemHome.vue similarity index 100% rename from src/views/problem/ProblemHomeView.vue rename to src/views/problem/ProblemHome.vue diff --git a/src/views/problem/ProblemSubmissionView.vue b/src/views/problem/ProblemSubmission.vue similarity index 100% rename from src/views/problem/ProblemSubmissionView.vue rename to src/views/problem/ProblemSubmission.vue diff --git a/src/views/problem/ProblemSubmissionsView.vue b/src/views/problem/ProblemSubmissions.vue similarity index 100% rename from src/views/problem/ProblemSubmissionsView.vue rename to src/views/problem/ProblemSubmissions.vue diff --git a/src/views/problem/ProblemSubmitView.vue b/src/views/problem/ProblemSubmit.vue similarity index 100% rename from src/views/problem/ProblemSubmitView.vue rename to src/views/problem/ProblemSubmit.vue diff --git a/src/views/reset-password/ResetPasswordHomeView.vue b/src/views/reset-password/ResetPasswordHomeView.vue deleted file mode 100644 index c30cc5a..0000000 --- a/src/views/reset-password/ResetPasswordHomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/src/views/settings/SettingsAccountView.vue b/src/views/settings/SettingsAccount.vue similarity index 100% rename from src/views/settings/SettingsAccountView.vue rename to src/views/settings/SettingsAccount.vue diff --git a/src/views/settings/SettingsProfileView.vue b/src/views/settings/SettingsProfile.vue similarity index 100% rename from src/views/settings/SettingsProfileView.vue rename to src/views/settings/SettingsProfile.vue diff --git a/src/views/signup/SignupHomeView.vue b/src/views/signup/SignupHomeView.vue deleted file mode 100644 index eb8465d..0000000 --- a/src/views/signup/SignupHomeView.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - - - diff --git a/src/views/user/UserHomeView.vue b/src/views/user/UserHome.vue similarity index 100% rename from src/views/user/UserHomeView.vue rename to src/views/user/UserHome.vue diff --git a/src/views/user/UserProblemsView.vue b/src/views/user/UserProblems.vue similarity index 100% rename from src/views/user/UserProblemsView.vue rename to src/views/user/UserProblems.vue diff --git a/src/views/user/UserSubmissionsView.vue b/src/views/user/UserSubmissions.vue similarity index 100% rename from src/views/user/UserSubmissionsView.vue rename to src/views/user/UserSubmissions.vue