As a hungry oarsman/woman
I want to I want to be able to see the detail information about locations
so that so that I can learn more about each location and decide where I want to eat/trink.
Description
Acceptance Criteria
[x] Clicking a location from the list shows the detail page
[x] The location image is displayed
[x] The location name is displayed
[x] The location address is displayed
[x] The location opening hours are displayed
[x] The location menu type is displayed
[x] Information about the possibility of renting a boat on the spot is displayed
Value Proposition
As a hungry oarsman/woman I want to I want to be able to see the detail information about locations so that so that I can learn more about each location and decide where I want to eat/trink.
Description
Acceptance Criteria
[x] Clicking a location from the list shows the detail page
[x] The location image is displayed
[x] The location name is displayed
[x] The location address is displayed
[x] The location opening hours are displayed
[x] The location menu type is displayed
[x] Information about the possibility of renting a boat on the spot is displayed
[x] A back-button is displayed
[x] Clicking the back-button shows the list view
Tasks
[x] Create the component LocationDetails
[x] LocationDetails props: bild, name, location, zeit, art, verleih
[x] Create the page pages/locations/[id] that renders LocationDetails
[x] Read the query parameter id from next/router
[x] Use the id to find the location to display
[x] Style the details page und LocationDetails component
Complexity
S