mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-31 08:29:26 +01:00
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:
@@ -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',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user