
<script>
    import { goto } from '$app/navigation';  
    export let data;
    if(data.player.partyid)
        goto("/game");
    else {
        goto("/party");
    }
        
</script>

<a class="btn btn-success w-full text-3xl p-3 block" href="/party">
    <span>Voir les parties en cours</span>
</a>

