From fcbc26f544a5ad7ec841561dec695aaceb63d709 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 10 Sep 2024 00:06:05 -0700
Subject: feat(reader): add rawkuma chapter support

---
 src/lib/Reader/Chapters/Rawkuma.svelte | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 src/lib/Reader/Chapters/Rawkuma.svelte

(limited to 'src/lib/Reader/Chapters/Rawkuma.svelte')

diff --git a/src/lib/Reader/Chapters/Rawkuma.svelte b/src/lib/Reader/Chapters/Rawkuma.svelte
new file mode 100644
index 00000000..5a7e57ad
--- /dev/null
+++ b/src/lib/Reader/Chapters/Rawkuma.svelte
@@ -0,0 +1,22 @@
+<script lang="ts">
+	import { getChaptersFromText } from '$lib/Data/Manga/raw';
+	import { onMount } from 'svelte';
+
+	export let data: string;
+
+	onMount(() => {
+		console.log();
+	});
+</script>
+
+<ul>
+	{#each getChaptersFromText(data) as chapter}
+		<li>
+			{chapter.chapterDate}
+			<span class="opaque">|</span>
+			<a href={chapter.href} target="_blank" rel="noopener noreferrer">
+				{chapter.chapterNum}
+			</a>
+		</li>
+	{/each}
+</ul>
-- 
cgit v1.2.3

