Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions frontend/src/app/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@
<v-btn text @click="toggleTour"
>How to use <v-icon right dark> mdi-help-circle-outline </v-icon></v-btn
>
<v-col class="text-right">
<span> | </span>
<v-col class="text-left">
<strong
>Powered by
<a rel="noreferrer noopener" href="https://baato.io" target="_blank">
<img
src="https://sgp1.digitaloceanspaces.com/baatocdn/images/BaatoLogo.svg"
alt="Baato"
width="80px"
width="50px"
/> </a
></strong>
</v-col>
Expand Down
17 changes: 10 additions & 7 deletions frontend/src/app/src/components/MapView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// position: absolute;
// top: 0;
// bottom: 0;
height: 81vh;
width: 100%;
height: 85vh;
width: 99%;
// border-radius: 5px;
// box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
// z-index: 10;
Expand All @@ -35,10 +35,13 @@ export default {
applySource(geometry, extent) {
console.log("Extent", extent);

this.mapView.fitBounds([
[extent[0], extent[1]], // southwestern corner of the bounds
[extent[2], extent[3]], // northeastern corner of the bounds
], {padding: 200});
this.mapView.fitBounds(
[
[extent[0], extent[1]], // southwestern corner of the bounds
[extent[2], extent[3]], // northeastern corner of the bounds
],
{ padding: 200 }
);

// this.mapView.flyTo({
// center: geometry.coordinates,
Expand Down Expand Up @@ -106,7 +109,7 @@ export default {
});

const attribution = new mapboxgl.AttributionControl();
this.mapView.addControl(attribution, 'bottom-right');
this.mapView.addControl(attribution, "bottom-right");

// this.drawView = new MapboxDraw({
// displayControlsDefault: false,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/src/components/ProvisionInstance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<br />
<v-btn
large
class="v-step-3 white--text float-right"
class="v-step-3 white--text float-left"
:disabled="!valid"
color="#2c3e50"
@click="validate"
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'
import VueGtag from 'vue-gtag'

// import VueFbCustomerChat from 'vue-fb-customer-chat'
import VueFbCustomerChat from 'vue-fb-customer-chat'
require('vue-tour/dist/vue-tour.css')


Expand All @@ -20,12 +20,12 @@ Vue.use(VueGtag, {
config: { id: 'G-PN50G7DNWT' }
});

// // use FB messenger
// Vue.use(VueFbCustomerChat, {
// page_id: 106055731698744, // change 'null' to your Facebook Page ID,
// theme_color: '#47889D', // theme color in HEX
// locale: 'en_US', // default 'en_US'
// })
// use FB messenger
Vue.use(VueFbCustomerChat, {
page_id: 104665115853853, // change 'null' to your Facebook Page ID,
theme_color: '#47889D', // theme color in HEX
locale: 'en_US', // default 'en_US'
})


new Vue({
Expand Down