<script>
  import Footer from "../components/Footer.svelte";
  import Nav from "../components/Nav.svelte";

  export let segment;
</script>

<div class="wrapper">
  <Nav {segment} />

  <slot />

  <!--<Footer />-->
</div>

<style>
  :global(body) {
    background-color: #00111d;
  }

  .wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}
</style>
