<script lang="ts">

  import { replace } from "svelte-spa-router";

  export let user;

</script>

<div class="wrapper">
  <h1>You made it to Test</h1>
  <button on:click={ () => (replace('/'))}>Go Home</button>
  <div>{user}</div>
</div>

<style>

  div.wrapper{
    display: flexbox;
    align-items: center;
  }

</style>