From 42cca1287e1080bf5fa5b89cec530dd20b010a8f Mon Sep 17 00:00:00 2001 From: ZOI-dayo Date: Thu, 24 Oct 2024 10:28:36 +0900 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E7=94=BB=E9=9D=A2=E3=81=AE=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E5=90=8D=E3=81=8B=E3=82=89View?= =?UTF-8?q?=E3=82=92=E5=89=8A=E9=99=A4=E3=83=BBsignup=E3=81=A8reset-passwo?= =?UTF-8?q?rd=E3=82=92=E3=83=8D=E3=82=B9=E3=83=88=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 40 +++++++++---------- .../ResetPasswordAfterMailView.vue | 2 +- .../ResetPasswordFormView.vue | 2 +- src/views/ResetPasswordView.vue | 1 - .../{signup => }/SignupAfterMailView.vue | 2 +- src/views/{signup => }/SignupRegisterView.vue | 2 +- src/views/SignupView.vue | 1 - .../{ProblemEditView.vue => ProblemEdit.vue} | 0 ...EditorialView.vue => ProblemEditorial.vue} | 0 ...lEditView.vue => ProblemEditorialEdit.vue} | 0 ...itorialsView.vue => ProblemEditorials.vue} | 0 .../{ProblemHomeView.vue => ProblemHome.vue} | 0 ...bmissionView.vue => ProblemSubmission.vue} | 0 ...issionsView.vue => ProblemSubmissions.vue} | 0 ...roblemSubmitView.vue => ProblemSubmit.vue} | 0 .../reset-password/ResetPasswordHomeView.vue | 9 ----- ...ngsAccountView.vue => SettingsAccount.vue} | 0 ...ngsProfileView.vue => SettingsProfile.vue} | 0 src/views/signup/SignupHomeView.vue | 9 ----- .../user/{UserHomeView.vue => UserHome.vue} | 0 ...{UserProblemsView.vue => UserProblems.vue} | 0 ...ubmissionsView.vue => UserSubmissions.vue} | 0 22 files changed, 23 insertions(+), 45 deletions(-) rename src/views/{reset-password => }/ResetPasswordAfterMailView.vue (71%) rename src/views/{reset-password => }/ResetPasswordFormView.vue (75%) rename src/views/{signup => }/SignupAfterMailView.vue (76%) rename src/views/{signup => }/SignupRegisterView.vue (77%) rename src/views/problem/{ProblemEditView.vue => ProblemEdit.vue} (100%) rename src/views/problem/{ProblemEditorialView.vue => ProblemEditorial.vue} (100%) rename src/views/problem/{ProblemEditorialEditView.vue => ProblemEditorialEdit.vue} (100%) rename src/views/problem/{ProblemEditorialsView.vue => ProblemEditorials.vue} (100%) rename src/views/problem/{ProblemHomeView.vue => ProblemHome.vue} (100%) rename src/views/problem/{ProblemSubmissionView.vue => ProblemSubmission.vue} (100%) rename src/views/problem/{ProblemSubmissionsView.vue => ProblemSubmissions.vue} (100%) rename src/views/problem/{ProblemSubmitView.vue => ProblemSubmit.vue} (100%) delete mode 100644 src/views/reset-password/ResetPasswordHomeView.vue rename src/views/settings/{SettingsAccountView.vue => SettingsAccount.vue} (100%) rename src/views/settings/{SettingsProfileView.vue => SettingsProfile.vue} (100%) delete mode 100644 src/views/signup/SignupHomeView.vue rename src/views/user/{UserHomeView.vue => UserHome.vue} (100%) rename src/views/user/{UserProblemsView.vue => UserProblems.vue} (100%) rename src/views/user/{UserSubmissionsView.vue => UserSubmissions.vue} (100%) 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