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-->
6<script setup lang="ts"> 1<script setup lang="ts">
7import { useData } from 'vitepress'
8import Feedback from './Feedback.vue' 2import Feedback from './Feedback.vue'
9 3
10const { page } = useData() 4defineProps<{ h: string }>()
11</script> 5</script>
12 6
13<template> 7<template>
14 <Feedback :heading="page.title" /> 8 <Feedback :heading="h" />
15</template>\ No newline at end of file 9</template>\ No newline at end of file
docs/.vitepress/theme/components/Feedback.vue +1
@@ -116,6 +116,7 @@ const toggleCard = () => (isCardShown.value = !isCardShown.value)
116 <button 116 <button
117 @click="toggleCard()" 117 @click="toggleCard()"
118 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" 118 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"
119 > 120 >
120 <span 121 <span
121 :class="isCardShown === false ? `i-lucide:mail` : `i-lucide:mail-x`" 122 :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
242 242
243![](/banner/wnovel.webp) 243![](/banner/wnovel.webp)
244 244
245# Novels <fb/> 245# Novels <fb h="Novels"/>
246 246
247| Category | Website | 247| Category | Website |
248|-----------------|------------------------------------------------| 248|-----------------|------------------------------------------------|