Added prefect to astro links
This commit is contained in:
@@ -11,11 +11,5 @@ export default defineConfig({
|
|||||||
integrations: [vue(), sitemap()],
|
integrations: [vue(), sitemap()],
|
||||||
output: 'static',
|
output: 'static',
|
||||||
site: 'https://maps.alexcreates.fr',
|
site: 'https://maps.alexcreates.fr',
|
||||||
// i18n: {
|
prefetch: true
|
||||||
// locales: availableLangs,
|
|
||||||
// defaultLocale: defaultLang,
|
|
||||||
// routing: {
|
|
||||||
// prefixDefaultLocale: true,
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const { breadcrumbs = [] } = Astro.props
|
|||||||
{!(index === breadcrumbs.length - 1) &&
|
{!(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>
|
<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">
|
<span class="label">
|
||||||
{breadcrumb.name}
|
{breadcrumb.name}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user