Fixed some broken links

This commit is contained in:
Alexis
2025-03-20 16:06:14 +01:00
parent 99aa951d47
commit f5cc942cbf
5 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ const {
<div class="world-wrapper">
<div id="world"></div>
<MarkerCreator client:load mapKey={mapKey} />
<MarkerCreator client:visible mapKey={mapKey} />
</div>
<script

View File

@@ -21,7 +21,7 @@ const {
---
<div class="world-overlay">
<SearchMarkers client:load mapKey={mapKey} markers={markers} players={players} searchConfig={searchConfig} />
<SearchMarkers client:visible mapKey={mapKey} markers={markers} players={players} searchConfig={searchConfig} />
<MapOverlayBreadcrumbs breadcrumbs={breadcrumbs} />
</div>

View File

@@ -41,12 +41,12 @@ const worldMenuItems: MenuItem[] = [
{
name: 'Aldys',
img: '/images/aldys-cover.png',
url: '/'
url: `/${$currentLang.value}/`
},
{
name: 'Bamast',
img: '/images/bamast-cover.png',
url: '/bamast',
url: `/${$currentLang.value}/bamast`
}
]
@@ -59,12 +59,12 @@ const cityMenuItems: MenuItem[] = [
{
name: 'Borélis',
img: '/images/aldys-borelis-cover.png',
url: '/aldys/borelis',
url: `/${$currentLang.value}/aldys/borelis`
},
{
name: 'Cantane',
img: '/images/aldys-cantane-cover.png',
url: '/aldys/cantane',
url: `/${$currentLang.value}/aldys/cantane`
},
]
@@ -72,7 +72,7 @@ const extraMenuitems: MenuItem[] = [
{
name: 'Mines Blanches',
img: '/images/aldys-cantane-mines-blanches-cover.png',
url: '/aldys/cantane/mines-blanches',
url: `/${$currentLang.value}/aldys/cantane/mines-blanches`,
newItem: true
},
]

View File

@@ -1,5 +1,5 @@
---
import { defaultLang, type Language } from '@/i18n/ui';
import { defaultLang } from '@/i18n/ui';
import { getLangFromUrl } from '@/i18n/utils';
import type { Head } from '@/types/Head';

View File

@@ -21,7 +21,7 @@ const markers = markersData.data as MapMarker[]
breadcrumbs={[
{ name: 'Aldys', url: '/en/' },
{ name: 'Cantane', url: '/en/aldys/cantane' },
{ name: 'White Hollow', url: '/en/aldys/cantane/white-hollow' },
{ name: 'White Hollow', url: '/en/aldys/cantane/mines-blanches' },
]}
/>
<Map