diff --git a/static/img/anti-mosquito-sign.jpg b/static/img/anti-mosquito-sign.jpg new file mode 100644 index 00000000..2b4a51e6 Binary files /dev/null and b/static/img/anti-mosquito-sign.jpg differ diff --git a/ts/rmo/route/config.ts b/ts/rmo/route/config.ts index a5b61a62..0eb1f2fb 100644 --- a/ts/rmo/route/config.ts +++ b/ts/rmo/route/config.ts @@ -14,6 +14,7 @@ import ComplianceProcess from "@/rmo/content/compliance/Process.vue"; import ComplianceSubmit from "@/rmo/content/compliance/Submit.vue"; import HomeBase from "@/rmo/view/Home.vue"; import HomeDistrict from "@/rmo/view/district/Home.vue"; +import NotFound from "@/rmo/view/NotFound.vue"; import NuisanceBase from "@/rmo/view/Nuisance.vue"; import NuisanceDistrict from "@/rmo/view/district/Nuisance.vue"; import RegisterNotificationsComplete from "@/rmo/view/RegisterNotificationsComplete.vue"; @@ -154,6 +155,12 @@ const routes: RouteRecordRaw[] = [ name: "Water", component: Water, }, + // Catch-all route - must be last + { + path: "/:pathMatch(.*)*", + name: "NotFound", + component: NotFound, + }, ]; export const router = createRouter({ diff --git a/ts/rmo/view/NotFound.vue b/ts/rmo/view/NotFound.vue new file mode 100644 index 00000000..a5b0863b --- /dev/null +++ b/ts/rmo/view/NotFound.vue @@ -0,0 +1,29 @@ + + +