Commit 21a62f4ea3

21a62f4ea39d79afc6fe7efc9effab0c52d40de9

parent: d3b80f6a25

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-05-20 15:16 UTC

add header support

Layout: unified · split

docs/.vitepress/theme/components/Fb.vue +2 −8
@@ -1,15 +1,9 @@
1<!--
2 <fb /> — inline feedback button for use beside h1 headings.
3 Renders identically to the auto-inserted h2 button in Feedback.vue
4 by reusing Feedback with the page title as the heading prop.
5-->
61<script setup lang="ts">
7import { useData } from 'vitepress'
82import Feedback from './Feedback.vue'
93
10const { page } = useData()
4defineProps<{ h: string }>()
115</script>
126
137<template>
14 <Feedback :heading="page.title" />
8 <Feedback :heading="h" />
159</template>
\ No newline at end of file
docs/.vitepress/theme/components/Feedback.vue +1
@@ -116,6 +116,7 @@ const toggleCard = () => (isCardShown.value = !isCardShown.value)
116116 <button
117117 @click="toggleCard()"
118118 class="bg-$vp-c-default-soft text-primary border-$vp-c-default-soft hover:border-primary ml-3 inline-flex h-7 items-center justify-center whitespace-nowrap rounded-md border-2 border-solid px-1.5 py-3.5 text-sm font-medium transition-all duration-300 sm:h-6"
119 style="vertical-align: middle"
119120 >
120121 <span
121122 :class="isCardShown === false ? `i-lucide:mail` : `i-lucide:mail-x`"
docs/websites.md +1 −1
@@ -242,7 +242,7 @@ Some sites may include manga, but they are listed here for their manhwa and manh
242242
243243![](/banner/wnovel.webp)
244244
245# Novels <fb/>
245# Novels <fb h="Novels"/>
246246
247247| Category | Website |
248248|-----------------|------------------------------------------------|