diff --git a/html/template/rmo/district-compliance-address.html b/html/template/rmo/district-compliance-address.html index 624ef9ed..d3fdf85e 100644 --- a/html/template/rmo/district-compliance-address.html +++ b/html/template/rmo/district-compliance-address.html @@ -32,22 +32,6 @@ {{ end }} {{ define "content" }}
- -
-
- {{ .District.Name }} logo -

{{ .District.Name }}

-
-
- {{ .District.OfficePhone }} -
-
-
diff --git a/ts/rmo/components/HeaderCompliance.vue b/ts/rmo/components/HeaderCompliance.vue new file mode 100644 index 00000000..c2bbb390 --- /dev/null +++ b/ts/rmo/components/HeaderCompliance.vue @@ -0,0 +1,24 @@ + + + diff --git a/ts/rmo/components/ProgressBarCompliance.vue b/ts/rmo/components/ProgressBarCompliance.vue new file mode 100644 index 00000000..dca024f3 --- /dev/null +++ b/ts/rmo/components/ProgressBarCompliance.vue @@ -0,0 +1,24 @@ + + diff --git a/ts/rmo/content/Nuisance.vue b/ts/rmo/content/Nuisance.vue index 2379bdce..4bac2d01 100644 --- a/ts/rmo/content/Nuisance.vue +++ b/ts/rmo/content/Nuisance.vue @@ -612,12 +612,13 @@ onMounted(() => { locationStore .get() .then((loc: GeolocationPosition) => { + console.log("user geolocation", loc); const coords = loc.coords; currentLocation.value = coords; - if (currentCamera.value) { - currentCamera.value.location = coords; - currentCamera.value.zoom = 15; - } + currentCamera.value = { + location: coords, + zoom: 15, + }; }) .catch((e) => { console.log("failed to get location", e); diff --git a/ts/rmo/content/compliance/Address.vue b/ts/rmo/content/compliance/Address.vue new file mode 100644 index 00000000..d31d0634 --- /dev/null +++ b/ts/rmo/content/compliance/Address.vue @@ -0,0 +1,58 @@ + + diff --git a/ts/rmo/content/compliance/Intro.vue b/ts/rmo/content/compliance/Intro.vue index 28e4da02..8736cae1 100644 --- a/ts/rmo/content/compliance/Intro.vue +++ b/ts/rmo/content/compliance/Intro.vue @@ -1,22 +1,7 @@