diff --git a/fictionarchive-web-astro/src/lib/components/ChapterBookmarkButton.svelte b/fictionarchive-web-astro/src/lib/components/ChapterBookmarkButton.svelte new file mode 100644 index 0000000..a932a1d --- /dev/null +++ b/fictionarchive-web-astro/src/lib/components/ChapterBookmarkButton.svelte @@ -0,0 +1,181 @@ + + + + +
+ + + {#snippet child({ props })} + + {/snippet} + + +
+
+

+ {isBookmarked ? 'Edit bookmark' : 'Bookmark this chapter'} +

+

+ {isBookmarked ? 'Update your note or remove the bookmark.' : 'Add an optional note to remember why you bookmarked this.'} +

+
+