Remove EventTable in database, redesign frontend URL paths
This commit is contained in:
1 parent
1d4daac9ae
commit
203f8428a7
40 files changed
+955
-1203
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
</template>
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<template>
|
||||
Concerts
|
||||
</template>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,11 +0,0 @@
|
||||
import AccountHomePage from "@/pages/account/accountHomePage/index.vue";
|
||||
import AccountDataPage from "@/pages/account/accountDataPage/index.vue";
|
||||
import OrdersPage from "@/pages/account/ordersPage/index.vue";
|
||||
import LoginPage from "@/pages/account/loginPage/index.vue"
|
||||
|
||||
export const accountRoutes = [
|
||||
{ path: '/account/home', component: AccountHomePage },
|
||||
{ path: '/account/login', component: LoginPage },
|
||||
{ path: '/account/edit', component: AccountDataPage },
|
||||
{ path: '/account/orders', component: OrdersPage },
|
||||
]
|
||||
@@ -1,27 +1,50 @@
|
||||
import BasketPage from "@/pages/basketPage/index.vue"
|
||||
import BasketPage from "@/pages/misc/basketPage/index.vue"
|
||||
import HomePage from "@/pages/homePage/index.vue"
|
||||
import { adminRoutes } from "./admin.routes";
|
||||
import { accountRoutes } from "./account.routes";
|
||||
import { systemRoutes } from "./system.routes";
|
||||
import EventsPage from "@/pages/events/eventsPage/index.vue";
|
||||
import BandsPage from "@/pages/bands/bandsPage/index.vue"
|
||||
import BandDetailPage from "@/pages/bands/bandDetailPage/index.vue"
|
||||
import LocationsPage from "@/pages/locations/locationsPage/index.vue"
|
||||
import SearchPage from "@/pages/searchPage/index.vue"
|
||||
import BandDetailPage from "@/pages/events/bandDetailPage/index.vue"
|
||||
import LocationDetailPage from "@/pages/locations/locationDetailPage/index.vue"
|
||||
import TicketOrderPage from "@/pages/events/ticketOrderPage/index.vue"
|
||||
import SearchPage from "@/pages/misc/searchPage/index.vue"
|
||||
import ConcertsPage from "@/pages/concerts/concertsPage/index.vue"
|
||||
import ConcertBookingPage from "@/pages/concerts/concertBookingPage/index.vue"
|
||||
import AccountHomePage from "@/pages/account/accountHomePage/index.vue";
|
||||
import AccountDataPage from "@/pages/account/accountDataPage/index.vue";
|
||||
import OrdersPage from "@/pages/account/ordersPage/index.vue";
|
||||
import LoginPage from "@/pages/account/loginPage/index.vue"
|
||||
import PreferencesPage from "@/pages/misc/preferencesPage/index.vue";
|
||||
import HelpPage from "@/pages/misc/helpPage/index.vue"
|
||||
|
||||
const routes = [
|
||||
// Main page
|
||||
{ path: "/", component: HomePage },
|
||||
{ path: '/basket', component: BasketPage },
|
||||
{ path: '/locations', component: LocationsPage },
|
||||
{ path: '/locations/:locationName', name: 'locationDetails', component: LocationDetailPage },
|
||||
{ path: '/bands/:bandName', component: BandDetailPage },
|
||||
{ path: '/concert/:id', component: TicketOrderPage },
|
||||
{ path: '/events', component: EventsPage },
|
||||
{ path: '/search', component: SearchPage },
|
||||
...accountRoutes,
|
||||
|
||||
// Account
|
||||
{ path: '/account', component: AccountHomePage },
|
||||
{ path: '/account/orders', component: OrdersPage },
|
||||
{ path: '/account/data', component: AccountDataPage },
|
||||
{ path: '/account/login', component: LoginPage },
|
||||
|
||||
// Admin
|
||||
...adminRoutes,
|
||||
...systemRoutes
|
||||
|
||||
// Bands
|
||||
{ path: '/bands', component: BandsPage },
|
||||
{ path: '/bands/detail/:name', component: BandDetailPage },
|
||||
|
||||
// Concerts
|
||||
{ path: '/concerts', component: ConcertsPage },
|
||||
{ path: '/concert/booking/:id', component: ConcertBookingPage },
|
||||
|
||||
// Locations
|
||||
{ path: '/locations', component: LocationsPage },
|
||||
{ path: '/locations/detail/:name', name: 'locationDetails', component: LocationDetailPage },
|
||||
|
||||
// Misc
|
||||
{ path: '/search', component: SearchPage },
|
||||
{ path: '/basket', component: BasketPage },
|
||||
{ path: '/preferences', component: PreferencesPage },
|
||||
{ path: '/help', component: HelpPage }
|
||||
]
|
||||
|
||||
export default routes
|
||||
@@ -1,7 +0,0 @@
|
||||
import PreferencesPage from "@/pages/system/preferencesPage/index.vue";
|
||||
import HelpPage from "@/pages/system/helpPage/index.vue"
|
||||
|
||||
export const systemRoutes = [
|
||||
{ path: '/system/preferences', component: PreferencesPage },
|
||||
{ path: '/system/help', component: HelpPage }
|
||||
]
|
||||
Reference in new issue
Block a user