source: ReserveNGo-frontend/src/components/Project/Locale_details.vue

Last change on this file was d9884b2, checked in by Aleksandarj03 <138524804+Aleksandarj03@…>, 3 months ago

Updated logo

  • Property mode set to 100644
File size: 950 bytes
Line 
1<script>
2
3
4import { restaurantStore } from '@/PiniaStores/restaurantStore.js'
5
6export 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="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 margin: 30px auto;
41 border: transparent;
42 /*border-radius: 10px;*/
43 border-left: 3px solid #8377D1;
44 background-color: #FBFFF1;
45
46
47}
48
49</style>
Note: See TracBrowser for help on using the repository browser.