* use new df map

* close button top-right, link to same position in new map, use localStorage for modal dismissal

* update map image, iframe detection ignores new map modal

* update embed instructions

* pretty banner

* privacy policy update - routing

* launch the map language

* header stuff

* change donate link

* remove new map notice bc 301 on cf

* use user agent for alpr_counts

* news -> footnote4a

* remove blog scraper
This commit is contained in:
Will Freeman
2026-04-26 22:13:16 -06:00
committed by GitHub
parent ae861e8e7b
commit e8fcf30e5b
22 changed files with 392 additions and 948 deletions
+4 -5
View File
@@ -1,6 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router'
import Landing from '../views/Landing.vue'
import Map from '../views/Map.vue'
import { useHead } from '@unhead/vue'
const router = createRouter({
@@ -25,11 +24,11 @@ const router = createRouter({
}
},
{
path: '/map',
path: '/legacy-map',
name: 'map',
component: Map,
component: () => import('../views/Map.vue'),
meta: {
title: 'ALPR Map | DeFlock'
title: 'ALPR Map (Legacy) | DeFlock'
}
},
{
@@ -204,7 +203,7 @@ router.beforeEach((to, from, next) => {
}
if (to.path === '/' && to.hash) {
next({ path: '/map', hash: to.hash })
next({ path: '/legacy-map', hash: to.hash })
} else {
next()
}