<script>
  import Header from '../../lib/Header.svelte';

  /** @type {import('./$types').PageData} */
  export let data;
</script>

<style>
  main {
    margin-top: 2em;
  }
</style>

<main>
  <Header/>

  <div class="center">this site was compiled on:</div>
  <br>
  <div>
    <pre>{data.info}</pre>
  </div>
  <br>
  <div class="center">at <b>{new Date(data.when)}</b></div>
  <div class="center">revision: <a href="{data.remote.replace('.git', '')}/src/commit/{data.hash}">{data.hash.slice(0, 7)} on {data.branch}</a></div>
</main>