diff --git a/misc/database.drawio b/misc/database.drawio index 67d5b0c..36dc8b1 100644 --- a/misc/database.drawio +++ b/misc/database.drawio @@ -1,6 +1,6 @@ - + @@ -572,7 +572,7 @@ - + diff --git a/software/backend/data/bands.json b/software/backend/data/bands.json index 815186c..79675d5 100644 --- a/software/backend/data/bands.json +++ b/software/backend/data/bands.json @@ -38,6 +38,50 @@ "bandId": 0 } ] + }, + { + "id": 1, + "name": "Radiohead", + "foundingYear": 1985, + "descriptionEn": "Radiohead are an English rock band formed in Abingdon, Oxfordshire, in 1985. They comprise Thom Yorke (vocals, guitar, piano, keyboards); brothers Jonny Greenwood (guitar, keyboards, other instruments) and Colin Greenwood (bass); Ed O'Brien (guitar, backing vocals); and Philip Selway (drums, percussion). They have worked with the producer Nigel Godrich and the cover artist Stanley Donwood since 1994. Radiohead's experimental approach is credited with advancing the sound of alternative rock.", + "descriptionDe": "Radiohead ist eine britische Rockband, die 1985 in Oxford, England gegründet wurde. Die Band besteht aus Thom Yorke (Gesang, Rhythmusgitarre, Piano), Jonny Greenwood (Lead-Gitarre, Keyboard, Ondes Martenot), Colin Greenwood (E-Bass, Keyboard), Ed O’Brien (Gitarre, Backgroundvocals) und Phil Selway (Schlagzeug, Backgroundvocals). Radioheads experimenteller Ansatz gilt als Wegbereiter für den Sound des Alternative Rocks.", + "images": [ "radiohead.jpg" ], + "logo": "radiohead-logo.png", + "genreId": 1, + "members": [ + { + "name": "Thom Yorke", + "bandId": 1, + "image": "thom-yorke.jpg" + }, + { + "name": "Jonny Greenwood", + "bandId": 1, + "image": "jonny-greenwood.jpg" + }, + { + "name": "Colin Greenwood", + "bandId": 1, + "image": "colin-greenwood.jpg" + }, + { + "name": "Ed O'Brien", + "bandId": 1, + "image": "ed-o-brien.jpg" + }, + { + "name": "Philip Selway", + "bandId": 1, + "image": "philip-selway.jpg" + } + ], + "ratings": [ + { + "accountId": 0, + "rating": 5, + "bandId": 1 + } + ] } ] } \ No newline at end of file diff --git a/software/backend/data/genres.json b/software/backend/data/genres.json index 0700c24..0b660e6 100644 --- a/software/backend/data/genres.json +++ b/software/backend/data/genres.json @@ -3,6 +3,10 @@ { "id": 0, "name": "Funk rock" + }, + { + "id": 1, + "name": "Art rock" } ] } \ No newline at end of file diff --git a/software/backend/data/tours.json b/software/backend/data/tours.json index ff4b284..5d659b0 100644 --- a/software/backend/data/tours.json +++ b/software/backend/data/tours.json @@ -15,6 +15,30 @@ "tourId": 0 } ] + }, + { + "id": 1, + "name": "The Bends Tour", + "bandId": 1, + "offered": true, + "shows": [ + { + "id": 1, + "date": "2024-11-30", + "price": 104, + "inStock": 120, + "locationId": 0, + "tourId": 1 + }, + { + "id": 2, + "date": "2024-12-01", + "price": 104, + "inStock": 180, + "locationId": 0, + "tourId": 1 + } + ] } ] } \ No newline at end of file diff --git a/software/backend/images/bands/radiohead-logo.jpg b/software/backend/images/bands/radiohead-logo.jpg new file mode 100644 index 0000000..206dd84 Binary files /dev/null and b/software/backend/images/bands/radiohead-logo.jpg differ diff --git a/software/backend/images/bands/radiohead.jpg b/software/backend/images/bands/radiohead.jpg new file mode 100644 index 0000000..5520b69 Binary files /dev/null and b/software/backend/images/bands/radiohead.jpg differ diff --git a/software/src/App.vue b/software/src/App.vue index 07e5fdf..e762ded 100644 --- a/software/src/App.vue +++ b/software/src/App.vue @@ -4,21 +4,19 @@ import { i18n } from './plugins/i18n'; import { ref, watch } from 'vue'; import vuetify from './plugins/vuetify'; import navigationItems from './components/navigationItems.vue'; -import { useProductStore } from './data/stores/productStore'; import { usePreferencesStore } from './data/stores/preferencesStore'; import { useFeedbackStore } from './data/stores/feedbackStore'; +import { useTourStore } from './data/stores/tourStore'; const preferencesStore = usePreferencesStore() -const productStore = useProductStore() +const tourStore = useTourStore() const feedbackStore = useFeedbackStore() const theme = useTheme() const navRail = ref(vuetify.display.mobile) theme.global.name.value = preferencesStore.theme -productStore.fetchAllProducts() -productStore.fetchAllCategories() -productStore.fetchAllBrands() +tourStore.fetchAllTours() // Global watcher watch(() => preferencesStore.language, () => { diff --git a/software/src/components/cardView.vue b/software/src/components/cardView.vue index 5e997c2..fa6fd85 100644 --- a/software/src/components/cardView.vue +++ b/software/src/components/cardView.vue @@ -7,28 +7,72 @@ defineProps({ }, subtitle: { type: String, + }, + prependImage: { + type: String, + default: "" } }) diff --git a/software/src/components/navigationItems.vue b/software/src/components/navigationItems.vue index 2db87d7..813a490 100644 --- a/software/src/components/navigationItems.vue +++ b/software/src/components/navigationItems.vue @@ -12,12 +12,12 @@ const navRail = defineModel("navRail", { type: Boolean }) -
{{ $t('menu.shopping') }}
+
{{ $t('menu.shopping.shopping') }}
- - + + \ No newline at end of file diff --git a/software/src/pages/toursPage/index.vue b/software/src/pages/toursPage/index.vue new file mode 100644 index 0000000..d712d09 --- /dev/null +++ b/software/src/pages/toursPage/index.vue @@ -0,0 +1,50 @@ + + + \ No newline at end of file diff --git a/software/src/pages/productsPage/productDetailsDialog.vue b/software/src/pages/toursPage/productDetailsDialog.vue similarity index 100% rename from software/src/pages/productsPage/productDetailsDialog.vue rename to software/src/pages/toursPage/productDetailsDialog.vue diff --git a/software/src/pages/productsPage/productCard.vue b/software/src/pages/toursPage/tourCard.vue similarity index 62% rename from software/src/pages/productsPage/productCard.vue rename to software/src/pages/toursPage/tourCard.vue index b200042..7643aec 100644 --- a/software/src/pages/productsPage/productCard.vue +++ b/software/src/pages/toursPage/tourCard.vue @@ -1,35 +1,33 @@