Replace Mapbox integration with custom Globe component

Switched from Mapbox to a custom globe visualization using 'cobe' library. Removed all Mapbox-related code, dependencies, and environmental variables. Introduced a WebSocket-based system to display live visitor data on the globe.
This commit is contained in:
2025-01-29 12:43:03 +01:00
parent 86b5669947
commit 9d4ca6476b
11 changed files with 149 additions and 707 deletions

View File

@@ -20,7 +20,6 @@ export default defineNuxtConfig({
'@nuxtjs/google-fonts',
'@nuxt/image',
'@nuxtjs/i18n',
'nuxt-mapbox',
'nuxt-visitors',
],
@@ -120,8 +119,8 @@ export default defineNuxtConfig({
// Nitro
nitro: {
preset: 'cloudflare_durable',
experimental: {
openAPI: true,
websocket: true,
},
},
@@ -144,15 +143,8 @@ export default defineNuxtConfig({
i18n: {
baseUrl: '',
},
mapbox: {
accessToken: '',
style: {
light: '',
dark: '',
},
},
},
},
compatibilityDate: '2024-08-19',
compatibilityDate: '2025-01-28',
})