mirror of
https://github.com/danbulant/Mangades
synced 2026-06-17 05:11:14 +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>
|
||||
import { url } from "@roxi/routify";
|
||||
|
||||
import request from "../../util/request";
|
||||
|
||||
export var manga;
|
||||
|
|
@ -13,15 +15,26 @@
|
|||
|
||||
const blocked = ["227e3f72-863f-46f9-bafe-c43104ca29ee"];
|
||||
</script>
|
||||
<svelte:head>
|
||||
{#if blocked.includes(manga)}
|
||||
<title>Content blocked - Mangadex search</title>
|
||||
{/if}
|
||||
</svelte:head>
|
||||
|
||||
{#if blocked.includes(manga)}
|
||||
<h1>
|
||||
Content blocked.
|
||||
</h1>
|
||||
|
||||
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).
|
||||
|
||||
I don't host any of the content shown in this page.
|
||||
<main>
|
||||
<a href={$url("..")}>Search</a>
|
||||
<h1>
|
||||
Content blocked.
|
||||
</h1>
|
||||
|
||||
<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}
|
||||
{#await mangaData}
|
||||
loading...
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
<svelte:window on:scroll={scroll} />
|
||||
|
||||
<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." />
|
||||
</svelte:head>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue