aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorKenimarru <[email protected]>2024-01-06 14:17:55 +0100
committerKenimarru <[email protected]>2024-01-06 14:17:55 +0100
commite9b252fcfd7b1ca475c6f55dd4f33fdab6e90bfe (patch)
treee400be6f1cdda77c03df1b1fa9189968bb3e0359 /pages
parentv0.1.0 (diff)
downloadhiruku-e9b252fcfd7b1ca475c6f55dd4f33fdab6e90bfe.tar.xz
hiruku-e9b252fcfd7b1ca475c6f55dd4f33fdab6e90bfe.zip
v0.2.0
Diffstat (limited to 'pages')
-rw-r--r--pages/dmca/index.vue31
-rw-r--r--pages/i/[id].vue39
2 files changed, 33 insertions, 37 deletions
diff --git a/pages/dmca/index.vue b/pages/dmca/index.vue
new file mode 100644
index 0000000..79732ca
--- /dev/null
+++ b/pages/dmca/index.vue
@@ -0,0 +1,31 @@
+<template>
+ <section class="space-y-4">
+ <section class="flex flex-col gap-2">
+ <h1 class="text-primary text-3xl font-semibold">Disclaimer</h1>
+ <p class="text-primary text-opacity-75">None of the files listed on hiruki.xyz are hosted on our servers. All
+ links point to content hosted on third-party websites. hiruki.xyz does not accept responsibility for content
+ hosted on third-party websites and has no involvement in the downloading/uploading of movies. We only post
+ links that are available on the internet. If you believe that any content on our website infringes upon your
+ intellectual property rights and you hold the copyright for that content, please report it to
+ [email protected] and the content will be immediately removed.</p>
+ </section>
+ <section class="flex flex-col gap-2">
+ <h1 class="text-primary text-3xl font-semibold">DMCA</h1>
+ <p class="text-primary text-opacity-75">The Digital Millennium Copyright Act (DMCA) is a United States copyright
+ law that implements two 1996 treaties of the World Intellectual Property Organization (WIPO).
+
+ The DMCA criminalizes the production and dissemination of technology, devices, or services that are
+ primarily designed or produced for the purpose of circumventing technological measures that effectively
+ control access to copyrighted works.
+
+ The DMCA also provides a safe harbor for online service providers from copyright infringement liability,
+ provided that they meet certain conditions, such as promptly removing infringing material upon notification.
+
+ If you believe that your copyright has been infringed, you can file a DMCA takedown notice with the online
+ service provider that is hosting the infringing material.</p>
+ </section>
+ </section>
+</template>
+
+<script setup>
+</script> \ No newline at end of file
diff --git a/pages/i/[id].vue b/pages/i/[id].vue
index 4fff757..41b04c1 100644
--- a/pages/i/[id].vue
+++ b/pages/i/[id].vue
@@ -1,42 +1,7 @@
<template>
- <section class="space-y-4">
- <section v-if="info.bannerImage" class="flex justify-center items-center">
- <NuxtImg :src="info.bannerImage" class="w-full h-20 md:h-40 object-cover rounded-sm opacity-75" />
- </section>
- <section class="flex flex-col">
- <h2 v-if="info.title.romaji" class="text-secondary text-2xl font-semibold">{{ info.title.romaji }}</h2>
- <p v-if="info.title.native" class="text-primary">{{ info.title.native }}</p>
- </section>
- <section class="grid grid-cols-[auto,1fr] gap-4">
- <div class="hidden md:flex">
- <NuxtImg :src="info.coverImage.large" class="w-full h-72 object-cover rounded-sm" />
- </div>
- <div class="flex flex-col gap-2">
- <div class="flex items-center gap-1">
- <p v-if="info.season" class="text-primary">{{ info.season }}</p>
- <p v-if="info.year" class="text-primary">{{ info.year }}</p>
- </div>
- <div class="flex flex-wrap items-center gap-1">
- <p v-if="info.episodes" class="text-primary bg-secondary rounded-sm px-2">{{ info.episodes }} Episodes
- </p>
- <p v-if="info.score.averageScore" class="text-primary bg-secondary rounded-sm px-2">{{
- info.score.averageScore }}%</p>
- <p v-if="info.format" class="text-primary bg-secondary rounded-sm px-2">{{ info.format }}</p>
- <p v-if="info.status" class="text-primary bg-secondary rounded-sm px-2">{{ info.status }}</p>
- </div>
- <div class="flex flex-wrap items-center gap-1">
- <div v-for="genre in info.genres">
- <p class="text-secondary bg-primary rounded-sm px-2">{{ genre }}</p>
- </div>
- </div>
- <div v-html="info.description" class="text-primary w-full h-48 overflow-y-auto pr-2" />
- </div>
- </section>
- <Recommendations :id="id" />
- </section>
-</template>
+ <Details :id="id" />
+</template>
<script setup>
const { id } = useRoute().params
-const { data: info } = await useFetch("https://api.amvstr.me/api/v2/info/" + id, { key: id });
</script> \ No newline at end of file