X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/42f03f0660c5815d4a5faeb4a1c087f507ff59a0..c061d3fd3d4c9135fdbda0af273d9fc0dc5b5535:/src/components/PageLink.svelte

diff --git a/src/components/PageLink.svelte b/src/components/PageLink.svelte
index 9205c2f..bccddf2 100644
--- a/src/components/PageLink.svelte
+++ b/src/components/PageLink.svelte
@@ -2,10 +2,11 @@
 import { refresh_page } from '../lib/stores.js';
 
 export let page;
+export let extra_classes = '';
 
 function handleClick() {
   refresh_page(page);
 }
 </script>
 
-<a on:click|preventDefault|stopPropagation={handleClick} href="{page}.html"><slot></slot></a>
+<a on:click|preventDefault|stopPropagation={handleClick} href="{page}.html" class={extra_classes}><slot></slot></a>
