From d1d654ebac2d51e3841675faeb56480e440f622f Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Tue, 5 Mar 2024 18:08:09 +0100
Subject: Initial commit
---
frontend/src/lib/reader/PageView.svelte | 67 ++++++++++++++++++++++
frontend/src/lib/reader/Reader.svelte | 39 +++++++++++++
frontend/src/lib/reader/ReaderPage.svelte | 24 ++++++++
.../lib/reader/components/CloseReaderButton.svelte | 19 ++++++
.../lib/reader/components/ReaderMenuButton.svelte | 16 ++++++
5 files changed, 165 insertions(+)
create mode 100644 frontend/src/lib/reader/PageView.svelte
create mode 100644 frontend/src/lib/reader/Reader.svelte
create mode 100644 frontend/src/lib/reader/ReaderPage.svelte
create mode 100644 frontend/src/lib/reader/components/CloseReaderButton.svelte
create mode 100644 frontend/src/lib/reader/components/ReaderMenuButton.svelte
(limited to 'frontend/src/lib/reader')
diff --git a/frontend/src/lib/reader/PageView.svelte b/frontend/src/lib/reader/PageView.svelte
new file mode 100644
index 0000000..cc4d10e
--- /dev/null
+++ b/frontend/src/lib/reader/PageView.svelte
@@ -0,0 +1,67 @@
+
+
+
+
+{#if !secondary}
+
+{:else if direction === Direction.LeftToRight}
+
+
+{:else}
+
+
+{/if}
diff --git a/frontend/src/lib/reader/Reader.svelte b/frontend/src/lib/reader/Reader.svelte
new file mode 100644
index 0000000..0b1450a
--- /dev/null
+++ b/frontend/src/lib/reader/Reader.svelte
@@ -0,0 +1,39 @@
+
+
+{#if $reader.visible}
+
+ {#if $$slots.sidebar && $reader.sidebar}
+
+ {/if}
+
+
+ {#if $$slots.sidebar}
+
+ {/if}
+
+
+
+
+
+
+
+
+{/if}
diff --git a/frontend/src/lib/reader/ReaderPage.svelte b/frontend/src/lib/reader/ReaderPage.svelte
new file mode 100644
index 0000000..fb3e780
--- /dev/null
+++ b/frontend/src/lib/reader/ReaderPage.svelte
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/lib/reader/components/CloseReaderButton.svelte b/frontend/src/lib/reader/components/CloseReaderButton.svelte
new file mode 100644
index 0000000..0c88323
--- /dev/null
+++ b/frontend/src/lib/reader/components/CloseReaderButton.svelte
@@ -0,0 +1,19 @@
+
+
+
diff --git a/frontend/src/lib/reader/components/ReaderMenuButton.svelte b/frontend/src/lib/reader/components/ReaderMenuButton.svelte
new file mode 100644
index 0000000..aa20206
--- /dev/null
+++ b/frontend/src/lib/reader/components/ReaderMenuButton.svelte
@@ -0,0 +1,16 @@
+
+
+
--
cgit v1.2.3-2-gb3c3