|
Last change
on this file since a520992 was 17db9d2, checked in by Aleksandarj03 <138524804+Aleksandarj03@…>, 10 months ago |
|
Added favourite locals placeholder and fixed navbar
|
-
Property mode
set to
100644
|
|
File size:
822 bytes
|
| Line | |
|---|
| 1 | <script>
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 | import { restaurantStore } from '@/PiniaStores/restaurantStore.js'
|
|---|
| 5 |
|
|---|
| 6 | export default {
|
|---|
| 7 | data(){
|
|---|
| 8 | return {
|
|---|
| 9 | restaurant:{
|
|---|
| 10 | name: '',
|
|---|
| 11 | address: ''
|
|---|
| 12 | },
|
|---|
| 13 | restaurantStore: restaurantStore()
|
|---|
| 14 | }
|
|---|
| 15 | }
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | </script>
|
|---|
| 19 |
|
|---|
| 20 | <template>
|
|---|
| 21 | <div id="container" class="border px-5 py-2">
|
|---|
| 22 | <p>Local details...</p>
|
|---|
| 23 | <p>Working hours: {{restaurantStore.workingHours}}</p>
|
|---|
| 24 | <ul v-for="service in restaurantStore.availableServices" :key="service">
|
|---|
| 25 | <li>{{service}}</li>
|
|---|
| 26 | </ul>
|
|---|
| 27 | <p>Average rating...</p>
|
|---|
| 28 | <router-link to="/more_details">
|
|---|
| 29 | <button class="btn btn-dark">More details</button>
|
|---|
| 30 | </router-link>
|
|---|
| 31 | <button class="btn btn-dark ms-2">Make reservation</button>
|
|---|
| 32 | </div>
|
|---|
| 33 | </template>
|
|---|
| 34 |
|
|---|
| 35 | <style scoped>
|
|---|
| 36 |
|
|---|
| 37 | #container {
|
|---|
| 38 |
|
|---|
| 39 | font-size: 20px;
|
|---|
| 40 |
|
|---|
| 41 | }
|
|---|
| 42 |
|
|---|
| 43 | </style>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.