mirror of
https://github.com/danbulant/Mangades
synced 2026-06-23 16:42:02 +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
|
||||
{:then list}
|
||||
{#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}
|
||||
{/await}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -282,14 +282,13 @@ import ArtDialog from "../../components/artDialog.svelte";
|
|||
|
||||
{#await anilistData then data}
|
||||
{#if data.bannerImage}
|
||||
<img class="banner" src={data.bannerImage} alt="">
|
||||
<img class="banner" src={data.bannerImage} on:click={() => selectedImage = data.bannerImage} alt="">
|
||||
{/if}
|
||||
{/await}
|
||||
|
||||
<ArtDialog bind:selectedImage />
|
||||
|
||||
<main>
|
||||
|
||||
<h1>{title}</h1>
|
||||
|
||||
<h3>
|
||||
|
|
@ -304,7 +303,7 @@ import ArtDialog from "../../components/artDialog.svelte";
|
|||
|
||||
<div class="flex">
|
||||
{#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}
|
||||
<div class="info">
|
||||
{#if relationships.find(t => t.type === "author")}
|
||||
|
|
|
|||
Loading…
Reference in a new issue