Added prefect to astro links

This commit is contained in:
Alexis
2025-04-02 12:17:12 +02:00
parent cd99ed2444
commit 6d281e14ea
2 changed files with 2 additions and 8 deletions

View File

@@ -11,11 +11,5 @@ export default defineConfig({
integrations: [vue(), sitemap()],
output: 'static',
site: 'https://maps.alexcreates.fr',
// i18n: {
// locales: availableLangs,
// defaultLocale: defaultLang,
// routing: {
// prefixDefaultLocale: true,
// }
// }
prefetch: true
});

View File

@@ -25,7 +25,7 @@ const { breadcrumbs = [] } = Astro.props
{!(index === breadcrumbs.length - 1) &&
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#0f172a" viewBox="0 0 256 256" class="folder"><path d="M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"></path></svg>
<a href={breadcrumb.url} class="breadcrumb" class:list={{ active: index === breadcrumbs.length - 1 }}>
<a href={breadcrumb.url} class="breadcrumb" class:list={{ active: index === breadcrumbs.length - 1 }} data-astro-prefetch="hover">
<span class="label">
{breadcrumb.name}
</span>