diff --git a/src/assets/logo.svg b/src/assets/logo.svg
deleted file mode 100644
index 7565660..0000000
--- a/src/assets/logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue
deleted file mode 100644
index 38d821e..0000000
--- a/src/components/HelloWorld.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
{{ msg }}
-
- You’ve successfully created a project with
- Vite +
- Vue 3 . What's next?
-
-
-
-
-
diff --git a/src/components/TheWelcome.vue b/src/components/TheWelcome.vue
deleted file mode 100644
index 49d8f73..0000000
--- a/src/components/TheWelcome.vue
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
- Documentation
-
- Vue’s
- official documentation
- provides you with all information you need to get started.
-
-
-
-
-
-
- Tooling
-
- This project is served and bundled with
- Vite . The
- recommended IDE setup is
- VSCode +
- Volar . If
- you need to test your components and web pages, check out
- Cypress and
- Cypress Component Testing .
-
-
-
- More instructions are available in README.md
.
-
-
-
-
-
-
- Ecosystem
-
- Get official tools and libraries for your project:
- Pinia ,
- Vue Router ,
- Vue Test Utils , and
- Vue Dev Tools . If
- you need more resources, we suggest paying
- Awesome Vue
- a visit.
-
-
-
-
-
-
- Community
-
- Got stuck? Ask your question on
- Vue Land , our official
- Discord server, or
- StackOverflow . You should also subscribe to
- our mailing list and follow
- the official
- @vuejs
- twitter account for latest news in the Vue world.
-
-
-
-
-
-
- Support Vue
-
- As an independent project, Vue relies on community backing for its sustainability. You can help
- us by
- becoming a sponsor .
-
-
diff --git a/src/components/WelcomeItem.vue b/src/components/WelcomeItem.vue
deleted file mode 100644
index 6d7086a..0000000
--- a/src/components/WelcomeItem.vue
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
diff --git a/src/components/icons/IconCommunity.vue b/src/components/icons/IconCommunity.vue
deleted file mode 100644
index 2dc8b05..0000000
--- a/src/components/icons/IconCommunity.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/src/components/icons/IconDocumentation.vue b/src/components/icons/IconDocumentation.vue
deleted file mode 100644
index 6d4791c..0000000
--- a/src/components/icons/IconDocumentation.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/src/components/icons/IconEcosystem.vue b/src/components/icons/IconEcosystem.vue
deleted file mode 100644
index c3a4f07..0000000
--- a/src/components/icons/IconEcosystem.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/src/components/icons/IconSupport.vue b/src/components/icons/IconSupport.vue
deleted file mode 100644
index 7452834..0000000
--- a/src/components/icons/IconSupport.vue
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/src/components/icons/IconTooling.vue b/src/components/icons/IconTooling.vue
deleted file mode 100644
index 660598d..0000000
--- a/src/components/icons/IconTooling.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
diff --git a/src/router/index.ts b/src/router/index.ts
index a49ae50..04fe189 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,21 +1,119 @@
import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
+import TopView from '@/views/TopView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
- name: 'home',
- component: HomeView
+ component: TopView
},
{
- path: '/about',
- name: 'about',
- // route level code-splitting
- // this generates a separate chunk (About.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('../views/AboutView.vue')
+ path: '/signup',
+ children: [
+ {
+ path: '',
+ component: () => import('@/views/SignupView.vue')
+ },
+ {
+ path: 'register',
+ component: () => import('@/views/SignupRegisterView.vue')
+ },
+ {
+ path: 'after-mail',
+ component: () => import('@/views/SignupAfterMailView.vue')
+ }
+ ]
+ },
+ { path: '/login', component: () => import('@/views/LoginView.vue') },
+ {
+ path: '/reset-password',
+ children: [
+ {
+ path: '',
+ component: () => import('@/views/ResetPasswordView.vue')
+ },
+ {
+ path: 'form',
+ component: () => import('@/views/ResetPasswordFormView.vue')
+ },
+ {
+ path: 'after-mail',
+ component: () => import('@/views/ResetPasswordAfterMailView.vue')
+ }
+ ]
+ },
+ {
+ path: '/users/:id',
+ component: () => import('@/views/UserView.vue'),
+ children: [
+ {
+ path: '',
+ component: () => import('@/views/user/UserHome.vue')
+ },
+ {
+ path: 'submissions',
+ component: () => import('@/views/user/UserSubmissions.vue')
+ },
+ { path: 'problems', component: () => import('@/views/user/UserProblems.vue') }
+ ]
+ },
+ {
+ path: '/problems',
+ component: () => import('@/views/ProblemsView.vue')
+ },
+ {
+ path: '/problems/:id',
+ component: () => import('@/views/ProblemView.vue'),
+ children: [
+ {
+ path: '',
+ component: () => import('@/views/problem/ProblemHome.vue')
+ },
+ {
+ path: 'submit',
+ component: () => import('@/views/problem/ProblemSubmit.vue')
+ },
+ {
+ path: 'submissions',
+ component: () => import('@/views/problem/ProblemSubmissions.vue')
+ },
+ {
+ path: 'submissions/:submissionId',
+ component: () => import('@/views/problem/ProblemSubmission.vue')
+ },
+ {
+ path: 'editorials',
+ component: () => import('@/views/problem/ProblemEditorials.vue')
+ },
+ {
+ path: 'editorials/:editorialId',
+ component: () => import('@/views/problem/ProblemEditorial.vue')
+ },
+ {
+ path: 'editorials/:editorialId/edit',
+ component: () => import('@/views/problem/ProblemEditorialEdit.vue')
+ },
+ {
+ path: 'edit',
+ component: () => import('@/views/problem/ProblemEdit.vue')
+ }
+ ]
+ },
+ {
+ path: '/settings',
+ component: () => import('@/views/SettingsView.vue'),
+ children: [
+ { path: '', redirect: '/settings/account' },
+ {
+ path: 'account',
+ component: () => import('@/views/settings/SettingsAccount.vue')
+ },
+ {
+ path: 'profile',
+ component: () => import('@/views/settings/SettingsProfile.vue')
+ }
+ ]
}
]
})
diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue
deleted file mode 100644
index 756ad2a..0000000
--- a/src/views/AboutView.vue
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
This is an about page
-
-
-
-
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
deleted file mode 100644
index d5c0217..0000000
--- a/src/views/HomeView.vue
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue
new file mode 100644
index 0000000..223f1f5
--- /dev/null
+++ b/src/views/LoginView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Login
+
+
+
+
diff --git a/src/views/ProblemView.vue b/src/views/ProblemView.vue
new file mode 100644
index 0000000..308a929
--- /dev/null
+++ b/src/views/ProblemView.vue
@@ -0,0 +1,10 @@
+
+
+
+
+
Problem View
+
+
+
+
+
diff --git a/src/views/ProblemsView.vue b/src/views/ProblemsView.vue
new file mode 100644
index 0000000..5ebf570
--- /dev/null
+++ b/src/views/ProblemsView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problems
+
+
+
+
diff --git a/src/views/ResetPasswordAfterMailView.vue b/src/views/ResetPasswordAfterMailView.vue
new file mode 100644
index 0000000..0474b05
--- /dev/null
+++ b/src/views/ResetPasswordAfterMailView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Reset Password After Mail
+
+
+
+
diff --git a/src/views/ResetPasswordFormView.vue b/src/views/ResetPasswordFormView.vue
new file mode 100644
index 0000000..378e7ac
--- /dev/null
+++ b/src/views/ResetPasswordFormView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Reset Password Form
+
+
+
+
diff --git a/src/views/ResetPasswordView.vue b/src/views/ResetPasswordView.vue
new file mode 100644
index 0000000..4a09e6b
--- /dev/null
+++ b/src/views/ResetPasswordView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Reset Password
+
+
+
+
diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue
new file mode 100644
index 0000000..e1c5590
--- /dev/null
+++ b/src/views/SettingsView.vue
@@ -0,0 +1,10 @@
+
+
+
+
+
Settings
+
+
+
+
+
diff --git a/src/views/SignupAfterMailView.vue b/src/views/SignupAfterMailView.vue
new file mode 100644
index 0000000..d091e29
--- /dev/null
+++ b/src/views/SignupAfterMailView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Signup After Mail
+
+
+
+
diff --git a/src/views/SignupRegisterView.vue b/src/views/SignupRegisterView.vue
new file mode 100644
index 0000000..3387b0c
--- /dev/null
+++ b/src/views/SignupRegisterView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Signup Register
+
+
+
+
diff --git a/src/views/SignupView.vue b/src/views/SignupView.vue
new file mode 100644
index 0000000..aeaf190
--- /dev/null
+++ b/src/views/SignupView.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Signup
+
+
+
+
diff --git a/src/views/TopView.vue b/src/views/TopView.vue
new file mode 100644
index 0000000..5fb3b47
--- /dev/null
+++ b/src/views/TopView.vue
@@ -0,0 +1,10 @@
+
+
+
+
+
Top
+
+
+
+
+
diff --git a/src/views/UserView.vue b/src/views/UserView.vue
new file mode 100644
index 0000000..07a33eb
--- /dev/null
+++ b/src/views/UserView.vue
@@ -0,0 +1,10 @@
+
+
+
+
+
User
+
+
+
+
+
diff --git a/src/views/problem/ProblemEdit.vue b/src/views/problem/ProblemEdit.vue
new file mode 100644
index 0000000..152a0f3
--- /dev/null
+++ b/src/views/problem/ProblemEdit.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Edit
+
+
+
+
diff --git a/src/views/problem/ProblemEditorial.vue b/src/views/problem/ProblemEditorial.vue
new file mode 100644
index 0000000..805a253
--- /dev/null
+++ b/src/views/problem/ProblemEditorial.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Editorial
+
+
+
+
diff --git a/src/views/problem/ProblemEditorialEdit.vue b/src/views/problem/ProblemEditorialEdit.vue
new file mode 100644
index 0000000..d7c20da
--- /dev/null
+++ b/src/views/problem/ProblemEditorialEdit.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Editorial Edit
+
+
+
+
diff --git a/src/views/problem/ProblemEditorials.vue b/src/views/problem/ProblemEditorials.vue
new file mode 100644
index 0000000..c2798ee
--- /dev/null
+++ b/src/views/problem/ProblemEditorials.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Editorials
+
+
+
+
diff --git a/src/views/problem/ProblemHome.vue b/src/views/problem/ProblemHome.vue
new file mode 100644
index 0000000..b11149b
--- /dev/null
+++ b/src/views/problem/ProblemHome.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Home
+
+
+
+
diff --git a/src/views/problem/ProblemSubmission.vue b/src/views/problem/ProblemSubmission.vue
new file mode 100644
index 0000000..14aa8d3
--- /dev/null
+++ b/src/views/problem/ProblemSubmission.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Submission
+
+
+
+
diff --git a/src/views/problem/ProblemSubmissions.vue b/src/views/problem/ProblemSubmissions.vue
new file mode 100644
index 0000000..ba1371d
--- /dev/null
+++ b/src/views/problem/ProblemSubmissions.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Submissions
+
+
+
+
diff --git a/src/views/problem/ProblemSubmit.vue b/src/views/problem/ProblemSubmit.vue
new file mode 100644
index 0000000..e9e5e0f
--- /dev/null
+++ b/src/views/problem/ProblemSubmit.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Problem Submit
+
+
+
+
diff --git a/src/views/settings/SettingsAccount.vue b/src/views/settings/SettingsAccount.vue
new file mode 100644
index 0000000..922b5ea
--- /dev/null
+++ b/src/views/settings/SettingsAccount.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Settings Account
+
+
+
+
diff --git a/src/views/settings/SettingsProfile.vue b/src/views/settings/SettingsProfile.vue
new file mode 100644
index 0000000..9443d3b
--- /dev/null
+++ b/src/views/settings/SettingsProfile.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
Settings Profile
+
+
+
+
diff --git a/src/views/user/UserHome.vue b/src/views/user/UserHome.vue
new file mode 100644
index 0000000..dec2ba0
--- /dev/null
+++ b/src/views/user/UserHome.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
User Home
+
+
+
+
diff --git a/src/views/user/UserProblems.vue b/src/views/user/UserProblems.vue
new file mode 100644
index 0000000..a748c87
--- /dev/null
+++ b/src/views/user/UserProblems.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
User Problems
+
+
+
+
diff --git a/src/views/user/UserSubmissions.vue b/src/views/user/UserSubmissions.vue
new file mode 100644
index 0000000..9a01b5a
--- /dev/null
+++ b/src/views/user/UserSubmissions.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
User Submissions
+
+
+
+