Add summary section to StoryLayout, some examples, and a few drafts directories

This commit is contained in:
Bad Manners 2024-03-28 23:56:25 -03:00
parent a36191b10a
commit 7ca6f52cc2
12 changed files with 114 additions and 10 deletions

View file

@ -28,11 +28,11 @@ const mainChaptersWithSummaries = mainChapters.filter((story) => story.data.summ
<details
class="mx-3 mb-6 mt-1 rounded-lg border border-stone-400 bg-stone-300 dark:border-stone-500 dark:bg-stone-700"
>
<summary class="rounded-lg bg-stone-200 px-2 py-1 dark:bg-stone-800"
>Click to reveal spoilers up to {
<summary class="rounded-lg bg-stone-200 px-2 py-1 dark:bg-stone-800">
Click to reveal spoilers up to {
mainChaptersWithSummaries[mainChaptersWithSummaries.length - 1].data.title.match(/Chapter \d+\b/)?.[0]
}</summary
>
}
</summary>
<ul class="border-t border-stone-400 px-1 dark:border-stone-500">
{
mainChapters