diff --git a/src/App.vue b/src/App.vue index e37a891..cbc3827 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@ diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue index 693c3e4..44800f9 100644 --- a/src/components/AppHeader.vue +++ b/src/components/AppHeader.vue @@ -21,7 +21,7 @@ const title = 'Course Registration'; const tabs = [ { path: '/', label: 'Home' }, { path: '/fetch', label: 'Create an Account' }, - { path: { name: 'form' }, label: 'Form Example' }, + { path: { name: 'search' }, label: 'Course Search' }, { path: '/schedule', label: 'Schedule View' }, { path: '/mycourses', label: 'Course View' }, { path: '/admin/createcourse', label: 'Create Course' }, diff --git a/src/router/index.js b/src/router/index.js index 3cdb0cf..2eeb1d0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,7 +3,7 @@ // we start by importing the createRouter and createWebHistory functions, as well as the components describing each of our views import { createRouter, createWebHistory } from "vue-router"; import HomeView from "../views/HomeView.vue"; -import FormView from "../views/FormView.vue"; +import ClassSearch from "../views/ClassSearch.vue"; import AdminCreateCourseView from "../views/AdminCreateCourseView.vue"; import LoginPage from "../views/LoginPage.vue"; import SignUp from "../views/SignUp.vue"; @@ -30,9 +30,9 @@ const router = createRouter({ component: HomeView, }, { - path: "/form", - name: "form", - component: FormView, + path: "/search", + name: "search", + component: ClassSearch, }, { path: "/fetch", diff --git a/src/views/ClassSearch.vue b/src/views/ClassSearch.vue new file mode 100644 index 0000000..6c95ae9 --- /dev/null +++ b/src/views/ClassSearch.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/src/views/FormView.vue b/src/views/FormView.vue deleted file mode 100644 index e3eb401..0000000 --- a/src/views/FormView.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - - - diff --git a/src/views/ScheduleView.vue b/src/views/ScheduleView.vue index f0e87ad..f290450 100644 --- a/src/views/ScheduleView.vue +++ b/src/views/ScheduleView.vue @@ -1,4 +1,4 @@ - +