fulldev-ui 0.6.5 → 0.7.0-beta.2
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/.prettierrc.yaml +10 -3
- package/README.md +2 -1
- package/astro.config.ts +20 -17
- package/components.json +18 -0
- package/package.json +61 -34
- package/pnpm-lock.yaml +3690 -1465
- package/public/images/categories/journals.jpg +0 -0
- package/public/images/categories/productivity.jpg +0 -0
- package/public/images/categories/workspace.jpg +0 -0
- package/public/images/leather-long-wallet.jpg +0 -0
- package/public/images/products/earthen-mug.jpg +0 -0
- package/public/images/products/leather-long-wallet.jpg +0 -0
- package/public/images/products/leatherbound-daily-journal-set.jpg +0 -0
- package/public/images/products/leatherbound-daily-journal.jpg +0 -0
- package/public/images/products/machines-pen.jpg +0 -0
- package/public/images/products/machines-pencil-and-pen-set.jpg +0 -0
- package/public/images/products/mini-sketchbooks.jpg +0 -0
- package/public/images/products/organizer-set.jpg +0 -0
- package/src/blocks/CategoryGroup1.astro +43 -0
- package/src/blocks/CategoryList1.astro +55 -0
- package/src/blocks/Contact1.astro +34 -77
- package/src/blocks/Contact2.astro +31 -77
- package/src/blocks/Content1.astro +18 -30
- package/src/blocks/Cta1.astro +18 -58
- package/src/blocks/Faqs1.astro +29 -0
- package/src/blocks/Faqs2.astro +29 -0
- package/src/blocks/Features1.astro +25 -61
- package/src/blocks/Footer.astro +47 -71
- package/src/blocks/Header.astro +68 -123
- package/src/blocks/Hero1.astro +23 -54
- package/src/blocks/Intro1.astro +16 -58
- package/src/blocks/PostSingle1.astro +29 -0
- package/src/blocks/ProductGroup1.astro +82 -0
- package/src/blocks/ProductList1.astro +60 -0
- package/src/blocks/ProductSingle1.astro +64 -0
- package/src/blocks/Reviews1.astro +23 -67
- package/src/components/Abstract.astro +36 -0
- package/src/components/Accordion.vue +31 -0
- package/src/components/Avatar.astro +23 -32
- package/src/components/Badge.astro +10 -58
- package/src/components/Block.astro +20 -20
- package/src/components/Box.astro +28 -0
- package/src/components/Button.astro +38 -78
- package/src/components/Buttons.astro +41 -19
- package/src/components/Card.astro +20 -0
- package/src/components/Carousel.vue +44 -0
- package/src/components/Chip.astro +27 -0
- package/src/{structures → components}/Code.astro +27 -8
- package/src/components/Container.astro +25 -0
- package/src/components/Drawer.vue +53 -0
- package/src/components/Form.vue +82 -0
- package/src/components/Gallery.vue +85 -0
- package/src/components/Grid.astro +35 -0
- package/src/components/Icon.astro +12 -45
- package/src/components/Image.astro +6 -28
- package/src/components/Layout.astro +126 -0
- package/src/components/Link.astro +7 -65
- package/src/components/List.astro +13 -77
- package/src/components/Logo.astro +16 -35
- package/src/components/Masonry.astro +35 -0
- package/src/components/Menu.astro +31 -36
- package/src/components/Menus.astro +15 -10
- package/src/components/Navigation.vue +93 -0
- package/src/components/Panel.astro +18 -0
- package/src/components/Person.astro +43 -0
- package/src/components/Price.astro +26 -11
- package/src/components/Proof.astro +16 -37
- package/src/components/{docs/Props.astro → Props.astro} +3 -3
- package/src/components/Prose.astro +28 -0
- package/src/components/Rating.astro +5 -24
- package/src/components/Search.vue +65 -0
- package/src/components/Section.astro +18 -0
- package/src/components/Select.vue +41 -0
- package/src/components/Separator.astro +0 -0
- package/src/components/Sidebar.astro +50 -0
- package/src/components/Social.astro +8 -15
- package/src/components/Socials.astro +21 -19
- package/src/components/Sort.vue +46 -0
- package/src/components/Split.astro +27 -0
- package/src/components/Table.astro +17 -17
- package/src/components/Themer.astro +12 -3
- package/src/components/Toc.astro +24 -21
- package/src/components/Writeup.astro +37 -0
- package/src/components/ui/accordion/Accordion.vue +19 -0
- package/src/components/ui/accordion/AccordionContent.vue +24 -0
- package/src/components/ui/accordion/AccordionItem.vue +24 -0
- package/src/components/ui/accordion/AccordionTrigger.vue +33 -0
- package/src/components/ui/accordion/index.ts +4 -0
- package/src/components/ui/auto-form/AutoForm.vue +115 -0
- package/src/components/ui/auto-form/AutoFormField.vue +45 -0
- package/src/components/ui/auto-form/AutoFormFieldArray.vue +127 -0
- package/src/components/ui/auto-form/AutoFormFieldBoolean.vue +47 -0
- package/src/components/ui/auto-form/AutoFormFieldDate.vue +78 -0
- package/src/components/ui/auto-form/AutoFormFieldEnum.vue +77 -0
- package/src/components/ui/auto-form/AutoFormFieldFile.vue +87 -0
- package/src/components/ui/auto-form/AutoFormFieldInput.vue +42 -0
- package/src/components/ui/auto-form/AutoFormFieldNumber.vue +42 -0
- package/src/components/ui/auto-form/AutoFormFieldObject.vue +90 -0
- package/src/components/ui/auto-form/AutoFormLabel.vue +19 -0
- package/src/components/ui/auto-form/constant.ts +40 -0
- package/src/components/ui/auto-form/dependencies.ts +92 -0
- package/src/components/ui/auto-form/index.ts +15 -0
- package/src/components/ui/auto-form/interface.ts +95 -0
- package/src/components/ui/auto-form/utils.ts +188 -0
- package/src/components/ui/avatar/Avatar.vue +24 -0
- package/src/components/ui/avatar/AvatarFallback.vue +11 -0
- package/src/components/ui/avatar/AvatarImage.vue +9 -0
- package/src/components/ui/avatar/index.ts +24 -0
- package/src/components/ui/badge/Badge.vue +16 -0
- package/src/components/ui/badge/index.ts +22 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +13 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +22 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +14 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +19 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +16 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +19 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +21 -0
- package/src/components/ui/breadcrumb/index.ts +7 -0
- package/src/components/ui/button/Button.vue +26 -0
- package/src/components/ui/button/index.ts +31 -0
- package/src/components/ui/calendar/Calendar.vue +80 -0
- package/src/components/ui/calendar/CalendarCell.vue +29 -0
- package/src/components/ui/calendar/CalendarCellTrigger.vue +40 -0
- package/src/components/ui/calendar/CalendarGrid.vue +24 -0
- package/src/components/ui/calendar/CalendarGridBody.vue +11 -0
- package/src/components/ui/calendar/CalendarGridHead.vue +11 -0
- package/src/components/ui/calendar/CalendarGridRow.vue +24 -0
- package/src/components/ui/calendar/CalendarHeadCell.vue +24 -0
- package/src/components/ui/calendar/CalendarHeader.vue +24 -0
- package/src/components/ui/calendar/CalendarHeading.vue +27 -0
- package/src/components/ui/calendar/CalendarNextButton.vue +30 -0
- package/src/components/ui/calendar/CalendarPrevButton.vue +30 -0
- package/src/components/ui/calendar/index.ts +12 -0
- package/src/components/ui/card/Card.vue +14 -0
- package/src/components/ui/card/CardContent.vue +14 -0
- package/src/components/ui/card/CardDescription.vue +14 -0
- package/src/components/ui/card/CardFooter.vue +14 -0
- package/src/components/ui/card/CardHeader.vue +14 -0
- package/src/components/ui/card/CardTitle.vue +14 -0
- package/src/components/ui/card/index.ts +6 -0
- package/src/components/ui/carousel/Carousel.vue +61 -0
- package/src/components/ui/carousel/CarouselContent.vue +27 -0
- package/src/components/ui/carousel/CarouselItem.vue +19 -0
- package/src/components/ui/carousel/CarouselNext.vue +33 -0
- package/src/components/ui/carousel/CarouselPrevious.vue +33 -0
- package/src/components/ui/carousel/index.ts +10 -0
- package/src/components/ui/carousel/interface.ts +26 -0
- package/src/components/ui/carousel/useCarousel.ts +56 -0
- package/src/components/ui/checkbox/Checkbox.vue +36 -0
- package/src/components/ui/checkbox/index.ts +1 -0
- package/src/components/ui/collapsible/Collapsible.vue +15 -0
- package/src/components/ui/collapsible/CollapsibleContent.vue +11 -0
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +11 -0
- package/src/components/ui/collapsible/index.ts +3 -0
- package/src/components/ui/command/Command.vue +32 -0
- package/src/components/ui/command/CommandDialog.vue +23 -0
- package/src/components/ui/command/CommandEmpty.vue +23 -0
- package/src/components/ui/command/CommandGroup.vue +39 -0
- package/src/components/ui/command/CommandInput.vue +43 -0
- package/src/components/ui/command/CommandItem.vue +31 -0
- package/src/components/ui/command/CommandList.vue +30 -0
- package/src/components/ui/command/CommandSeparator.vue +23 -0
- package/src/components/ui/command/CommandShortcut.vue +14 -0
- package/src/components/ui/command/index.ts +9 -0
- package/src/components/ui/dialog/Dialog.vue +14 -0
- package/src/components/ui/dialog/DialogClose.vue +11 -0
- package/src/components/ui/dialog/DialogContent.vue +51 -0
- package/src/components/ui/dialog/DialogDescription.vue +24 -0
- package/src/components/ui/dialog/DialogFooter.vue +12 -0
- package/src/components/ui/dialog/DialogHeader.vue +14 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/src/components/ui/dialog/DialogTitle.vue +24 -0
- package/src/components/ui/dialog/DialogTrigger.vue +11 -0
- package/src/components/ui/dialog/index.ts +9 -0
- package/src/components/ui/drawer/Drawer.vue +19 -0
- package/src/components/ui/drawer/DrawerContent.vue +31 -0
- package/src/components/ui/drawer/DrawerDescription.vue +23 -0
- package/src/components/ui/drawer/DrawerFooter.vue +14 -0
- package/src/components/ui/drawer/DrawerHeader.vue +14 -0
- package/src/components/ui/drawer/DrawerOverlay.vue +21 -0
- package/src/components/ui/drawer/DrawerTitle.vue +23 -0
- package/src/components/ui/drawer/index.ts +8 -0
- package/src/components/ui/form/FormControl.vue +16 -0
- package/src/components/ui/form/FormDescription.vue +20 -0
- package/src/components/ui/form/FormItem.vue +19 -0
- package/src/components/ui/form/FormLabel.vue +20 -0
- package/src/components/ui/form/FormMessage.vue +16 -0
- package/src/components/ui/form/index.ts +7 -0
- package/src/components/ui/form/injectionKeys.ts +4 -0
- package/src/components/ui/form/useFormField.ts +30 -0
- package/src/components/ui/input/Input.vue +32 -0
- package/src/components/ui/input/index.ts +1 -0
- package/src/components/ui/label/Label.vue +24 -0
- package/src/components/ui/label/index.ts +1 -0
- package/src/components/ui/navigation-menu/NavigationMenu.vue +33 -0
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +36 -0
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +29 -0
- package/src/components/ui/navigation-menu/NavigationMenuItem.vue +11 -0
- package/src/components/ui/navigation-menu/NavigationMenuLink.vue +19 -0
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +24 -0
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +30 -0
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +29 -0
- package/src/components/ui/navigation-menu/index.ts +14 -0
- package/src/components/ui/popover/Popover.vue +15 -0
- package/src/components/ui/popover/PopoverContent.vue +45 -0
- package/src/components/ui/popover/PopoverTrigger.vue +11 -0
- package/src/components/ui/popover/index.ts +3 -0
- package/src/components/ui/radio-group/RadioGroup.vue +25 -0
- package/src/components/ui/radio-group/RadioGroupItem.vue +32 -0
- package/src/components/ui/radio-group/index.ts +2 -0
- package/src/components/ui/select/Select.vue +15 -0
- package/src/components/ui/select/SelectContent.vue +59 -0
- package/src/components/ui/select/SelectGroup.vue +22 -0
- package/src/components/ui/select/SelectItem.vue +38 -0
- package/src/components/ui/select/SelectItemText.vue +11 -0
- package/src/components/ui/select/SelectLabel.vue +13 -0
- package/src/components/ui/select/SelectScrollDownButton.vue +27 -0
- package/src/components/ui/select/SelectScrollUpButton.vue +27 -0
- package/src/components/ui/select/SelectSeparator.vue +20 -0
- package/src/components/ui/select/SelectTrigger.vue +33 -0
- package/src/components/ui/select/SelectValue.vue +11 -0
- package/src/components/ui/select/index.ts +11 -0
- package/src/components/ui/separator/Separator.vue +33 -0
- package/src/components/ui/separator/index.ts +1 -0
- package/src/components/ui/switch/Switch.vue +39 -0
- package/src/components/ui/switch/index.ts +1 -0
- package/src/components/ui/textarea/Textarea.vue +32 -0
- package/src/components/ui/textarea/index.ts +1 -0
- package/src/lib/utils.ts +6 -0
- package/src/schemas/blocks/categoryGroup.ts +17 -0
- package/src/schemas/blocks/categoryList.ts +18 -0
- package/src/schemas/blocks/categorySingle.ts +12 -0
- package/src/schemas/blocks/contact.ts +13 -0
- package/src/schemas/blocks/content.ts +13 -0
- package/src/schemas/blocks/cta.ts +11 -0
- package/src/schemas/blocks/faqs.ts +17 -0
- package/src/schemas/blocks/features.ts +16 -0
- package/src/schemas/blocks/footer.ts +16 -0
- package/src/schemas/{header.ts → blocks/header.ts} +5 -8
- package/src/schemas/blocks/hero.ts +15 -0
- package/src/schemas/blocks/intro.ts +9 -0
- package/src/schemas/blocks/postSingle.ts +12 -0
- package/src/schemas/blocks/productGroup.ts +17 -0
- package/src/schemas/blocks/productList.ts +18 -0
- package/src/schemas/blocks/productSingle.ts +17 -0
- package/src/schemas/blocks/reviews.ts +16 -0
- package/src/schemas/fields/badge.ts +9 -0
- package/src/schemas/fields/block.ts +60 -0
- package/src/schemas/fields/button.ts +12 -0
- package/src/schemas/fields/card.ts +28 -0
- package/src/schemas/fields/channel.ts +10 -0
- package/src/schemas/fields/form.ts +20 -0
- package/src/schemas/fields/image.ts +8 -0
- package/src/schemas/fields/link.ts +9 -0
- package/src/schemas/fields/logo.ts +10 -0
- package/src/schemas/fields/menu.ts +10 -0
- package/src/schemas/fields/meta.ts +14 -0
- package/src/schemas/fields/proof.ts +11 -0
- package/src/schemas/fields/section.ts +48 -0
- package/tailwind.config.js +111 -0
- package/tsconfig.json +5 -7
- package/.env.example +0 -3
- package/.vscode/settings.json +0 -25
- package/CONTRIBUTING.md +0 -124
- package/cloudcannon.config.yml +0 -207
- package/public/favicon/android-chrome-192x192.png +0 -0
- package/public/favicon/android-chrome-512x512.png +0 -0
- package/public/favicon/apple-touch-icon.png +0 -0
- package/public/favicon/browserconfig.xml +0 -9
- package/public/favicon/favicon-16x16.png +0 -0
- package/public/favicon/favicon-32x32.png +0 -0
- package/public/favicon/favicon-48x48.png +0 -0
- package/public/favicon/favicon.ico +0 -0
- package/public/favicon/favicon.svg +0 -16
- package/public/favicon/manifest.webmanifest +0 -30
- package/public/favicon/mstile-150x150.png +0 -0
- package/public/favicon/safari-pinned-tab.svg +0 -16
- package/public/favicon/yandex-browser-50x50.png +0 -0
- package/public/favicon/yandex-browser-manifest.json +0 -9
- package/siteicon.png +0 -0
- package/src/blocks/Banner.astro +0 -31
- package/src/blocks/Colleagues1.astro +0 -74
- package/src/blocks/Compare1.astro +0 -64
- package/src/blocks/Content2.astro +0 -47
- package/src/blocks/Content3.astro +0 -47
- package/src/blocks/Content4.astro +0 -52
- package/src/blocks/Content5.astro +0 -43
- package/src/blocks/Content6.astro +0 -57
- package/src/blocks/Content7.astro +0 -65
- package/src/blocks/Content8.astro +0 -48
- package/src/blocks/Cta2.astro +0 -52
- package/src/blocks/Features2.astro +0 -71
- package/src/blocks/JobCategories1.astro +0 -61
- package/src/blocks/JobCategory1.astro +0 -92
- package/src/blocks/Jobs1.astro +0 -74
- package/src/blocks/Logos1.astro +0 -55
- package/src/blocks/Pages1.astro +0 -85
- package/src/blocks/Pricings1.astro +0 -61
- package/src/blocks/Products1.astro +0 -87
- package/src/blocks/Projects1.astro +0 -79
- package/src/blocks/Subheader.astro +0 -53
- package/src/components/Avatars.astro +0 -20
- package/src/components/Badges.astro +0 -20
- package/src/components/Cart.astro +0 -42
- package/src/components/CartAdd.svelte +0 -76
- package/src/components/CartCheckout.svelte +0 -58
- package/src/components/CartForm.svelte +0 -130
- package/src/components/CartList.svelte +0 -88
- package/src/components/CartQuantity.svelte +0 -81
- package/src/components/CartSummary.astro +0 -59
- package/src/components/CartTotal.svelte +0 -15
- package/src/components/Channel.astro +0 -89
- package/src/components/Channels.astro +0 -20
- package/src/components/Checkbox.astro +0 -76
- package/src/components/Element.astro +0 -70
- package/src/components/Field.astro +0 -33
- package/src/components/Fields.astro +0 -20
- package/src/components/Form.astro +0 -34
- package/src/components/Gallery.astro +0 -175
- package/src/components/Head.astro +0 -94
- package/src/components/Heading.astro +0 -91
- package/src/components/Input.astro +0 -115
- package/src/components/Label.astro +0 -42
- package/src/components/Links.astro +0 -20
- package/src/components/Paragraph.astro +0 -54
- package/src/components/Search.astro +0 -118
- package/src/components/Select.astro +0 -114
- package/src/components/Switch.astro +0 -81
- package/src/components/Tagline.astro +0 -49
- package/src/components/Textarea.astro +0 -78
- package/src/components/Toggle.astro +0 -45
- package/src/components/_Breadcrumb.astro +0 -58
- package/src/components/_Image.astro +0 -79
- package/src/components/_LocaleSwitcher.astro +0 -25
- package/src/content/config.ts +0 -18
- package/src/content/layouts/base.yml +0 -166
- package/src/content/pages/_base/toggle.mdx +0 -28
- package/src/content/pages/_posts/post.md +0 -7
- package/src/content/pages/_showcase/anti-slip-profiles.md +0 -5
- package/src/content/pages/_showcase/fulldev-ui.md +0 -5
- package/src/content/pages/_showcase/lavis-detailing.md +0 -5
- package/src/content/pages/_showcase/leren-trainingsacteren.md +0 -5
- package/src/content/pages/_showcase/miele-witgoedcenter-amsterdam.md +0 -5
- package/src/content/pages/_showcase/sloepverhuur-bolsward.md +0 -5
- package/src/content/pages/_showcase/stark-vulcanising-products.md +0 -4
- package/src/content/pages/_showcase/the-gym-haren.md +0 -5
- package/src/content/pages/_showcase/van-dillen-antieke-bouwmaterialen.md +0 -5
- package/src/content/pages/docs/blocks/_categories.mdx +0 -129
- package/src/content/pages/docs/blocks/_contact.mdx +0 -67
- package/src/content/pages/docs/blocks/_jobs.mdx +0 -34
- package/src/content/pages/docs/blocks/_posts.mdx +0 -45
- package/src/content/pages/docs/blocks/_stats.mdx +0 -32
- package/src/content/pages/docs/blocks/banner.mdx +0 -12
- package/src/content/pages/docs/blocks/colleagues.mdx +0 -49
- package/src/content/pages/docs/blocks/content.mdx +0 -316
- package/src/content/pages/docs/blocks/cta.mdx +0 -16
- package/src/content/pages/docs/blocks/features.mdx +0 -100
- package/src/content/pages/docs/blocks/footer.mdx +0 -46
- package/src/content/pages/docs/blocks/header.mdx +0 -60
- package/src/content/pages/docs/blocks/hero.mdx +0 -18
- package/src/content/pages/docs/blocks/intro.mdx +0 -16
- package/src/content/pages/docs/blocks/logos.mdx +0 -37
- package/src/content/pages/docs/blocks/projects.mdx +0 -36
- package/src/content/pages/docs/blocks/reviews.mdx +0 -65
- package/src/content/pages/docs/blocks.mdx +0 -52
- package/src/content/pages/docs/collections/images.mdx +0 -102
- package/src/content/pages/docs/collections/pages.mdx +0 -119
- package/src/content/pages/docs/collections/presets.mdx +0 -60
- package/src/content/pages/docs/components/_localeswitcher.mdx +0 -16
- package/src/content/pages/docs/components/_table.mdx +0 -101
- package/src/content/pages/docs/components/_tagline.mdx +0 -34
- package/src/content/pages/docs/components/_themer.mdx +0 -47
- package/src/content/pages/docs/components/_toggle.mdx +0 -30
- package/src/content/pages/docs/components/avatar.mdx +0 -32
- package/src/content/pages/docs/components/badge.mdx +0 -42
- package/src/content/pages/docs/components/badges.mdx +0 -33
- package/src/content/pages/docs/components/button.mdx +0 -76
- package/src/content/pages/docs/components/buttons.mdx +0 -50
- package/src/content/pages/docs/components/channel.mdx +0 -89
- package/src/content/pages/docs/components/channels.mdx +0 -90
- package/src/content/pages/docs/components/checkbox.mdx +0 -32
- package/src/content/pages/docs/components/heading.mdx +0 -49
- package/src/content/pages/docs/components/icon.mdx +0 -46
- package/src/content/pages/docs/components/image.mdx +0 -20
- package/src/content/pages/docs/components/input.mdx +0 -38
- package/src/content/pages/docs/components/label.mdx +0 -42
- package/src/content/pages/docs/components/link.mdx +0 -63
- package/src/content/pages/docs/components/links.mdx +0 -57
- package/src/content/pages/docs/components/list.mdx +0 -53
- package/src/content/pages/docs/components/logo.mdx +0 -24
- package/src/content/pages/docs/components/menu.mdx +0 -48
- package/src/content/pages/docs/components/paragraph.mdx +0 -44
- package/src/content/pages/docs/components/rating.mdx +0 -43
- package/src/content/pages/docs/components/select.mdx +0 -46
- package/src/content/pages/docs/components/social.mdx +0 -92
- package/src/content/pages/docs/components/socials.mdx +0 -103
- package/src/content/pages/docs/components/switch.mdx +0 -32
- package/src/content/pages/docs/components/tagline.mdx +0 -42
- package/src/content/pages/docs/components/textarea.mdx +0 -32
- package/src/content/pages/docs/components.mdx +0 -36
- package/src/content/pages/docs/customization.mdx +0 -183
- package/src/content/pages/docs/frameworks.mdx +0 -30
- package/src/content/pages/docs/index.mdx +0 -21
- package/src/content/pages/docs/installation.mdx +0 -30
- package/src/content/pages/docs/layouts/doc.mdx +0 -15
- package/src/content/pages/docs/layouts/page.mdx +0 -15
- package/src/content/pages/docs/pages.mdx +0 -130
- package/src/content/pages/docs/structures/_card.mdx +0 -84
- package/src/content/pages/docs/structures/_dialog.mdx +0 -15
- package/src/content/pages/docs/structures/_drawer.mdx +0 -15
- package/src/content/pages/docs/structures/card.mdx +0 -15
- package/src/content/pages/docs/structures/carousel.mdx +0 -14
- package/src/content/pages/docs/structures/code.mdx +0 -42
- package/src/content/pages/docs/structures/container.mdx +0 -15
- package/src/content/pages/docs/structures/drawer.mdx +0 -15
- package/src/content/pages/docs/structures/group.mdx +0 -15
- package/src/content/pages/docs/structures/layout.mdx +0 -15
- package/src/content/pages/docs/structures/masonry.mdx +0 -15
- package/src/content/pages/docs/structures/matrix.mdx +0 -15
- package/src/content/pages/docs/structures/panel.mdx +0 -15
- package/src/content/pages/docs/structures/prose.mdx +0 -33
- package/src/content/pages/docs/structures/section.mdx +0 -15
- package/src/content/pages/docs/structures/stack.mdx +0 -15
- package/src/content/pages/docs/structures/writeup.mdx +0 -15
- package/src/content/pages/docs/structures.mdx +0 -7
- package/src/content/pages/index.mdx +0 -52
- package/src/content/pages/showcase.mdx +0 -30
- package/src/css/custom.css +0 -24
- package/src/css/theme.css +0 -62
- package/src/env.d.ts +0 -3
- package/src/integration/index.ts +0 -185
- package/src/layouts/Page.astro +0 -64
- package/src/layouts/_Product.astro +0 -115
- package/src/pages/[...page].astro +0 -49
- package/src/pages/test.astro +0 -16
- package/src/schemas/badge.ts +0 -14
- package/src/schemas/block.ts +0 -42
- package/src/schemas/button.ts +0 -17
- package/src/schemas/card.ts +0 -43
- package/src/schemas/channel.ts +0 -15
- package/src/schemas/checkbox.ts +0 -13
- package/src/schemas/footer.ts +0 -17
- package/src/schemas/head.ts +0 -17
- package/src/schemas/image.ts +0 -53
- package/src/schemas/input.ts +0 -13
- package/src/schemas/link.ts +0 -14
- package/src/schemas/logo.ts +0 -13
- package/src/schemas/menu.ts +0 -11
- package/src/schemas/page.ts +0 -23
- package/src/schemas/proof.ts +0 -12
- package/src/schemas/textarea.ts +0 -11
- package/src/stores/cart.svelte.ts +0 -78
- package/src/stores/cart.ts +0 -76
- package/src/structures/Card.astro +0 -35
- package/src/structures/Carousel.astro +0 -106
- package/src/structures/Container.astro +0 -25
- package/src/structures/Drawer.astro +0 -81
- package/src/structures/Group.astro +0 -25
- package/src/structures/Layout.astro +0 -34
- package/src/structures/Masonry.astro +0 -42
- package/src/structures/Matrix.astro +0 -39
- package/src/structures/Panel.astro +0 -25
- package/src/structures/Prose.astro +0 -96
- package/src/structures/Section.astro +0 -26
- package/src/structures/Sidebar.astro +0 -36
- package/src/structures/Split.astro +0 -38
- package/src/structures/Stack.astro +0 -25
- package/src/structures/Writeup.astro +0 -67
- package/src/structures/_Bento.astro +0 -34
- package/src/utils/cart.ts +0 -27
- package/src/utils/getHref.ts +0 -6
- package/src/utils/slugify.ts +0 -6
- package/svelte.config.js +0 -5
- package/tailwind.config.ts +0 -72
- package/virtual.d.ts +0 -5
- /package/src/schemas/{path.ts → fields/path.ts} +0 -0
|
@@ -1,72 +1,36 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
2
|
+
import Abstract from 'fulldev-ui/components/Abstract.astro'
|
|
3
|
+
import Box from 'fulldev-ui/components/Box.astro'
|
|
4
|
+
import Container from 'fulldev-ui/components/Container.astro'
|
|
5
|
+
import Grid from 'fulldev-ui/components/Grid.astro'
|
|
3
6
|
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import type {
|
|
7
|
-
import Container from 'fulldev-ui/structures/Container.astro'
|
|
8
|
-
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
9
|
-
import Section from 'fulldev-ui/structures/Section.astro'
|
|
10
|
-
import Stack from 'fulldev-ui/structures/Stack.astro'
|
|
11
|
-
import Writeup from 'fulldev-ui/structures/Writeup.astro'
|
|
7
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
8
|
+
import Writeup from 'fulldev-ui/components/Writeup.astro'
|
|
9
|
+
import type { FeaturesSchema } from 'fulldev-ui/schemas/blocks/features'
|
|
12
10
|
|
|
13
|
-
interface Props extends
|
|
11
|
+
interface Props extends FeaturesSchema {}
|
|
14
12
|
|
|
15
|
-
const {
|
|
13
|
+
const { writeup, features } = Astro.props
|
|
16
14
|
---
|
|
17
15
|
|
|
18
|
-
<Section
|
|
19
|
-
class
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
size="sm"
|
|
26
|
-
text={tagline}
|
|
27
|
-
/>
|
|
28
|
-
<Heading
|
|
29
|
-
size="4xl"
|
|
30
|
-
text={heading}
|
|
31
|
-
{depth}
|
|
32
|
-
/>
|
|
33
|
-
<Paragraph
|
|
34
|
-
size="lg"
|
|
35
|
-
text={paragraph}
|
|
36
|
-
/>
|
|
37
|
-
</Prose>
|
|
38
|
-
<Stack>
|
|
16
|
+
<Section class="">
|
|
17
|
+
<Container class="flex flex-col gap-16">
|
|
18
|
+
<Writeup>
|
|
19
|
+
<Fragment set:html={writeup} />
|
|
20
|
+
<slot />
|
|
21
|
+
</Writeup>
|
|
22
|
+
<Grid length={features?.length}>
|
|
39
23
|
{
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
as="h3"
|
|
49
|
-
size="xl"
|
|
50
|
-
text={heading}
|
|
51
|
-
/>
|
|
52
|
-
<Paragraph text={paragraph} />
|
|
53
|
-
</Writeup>
|
|
24
|
+
features?.map(({ icon, title, description }) => (
|
|
25
|
+
<Abstract size="xl">
|
|
26
|
+
<Box class="inline-flex size-9 items-center justify-center rounded-md bg-muted text-muted-foreground">
|
|
27
|
+
<Icon name={icon} />
|
|
28
|
+
</Box>
|
|
29
|
+
<Box as="h3">{title}</Box>
|
|
30
|
+
<Box as="p">{description}</Box>
|
|
31
|
+
</Abstract>
|
|
54
32
|
))
|
|
55
33
|
}
|
|
56
|
-
</
|
|
34
|
+
</Grid>
|
|
57
35
|
</Container>
|
|
58
36
|
</Section>
|
|
59
|
-
|
|
60
|
-
<style is:global>
|
|
61
|
-
@layer fulldev {
|
|
62
|
-
.features-1 {
|
|
63
|
-
.container {
|
|
64
|
-
@apply flex flex-col gap-12;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.icon {
|
|
68
|
-
@apply text-primary;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
</style>
|
package/src/blocks/Footer.astro
CHANGED
|
@@ -1,83 +1,59 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import Abstract from 'fulldev-ui/components/Abstract.astro'
|
|
3
|
+
import Box from 'fulldev-ui/components/Box.astro'
|
|
4
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
5
|
+
import Container from 'fulldev-ui/components/Container.astro'
|
|
6
|
+
import Grid from 'fulldev-ui/components/Grid.astro'
|
|
4
7
|
import Logo from 'fulldev-ui/components/Logo.astro'
|
|
5
|
-
import
|
|
6
|
-
import
|
|
8
|
+
import Menu from 'fulldev-ui/components/Menu.astro'
|
|
9
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
7
10
|
import Socials from 'fulldev-ui/components/Socials.astro'
|
|
8
|
-
import type {
|
|
9
|
-
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
|
-
import Group from 'fulldev-ui/structures/Group.astro'
|
|
11
|
-
import Writeup from 'fulldev-ui/structures/Writeup.astro'
|
|
11
|
+
import type { FooterSchema } from 'fulldev-ui/schemas/blocks/footer'
|
|
12
12
|
|
|
13
|
-
interface Props extends
|
|
13
|
+
interface Props extends FooterSchema {}
|
|
14
14
|
|
|
15
|
-
const {
|
|
16
|
-
logo,
|
|
17
|
-
heading,
|
|
18
|
-
paragraph,
|
|
19
|
-
socials,
|
|
20
|
-
channels,
|
|
21
|
-
menus,
|
|
22
|
-
// hours,
|
|
23
|
-
// html,
|
|
24
|
-
...rest
|
|
25
|
-
} = Astro.props
|
|
15
|
+
const { logo, description, socials, channels, menus } = Astro.props
|
|
26
16
|
---
|
|
27
17
|
|
|
28
|
-
<
|
|
29
|
-
class
|
|
18
|
+
<Section
|
|
19
|
+
class="footer mt-auto border-t"
|
|
30
20
|
as="footer"
|
|
31
|
-
{...rest}
|
|
32
21
|
>
|
|
33
|
-
<Container class
|
|
34
|
-
<
|
|
35
|
-
|
|
22
|
+
<Container class="flex justify-between gap-16">
|
|
23
|
+
<Grid
|
|
24
|
+
length={4}
|
|
25
|
+
size="lg"
|
|
26
|
+
>
|
|
27
|
+
<Abstract
|
|
36
28
|
size="sm"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<Group>
|
|
44
|
-
<Socials
|
|
45
|
-
size="sm"
|
|
46
|
-
{socials}
|
|
29
|
+
class="flex max-w-xs flex-col gap-3"
|
|
30
|
+
>
|
|
31
|
+
<Logo {...logo} />
|
|
32
|
+
<Box
|
|
33
|
+
as="p"
|
|
34
|
+
set:html={description}
|
|
47
35
|
/>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.writeup,
|
|
70
|
-
.footer-channels {
|
|
71
|
-
@apply max-w-xs;
|
|
36
|
+
<Socials {socials} />
|
|
37
|
+
</Abstract>
|
|
38
|
+
<Box class="flex flex-col items-start">
|
|
39
|
+
{
|
|
40
|
+
channels?.map((channel) => (
|
|
41
|
+
<Button
|
|
42
|
+
class="px-0 py-1"
|
|
43
|
+
variant="link"
|
|
44
|
+
{...channel}
|
|
45
|
+
/>
|
|
46
|
+
))
|
|
47
|
+
}
|
|
48
|
+
</Box>
|
|
49
|
+
{
|
|
50
|
+
menus?.map((menu) => (
|
|
51
|
+
<Menu
|
|
52
|
+
class="w-full text-sm"
|
|
53
|
+
{...menu}
|
|
54
|
+
/>
|
|
55
|
+
))
|
|
72
56
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.footer-channels {
|
|
79
|
-
@apply flex flex-col gap-y-2;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
</style>
|
|
57
|
+
</Grid>
|
|
58
|
+
</Container>
|
|
59
|
+
</Section>
|
package/src/blocks/Header.astro
CHANGED
|
@@ -1,142 +1,87 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
2
|
+
import Box from 'fulldev-ui/components/Box.astro'
|
|
3
|
+
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
4
|
+
import Container from 'fulldev-ui/components/Container.astro'
|
|
5
|
+
import Drawer from 'fulldev-ui/components/Drawer.vue'
|
|
6
|
+
import Icon from 'fulldev-ui/components/Icon.astro'
|
|
7
|
+
import Link from 'fulldev-ui/components/Link.astro'
|
|
7
8
|
import Logo from 'fulldev-ui/components/Logo.astro'
|
|
8
|
-
import
|
|
9
|
-
import
|
|
9
|
+
import Menu from 'fulldev-ui/components/Menu.astro'
|
|
10
|
+
import Navigation from 'fulldev-ui/components/Navigation.vue'
|
|
11
|
+
import Search from 'fulldev-ui/components/Search.vue'
|
|
10
12
|
import Socials from 'fulldev-ui/components/Socials.astro'
|
|
11
|
-
import
|
|
12
|
-
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
13
|
-
import Container from 'fulldev-ui/structures/Container.astro'
|
|
14
|
-
import Drawer from 'fulldev-ui/structures/Drawer.astro'
|
|
13
|
+
import type { HeaderSchema } from 'fulldev-ui/schemas/blocks/header'
|
|
15
14
|
|
|
16
|
-
interface Props extends
|
|
15
|
+
interface Props extends HeaderSchema {
|
|
16
|
+
search?: any
|
|
17
|
+
}
|
|
17
18
|
|
|
18
|
-
const { logo,
|
|
19
|
+
const { logo, menus, socials, buttons, search } = Astro.props
|
|
19
20
|
---
|
|
20
21
|
|
|
21
|
-
<
|
|
22
|
-
class
|
|
22
|
+
<Box
|
|
23
|
+
class="sticky top-0 z-20 flex h-14 w-full border-b bg-background"
|
|
23
24
|
as="header"
|
|
24
25
|
>
|
|
25
|
-
<Container>
|
|
26
|
-
<
|
|
26
|
+
<Container class="flex items-center justify-between gap-8">
|
|
27
|
+
<Box class="flex items-center gap-4">
|
|
27
28
|
<Logo {...logo} />
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
{
|
|
29
|
+
<Navigation
|
|
30
|
+
class="max-lg:hidden"
|
|
31
|
+
client:load
|
|
32
|
+
items={menus}
|
|
32
33
|
/>
|
|
33
|
-
</
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
show={search}
|
|
39
|
-
variant="ghost"
|
|
40
|
-
size="sm"
|
|
41
|
-
/>
|
|
42
|
-
)
|
|
43
|
-
}
|
|
44
|
-
<!-- {
|
|
45
|
-
cart && (
|
|
46
|
-
<Cart
|
|
47
|
-
variant="ghost"
|
|
48
|
-
size="sm"
|
|
49
|
-
/>
|
|
50
|
-
)
|
|
51
|
-
} -->
|
|
52
|
-
{
|
|
53
|
-
themer && (
|
|
54
|
-
<Themer
|
|
55
|
-
show={themer}
|
|
56
|
-
variant="ghost"
|
|
57
|
-
size="sm"
|
|
58
|
-
/>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
<Socials
|
|
62
|
-
size="sm"
|
|
63
|
-
{socials}
|
|
34
|
+
</Box>
|
|
35
|
+
<Box class="inline-flex items-center gap-2">
|
|
36
|
+
<Search
|
|
37
|
+
client:load
|
|
38
|
+
groups={search}
|
|
64
39
|
/>
|
|
65
|
-
|
|
66
|
-
<
|
|
40
|
+
<Socials {socials} />
|
|
41
|
+
<Buttons
|
|
42
|
+
class="max-sm:hidden"
|
|
67
43
|
size="sm"
|
|
68
|
-
|
|
69
|
-
|
|
44
|
+
{buttons}
|
|
45
|
+
reverse
|
|
70
46
|
/>
|
|
71
|
-
<!-- <Button
|
|
72
|
-
class:list="menu-button"
|
|
73
|
-
as="label"
|
|
74
|
-
for="sidebar-toggle"
|
|
75
|
-
icon="menu-2"
|
|
76
|
-
variant="ghost"
|
|
77
|
-
size="sm"
|
|
78
|
-
/> -->
|
|
79
47
|
<Drawer
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
48
|
+
class="size-9 lg:hidden"
|
|
49
|
+
client:load
|
|
50
|
+
button={{
|
|
51
|
+
variant: 'secondary',
|
|
52
|
+
size: 'sm',
|
|
53
|
+
}}
|
|
83
54
|
>
|
|
84
|
-
<
|
|
85
|
-
|
|
55
|
+
<Icon
|
|
56
|
+
slot="trigger"
|
|
57
|
+
name="menu-2"
|
|
58
|
+
class="!text-xl"
|
|
59
|
+
/>
|
|
60
|
+
<Container class="min-w-lg flex flex-col gap-2">
|
|
61
|
+
{
|
|
62
|
+
menus?.map(({ text, href, links }) =>
|
|
63
|
+
links ? (
|
|
64
|
+
<Menu
|
|
65
|
+
class="mb-4"
|
|
66
|
+
{text}
|
|
67
|
+
{links}
|
|
68
|
+
/>
|
|
69
|
+
) : (
|
|
70
|
+
<Link
|
|
71
|
+
class="text-foreground"
|
|
72
|
+
{href}
|
|
73
|
+
{text}
|
|
74
|
+
/>
|
|
75
|
+
)
|
|
76
|
+
)
|
|
77
|
+
}
|
|
78
|
+
<Buttons
|
|
79
|
+
class="mt-4 flex-col gap-2"
|
|
80
|
+
reverse
|
|
81
|
+
{buttons}
|
|
82
|
+
/>
|
|
86
83
|
</Container>
|
|
87
84
|
</Drawer>
|
|
88
|
-
</
|
|
85
|
+
</Box>
|
|
89
86
|
</Container>
|
|
90
|
-
</
|
|
91
|
-
|
|
92
|
-
<style is:global>
|
|
93
|
-
@layer fulldev {
|
|
94
|
-
.header {
|
|
95
|
-
@apply sticky left-0 top-0 z-20 flex h-14 w-full items-center border-b bg-background;
|
|
96
|
-
height: var(--header-height);
|
|
97
|
-
|
|
98
|
-
&,
|
|
99
|
-
& ~ * {
|
|
100
|
-
--header-height: 3.5rem;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.container {
|
|
104
|
-
@apply flex items-center gap-6;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.header-start {
|
|
108
|
-
@apply flex items-center gap-6;
|
|
109
|
-
|
|
110
|
-
.link {
|
|
111
|
-
@apply max-lg:hidden;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.header-home {
|
|
116
|
-
@apply flex items-center gap-2;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.header-end {
|
|
120
|
-
@apply ml-auto flex items-center gap-1;
|
|
121
|
-
|
|
122
|
-
.social,
|
|
123
|
-
.themer {
|
|
124
|
-
@apply max-lg:hidden;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.menu-button {
|
|
128
|
-
@apply lg:hidden;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.drawer {
|
|
133
|
-
@apply lg:hidden;
|
|
134
|
-
|
|
135
|
-
.container {
|
|
136
|
-
@apply flex w-full flex-col items-start gap-6 overflow-y-auto px-gutter pb-14 pt-8;
|
|
137
|
-
@apply scrollbar scrollbar-track-transparent scrollbar-thumb-accent scrollbar-thumb-rounded-full scrollbar-w-2 hover:scrollbar-thumb-accent-hover;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
</style>
|
|
87
|
+
</Box>
|
package/src/blocks/Hero1.astro
CHANGED
|
@@ -1,68 +1,37 @@
|
|
|
1
1
|
---
|
|
2
|
-
import Badge from 'fulldev-ui/components/Badge.astro'
|
|
3
2
|
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
4
|
-
import
|
|
3
|
+
import Chip from 'fulldev-ui/components/Chip.astro'
|
|
4
|
+
import Container from 'fulldev-ui/components/Container.astro'
|
|
5
5
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
10
|
-
import Container from 'fulldev-ui/structures/Container.astro'
|
|
11
|
-
import Group from 'fulldev-ui/structures/Group.astro'
|
|
12
|
-
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
13
|
-
import Section from 'fulldev-ui/structures/Section.astro'
|
|
6
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
7
|
+
import Writeup from 'fulldev-ui/components/Writeup.astro'
|
|
8
|
+
import type { HeroSchema } from 'fulldev-ui/schemas/blocks/hero'
|
|
14
9
|
|
|
15
|
-
interface Props extends
|
|
10
|
+
interface Props extends HeroSchema {}
|
|
16
11
|
|
|
17
|
-
const {
|
|
18
|
-
depth = 2,
|
|
19
|
-
badge,
|
|
20
|
-
tagline,
|
|
21
|
-
heading,
|
|
22
|
-
paragraph,
|
|
23
|
-
content,
|
|
24
|
-
buttons,
|
|
25
|
-
image,
|
|
26
|
-
proof,
|
|
27
|
-
...rest
|
|
28
|
-
} = Astro.props
|
|
12
|
+
const { badge, writeup, buttons, image } = Astro.props
|
|
29
13
|
---
|
|
30
14
|
|
|
31
|
-
<Section
|
|
32
|
-
class
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<
|
|
38
|
-
|
|
39
|
-
size="lg"
|
|
15
|
+
<Section class="flex flex-col">
|
|
16
|
+
<Container class="flex flex-col">
|
|
17
|
+
<Writeup
|
|
18
|
+
size="xl"
|
|
19
|
+
align="center"
|
|
20
|
+
>
|
|
21
|
+
<Chip
|
|
22
|
+
variant="outline"
|
|
40
23
|
{...badge}
|
|
41
24
|
/>
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
text={heading}
|
|
49
|
-
{depth}
|
|
50
|
-
/>
|
|
51
|
-
<Paragraph
|
|
52
|
-
class="text-balance"
|
|
53
|
-
size="xl"
|
|
54
|
-
text={paragraph}
|
|
25
|
+
<Fragment set:html={writeup} />
|
|
26
|
+
<slot />
|
|
27
|
+
<Buttons
|
|
28
|
+
size="lg"
|
|
29
|
+
justify="center"
|
|
30
|
+
{buttons}
|
|
55
31
|
/>
|
|
56
|
-
|
|
57
|
-
<Group>
|
|
58
|
-
<Buttons
|
|
59
|
-
size="lg"
|
|
60
|
-
{buttons}
|
|
61
|
-
/>
|
|
62
|
-
</Group>
|
|
63
|
-
</Prose>
|
|
32
|
+
</Writeup>
|
|
64
33
|
<Image
|
|
65
|
-
class="
|
|
34
|
+
class="rounded-lg"
|
|
66
35
|
{...image}
|
|
67
36
|
/>
|
|
68
37
|
</Container>
|
package/src/blocks/Intro1.astro
CHANGED
|
@@ -1,67 +1,25 @@
|
|
|
1
1
|
---
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
8
|
-
import Container from 'fulldev-ui/structures/Container.astro'
|
|
9
|
-
import Group from 'fulldev-ui/structures/Group.astro'
|
|
10
|
-
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
11
|
-
import Section from 'fulldev-ui/structures/Section.astro'
|
|
2
|
+
import Box from 'fulldev-ui/components/Box.astro'
|
|
3
|
+
import Container from 'fulldev-ui/components/Container.astro'
|
|
4
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
5
|
+
import Writeup from 'fulldev-ui/components/Writeup.astro'
|
|
6
|
+
import type { IntroSchema } from 'fulldev-ui/schemas/blocks/intro'
|
|
12
7
|
|
|
13
|
-
interface Props extends
|
|
8
|
+
interface Props extends IntroSchema {}
|
|
14
9
|
|
|
15
|
-
const {
|
|
16
|
-
depth = 2,
|
|
17
|
-
tagline,
|
|
18
|
-
heading,
|
|
19
|
-
paragraph,
|
|
20
|
-
content,
|
|
21
|
-
button,
|
|
22
|
-
buttons,
|
|
23
|
-
image,
|
|
24
|
-
...rest
|
|
25
|
-
} = Astro.props
|
|
10
|
+
const { writeup } = Astro.props
|
|
26
11
|
---
|
|
27
12
|
|
|
28
|
-
<Section
|
|
29
|
-
class:list="intro-1"
|
|
30
|
-
{...rest}
|
|
31
|
-
>
|
|
13
|
+
<Section class="py-0">
|
|
32
14
|
<Container>
|
|
33
|
-
<
|
|
34
|
-
<
|
|
15
|
+
<Box class="border-b py-12">
|
|
16
|
+
<Writeup
|
|
17
|
+
align="start"
|
|
35
18
|
size="sm"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
{depth}
|
|
42
|
-
/>
|
|
43
|
-
<Paragraph text={paragraph} />
|
|
44
|
-
<Fragment set:html={content} />
|
|
45
|
-
<Group>
|
|
46
|
-
<Buttons
|
|
47
|
-
size="sm"
|
|
48
|
-
{button}
|
|
49
|
-
{buttons}
|
|
50
|
-
/>
|
|
51
|
-
</Group>
|
|
52
|
-
</Prose>
|
|
53
|
-
<Image {...image} />
|
|
19
|
+
>
|
|
20
|
+
<Fragment set:html={writeup} />
|
|
21
|
+
<slot />
|
|
22
|
+
</Writeup>
|
|
23
|
+
</Box>
|
|
54
24
|
</Container>
|
|
55
25
|
</Section>
|
|
56
|
-
|
|
57
|
-
<style is:global>
|
|
58
|
-
@layer fulldev {
|
|
59
|
-
.section.intro-1 {
|
|
60
|
-
@apply border-b py-8;
|
|
61
|
-
|
|
62
|
-
.image {
|
|
63
|
-
@apply rounded-lg;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
</style>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
import Box from 'fulldev-ui/components/Box.astro'
|
|
3
|
+
import Container from 'fulldev-ui/components/Container.astro'
|
|
4
|
+
import Image from 'fulldev-ui/components/Image.astro'
|
|
5
|
+
import Prose from 'fulldev-ui/components/Prose.astro'
|
|
6
|
+
import Section from 'fulldev-ui/components/Section.astro'
|
|
7
|
+
import type { PostSingleSchema } from 'fulldev-ui/schemas/blocks/postSingle'
|
|
8
|
+
|
|
9
|
+
interface Props extends PostSingleSchema {}
|
|
10
|
+
|
|
11
|
+
const { title, description, image } = Astro.props
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<Section class="content content-1">
|
|
15
|
+
<Container
|
|
16
|
+
class="flex flex-col"
|
|
17
|
+
size="sm"
|
|
18
|
+
>
|
|
19
|
+
<Prose>
|
|
20
|
+
<Box as="h1">{title}</Box>
|
|
21
|
+
<Box as="p">{description}</Box>
|
|
22
|
+
<Image
|
|
23
|
+
class="rounded-lg"
|
|
24
|
+
{...image}
|
|
25
|
+
/>
|
|
26
|
+
<slot />
|
|
27
|
+
</Prose>
|
|
28
|
+
</Container>
|
|
29
|
+
</Section>
|