<script lang="ts">
    import { useLocation } from "svelte-navigator";
    const location = useLocation();
</script>

{#if $location.pathname !== "/mining"}
<footer class="footer">
    <div class="has-text-centered">
        <p>Test footer please ignore</p>
        <p>location: {$location.pathname}</p>
    </div>
</footer>
{/if}