New locationDetailPage displays concert in a location, new datasets, images, URL path changed

This commit is contained in:
2024-09-29 21:42:20 +02:00
parent be5cc090fe
commit d6997229c4
39 changed files with 493 additions and 515 deletions

View File

@@ -2,13 +2,21 @@ import BasketPage from "@/pages/basketPage/index.vue"
import HomePage from "@/pages/homePage/index.vue"
import { adminRoutes } from "./admin.routes";
import { accountRoutes } from "./account.routes";
import { showRoutes } from "./show.routes";
import { systemRoutes } from "./system.routes";
import EventsPage from "@/pages/shows/eventsPage/index.vue";
import LocationsPage from "@/pages/locations/locationsPage/index.vue"
import SearchPage from "@/pages/shows/searchPage/index.vue"
import BandDetailPage from "@/pages/shows/bandDetailPage/index.vue"
import LocationDetailPage from "@/pages/locations/locationDetailPage/index.vue"
const routes = [
{ path: "/", component: HomePage },
{ path: '/basket', component: BasketPage },
...showRoutes,
{ path: '/locations', component: LocationsPage },
{ path: '/locations/:locationName', component: LocationDetailPage },
{ path: '/bands/:bandName', component: BandDetailPage },
{ path: '/events', component: EventsPage },
{ path: '/search', component: SearchPage },
...accountRoutes,
...adminRoutes,
...systemRoutes

View File

@@ -1,11 +0,0 @@
import ToursPage from "@/pages/shows/toursPage/index.vue";
import LocationsPage from "@/pages/shows/locationsPage/index.vue"
import SearchPage from "@/pages/shows/searchPage/index.vue"
import BandDetailPage from "@/pages/shows/bandDetailPage/index.vue"
export const showRoutes = [
{ path: '/shows/tours', component: ToursPage },
{ path: '/shows/locations', component: LocationsPage },
{ path: '/shows/search', component: SearchPage },
{ path: '/shows/band/:bandName', component: BandDetailPage }
]