Add mock catalog

This commit is contained in:
ZXY101
2023-08-01 16:29:02 +02:00
parent 3c2199b06a
commit 995c6a98c5
20 changed files with 291 additions and 100 deletions

View File

@@ -0,0 +1,22 @@
<script lang="ts">
import Panzoom from '$lib/panzoom/Panzoom.svelte';
import { currentManga } from '$lib/catalog';
import { goto } from '$app/navigation';
import { onMount } from 'svelte';
const manga = $currentManga;
</script>
{#if manga}
<Panzoom>
<img draggable="false" src={manga.cover} alt={manga.title} />
</Panzoom>
{/if}
<style>
h2 {
z-index: 1;
position: fixed;
left: 10px;
}
</style>