remove public/assets
| @@ -1,237 +0,0 @@ | ||||
| [ | ||||
|   { | ||||
|     "title": "Category 1", | ||||
|     "packages": [ | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "title": "Category 1", | ||||
|     "packages": [ | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "title": "Category 1", | ||||
|     "packages": [ | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "title": "Category 1", | ||||
|     "packages": [ | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "title": "Category 1", | ||||
|     "packages": [ | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       }, | ||||
|       { | ||||
|         "name": "Package 1", | ||||
|         "image": "http://lorempixel.com/300/100", | ||||
|         "rating": 5, | ||||
|         "price": 900000, | ||||
|         "total_day": 7 | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
| ] | ||||
| @@ -1,38 +0,0 @@ | ||||
| /** | ||||
|  * Created by 322 on 01/04/2017. | ||||
|  */ | ||||
| importScripts('https://www.gstatic.com/firebasejs/4.6.2/firebase-app.js'); | ||||
| importScripts('https://www.gstatic.com/firebasejs/4.6.2/firebase-messaging.js'); | ||||
|  | ||||
| // Initialize the Firebase app in the service worker by passing in the | ||||
| // messagingSenderId. | ||||
| firebase.initializeApp({ | ||||
|   apiKey: "AIzaSyD1D-eyFDVx2aWJCbPGIYFEHP68xHdi3ZY", | ||||
|   authDomain: "marketplace-373ce.firebaseapp.com", | ||||
|   databaseURL: "https://marketplace-373ce.firebaseio.com", | ||||
|   projectId: "marketplace-373ce", | ||||
|   storageBucket: "marketplace-373ce.appspot.com", | ||||
|   messagingSenderId: "780734330428" | ||||
| }); | ||||
|  | ||||
| // Retrieve an instance of Firebase Messaging so that it can handle background | ||||
| // messages. | ||||
| const messaging = firebase.messaging(); | ||||
| // messaging.onMessage(function(payload) { | ||||
| //   console.log("Message received. ", payload); | ||||
| //   const notificationTitle = payload.title; | ||||
| //   const notificationOptions = { | ||||
| //     body: payload.body, | ||||
| //     icon: payload.icon | ||||
| //   }; | ||||
| // }); | ||||
|  | ||||
| messaging.setBackgroundMessageHandler(function(payload) { | ||||
|   console.log('[firebase-messaging-sw.js] Received background message ', payload); | ||||
|   // Customize notification here | ||||
|   const notificationTitle = 'Background Message Title'; | ||||
|   const notificationOptions = { | ||||
|       body: 'Background Message body.', | ||||
|       icon: '/firebase-logo.png' | ||||
|   }; | ||||
| }); | ||||
| Before Width: | Height: | Size: 17 KiB | 
| Before Width: | Height: | Size: 19 KiB | 
| Before Width: | Height: | Size: 689 KiB | 
| Before Width: | Height: | Size: 402 KiB | 
| Before Width: | Height: | Size: 1.2 KiB | 
| Before Width: | Height: | Size: 8.1 KiB | 
| Before Width: | Height: | Size: 4.9 KiB | 
| Before Width: | Height: | Size: 26 KiB | 
| Before Width: | Height: | Size: 1.4 KiB | 
| Before Width: | Height: | Size: 19 KiB | 
| Before Width: | Height: | Size: 31 KiB | 
| Before Width: | Height: | Size: 42 KiB | 
| Before Width: | Height: | Size: 12 KiB | 
| Before Width: | Height: | Size: 63 KiB | 
| Before Width: | Height: | Size: 1.7 KiB | 
| Before Width: | Height: | Size: 8.7 KiB | 
| Before Width: | Height: | Size: 3.4 KiB | 
| Before Width: | Height: | Size: 2.5 KiB | 
| Before Width: | Height: | Size: 18 KiB | 
| Before Width: | Height: | Size: 27 KiB | 
| Before Width: | Height: | Size: 39 KiB | 
| Before Width: | Height: | Size: 38 KiB | 
| Before Width: | Height: | Size: 69 KiB | 
| Before Width: | Height: | Size: 67 KiB | 
| Before Width: | Height: | Size: 4.7 KiB | 
| Before Width: | Height: | Size: 9.1 KiB | 
| Before Width: | Height: | Size: 6.9 KiB | 
| Before Width: | Height: | Size: 97 KiB | 
| Before Width: | Height: | Size: 207 KiB | 
| Before Width: | Height: | Size: 125 KiB | 
| Before Width: | Height: | Size: 2.2 KiB | 
| Before Width: | Height: | Size: 37 KiB | 
| Before Width: | Height: | Size: 4.1 KiB | 
| Before Width: | Height: | Size: 3.7 KiB | 
| Before Width: | Height: | Size: 57 KiB | 
| Before Width: | Height: | Size: 92 KiB | 
| Before Width: | Height: | Size: 407 B | 
| Before Width: | Height: | Size: 11 KiB | 
| Before Width: | Height: | Size: 479 KiB | 
| Before Width: | Height: | Size: 49 KiB | 
| Before Width: | Height: | Size: 53 KiB | 
| Before Width: | Height: | Size: 126 KiB | 
| Before Width: | Height: | Size: 9.8 KiB | 
| Before Width: | Height: | Size: 4.6 KiB | 
| Before Width: | Height: | Size: 3.7 KiB | 
| Before Width: | Height: | Size: 127 KiB | 
| Before Width: | Height: | Size: 67 KiB | 
| Before Width: | Height: | Size: 54 KiB | 
| Before Width: | Height: | Size: 21 KiB | 
| Before Width: | Height: | Size: 353 KiB | 
| Before Width: | Height: | Size: 1.0 MiB | 
| Before Width: | Height: | Size: 7.2 KiB | 
| Before Width: | Height: | Size: 55 KiB | 
| Before Width: | Height: | Size: 63 KiB | 
| Before Width: | Height: | Size: 30 KiB | 
| Before Width: | Height: | Size: 5.8 KiB | 
| Before Width: | Height: | Size: 633 KiB | 
| Before Width: | Height: | Size: 104 KiB | 
| Before Width: | Height: | Size: 39 KiB | 
| Before Width: | Height: | Size: 2.9 KiB | 
| Before Width: | Height: | Size: 2.1 KiB | 
| Before Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 728 B | 
| Before Width: | Height: | Size: 16 KiB | 
| Before Width: | Height: | Size: 1.9 KiB | 
| Before Width: | Height: | Size: 2.7 KiB | 
| Before Width: | Height: | Size: 1.3 KiB | 
| Before Width: | Height: | Size: 3.7 KiB | 
| Before Width: | Height: | Size: 2.7 KiB | 
| Before Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 1.7 KiB | 
| Before Width: | Height: | Size: 2.0 KiB | 
| Before Width: | Height: | Size: 5.2 KiB | 
| Before Width: | Height: | Size: 2.5 KiB | 
| Before Width: | Height: | Size: 408 B | 
| Before Width: | Height: | Size: 4.2 KiB | 
| Before Width: | Height: | Size: 12 KiB | 
| Before Width: | Height: | Size: 5.1 KiB | 
| Before Width: | Height: | Size: 2.3 KiB | 
| Before Width: | Height: | Size: 2.7 KiB | 
| Before Width: | Height: | Size: 809 B |