mirror of
https://github.com/danbulant/Mangades
synced 2026-07-08 12:30:36 +00:00
more previews
This commit is contained in:
parent
6307e06693
commit
dd8d4ca599
2 changed files with 3 additions and 4 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
Loading art
|
Loading art
|
||||||
{:then list}
|
{:then list}
|
||||||
{#each list.data.sort((a, b) => a.attributes.volume - b.attributes.volume) as item}
|
{#each list.data.sort((a, b) => a.attributes.volume - b.attributes.volume) as item}
|
||||||
<img on:click={() => selectedImage = `https://cors-anywhere.danbulant.workers.dev/?https://uploads.mangadex.org/covers/${mangaId}/${item.attributes.fileName}.512.jpg`} width=512 height=805 src="https://cors-anywhere.danbulant.workers.dev/?https://uploads.mangadex.org/covers/{mangaId}/{item.attributes.fileName}.512.jpg" alt="">
|
<img on:click={() => selectedImage = `https://cors-anywhere.danbulant.workers.dev/?https://uploads.mangadex.org/covers/${mangaId}/${item.attributes.fileName}.512.jpg`} width=512 height=805 src="https://cors-anywhere.danbulant.workers.dev/?https://uploads.mangadex.org/covers/{mangaId}/{item.attributes.fileName}.512.jpg" alt="" draggable={false}>
|
||||||
{/each}
|
{/each}
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -282,14 +282,13 @@ import ArtDialog from "../../components/artDialog.svelte";
|
||||||
|
|
||||||
{#await anilistData then data}
|
{#await anilistData then data}
|
||||||
{#if data.bannerImage}
|
{#if data.bannerImage}
|
||||||
<img class="banner" src={data.bannerImage} alt="">
|
<img class="banner" src={data.bannerImage} on:click={() => selectedImage = data.bannerImage} alt="">
|
||||||
{/if}
|
{/if}
|
||||||
{/await}
|
{/await}
|
||||||
|
|
||||||
<ArtDialog bind:selectedImage />
|
<ArtDialog bind:selectedImage />
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
|
|
@ -304,7 +303,7 @@ import ArtDialog from "../../components/artDialog.svelte";
|
||||||
|
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
{#if relationships.find(t => t.type === "cover_art")}
|
{#if relationships.find(t => t.type === "cover_art")}
|
||||||
<img class="cover" draggable="false" src="https://cors-anywhere.danbulant.workers.dev/?https://uploads.mangadex.org/covers/{mangaId}/{relationships.find(t => t.type === "cover_art").attributes.fileName}.512.jpg" alt="">
|
<img class="cover" draggable="false" src="https://cors-anywhere.danbulant.workers.dev/?https://uploads.mangadex.org/covers/{mangaId}/{relationships.find(t => t.type === "cover_art").attributes.fileName}.512.jpg" alt="" on:click={() => selectedImage = `https://cors-anywhere.danbulant.workers.dev/?https://uploads.mangadex.org/covers/${mangaId}/${relationships.find(t => t.type === "cover_art").attributes.fileName}.512.jpg`}>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="info">
|
<div class="info">
|
||||||
{#if relationships.find(t => t.type === "author")}
|
{#if relationships.find(t => t.type === "author")}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue