@wordup-md/nuxt-layer-shadcn-unocss 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursor/rules/active-context-rule.mdc +8 -0
- package/.cursor/rules/memory-bank-overview.mdc +17 -0
- package/.cursor/rules/product-context-rule.mdc +8 -0
- package/.cursor/rules/progress-rule.mdc +8 -0
- package/.cursor/rules/projectbrief-rule.mdc +8 -0
- package/.cursor/rules/system-patterns-rule.mdc +8 -0
- package/.cursor/rules/tech-context-rule.mdc +8 -0
- package/.cursorrules +52 -0
- package/.editorconfig +12 -0
- package/.nuxtrc +1 -0
- package/.playground/app.config.ts +189 -0
- package/.playground/assets/style.css +15 -0
- package/.playground/components/content/MdcExample.vue +81 -0
- package/.playground/components/content/MdcReplay.vue +319 -0
- package/.playground/content/1.getting-started/1.introduction.md +8 -0
- package/.playground/content/1.getting-started/2.writing/1.markdown.md +56 -0
- package/.playground/content/1.getting-started/2.writing/2.pages.md +177 -0
- package/.playground/content/1.getting-started/2.writing/3.folders.md +56 -0
- package/.playground/content/1.getting-started/2.writing/_dir.yml +3 -0
- package/.playground/content/1.getting-started/_dir.yml +3 -0
- package/.playground/content/2.content-elements/1.text-formatting.md +60 -0
- package/.playground/content/2.content-elements/10.horizontal-rule.md +25 -0
- package/.playground/content/2.content-elements/11.tables.md +25 -0
- package/.playground/content/2.content-elements/12.overview.md +93 -0
- package/.playground/content/2.content-elements/13.text-components.md +36 -0
- package/.playground/content/2.content-elements/2.headings.md +32 -0
- package/.playground/content/2.content-elements/3.paragraphs.md +39 -0
- package/.playground/content/2.content-elements/4.lists.md +37 -0
- package/.playground/content/2.content-elements/5.links.md +17 -0
- package/.playground/content/2.content-elements/6.images.md +17 -0
- package/.playground/content/2.content-elements/7.blockquotes.md +17 -0
- package/.playground/content/2.content-elements/8.code-blocks.md +141 -0
- package/.playground/content/2.content-elements/9.inline-code.md +21 -0
- package/.playground/content/2.content-elements/_dir.yml +3 -0
- package/.playground/content/2.content-elements/index.md +8 -0
- package/.playground/content/3.components/1.index.md +187 -0
- package/.playground/content/3.components/2.docs/_dir.yml +3 -0
- package/.playground/content/3.components/2.docs/alert.md +152 -0
- package/.playground/content/3.components/2.docs/badge.md +131 -0
- package/.playground/content/3.components/2.docs/button-link.md +53 -0
- package/.playground/content/3.components/2.docs/callout.md +16 -0
- package/.playground/content/3.components/2.docs/code-group.md +77 -0
- package/.playground/content/3.components/2.docs/code-snippet.md +129 -0
- package/.playground/content/3.components/2.docs/field-group.md +62 -0
- package/.playground/content/3.components/2.docs/field.md +39 -0
- package/.playground/content/3.components/2.docs/file-tree.md +144 -0
- package/.playground/content/3.components/2.docs/icon.md +94 -0
- package/.playground/content/3.components/2.docs/pm.md +67 -0
- package/.playground/content/3.components/2.docs/read-more.md +44 -0
- package/.playground/content/3.components/2.docs/shortcut.md +36 -0
- package/.playground/content/3.components/2.docs/stack.md +81 -0
- package/.playground/content/3.components/2.docs/steps.md +148 -0
- package/.playground/content/3.components/2.docs/tabs.md +375 -0
- package/.playground/content/3.components/3.page/_dir.yml +2 -0
- package/.playground/content/3.components/3.page/accordion.md +74 -0
- package/.playground/content/3.components/3.page/card-group.md +115 -0
- package/.playground/content/3.components/3.page/card.md +142 -0
- package/.playground/content/3.components/3.page/collapsible.md +61 -0
- package/.playground/content/3.components/3.page/hero-alt.md +118 -0
- package/.playground/content/3.components/3.page/hero.md +60 -0
- package/.playground/content/3.components/3.page/team-card.md +82 -0
- package/.playground/content/3.components/_dir.yml +2 -0
- package/.playground/content/4.development/1.configuration/1.overview.md +297 -0
- package/.playground/content/4.development/1.configuration/2.nuxt-content.md +105 -0
- package/.playground/content/4.development/1.configuration/3.og-image.md +86 -0
- package/.playground/content/4.development/1.configuration/4.edit-link.md +63 -0
- package/.playground/content/4.development/1.configuration/5.banner.md +52 -0
- package/.playground/content/4.development/1.configuration/6.carbon-ads.md +65 -0
- package/.playground/content/4.development/1.configuration/7.umami.md +41 -0
- package/.playground/content/4.development/1.configuration/_dir.yml +3 -0
- package/.playground/content/4.development/2.advanced/1.override.md +49 -0
- package/.playground/content/4.development/2.advanced/2.math.md +89 -0
- package/.playground/content/4.development/2.advanced/_dir.yml +3 -0
- package/.playground/content/4.development/3.themes.md +9 -0
- package/.playground/content/4.development/4.composables.md +38 -0
- package/.playground/content/4.development/5.installation.md +36 -0
- package/.playground/content/4.development/_dir.yml +3 -0
- package/.playground/content/_menu-footer.md +5 -0
- package/.playground/content/index.md +67 -0
- package/.playground/content/test-card.md +187 -0
- package/.playground/content/test.md +88 -0
- package/.playground/content/test2.md +12 -0
- package/.playground/content/test3.md +187 -0
- package/.playground/nuxt.config.ts +52 -0
- package/.playground/public/banner-preview.png +0 -0
- package/.playground/public/favicon.ico +0 -0
- package/.playground/public/front-matter-showcase/authors.png +0 -0
- package/.playground/public/front-matter-showcase/badges.png +0 -0
- package/.playground/public/front-matter-showcase/nav-badges.png +0 -0
- package/.playground/public/hero.png +0 -0
- package/.playground/public/logo-dark.svg +12 -0
- package/.playground/public/logo.svg +12 -0
- package/.playground/public/og-nuxt-seo.png +0 -0
- package/.playground/public/og-nuxt.png +0 -0
- package/.playground/public/og-shadcn-docs-dark.png +0 -0
- package/.playground/public/og-shadcn-docs.png +0 -0
- package/.playground/public/sidebar-default.png +0 -0
- package/.playground/public/sidebar-group.png +0 -0
- package/.playground/public/sidebar-tree.png +0 -0
- package/.playground/uno.config.ts +16 -0
- package/README.md +93 -0
- package/app.vue +59 -0
- package/assets/css/a11y.css +48 -0
- package/assets/css/mdc-editor.css +91 -0
- package/components/A11yModeToggle.vue +23 -0
- package/components/DarkModeToggle.vue +26 -0
- package/components/LinkIcon.vue +32 -0
- package/components/OgImage/ShadcnDocs.vue +55 -0
- package/components/ThemeCustomizer.vue +156 -0
- package/components/ThemePopover.vue +27 -0
- package/components/content/Accordion.vue +18 -0
- package/components/content/AccordionItem.vue +32 -0
- package/components/content/Alert.vue +100 -0
- package/components/content/Badge.vue +52 -0
- package/components/content/ButtonLink.vue +38 -0
- package/components/content/Callout.vue +17 -0
- package/components/content/Card.vue +173 -0
- package/components/content/CardGroup.vue +38 -0
- package/components/content/CodeCopy.vue +52 -0
- package/components/content/CodeGroup._vue +27 -0
- package/components/content/CodeSnippet._vue +78 -0
- package/components/content/Collapsible.vue +80 -0
- package/components/content/Field.vue +53 -0
- package/components/content/FieldGroup.vue +5 -0
- package/components/content/FileTree.vue +110 -0
- package/components/content/FileTreeItem.vue +64 -0
- package/components/content/FileTreeRoot.vue +27 -0
- package/components/content/Hero.vue +154 -0
- package/components/content/HeroAlt.vue +116 -0
- package/components/content/Icon.vue +69 -0
- package/components/content/Kbd.vue +20 -0
- package/components/content/PmInstall.vue +35 -0
- package/components/content/PmRun.vue +31 -0
- package/components/content/PmX.vue +31 -0
- package/components/content/ProseA.vue +21 -0
- package/components/content/ProseBlockquote.vue +5 -0
- package/components/content/ProseCode.vue +121 -0
- package/components/content/ProseCodeInline.vue +24 -0
- package/components/content/ProseEm.vue +5 -0
- package/components/content/ProseH1.vue +27 -0
- package/components/content/ProseH2.vue +22 -0
- package/components/content/ProseH3.vue +21 -0
- package/components/content/ProseH4.vue +21 -0
- package/components/content/ProseH5.vue +21 -0
- package/components/content/ProseH6.vue +21 -0
- package/components/content/ProseHr.vue +3 -0
- package/components/content/ProseImg.vue +42 -0
- package/components/content/ProseLi.vue +5 -0
- package/components/content/ProseOl.vue +5 -0
- package/components/content/ProseP.vue +5 -0
- package/components/content/ProsePre.vue +56 -0
- package/components/content/ProseSection.vue +27 -0
- package/components/content/ProseStrong.vue +5 -0
- package/components/content/ProseTable.vue +7 -0
- package/components/content/ProseTbody.vue +5 -0
- package/components/content/ProseTd.vue +5 -0
- package/components/content/ProseTh.vue +5 -0
- package/components/content/ProseThead.vue +5 -0
- package/components/content/ProseTr.vue +5 -0
- package/components/content/ProseUl.vue +5 -0
- package/components/content/ReadMore.vue +41 -0
- package/components/content/Shortcut.vue +20 -0
- package/components/content/Stack.vue +17 -0
- package/components/content/Steps.vue +23 -0
- package/components/content/Tabs.vue +52 -0
- package/components/content/TabsInner.vue +263 -0
- package/components/content/TeamCard.vue +52 -0
- package/components/content/TeamCardGroup.vue +5 -0
- package/components/content/global/AlertEditor.vue +58 -0
- package/components/content/global/BadgeEditor.vue +56 -0
- package/components/content/global/BrEditor.vue +3 -0
- package/components/content/global/CardEditor.vue +142 -0
- package/components/content/global/CardGroupEditor.vue +50 -0
- package/components/content/global/CodeGroup.vue +13 -0
- package/components/content/global/CodeGroupEditor.vue +50 -0
- package/components/content/global/DivEditor.vue +22 -0
- package/components/content/global/FieldEditor.vue +38 -0
- package/components/content/global/FieldGroupEditor.vue +24 -0
- package/components/content/global/HeroEditor.vue +67 -0
- package/components/content/global/ProseSectionEditor.vue +180 -0
- package/components/content/global/ReadMoreEditor.vue +70 -0
- package/components/content/global/SectionEditor.vue +22 -0
- package/components/content/global/StackEditor.vue +35 -0
- package/components/content/global/StepsEditor.vue +55 -0
- package/components/content/global/Tabs._vue +97 -0
- package/components/content/global/TabsEditor.vue +38 -0
- package/components/layout/Aside.vue +83 -0
- package/components/layout/AsideTree.vue +25 -0
- package/components/layout/AsideTreeItem.vue +86 -0
- package/components/layout/AsideTreeItemButton.vue +32 -0
- package/components/layout/Banner.vue +77 -0
- package/components/layout/Breadcrumb.vue +34 -0
- package/components/layout/DocsFooter.vue +6 -0
- package/components/layout/EditLink.vue +23 -0
- package/components/layout/Footer.vue +80 -0
- package/components/layout/FooterItem.vue +50 -0
- package/components/layout/FooterSubmenuItem.vue +39 -0
- package/components/layout/Header/Logo.vue +30 -0
- package/components/layout/Header/MenuItem.vue +83 -0
- package/components/layout/Header/Nav.vue +112 -0
- package/components/layout/Header/NavMobile.vue +14 -0
- package/components/layout/Header/NavMobileItem.vue +79 -0
- package/components/layout/Header/SubmenuItem.vue +39 -0
- package/components/layout/Header.vue +160 -0
- package/components/layout/LangSwitcher.vue +90 -0
- package/components/layout/MobileNav.vue +44 -0
- package/components/layout/PrevNext.vue +24 -0
- package/components/layout/PrevNextButton.vue +50 -0
- package/components/layout/SearchButton.vue +46 -0
- package/components/layout/SearchDialog.vue +217 -0
- package/components/layout/Title.vue +98 -0
- package/components/layout/Toc.vue +99 -0
- package/components/layout/TocTree.vue +42 -0
- package/components/ui/accordion/Accordion.vue +19 -0
- package/components/ui/accordion/AccordionContent.vue +24 -0
- package/components/ui/accordion/AccordionItem.vue +24 -0
- package/components/ui/accordion/AccordionTrigger.vue +39 -0
- package/components/ui/accordion/index.ts +4 -0
- package/components/ui/alert/Alert.vue +19 -0
- package/components/ui/alert/AlertDescription.vue +14 -0
- package/components/ui/alert/AlertTitle.vue +14 -0
- package/components/ui/alert/index.ts +23 -0
- package/components/ui/avatar/Avatar.vue +25 -0
- package/components/ui/avatar/AvatarFallback.vue +11 -0
- package/components/ui/avatar/AvatarImage.vue +12 -0
- package/components/ui/avatar/index.ts +24 -0
- package/components/ui/badge/Badge.vue +17 -0
- package/components/ui/badge/index.ts +71 -0
- package/components/ui/breadcrumb/Breadcrumb.vue +16 -0
- package/components/ui/breadcrumb/BreadcrumbItem.vue +16 -0
- package/components/ui/breadcrumb/BreadcrumbLink.vue +23 -0
- package/components/ui/breadcrumb/BreadcrumbList.vue +16 -0
- package/components/ui/breadcrumb/BreadcrumbPage.vue +19 -0
- package/components/ui/breadcrumb/BreadcrumbSeparator.vue +23 -0
- package/components/ui/breadcrumb/index.ts +6 -0
- package/components/ui/button/Button.vue +29 -0
- package/components/ui/button/index.ts +35 -0
- package/components/ui/card/Card.vue +21 -0
- package/components/ui/card/CardContent.vue +14 -0
- package/components/ui/card/CardDescription.vue +14 -0
- package/components/ui/card/CardFooter.vue +14 -0
- package/components/ui/card/CardHeader.vue +14 -0
- package/components/ui/card/CardTitle.vue +18 -0
- package/components/ui/card/index.ts +6 -0
- package/components/ui/collapsible/Collapsible.vue +18 -0
- package/components/ui/collapsible/CollapsibleContent.vue +14 -0
- package/components/ui/collapsible/CollapsibleTrigger.vue +11 -0
- package/components/ui/collapsible/index.ts +3 -0
- package/components/ui/command/Command.vue +89 -0
- package/components/ui/command/CommandEmpty.vue +30 -0
- package/components/ui/command/CommandGroup.vue +50 -0
- package/components/ui/command/CommandInput.vue +44 -0
- package/components/ui/command/CommandInputOnly.vue +50 -0
- package/components/ui/command/CommandItem.vue +79 -0
- package/components/ui/command/CommandList.vue +28 -0
- package/components/ui/command/CommandSeparator.vue +24 -0
- package/components/ui/command/index.ts +24 -0
- package/components/ui/dialog/Dialog.vue +14 -0
- package/components/ui/dialog/DialogClose.vue +11 -0
- package/components/ui/dialog/DialogContent.vue +52 -0
- package/components/ui/dialog/DialogDescription.vue +24 -0
- package/components/ui/dialog/DialogFooter.vue +19 -0
- package/components/ui/dialog/DialogHeader.vue +16 -0
- package/components/ui/dialog/DialogScrollContent.vue +61 -0
- package/components/ui/dialog/DialogTitle.vue +29 -0
- package/components/ui/dialog/DialogTrigger.vue +11 -0
- package/components/ui/dialog/index.ts +9 -0
- package/components/ui/input/Input.vue +27 -0
- package/components/ui/input/index.ts +1 -0
- package/components/ui/label/Label.vue +27 -0
- package/components/ui/label/index.ts +1 -0
- package/components/ui/navigation-menu/NavigationMenu.vue +33 -0
- package/components/ui/navigation-menu/NavigationMenuContent.vue +34 -0
- package/components/ui/navigation-menu/NavigationMenuIndicator.vue +24 -0
- package/components/ui/navigation-menu/NavigationMenuItem.vue +11 -0
- package/components/ui/navigation-menu/NavigationMenuLink.vue +19 -0
- package/components/ui/navigation-menu/NavigationMenuList.vue +33 -0
- package/components/ui/navigation-menu/NavigationMenuTrigger.vue +34 -0
- package/components/ui/navigation-menu/NavigationMenuViewport.vue +33 -0
- package/components/ui/navigation-menu/index.ts +14 -0
- package/components/ui/popover/Popover.vue +15 -0
- package/components/ui/popover/PopoverContent.vue +49 -0
- package/components/ui/popover/PopoverTrigger.vue +11 -0
- package/components/ui/popover/index.ts +4 -0
- package/components/ui/scroll-area/ScrollArea.vue +32 -0
- package/components/ui/scroll-area/ScrollBar.vue +41 -0
- package/components/ui/scroll-area/index.ts +2 -0
- package/components/ui/separator/Separator.vue +20 -0
- package/components/ui/separator/index.ts +1 -0
- package/components/ui/sheet/Sheet.vue +14 -0
- package/components/ui/sheet/SheetClose.vue +11 -0
- package/components/ui/sheet/SheetContent.vue +58 -0
- package/components/ui/sheet/SheetDescription.vue +22 -0
- package/components/ui/sheet/SheetFooter.vue +19 -0
- package/components/ui/sheet/SheetHeader.vue +16 -0
- package/components/ui/sheet/SheetTitle.vue +22 -0
- package/components/ui/sheet/SheetTrigger.vue +11 -0
- package/components/ui/sheet/index.ts +31 -0
- package/components/ui/slider/Slider.vue +36 -0
- package/components/ui/slider/index.ts +1 -0
- package/components/ui/tabs/Tabs.vue +15 -0
- package/components/ui/tabs/TabsContent.vue +22 -0
- package/components/ui/tabs/TabsList.vue +25 -0
- package/components/ui/tabs/TabsTrigger.vue +27 -0
- package/components/ui/tabs/index.ts +4 -0
- package/components/ui/textarea/Textarea.vue +27 -0
- package/components/ui/textarea/index.ts +1 -0
- package/components/ui/toast/Toast.vue +28 -0
- package/components/ui/toast/ToastAction.vue +22 -0
- package/components/ui/toast/ToastClose.vue +27 -0
- package/components/ui/toast/ToastDescription.vue +22 -0
- package/components/ui/toast/ToastProvider.vue +11 -0
- package/components/ui/toast/ToastTitle.vue +22 -0
- package/components/ui/toast/ToastViewport.vue +20 -0
- package/components/ui/toast/Toaster.vue +34 -0
- package/components/ui/toast/index.ts +38 -0
- package/components/ui/toast/use-toast.ts +165 -0
- package/components.json +18 -0
- package/composables/useBreadcrumb.ts +47 -0
- package/composables/useCollapsedMap.ts +3 -0
- package/composables/useConfig.ts +227 -0
- package/composables/useEditLink.ts +27 -0
- package/composables/useI18nDocs.ts +114 -0
- package/composables/useMdcMenu.ts +204 -0
- package/composables/usePm.ts +58 -0
- package/composables/useScrollspy.ts +51 -0
- package/composables/useThemes.ts +46 -0
- package/composables/useToast.ts +1 -0
- package/content/index.md +45 -0
- package/eslint.config.js +3 -0
- package/i18n/i18n.config.ts +414 -0
- package/index.d.ts +610 -0
- package/layouts/blank.vue +5 -0
- package/layouts/default.vue +9 -0
- package/layouts/editorial.vue +83 -0
- package/lib/registry/themes.ts +636 -0
- package/lib/uno-preset.ts +143 -0
- package/memory-bank/activeContext.md +17 -0
- package/memory-bank/productContext.md +21 -0
- package/memory-bank/progress.md +16 -0
- package/memory-bank/projectbrief.md +20 -0
- package/memory-bank/systemPatterns.md +25 -0
- package/memory-bank/techContext.md +29 -0
- package/modules/inject-css.ts +40 -0
- package/nuxt.config.ts +124 -0
- package/package.json +71 -0
- package/pages/[...slug].vue +109 -0
- package/pages/admin/[...slug].vue +145 -0
- package/pages/index.vue +24 -0
- package/plugins/injectCssHmr.ts +26 -0
- package/plugins/wordup.ts +130 -0
- package/public/content-doc.json +792 -0
- package/public/iconesjs.svg +4 -0
- package/scripts/buildContentDoc-cli.ts +8 -0
- package/scripts/buildContentDoc.ts +165 -0
- package/tailwind.config.js +1 -0
- package/tsconfig.json +3 -0
- package/uno.config.mjs +58 -0
- package/utils/index.ts +12 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
/** Configuration interface for shadcn-docs theme */
|
|
2
|
+
interface DefaultConfig {
|
|
3
|
+
/**
|
|
4
|
+
* Global site configuration settings
|
|
5
|
+
*/
|
|
6
|
+
site: {
|
|
7
|
+
/**
|
|
8
|
+
* Site name used in metadata and title
|
|
9
|
+
*
|
|
10
|
+
* @default 'shadcn-docs'
|
|
11
|
+
*/
|
|
12
|
+
name: string
|
|
13
|
+
/**
|
|
14
|
+
* Site description for SEO purposes
|
|
15
|
+
*
|
|
16
|
+
* @default 'Beautifully designed Nuxt Content template built with shadcn-vue'
|
|
17
|
+
*/
|
|
18
|
+
description: string
|
|
19
|
+
/**
|
|
20
|
+
* Default OpenGraph image path
|
|
21
|
+
*
|
|
22
|
+
* @default '/hero.png'
|
|
23
|
+
*/
|
|
24
|
+
ogImage: string
|
|
25
|
+
/**
|
|
26
|
+
* Component name to use for OpenGraph image generation
|
|
27
|
+
*
|
|
28
|
+
* @default 'ShadcnDocs'
|
|
29
|
+
*/
|
|
30
|
+
ogImageComponent: string
|
|
31
|
+
/**
|
|
32
|
+
* Color scheme for OpenGraph image
|
|
33
|
+
*
|
|
34
|
+
* @values 'dark', 'light'
|
|
35
|
+
* @default 'light'
|
|
36
|
+
*/
|
|
37
|
+
ogImageColor: 'dark' | 'light'
|
|
38
|
+
/**
|
|
39
|
+
* Umami analytics configuration
|
|
40
|
+
*/
|
|
41
|
+
umami: {
|
|
42
|
+
/**
|
|
43
|
+
* Enable or disable Umami analytics
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
enable: boolean
|
|
48
|
+
/**
|
|
49
|
+
* Umami script source URL
|
|
50
|
+
*
|
|
51
|
+
* @default 'https://cloud.umami.is/script.js'
|
|
52
|
+
*/
|
|
53
|
+
src: string
|
|
54
|
+
/**
|
|
55
|
+
* Umami website ID for analytics
|
|
56
|
+
*
|
|
57
|
+
* @default ''
|
|
58
|
+
*/
|
|
59
|
+
dataWebsiteId: string
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Theme customization settings
|
|
64
|
+
*/
|
|
65
|
+
theme: {
|
|
66
|
+
/**
|
|
67
|
+
* Allow users to customize theme settings
|
|
68
|
+
*
|
|
69
|
+
* @default true
|
|
70
|
+
*/
|
|
71
|
+
customizable: boolean
|
|
72
|
+
/**
|
|
73
|
+
* Primary color scheme for the theme
|
|
74
|
+
*
|
|
75
|
+
* @values 'zinc', 'slate', 'stone', 'gray', 'neutral', 'red', 'rose', 'orange', 'green', 'blue', 'yellow', 'violet'
|
|
76
|
+
* @default 'zinc'
|
|
77
|
+
*/
|
|
78
|
+
color: Color
|
|
79
|
+
/**
|
|
80
|
+
* Border radius scale (multiplied by 0.5rem)
|
|
81
|
+
*
|
|
82
|
+
* @default 0.5
|
|
83
|
+
*/
|
|
84
|
+
radius: number
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Top banner configuration
|
|
88
|
+
*/
|
|
89
|
+
banner: {
|
|
90
|
+
/**
|
|
91
|
+
* Show or hide the banner
|
|
92
|
+
*
|
|
93
|
+
* @default false
|
|
94
|
+
*/
|
|
95
|
+
enable: boolean
|
|
96
|
+
/**
|
|
97
|
+
* Allow users to close the banner
|
|
98
|
+
*
|
|
99
|
+
* @default true
|
|
100
|
+
*/
|
|
101
|
+
showClose: boolean
|
|
102
|
+
/**
|
|
103
|
+
* Banner content (supports markdown)
|
|
104
|
+
*
|
|
105
|
+
* @default 'Welcome to **shadcn-docs-nuxt**'
|
|
106
|
+
*/
|
|
107
|
+
content: string
|
|
108
|
+
/**
|
|
109
|
+
* Banner link destination
|
|
110
|
+
*
|
|
111
|
+
* @default ''
|
|
112
|
+
*/
|
|
113
|
+
to: string
|
|
114
|
+
/**
|
|
115
|
+
* Link target attribute
|
|
116
|
+
*
|
|
117
|
+
* @values '_blank', '_self', '_parent', '_top'
|
|
118
|
+
* @default '_blank'
|
|
119
|
+
*/
|
|
120
|
+
target: Target
|
|
121
|
+
/**
|
|
122
|
+
* Show border around banner
|
|
123
|
+
*
|
|
124
|
+
* @default true
|
|
125
|
+
*/
|
|
126
|
+
border: boolean
|
|
127
|
+
/**
|
|
128
|
+
* Height of banner
|
|
129
|
+
*
|
|
130
|
+
* @default 3rem // h-12
|
|
131
|
+
*/
|
|
132
|
+
height: string
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Header configuration
|
|
136
|
+
*/
|
|
137
|
+
header: {
|
|
138
|
+
/**
|
|
139
|
+
* Show loading bar during navigation
|
|
140
|
+
*
|
|
141
|
+
* @default true
|
|
142
|
+
*/
|
|
143
|
+
showLoadingIndicator: boolean
|
|
144
|
+
/**
|
|
145
|
+
* Header title text
|
|
146
|
+
*
|
|
147
|
+
* @default 'shadcn-docs'
|
|
148
|
+
*/
|
|
149
|
+
title: string
|
|
150
|
+
/**
|
|
151
|
+
* Show or hide title in header
|
|
152
|
+
*
|
|
153
|
+
* @default true
|
|
154
|
+
*/
|
|
155
|
+
showTitle: boolean
|
|
156
|
+
/**
|
|
157
|
+
* Show border below header
|
|
158
|
+
*
|
|
159
|
+
* @default false
|
|
160
|
+
*/
|
|
161
|
+
border: boolean
|
|
162
|
+
/**
|
|
163
|
+
* Logo configuration for light/dark modes
|
|
164
|
+
*/
|
|
165
|
+
logo: {
|
|
166
|
+
/**
|
|
167
|
+
* Light theme logo path
|
|
168
|
+
*
|
|
169
|
+
* @default '/logo.svg'
|
|
170
|
+
*/
|
|
171
|
+
light: string
|
|
172
|
+
/**
|
|
173
|
+
* Dark theme logo path
|
|
174
|
+
*
|
|
175
|
+
* @default '/logo-dark.svg'
|
|
176
|
+
*/
|
|
177
|
+
dark: string
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Show title on mobile devices
|
|
181
|
+
*
|
|
182
|
+
* @default false
|
|
183
|
+
*/
|
|
184
|
+
showTitleInMobile: boolean
|
|
185
|
+
/**
|
|
186
|
+
* Show dark mode toggle button
|
|
187
|
+
*
|
|
188
|
+
* @default true
|
|
189
|
+
*/
|
|
190
|
+
darkModeToggle: boolean
|
|
191
|
+
/**
|
|
192
|
+
* Additional CSS classes for header
|
|
193
|
+
*
|
|
194
|
+
* @default ''
|
|
195
|
+
*/
|
|
196
|
+
class: string
|
|
197
|
+
/**
|
|
198
|
+
* Position of header
|
|
199
|
+
*
|
|
200
|
+
* @default null
|
|
201
|
+
* @value 'over' The header is positioned over the content
|
|
202
|
+
*/
|
|
203
|
+
position: 'over' | 'floating' | null
|
|
204
|
+
/**
|
|
205
|
+
* Height of header
|
|
206
|
+
*
|
|
207
|
+
* @default '3.5rem' // h-14
|
|
208
|
+
*/
|
|
209
|
+
height: string
|
|
210
|
+
/**
|
|
211
|
+
* Behavior of header
|
|
212
|
+
*
|
|
213
|
+
* @default 'fixed'
|
|
214
|
+
*/
|
|
215
|
+
behavior: 'fixed' | 'hide-on-scroll'
|
|
216
|
+
/**
|
|
217
|
+
* Language switcher configuration
|
|
218
|
+
*/
|
|
219
|
+
languageSwitcher: {
|
|
220
|
+
/**
|
|
221
|
+
* Enable language switcher
|
|
222
|
+
*
|
|
223
|
+
* @default false
|
|
224
|
+
*/
|
|
225
|
+
enable: boolean
|
|
226
|
+
triggerType: 'icon' | 'text'
|
|
227
|
+
dropdownType: 'select' | 'popover'
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Navigation menu items
|
|
231
|
+
*
|
|
232
|
+
* @default []
|
|
233
|
+
*/
|
|
234
|
+
nav: ({
|
|
235
|
+
title: string
|
|
236
|
+
to: string
|
|
237
|
+
target: string
|
|
238
|
+
showLinkIcon: boolean
|
|
239
|
+
/**
|
|
240
|
+
* Dropdown menu items
|
|
241
|
+
*/
|
|
242
|
+
links: ({
|
|
243
|
+
title: string
|
|
244
|
+
to: string
|
|
245
|
+
target: string
|
|
246
|
+
description: string
|
|
247
|
+
icon?: string
|
|
248
|
+
})[]
|
|
249
|
+
})[]
|
|
250
|
+
/**
|
|
251
|
+
* Additional header links
|
|
252
|
+
*
|
|
253
|
+
* @default []
|
|
254
|
+
*/
|
|
255
|
+
links: ({
|
|
256
|
+
icon: string
|
|
257
|
+
to: string
|
|
258
|
+
target: string
|
|
259
|
+
})[]
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Sidebar (aside) configuration
|
|
263
|
+
*/
|
|
264
|
+
aside: {
|
|
265
|
+
/**
|
|
266
|
+
* Use heading levels for nesting
|
|
267
|
+
*
|
|
268
|
+
* @default true
|
|
269
|
+
*/
|
|
270
|
+
useLevel: boolean
|
|
271
|
+
/**
|
|
272
|
+
* Allow collapsing sidebar sections
|
|
273
|
+
*
|
|
274
|
+
* @default false
|
|
275
|
+
*/
|
|
276
|
+
collapse: boolean
|
|
277
|
+
/**
|
|
278
|
+
* Default collapse level for nested items
|
|
279
|
+
*
|
|
280
|
+
* @default 1
|
|
281
|
+
*/
|
|
282
|
+
collapseLevel: number
|
|
283
|
+
/**
|
|
284
|
+
* Sidebar folder display style
|
|
285
|
+
*
|
|
286
|
+
* @values 'default', 'tree', 'group'
|
|
287
|
+
* @default 'default'
|
|
288
|
+
*/
|
|
289
|
+
folderStyle: 'default' | 'tree' | 'group'
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Right sidebar configuration
|
|
293
|
+
*/
|
|
294
|
+
sidebarRight: {
|
|
295
|
+
/**
|
|
296
|
+
* Enable right sidebar
|
|
297
|
+
*
|
|
298
|
+
* @default true
|
|
299
|
+
*/
|
|
300
|
+
enable: boolean
|
|
301
|
+
/**
|
|
302
|
+
* Sidebar title
|
|
303
|
+
*
|
|
304
|
+
* @default 'On This Page'
|
|
305
|
+
*/
|
|
306
|
+
title: string
|
|
307
|
+
/**
|
|
308
|
+
* Components to render in sidebar
|
|
309
|
+
*
|
|
310
|
+
* @default []
|
|
311
|
+
*/
|
|
312
|
+
components: string[]
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Main content area configuration
|
|
316
|
+
*/
|
|
317
|
+
main: {
|
|
318
|
+
/**
|
|
319
|
+
* Breadcrumb navigation configuration
|
|
320
|
+
*/
|
|
321
|
+
breadCrumb: {
|
|
322
|
+
/**
|
|
323
|
+
* Show icons in breadcrumb
|
|
324
|
+
*
|
|
325
|
+
* @default true
|
|
326
|
+
*/
|
|
327
|
+
showIcon: boolean
|
|
328
|
+
/**
|
|
329
|
+
* Size of regular icons in pixels
|
|
330
|
+
*
|
|
331
|
+
* @default 16
|
|
332
|
+
*/
|
|
333
|
+
iconSize: number
|
|
334
|
+
/**
|
|
335
|
+
* Home breadcrumb item
|
|
336
|
+
*
|
|
337
|
+
* @default { title: '', href: '/', icon: 'i-lucide-house', iconSize: 18}
|
|
338
|
+
*/
|
|
339
|
+
home: BreadcrumbItem | boolean
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Show page title
|
|
343
|
+
*
|
|
344
|
+
* @default true
|
|
345
|
+
*/
|
|
346
|
+
showTitle: boolean
|
|
347
|
+
/**
|
|
348
|
+
* Show toast when code is copied
|
|
349
|
+
*
|
|
350
|
+
* @default true
|
|
351
|
+
*/
|
|
352
|
+
codeCopyToast: boolean
|
|
353
|
+
/**
|
|
354
|
+
* Toast message text for code copy
|
|
355
|
+
*
|
|
356
|
+
* @default 'Copied to clipboard!'
|
|
357
|
+
*/
|
|
358
|
+
codeCopyToastText: string
|
|
359
|
+
/**
|
|
360
|
+
* Text for required fields
|
|
361
|
+
*
|
|
362
|
+
* @default 'required'
|
|
363
|
+
*/
|
|
364
|
+
fieldRequiredText: string
|
|
365
|
+
/**
|
|
366
|
+
* Add padding to main content
|
|
367
|
+
*
|
|
368
|
+
* @default true
|
|
369
|
+
*/
|
|
370
|
+
padded: boolean
|
|
371
|
+
/**
|
|
372
|
+
* Edit link configuration
|
|
373
|
+
*/
|
|
374
|
+
editLink: {
|
|
375
|
+
/**
|
|
376
|
+
* Enable edit link
|
|
377
|
+
*
|
|
378
|
+
* @default false
|
|
379
|
+
*/
|
|
380
|
+
enable: boolean
|
|
381
|
+
/**
|
|
382
|
+
* URL pattern for edit link
|
|
383
|
+
*
|
|
384
|
+
* @default ''
|
|
385
|
+
*/
|
|
386
|
+
pattern: string
|
|
387
|
+
/**
|
|
388
|
+
* Edit link text
|
|
389
|
+
*
|
|
390
|
+
* @default 'Edit this page'
|
|
391
|
+
*/
|
|
392
|
+
text: string
|
|
393
|
+
/**
|
|
394
|
+
* Edit link icon
|
|
395
|
+
*
|
|
396
|
+
* @default 'lucide:square-pen'
|
|
397
|
+
*/
|
|
398
|
+
icon: string
|
|
399
|
+
/**
|
|
400
|
+
* Where to show edit link
|
|
401
|
+
*
|
|
402
|
+
* @values 'docsFooter', 'toc'
|
|
403
|
+
* @default ['docsFooter']
|
|
404
|
+
*/
|
|
405
|
+
placement: ('docsFooter' | 'toc')[]
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Package managers to show in code blocks
|
|
409
|
+
*
|
|
410
|
+
* @values 'npm', 'pnpm', 'bun', 'yarn'
|
|
411
|
+
* @default ['npm', 'pnpm', 'bun', 'yarn']
|
|
412
|
+
*/
|
|
413
|
+
pm: ('npm' | 'pnpm' | 'bun' | 'yarn')[]
|
|
414
|
+
/**
|
|
415
|
+
* Icon mapping for file types in code blocks
|
|
416
|
+
*/
|
|
417
|
+
codeIcon: {
|
|
418
|
+
[key: string]: string
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Footer configuration
|
|
423
|
+
*/
|
|
424
|
+
footer: {
|
|
425
|
+
/**
|
|
426
|
+
* Footer credits text
|
|
427
|
+
*
|
|
428
|
+
* @default ''
|
|
429
|
+
*/
|
|
430
|
+
credits: string
|
|
431
|
+
/**
|
|
432
|
+
* Footer links
|
|
433
|
+
*
|
|
434
|
+
* @default []
|
|
435
|
+
*/
|
|
436
|
+
links: ({
|
|
437
|
+
icon: string
|
|
438
|
+
title: string
|
|
439
|
+
to: string
|
|
440
|
+
target: string
|
|
441
|
+
})[]
|
|
442
|
+
/**
|
|
443
|
+
* Additional CSS classes for footer
|
|
444
|
+
*
|
|
445
|
+
* @default ''
|
|
446
|
+
*/
|
|
447
|
+
class: string
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Table of contents configuration
|
|
451
|
+
*/
|
|
452
|
+
toc: {
|
|
453
|
+
/**
|
|
454
|
+
* Enable table of contents
|
|
455
|
+
*
|
|
456
|
+
* @default true
|
|
457
|
+
*/
|
|
458
|
+
enable: boolean
|
|
459
|
+
/**
|
|
460
|
+
* Show table of contents on mobile
|
|
461
|
+
*
|
|
462
|
+
* @default false
|
|
463
|
+
*/
|
|
464
|
+
enableInMobile: boolean
|
|
465
|
+
/**
|
|
466
|
+
* Table of contents title
|
|
467
|
+
*
|
|
468
|
+
* @default 'On This Page'
|
|
469
|
+
*/
|
|
470
|
+
title: string
|
|
471
|
+
/**
|
|
472
|
+
* Additional links in table of contents
|
|
473
|
+
*
|
|
474
|
+
* @default []
|
|
475
|
+
*/
|
|
476
|
+
links: ({
|
|
477
|
+
title: string
|
|
478
|
+
icon: string
|
|
479
|
+
to: string
|
|
480
|
+
target: string
|
|
481
|
+
showLinkIcon: boolean
|
|
482
|
+
})[]
|
|
483
|
+
/**
|
|
484
|
+
* Carbon Ads configuration
|
|
485
|
+
*/
|
|
486
|
+
carbonAds: {
|
|
487
|
+
/**
|
|
488
|
+
* Enable Carbon Ads
|
|
489
|
+
*
|
|
490
|
+
* @default false
|
|
491
|
+
*/
|
|
492
|
+
enable: boolean
|
|
493
|
+
/**
|
|
494
|
+
* Disable ads in development
|
|
495
|
+
*
|
|
496
|
+
* @default false
|
|
497
|
+
*/
|
|
498
|
+
disableInDev: boolean
|
|
499
|
+
/**
|
|
500
|
+
* Carbon Ads code
|
|
501
|
+
*
|
|
502
|
+
* @default ''
|
|
503
|
+
*/
|
|
504
|
+
code: string
|
|
505
|
+
/**
|
|
506
|
+
* Carbon Ads placement
|
|
507
|
+
*
|
|
508
|
+
* @default ''
|
|
509
|
+
*/
|
|
510
|
+
placement: string
|
|
511
|
+
/**
|
|
512
|
+
* Carbon Ads format
|
|
513
|
+
*
|
|
514
|
+
* @values 'cover', 'responsive'
|
|
515
|
+
* @default 'cover'
|
|
516
|
+
*/
|
|
517
|
+
format: 'cover' | 'responsive'
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Search configuration
|
|
522
|
+
*/
|
|
523
|
+
search: {
|
|
524
|
+
/**
|
|
525
|
+
* Enable search functionality
|
|
526
|
+
*
|
|
527
|
+
* @default true
|
|
528
|
+
*/
|
|
529
|
+
enable: boolean
|
|
530
|
+
/**
|
|
531
|
+
* Show search in sidebar
|
|
532
|
+
*
|
|
533
|
+
* @default false
|
|
534
|
+
*/
|
|
535
|
+
inAside: boolean
|
|
536
|
+
/**
|
|
537
|
+
* Search input style
|
|
538
|
+
*
|
|
539
|
+
* @values 'input', 'button'
|
|
540
|
+
* @default 'input'
|
|
541
|
+
*/
|
|
542
|
+
style: 'input' | 'button'
|
|
543
|
+
/**
|
|
544
|
+
* Search placeholder text
|
|
545
|
+
*
|
|
546
|
+
* @default 'Search...'
|
|
547
|
+
*/
|
|
548
|
+
placeholder: string
|
|
549
|
+
/**
|
|
550
|
+
* Detailed search placeholder text
|
|
551
|
+
*
|
|
552
|
+
* @default 'Search documentation...'
|
|
553
|
+
*/
|
|
554
|
+
placeholderDetailed: string
|
|
555
|
+
/**
|
|
556
|
+
* Display shortcut key
|
|
557
|
+
*
|
|
558
|
+
* @default true
|
|
559
|
+
*/
|
|
560
|
+
displayShortcut: boolean
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Available color themes
|
|
566
|
+
*
|
|
567
|
+
* @values 'zinc', 'slate', 'stone', 'gray', 'neutral', 'red', 'rose', 'orange', 'green', 'blue', 'yellow', 'violet'
|
|
568
|
+
*/
|
|
569
|
+
type Color =
|
|
570
|
+
| 'zinc'
|
|
571
|
+
| 'slate'
|
|
572
|
+
| 'stone'
|
|
573
|
+
| 'gray'
|
|
574
|
+
| 'neutral'
|
|
575
|
+
| 'red'
|
|
576
|
+
| 'rose'
|
|
577
|
+
| 'orange'
|
|
578
|
+
| 'green'
|
|
579
|
+
| 'blue'
|
|
580
|
+
| 'yellow'
|
|
581
|
+
| 'violet'
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* HTML anchor target attribute values
|
|
585
|
+
*
|
|
586
|
+
* @values '_blank', '_parent', '_self', '_top'
|
|
587
|
+
*/
|
|
588
|
+
type Target = '_blank' | '_parent' | '_self' | '_top' | (string & object) | null | undefined
|
|
589
|
+
|
|
590
|
+
interface BreadcrumbItem {
|
|
591
|
+
title: string
|
|
592
|
+
href: string
|
|
593
|
+
icon?: string
|
|
594
|
+
classes?: string
|
|
595
|
+
iconSize?: number
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* File tree item structure
|
|
600
|
+
*/
|
|
601
|
+
interface FileTreeItem {
|
|
602
|
+
/** Item title */
|
|
603
|
+
title: string
|
|
604
|
+
/** Optional icon for the item */
|
|
605
|
+
icon?: string
|
|
606
|
+
/** Nested children items */
|
|
607
|
+
children?: FileTreeItem[]
|
|
608
|
+
/** Whether the item is highlighted */
|
|
609
|
+
highlighted: boolean
|
|
610
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="[--padding-inline:1rem] md:[--padding-inline:2rem]">
|
|
3
|
+
<slot />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<style lang="css">
|
|
8
|
+
.content-grid {
|
|
9
|
+
--content-max-width: 80ch;
|
|
10
|
+
--wide-content-max-width: var(--breakpoint-container);
|
|
11
|
+
--wide-content-size: calc((var(--wide-content-max-width) - var(--content-max-width)) / 2 - var(--padding-inline));
|
|
12
|
+
|
|
13
|
+
display: grid;
|
|
14
|
+
grid-template-columns:
|
|
15
|
+
[full-width-start] minmax(var(--padding-inline), 1fr)
|
|
16
|
+
[wide-content-start] minmax(0, var(--wide-content-size))
|
|
17
|
+
[content-start] min(100% - (var(--padding-inline) * 2), var(--content-max-width))
|
|
18
|
+
[content-end] minmax(0, var(--wide-content-size))
|
|
19
|
+
[wide-content-end] minmax(var(--padding-inline), 1fr)
|
|
20
|
+
[full-width-end];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.content-grid > :not(.wide-content, .full-width),
|
|
24
|
+
.full-width:not(.wide-content) > :not(.wide-content, .full-width) {
|
|
25
|
+
grid-column: content;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.content-grid > .wide-content,
|
|
29
|
+
.content-grid > div:has(.wide-content),
|
|
30
|
+
/* .content-grid > section.wide-content > div { */
|
|
31
|
+
.content-grid > div[data-node-view-root="true"] > .wide-content > div {
|
|
32
|
+
grid-column: wide-content;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.content-grid > .full-width {
|
|
36
|
+
grid-column: full-width;
|
|
37
|
+
|
|
38
|
+
& > * {
|
|
39
|
+
max-width: min(100% - (var(--padding-inline) * 2), var(--content-max-width));
|
|
40
|
+
margin-left: auto;
|
|
41
|
+
margin-right: auto;
|
|
42
|
+
}
|
|
43
|
+
/* &>* {
|
|
44
|
+
display: grid;
|
|
45
|
+
grid-template-columns: inherit;
|
|
46
|
+
} */
|
|
47
|
+
}
|
|
48
|
+
.content-grid > .full-width.wide-content > * {
|
|
49
|
+
grid-column: wide-content;
|
|
50
|
+
max-width: min(100% - (var(--padding-inline) * 2), var(--wide-content-max-width) - (var(--padding-inline) * 2));
|
|
51
|
+
margin-left: auto;
|
|
52
|
+
margin-right: auto;
|
|
53
|
+
}
|
|
54
|
+
/* .content-grid>.full-width.content-grid {
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-template-columns: inherit;
|
|
57
|
+
} */
|
|
58
|
+
|
|
59
|
+
.content-grid>[data-node-view-root="true"]:has(.full-width) {
|
|
60
|
+
grid-column: full-width;
|
|
61
|
+
grid-template-columns: inherit;
|
|
62
|
+
|
|
63
|
+
&>* {
|
|
64
|
+
display: grid;
|
|
65
|
+
grid-template-columns: inherit;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.content-grid > .full-width.full-content > * {
|
|
70
|
+
max-width: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.EDITOR_CONTENT.content-grid {
|
|
74
|
+
padding-top: 1rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.header-over {
|
|
78
|
+
margin-top: calc((var(--header-height) + var(--banner-height)) * -1);
|
|
79
|
+
& .content-grid > :first-child {
|
|
80
|
+
padding-top: calc(var(--header-height) + var(--banner-height) + 6rem);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
</style>
|