mirror of
https://github.com/danbulant/Mangades
synced 2026-07-05 11:00:40 +00:00
improved content blocked styles
This commit is contained in:
parent
2f8043ae88
commit
bedb69b0d1
2 changed files with 21 additions and 8 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
|
import { url } from "@roxi/routify";
|
||||||
|
|
||||||
import request from "../../util/request";
|
import request from "../../util/request";
|
||||||
|
|
||||||
export var manga;
|
export var manga;
|
||||||
|
|
@ -13,15 +15,26 @@
|
||||||
|
|
||||||
const blocked = ["227e3f72-863f-46f9-bafe-c43104ca29ee"];
|
const blocked = ["227e3f72-863f-46f9-bafe-c43104ca29ee"];
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
{#if blocked.includes(manga)}
|
||||||
|
<title>Content blocked - Mangadex search</title>
|
||||||
|
{/if}
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
{#if blocked.includes(manga)}
|
{#if blocked.includes(manga)}
|
||||||
<h1>
|
<main>
|
||||||
Content blocked.
|
<a href={$url("..")}>Search</a>
|
||||||
</h1>
|
<h1>
|
||||||
|
Content blocked.
|
||||||
I'm sorry, but I received a DMCA take down for this manga, so just to be safe I disabled it. Content might be available directly on <a href="https://mangadex.org">Mangadex</a> which I'm embedding it from (so in my good faith, I don't think I'm breaking copyright).
|
</h1>
|
||||||
|
|
||||||
I don't host any of the content shown in this page.
|
<p>
|
||||||
|
I'm sorry, but I received a DMCA take down for this manga, so just to be safe I disabled it. Content might be available directly on <a href="https://mangadex.org">Mangadex</a> which I'm embedding it from (so in my good faith, I don't think I'm breaking copyright).
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
I don't host any of the content shown in this page.
|
||||||
|
</p>
|
||||||
|
</main>
|
||||||
{:else}
|
{:else}
|
||||||
{#await mangaData}
|
{#await mangaData}
|
||||||
loading...
|
loading...
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@
|
||||||
<svelte:window on:scroll={scroll} />
|
<svelte:window on:scroll={scroll} />
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>Mangadex search</title>
|
<title>Mangadex search & downloader</title>
|
||||||
<meta name="description" value="Read manga from Mangadex online, or download it as EPUB or CBZ file to read it on your e-reader." />
|
<meta name="description" value="Read manga from Mangadex online, or download it as EPUB or CBZ file to read it on your e-reader." />
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue