<script>
  import { str, strf } from '$lib/data/language.js';

  import Header from '$lib/components/Header.svelte';
  import Gallery from '$lib/components/Gallery.svelte';

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

  const uriBase = `/s/apitest.php?slug=${data.slug}` + (data.timestamp ? `&timestamp=${data.timestamp}` : '');
</script>

<Header title={$strf(data.slug)}/>
<Gallery items={$album.items} base={uriBase} />
