fulldev-ui 0.25.0 → 0.25.1
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/CHANGELOG.md +8 -0
- package/liquid/README.md +1 -1
- package/liquid/assets/ui-licenses.json +1 -1
- package/liquid/assets/ui-manifest.json +1 -1
- package/package.json +2 -1
- package/public/r/liquid/components.json +1 -1
- package/public/r/liquid/init.json +1 -1
- package/liquid/vendor.json +0 -180
- package/public/r/accordion-examples.json +0 -49
- package/public/r/accordion.json +0 -42
- package/public/r/alert-dialog-examples.json +0 -51
- package/public/r/alert-dialog.json +0 -84
- package/public/r/alert-examples.json +0 -47
- package/public/r/alert.json +0 -38
- package/public/r/article-1.json +0 -22
- package/public/r/article-2.json +0 -22
- package/public/r/articles-1.json +0 -22
- package/public/r/articles-2.json +0 -23
- package/public/r/articles-3.json +0 -22
- package/public/r/articles-4.json +0 -22
- package/public/r/aspect-ratio-examples.json +0 -33
- package/public/r/aspect-ratio.json +0 -23
- package/public/r/attachment-examples.json +0 -48
- package/public/r/attachment.json +0 -66
- package/public/r/avatar-examples.json +0 -68
- package/public/r/avatar.json +0 -48
- package/public/r/badge-examples.json +0 -52
- package/public/r/badge.json +0 -28
- package/public/r/banner-1.json +0 -24
- package/public/r/banner-2.json +0 -22
- package/public/r/banner.json +0 -31
- package/public/r/base.json +0 -143
- package/public/r/blocks-1.json +0 -27
- package/public/r/blocks.json +0 -92
- package/public/r/breadcrumb-examples.json +0 -53
- package/public/r/breadcrumb.json +0 -56
- package/public/r/button-examples.json +0 -87
- package/public/r/button-group-examples.json +0 -75
- package/public/r/button-group.json +0 -41
- package/public/r/button.json +0 -28
- package/public/r/card-examples.json +0 -51
- package/public/r/card.json +0 -53
- package/public/r/carousel-examples.json +0 -49
- package/public/r/carousel.json +0 -50
- package/public/r/checkbox-examples.json +0 -56
- package/public/r/checkbox.json +0 -23
- package/public/r/code-block-examples.json +0 -33
- package/public/r/code-block.json +0 -65
- package/public/r/collapsible-examples.json +0 -51
- package/public/r/collapsible.json +0 -36
- package/public/r/combobox-examples.json +0 -69
- package/public/r/combobox.json +0 -81
- package/public/r/command-examples.json +0 -47
- package/public/r/command.json +0 -71
- package/public/r/components.json +0 -74
- package/public/r/contact-1.json +0 -23
- package/public/r/contact-2.json +0 -23
- package/public/r/contact-3.json +0 -29
- package/public/r/content-1.json +0 -31
- package/public/r/content-2.json +0 -31
- package/public/r/content-3.json +0 -28
- package/public/r/content-4.json +0 -31
- package/public/r/cta-1.json +0 -24
- package/public/r/cta-2.json +0 -30
- package/public/r/cta-3.json +0 -24
- package/public/r/cta-4.json +0 -30
- package/public/r/cta-5.json +0 -31
- package/public/r/cta-6.json +0 -30
- package/public/r/cta-7.json +0 -23
- package/public/r/cta-8.json +0 -22
- package/public/r/dialog-examples.json +0 -47
- package/public/r/dialog.json +0 -75
- package/public/r/doc-1.json +0 -30
- package/public/r/drawer-examples.json +0 -54
- package/public/r/drawer.json +0 -109
- package/public/r/dropdown-menu-examples.json +0 -63
- package/public/r/dropdown-menu.json +0 -77
- package/public/r/empty-examples.json +0 -55
- package/public/r/empty.json +0 -48
- package/public/r/faqs-1.json +0 -23
- package/public/r/faqs-2.json +0 -23
- package/public/r/faqs-3.json +0 -23
- package/public/r/faqs-4.json +0 -22
- package/public/r/features-1.json +0 -26
- package/public/r/features-2.json +0 -22
- package/public/r/features-3.json +0 -21
- package/public/r/features-4.json +0 -26
- package/public/r/features-5.json +0 -22
- package/public/r/features-6.json +0 -23
- package/public/r/field-examples.json +0 -86
- package/public/r/field.json +0 -72
- package/public/r/footer-1.json +0 -24
- package/public/r/footer-2.json +0 -24
- package/public/r/footer-3.json +0 -24
- package/public/r/form.json +0 -23
- package/public/r/header-1.json +0 -29
- package/public/r/header-2.json +0 -29
- package/public/r/header-3.json +0 -30
- package/public/r/header-4.json +0 -29
- package/public/r/header-5.json +0 -30
- package/public/r/header.json +0 -40
- package/public/r/hero-1.json +0 -23
- package/public/r/hero-10.json +0 -24
- package/public/r/hero-11.json +0 -24
- package/public/r/hero-12.json +0 -22
- package/public/r/hero-13.json +0 -22
- package/public/r/hero-2.json +0 -24
- package/public/r/hero-3.json +0 -22
- package/public/r/hero-4.json +0 -25
- package/public/r/hero-5.json +0 -27
- package/public/r/hero-6.json +0 -27
- package/public/r/hero-7.json +0 -27
- package/public/r/hero-8.json +0 -22
- package/public/r/hero-9.json +0 -27
- package/public/r/hover-card-examples.json +0 -29
- package/public/r/hover-card.json +0 -37
- package/public/r/icon.json +0 -27
- package/public/r/init.json +0 -44
- package/public/r/input-examples.json +0 -97
- package/public/r/input-group-examples.json +0 -91
- package/public/r/input-group.json +0 -53
- package/public/r/input.json +0 -23
- package/public/r/item-examples.json +0 -74
- package/public/r/item.json +0 -71
- package/public/r/kbd-examples.json +0 -50
- package/public/r/kbd.json +0 -28
- package/public/r/label-examples.json +0 -24
- package/public/r/label.json +0 -23
- package/public/r/layout.json +0 -41
- package/public/r/links-2.json +0 -24
- package/public/r/logo.json +0 -33
- package/public/r/logos-1.json +0 -22
- package/public/r/logos-2.json +0 -23
- package/public/r/logos-3.json +0 -22
- package/public/r/marquee.json +0 -46
- package/public/r/native-select-examples.json +0 -38
- package/public/r/native-select.json +0 -36
- package/public/r/navigation-menu-examples.json +0 -26
- package/public/r/navigation-menu.json +0 -67
- package/public/r/pagination-examples.json +0 -35
- package/public/r/pagination.json +0 -59
- package/public/r/popover-examples.json +0 -42
- package/public/r/popover.json +0 -51
- package/public/r/price.json +0 -38
- package/public/r/pricing-1.json +0 -29
- package/public/r/pricing-2.json +0 -28
- package/public/r/pricing-3.json +0 -29
- package/public/r/product-1.json +0 -24
- package/public/r/products-1.json +0 -24
- package/public/r/products-2.json +0 -24
- package/public/r/products-3.json +0 -24
- package/public/r/products-4.json +0 -24
- package/public/r/products-5.json +0 -25
- package/public/r/progress-examples.json +0 -33
- package/public/r/progress.json +0 -23
- package/public/r/radio-group-examples.json +0 -50
- package/public/r/radio-group.json +0 -31
- package/public/r/rating.json +0 -26
- package/public/r/registry.json +0 -6959
- package/public/r/resizable-examples.json +0 -33
- package/public/r/resizable.json +0 -36
- package/public/r/reviews-1.json +0 -27
- package/public/r/reviews-2.json +0 -27
- package/public/r/reviews-3.json +0 -27
- package/public/r/reviews-4.json +0 -25
- package/public/r/reviews-5.json +0 -27
- package/public/r/section.json +0 -38
- package/public/r/select-examples.json +0 -53
- package/public/r/select.json +0 -62
- package/public/r/separator-examples.json +0 -38
- package/public/r/separator.json +0 -23
- package/public/r/services-1.json +0 -32
- package/public/r/services-2.json +0 -29
- package/public/r/services-3.json +0 -29
- package/public/r/services-4.json +0 -31
- package/public/r/services-5.json +0 -26
- package/public/r/services-6.json +0 -32
- package/public/r/services-7.json +0 -32
- package/public/r/sheet-examples.json +0 -37
- package/public/r/sheet.json +0 -66
- package/public/r/sidebar-1.json +0 -35
- package/public/r/sidebar-examples.json +0 -24
- package/public/r/sidebar.json +0 -146
- package/public/r/skeleton-examples.json +0 -49
- package/public/r/skeleton.json +0 -23
- package/public/r/slider-examples.json +0 -44
- package/public/r/slider.json +0 -26
- package/public/r/spinner-examples.json +0 -61
- package/public/r/spinner.json +0 -26
- package/public/r/switch-examples.json +0 -50
- package/public/r/switch.json +0 -26
- package/public/r/table-examples.json +0 -38
- package/public/r/table.json +0 -58
- package/public/r/tabs-examples.json +0 -47
- package/public/r/tabs.json +0 -46
- package/public/r/textarea-examples.json +0 -45
- package/public/r/textarea.json +0 -23
- package/public/r/theme-toggle.json +0 -34
- package/public/r/toast-examples.json +0 -29
- package/public/r/toast.json +0 -80
- package/public/r/toc.json +0 -43
- package/public/r/toggle-examples.json +0 -46
- package/public/r/toggle-group-examples.json +0 -57
- package/public/r/toggle-group.json +0 -34
- package/public/r/toggle.json +0 -31
- package/public/r/tooltip-examples.json +0 -43
- package/public/r/tooltip.json +0 -36
- package/public/r/typography.json +0 -103
- package/public/r/video.json +0 -23
package/public/r/header-3.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "header-3",
|
|
4
|
-
"title": "Header 3",
|
|
5
|
-
"description": "Header layouts for brand, navigation, and high-level page actions.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/button",
|
|
11
|
-
"@fulldev/header",
|
|
12
|
-
"@fulldev/icon",
|
|
13
|
-
"@fulldev/logo",
|
|
14
|
-
"@fulldev/navigation-menu",
|
|
15
|
-
"@fulldev/separator",
|
|
16
|
-
"@fulldev/sheet"
|
|
17
|
-
],
|
|
18
|
-
"files": [
|
|
19
|
-
{
|
|
20
|
-
"path": "src/components/blocks/header-3.astro",
|
|
21
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Header, HeaderContainer, HeaderGroup } from \"@/components/ui/header\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Logo, LogoImage, LogoText } from \"@/components/ui/logo\"\nimport {\n NavigationMenu,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n} from \"@/components/ui/navigation-menu\"\nimport { Separator } from \"@/components/ui/separator\"\nimport {\n Sheet,\n SheetClose,\n SheetContent,\n SheetDescription,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n} from \"@/components/ui/sheet\"\n\ntype Props = HTMLAttributes<\"header\"> & {\n logo: {\n label: string\n href: string\n src?: ImageMetadata\n srcLight?: ImageMetadata\n srcDark?: ImageMetadata\n }\n navigation: {\n label: string\n href: string\n active?: boolean\n }[]\n buttons: {\n label: string\n href: string\n icon?: string\n target?: \"_self\" | \"_blank\"\n }[]\n navigationLabel: string\n menu: {\n label: string\n title: string\n description: string\n closeLabel: string\n }\n}\n\nconst {\n class: className,\n logo,\n navigation,\n buttons,\n navigationLabel,\n menu,\n ...props\n} = Astro.props\n---\n\n<Header class={cn(\"border-b\", className)} {...props}>\n <HeaderContainer class=\"justify-between\">\n <HeaderGroup>\n <Logo href={logo.href}>\n <LogoImage\n src={logo.src}\n srcLight={logo.srcLight}\n srcDark={logo.srcDark}\n alt=\"\"\n />\n <LogoText>{logo.label}</LogoText>\n </Logo>\n </HeaderGroup>\n <HeaderGroup class=\"ml-auto hidden justify-end gap-1 lg:flex\">\n <NavigationMenu\n aria-label={navigationLabel}\n class=\"hidden max-w-none justify-end lg:flex\"\n >\n <NavigationMenuList>\n {navigation.map((item, index) => (\n <NavigationMenuItem value={`nav-${index}`}>\n <NavigationMenuLink href={item.href} active={item.active}>\n {item.label}\n </NavigationMenuLink>\n </NavigationMenuItem>\n ))}\n </NavigationMenuList>\n </NavigationMenu>\n <Separator\n orientation=\"vertical\"\n class=\"mx-1 hidden h-5 self-center lg:block\"\n />\n {buttons.map(({ label, href, icon, target }, index) => (\n <Button\n as=\"a\"\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noreferrer\" : undefined}\n size=\"sm\"\n variant={index === buttons.length - 1 ? \"default\" : \"ghost\"}\n >\n {icon && <Icon name={icon} />}\n {label}\n </Button>\n ))}\n </HeaderGroup>\n <Sheet class=\"lg:hidden\">\n <SheetTrigger\n variant=\"ghost\"\n size=\"icon-sm\"\n class=\"ml-auto\"\n aria-label={menu.label}\n >\n <Icon name=\"menu\" />\n </SheetTrigger>\n <SheetContent side=\"right\" showCloseButton={false} class=\"p-0\">\n <SheetHeader class=\"sr-only\">\n <SheetTitle>{menu.title}</SheetTitle>\n <SheetDescription>{menu.description}</SheetDescription>\n </SheetHeader>\n <div class=\"flex h-full flex-col gap-6 px-4 py-12\">\n <nav aria-label={menu.title} class=\"flex flex-col gap-1\">\n {navigation.map((item) => (\n <SheetClose\n as=\"a\"\n href={item.href}\n aria-current={item.active ? \"page\" : undefined}\n variant=\"ghost\"\n class=\"justify-start\"\n >\n {item.label}\n </SheetClose>\n ))}\n </nav>\n {buttons.length > 0 && <Separator />}\n {buttons.length > 0 && (\n <div class=\"mt-auto flex flex-col gap-2\">\n {buttons.map(({ label, href, icon, target }, index) => (\n <SheetClose\n as=\"a\"\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noreferrer\" : undefined}\n variant={index === buttons.length - 1 ? \"default\" : \"outline\"}\n >\n {icon && <Icon name={icon} />}\n {label}\n </SheetClose>\n ))}\n </div>\n )}\n </div>\n <SheetClose\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-sm\"\n class=\"absolute top-4 right-4\"\n >\n <XIcon />\n <span class=\"sr-only\">{menu.closeLabel}</span>\n </SheetClose>\n </SheetContent>\n </Sheet>\n </HeaderContainer>\n</Header>\n",
|
|
22
|
-
"type": "registry:block"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"docs": "https://ui.full.dev/blocks/header/",
|
|
26
|
-
"categories": [
|
|
27
|
-
"header"
|
|
28
|
-
],
|
|
29
|
-
"type": "registry:block"
|
|
30
|
-
}
|
package/public/r/header-4.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "header-4",
|
|
4
|
-
"title": "Header 4",
|
|
5
|
-
"description": "Header layouts for brand, navigation, and high-level page actions.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/button",
|
|
11
|
-
"@fulldev/header",
|
|
12
|
-
"@fulldev/icon",
|
|
13
|
-
"@fulldev/logo",
|
|
14
|
-
"@fulldev/navigation-menu",
|
|
15
|
-
"@fulldev/sheet"
|
|
16
|
-
],
|
|
17
|
-
"files": [
|
|
18
|
-
{
|
|
19
|
-
"path": "src/components/blocks/header-4.astro",
|
|
20
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Header, HeaderContainer, HeaderGroup } from \"@/components/ui/header\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Logo, LogoImage, LogoText } from \"@/components/ui/logo\"\nimport {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n navigationMenuTriggerStyle,\n} from \"@/components/ui/navigation-menu\"\nimport {\n Sheet,\n SheetClose,\n SheetContent,\n SheetDescription,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n} from \"@/components/ui/sheet\"\n\ntype Props = HTMLAttributes<\"header\"> & {\n logo: {\n label: string\n href: string\n src?: ImageMetadata\n srcLight?: ImageMetadata\n srcDark?: ImageMetadata\n }\n navigation: {\n label: string\n href: string\n description?: string\n active?: boolean\n image?: {\n src: ImageMetadata\n }\n links?: {\n label: string\n href: string\n description?: string\n icon?: string\n active?: boolean\n }[]\n }[]\n buttons: {\n label: string\n href: string\n icon?: string\n target?: \"_self\" | \"_blank\"\n }[]\n navigationLabel: string\n menu: {\n label: string\n title: string\n description: string\n closeLabel: string\n }\n}\n\nconst {\n class: className,\n logo,\n navigation,\n buttons,\n navigationLabel,\n menu,\n ...props\n} = Astro.props\n---\n\n<Header class={cn(\"border-b\", className)} {...props}>\n <HeaderContainer class=\"justify-between\">\n <HeaderGroup>\n <Logo href={logo.href}>\n <LogoImage\n src={logo.src}\n srcLight={logo.srcLight}\n srcDark={logo.srcDark}\n alt=\"\"\n />\n <LogoText>{logo.label}</LogoText>\n </Logo>\n </HeaderGroup>\n <NavigationMenu\n aria-label={navigationLabel}\n class=\"absolute left-1/2 hidden max-w-none -translate-x-1/2 lg:flex\"\n align=\"center\"\n >\n <NavigationMenuList>\n {navigation.map((item, index) =>\n item.links?.length ? (\n <NavigationMenuItem value={`nav-${index}`}>\n <NavigationMenuTrigger>{item.label}</NavigationMenuTrigger>\n <NavigationMenuContent>\n <div class=\"grid w-[min(46rem,calc(100vw-2rem))] gap-2 p-1 lg:grid-cols-[1fr_1.1fr]\">\n <NavigationMenuLink\n href={item.href}\n active={item.active}\n class=\"bg-muted/50 hover:bg-muted focus:bg-muted flex min-h-40 flex-col items-start justify-end gap-3 p-4 text-left\"\n >\n {item.image && (\n <Image\n src={item.image.src}\n alt=\"\"\n class=\"mb-auto aspect-[16/9] w-full rounded-md object-cover\"\n widths={[320, 480, 640]}\n sizes=\"(min-width: 1024px) 22rem, 100vw\"\n />\n )}\n <span class=\"text-base font-medium\">{item.label}</span>\n {item.description && (\n <span class=\"text-muted-foreground text-sm leading-relaxed\">\n {item.description}\n </span>\n )}\n </NavigationMenuLink>\n <div class=\"grid gap-1\">\n {item.links.map((link) => (\n <NavigationMenuLink\n href={link.href}\n active={link.active}\n class=\"items-start gap-3 p-3\"\n >\n {link.icon && (\n <Icon\n name={link.icon}\n class=\"text-muted-foreground mt-0.5\"\n />\n )}\n <span class=\"grid gap-1\">\n <span class=\"font-medium\">{link.label}</span>\n {link.description && (\n <span class=\"text-muted-foreground text-sm leading-relaxed\">\n {link.description}\n </span>\n )}\n </span>\n </NavigationMenuLink>\n ))}\n </div>\n </div>\n </NavigationMenuContent>\n </NavigationMenuItem>\n ) : (\n <NavigationMenuItem value={`nav-${index}`}>\n <NavigationMenuLink\n href={item.href}\n active={item.active}\n class={navigationMenuTriggerStyle()}\n >\n {item.label}\n </NavigationMenuLink>\n </NavigationMenuItem>\n )\n )}\n </NavigationMenuList>\n </NavigationMenu>\n <HeaderGroup class=\"ml-auto hidden justify-end lg:flex\">\n {buttons.map(({ label, href, icon, target }, index) => (\n <Button\n as=\"a\"\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noreferrer\" : undefined}\n size=\"sm\"\n variant={index === buttons.length - 1 ? \"default\" : \"ghost\"}\n >\n {icon && <Icon name={icon} />}\n {label}\n </Button>\n ))}\n </HeaderGroup>\n <Sheet class=\"lg:hidden\">\n <SheetTrigger\n variant=\"ghost\"\n size=\"icon-sm\"\n class=\"ml-auto\"\n aria-label={menu.label}\n >\n <Icon name=\"menu\" />\n </SheetTrigger>\n <SheetContent side=\"right\" showCloseButton={false} class=\"p-0\">\n <SheetHeader class=\"sr-only\">\n <SheetTitle>{menu.title}</SheetTitle>\n <SheetDescription>{menu.description}</SheetDescription>\n </SheetHeader>\n <div class=\"flex h-full flex-col gap-6 overflow-y-auto px-4 py-12\">\n <nav aria-label={menu.title} class=\"flex flex-col gap-4\">\n {navigation.map((item) => (\n <div class=\"grid gap-1\">\n <SheetClose\n as=\"a\"\n href={item.href}\n aria-current={item.active ? \"page\" : undefined}\n variant=\"ghost\"\n class=\"justify-start font-medium\"\n >\n {item.label}\n </SheetClose>\n {item.links && item.links.length > 0 && (\n <div class=\"border-border ml-3 grid gap-1 border-l pl-3\">\n {item.links.map((link) => (\n <SheetClose\n as=\"a\"\n href={link.href}\n aria-current={link.active ? \"page\" : undefined}\n variant=\"ghost\"\n class=\"text-muted-foreground justify-start\"\n >\n {link.icon && <Icon name={link.icon} />}\n {link.label}\n </SheetClose>\n ))}\n </div>\n )}\n </div>\n ))}\n </nav>\n {buttons.length > 0 && (\n <div class=\"mt-auto flex flex-col gap-2\">\n {buttons.map(({ label, href, icon, target }, index) => (\n <SheetClose\n as=\"a\"\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noreferrer\" : undefined}\n variant={index === buttons.length - 1 ? \"default\" : \"outline\"}\n >\n {icon && <Icon name={icon} />}\n {label}\n </SheetClose>\n ))}\n </div>\n )}\n </div>\n <SheetClose\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-sm\"\n class=\"absolute top-4 right-4\"\n >\n <XIcon />\n <span class=\"sr-only\">{menu.closeLabel}</span>\n </SheetClose>\n </SheetContent>\n </Sheet>\n </HeaderContainer>\n</Header>\n",
|
|
21
|
-
"type": "registry:block"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"docs": "https://ui.full.dev/blocks/header/",
|
|
25
|
-
"categories": [
|
|
26
|
-
"header"
|
|
27
|
-
],
|
|
28
|
-
"type": "registry:block"
|
|
29
|
-
}
|
package/public/r/header-5.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "header-5",
|
|
4
|
-
"title": "Header 5",
|
|
5
|
-
"description": "Header layouts for brand, navigation, and high-level page actions.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/button",
|
|
11
|
-
"@fulldev/header",
|
|
12
|
-
"@fulldev/icon",
|
|
13
|
-
"@fulldev/logo",
|
|
14
|
-
"@fulldev/navigation-menu",
|
|
15
|
-
"@fulldev/separator",
|
|
16
|
-
"@fulldev/sheet"
|
|
17
|
-
],
|
|
18
|
-
"files": [
|
|
19
|
-
{
|
|
20
|
-
"path": "src/components/blocks/header-5.astro",
|
|
21
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Header, HeaderContainer, HeaderGroup } from \"@/components/ui/header\"\nimport { Icon } from \"@/components/ui/icon\"\nimport { Logo, LogoImage, LogoText } from \"@/components/ui/logo\"\nimport {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n navigationMenuTriggerStyle,\n} from \"@/components/ui/navigation-menu\"\nimport { Separator } from \"@/components/ui/separator\"\nimport {\n Sheet,\n SheetClose,\n SheetContent,\n SheetDescription,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n} from \"@/components/ui/sheet\"\n\ntype Props = HTMLAttributes<\"header\"> & {\n logo: {\n label: string\n href: string\n src?: ImageMetadata\n srcLight?: ImageMetadata\n srcDark?: ImageMetadata\n }\n navigation: {\n label: string\n href: string\n description?: string\n active?: boolean\n image?: {\n src: ImageMetadata\n }\n links?: {\n label: string\n href: string\n description?: string\n icon?: string\n active?: boolean\n }[]\n }[]\n buttons: {\n label: string\n href: string\n icon?: string\n target?: \"_self\" | \"_blank\"\n }[]\n navigationLabel: string\n menu: {\n label: string\n title: string\n description: string\n closeLabel: string\n }\n}\n\nconst {\n class: className,\n logo,\n navigation,\n buttons,\n navigationLabel,\n menu,\n ...props\n} = Astro.props\n---\n\n<Header\n class={cn(\"flex-col items-stretch gap-0 border-b py-0\", className)}\n {...props}\n>\n <HeaderContainer class=\"min-h-14 justify-between\">\n <HeaderGroup>\n <Logo href={logo.href}>\n <LogoImage\n src={logo.src}\n srcLight={logo.srcLight}\n srcDark={logo.srcDark}\n alt=\"\"\n />\n <LogoText>{logo.label}</LogoText>\n </Logo>\n </HeaderGroup>\n <HeaderGroup class=\"ml-auto hidden justify-end lg:flex\">\n {buttons.map(({ label, href, icon, target }, index) => (\n <Button\n as=\"a\"\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noreferrer\" : undefined}\n size=\"sm\"\n variant={index === buttons.length - 1 ? \"default\" : \"ghost\"}\n >\n {icon && <Icon name={icon} />}\n {label}\n </Button>\n ))}\n </HeaderGroup>\n <Sheet class=\"lg:hidden\">\n <SheetTrigger\n variant=\"ghost\"\n size=\"icon-sm\"\n class=\"ml-auto\"\n aria-label={menu.label}\n >\n <Icon name=\"menu\" />\n </SheetTrigger>\n <SheetContent side=\"right\" showCloseButton={false} class=\"p-0\">\n <SheetHeader class=\"sr-only\">\n <SheetTitle>{menu.title}</SheetTitle>\n <SheetDescription>{menu.description}</SheetDescription>\n </SheetHeader>\n <div class=\"flex h-full flex-col gap-6 overflow-y-auto px-4 py-12\">\n <nav aria-label={menu.title} class=\"flex flex-col gap-4\">\n {navigation.map((item) => (\n <div class=\"grid gap-1\">\n <SheetClose\n as=\"a\"\n href={item.href}\n aria-current={item.active ? \"page\" : undefined}\n variant=\"ghost\"\n class=\"justify-start font-medium\"\n >\n {item.label}\n </SheetClose>\n {item.links && item.links.length > 0 && (\n <div class=\"border-border ml-3 grid gap-1 border-l pl-3\">\n {item.links.map((link) => (\n <SheetClose\n as=\"a\"\n href={link.href}\n aria-current={link.active ? \"page\" : undefined}\n variant=\"ghost\"\n class=\"text-muted-foreground justify-start\"\n >\n {link.icon && <Icon name={link.icon} />}\n {link.label}\n </SheetClose>\n ))}\n </div>\n )}\n </div>\n ))}\n </nav>\n {buttons.length > 0 && <Separator />}\n {buttons.length > 0 && (\n <div class=\"mt-auto flex flex-col gap-2\">\n {buttons.map(({ label, href, icon, target }, index) => (\n <SheetClose\n as=\"a\"\n href={href}\n target={target}\n rel={target === \"_blank\" ? \"noreferrer\" : undefined}\n variant={index === buttons.length - 1 ? \"default\" : \"outline\"}\n >\n {icon && <Icon name={icon} />}\n {label}\n </SheetClose>\n ))}\n </div>\n )}\n </div>\n <SheetClose\n type=\"button\"\n variant=\"ghost\"\n size=\"icon-sm\"\n class=\"absolute top-4 right-4\"\n >\n <XIcon />\n <span class=\"sr-only\">{menu.closeLabel}</span>\n </SheetClose>\n </SheetContent>\n </Sheet>\n </HeaderContainer>\n <Separator class=\"hidden lg:block\" />\n <HeaderContainer class=\"hidden min-h-11 lg:flex\">\n <NavigationMenu\n aria-label={navigationLabel}\n class=\"max-w-none justify-start\"\n align=\"start\"\n >\n <NavigationMenuList class=\"justify-start\">\n {navigation.map((item, index) =>\n item.links?.length ? (\n <NavigationMenuItem value={`nav-${index}`}>\n <NavigationMenuTrigger>{item.label}</NavigationMenuTrigger>\n <NavigationMenuContent>\n <div class=\"grid w-[min(52rem,calc(100vw-2rem))] gap-2 p-2 lg:grid-cols-[1fr_1.2fr]\">\n <NavigationMenuLink\n href={item.href}\n active={item.active}\n class=\"bg-muted/50 hover:bg-muted focus:bg-muted flex-col items-start gap-3 p-3\"\n >\n {item.image && (\n <Image\n src={item.image.src}\n alt=\"\"\n class=\"aspect-[16/9] w-full rounded-md object-cover\"\n widths={[320, 480, 640]}\n sizes=\"(min-width: 1024px) 22rem, 100vw\"\n />\n )}\n <span class=\"grid gap-1\">\n <span class=\"font-medium\">{item.label}</span>\n {item.description && (\n <span class=\"text-muted-foreground text-sm leading-relaxed\">\n {item.description}\n </span>\n )}\n </span>\n </NavigationMenuLink>\n <div class=\"grid gap-1 lg:grid-cols-2\">\n {item.links.map((link) => (\n <NavigationMenuLink\n href={link.href}\n active={link.active}\n class=\"items-start gap-3 p-3\"\n >\n {link.icon && (\n <Icon\n name={link.icon}\n class=\"text-muted-foreground mt-0.5\"\n />\n )}\n <span class=\"grid gap-1\">\n <span class=\"font-medium\">{link.label}</span>\n {link.description && (\n <span class=\"text-muted-foreground text-sm leading-relaxed\">\n {link.description}\n </span>\n )}\n </span>\n </NavigationMenuLink>\n ))}\n </div>\n </div>\n </NavigationMenuContent>\n </NavigationMenuItem>\n ) : (\n <NavigationMenuItem value={`nav-${index}`}>\n <NavigationMenuLink\n href={item.href}\n active={item.active}\n class={navigationMenuTriggerStyle()}\n >\n {item.label}\n </NavigationMenuLink>\n </NavigationMenuItem>\n )\n )}\n </NavigationMenuList>\n </NavigationMenu>\n </HeaderContainer>\n</Header>\n",
|
|
22
|
-
"type": "registry:block"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"docs": "https://ui.full.dev/blocks/header/",
|
|
26
|
-
"categories": [
|
|
27
|
-
"header"
|
|
28
|
-
],
|
|
29
|
-
"type": "registry:block"
|
|
30
|
-
}
|
package/public/r/header.json
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "header",
|
|
4
|
-
"title": "Header",
|
|
5
|
-
"description": "A responsive site header with grouped content.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/button",
|
|
11
|
-
"@fulldev/sheet"
|
|
12
|
-
],
|
|
13
|
-
"files": [
|
|
14
|
-
{
|
|
15
|
-
"path": "src/components/ui/header/header.astro",
|
|
16
|
-
"content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"header\"> & VariantProps<typeof variants>\n\nconst variants = cva(\"py-2 relative z-50 flex w-full items-center gap-4\", {\n variants: {\n variant: {\n default: \"\",\n floating:\n \"my-2 rounded-lg border bg-background shadow-sm mx-auto w-[calc(100%-2*var(--gutter,--spacing(4)))] max-w-[calc(var(--container,var(--container-7xl))-2*var(--gutter,--spacing(4)))] overflow-hidden\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n})\n\nconst {\n class: className,\n variant = \"default\",\n \"data-slot\": dataSlot = \"header\",\n ...props\n} = Astro.props\n---\n\n<header\n class={cn(variants({ variant }), className)}\n data-slot={dataSlot}\n data-variant={variant}\n {...props}\n>\n <slot />\n</header>\n",
|
|
17
|
-
"type": "registry:ui"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"path": "src/components/ui/header/header-container.astro",
|
|
21
|
-
"content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div\n data-slot=\"header-container\"\n class={cn(\n \"relative mx-auto flex w-full max-w-[var(--container,var(--container-7xl))] gap-4 px-[var(--gutter,--spacing(4))]\",\n className\n )}\n {...props}\n>\n <slot />\n</div>\n",
|
|
22
|
-
"type": "registry:ui"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"path": "src/components/ui/header/header-group.astro",
|
|
26
|
-
"content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div\n data-slot=\"header-group\"\n class={cn(\"flex min-w-0 items-center gap-2\", className)}\n {...props}\n>\n <slot />\n</div>\n",
|
|
27
|
-
"type": "registry:ui"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "src/components/ui/header/index.ts",
|
|
31
|
-
"content": "export { default as Header } from \"./header.astro\"\nexport { default as HeaderContainer } from \"./header-container.astro\"\nexport { default as HeaderGroup } from \"./header-group.astro\"\n",
|
|
32
|
-
"type": "registry:ui"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"docs": "https://ui.full.dev/components/header/",
|
|
36
|
-
"categories": [
|
|
37
|
-
"ui"
|
|
38
|
-
],
|
|
39
|
-
"type": "registry:ui"
|
|
40
|
-
}
|
package/public/r/hero-1.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-1",
|
|
4
|
-
"title": "Hero 1",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/badge",
|
|
8
|
-
"@fulldev/button",
|
|
9
|
-
"@fulldev/section"
|
|
10
|
-
],
|
|
11
|
-
"files": [
|
|
12
|
-
{
|
|
13
|
-
"path": "src/components/blocks/hero-1.astro",
|
|
14
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n badge?: {\n label: string\n href: string\n }\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n badge,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col items-center gap-8 text-center\">\n {badge && (\n <Badge as=\"a\" href={badge.href} variant=\"secondary\">\n {badge.label}\n </Badge>\n )}\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <SectionDescription class=\"max-w-2xl\">{description}</SectionDescription>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </SectionContainer>\n <SectionContainer>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-video w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280, 1536]}\n sizes=\"(min-width: 80rem) 80rem, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
|
|
15
|
-
"type": "registry:block"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
19
|
-
"categories": [
|
|
20
|
-
"hero"
|
|
21
|
-
],
|
|
22
|
-
"type": "registry:block"
|
|
23
|
-
}
|
package/public/r/hero-10.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-10",
|
|
4
|
-
"title": "Hero 10",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/avatar",
|
|
8
|
-
"@fulldev/button",
|
|
9
|
-
"@fulldev/rating",
|
|
10
|
-
"@fulldev/section"
|
|
11
|
-
],
|
|
12
|
-
"files": [
|
|
13
|
-
{
|
|
14
|
-
"path": "src/components/blocks/hero-10.astro",
|
|
15
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\"dark bg-background min-h-screen justify-start\", className)}\n {...props}\n>\n <SectionContainer class=\"relative z-10 grid gap-8 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-center\">\n <div class=\"flex flex-col gap-5\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"flex shrink-0 flex-col gap-5\">\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n class=\"w-full\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0 mask-y-from-0% mask-y-to-100%\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-75\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
|
|
16
|
-
"type": "registry:block"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
20
|
-
"categories": [
|
|
21
|
-
"hero"
|
|
22
|
-
],
|
|
23
|
-
"type": "registry:block"
|
|
24
|
-
}
|
package/public/r/hero-11.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-11",
|
|
4
|
-
"title": "Hero 11",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/avatar",
|
|
8
|
-
"@fulldev/button",
|
|
9
|
-
"@fulldev/rating",
|
|
10
|
-
"@fulldev/section"
|
|
11
|
-
],
|
|
12
|
-
"files": [
|
|
13
|
-
{
|
|
14
|
-
"path": "src/components/blocks/hero-11.astro",
|
|
15
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\"dark bg-background min-h-screen justify-center\", className)}\n {...props}\n>\n <SectionContainer class=\"flex flex-col relative z-10 items-center gap-8 text-center\">\n <h1 class=\"text-foreground max-w-3xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed text-balance\">\n {description}\n </p>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0 mask-y-from-0% mask-y-to-100%\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-75\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
|
|
16
|
-
"type": "registry:block"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
20
|
-
"categories": [
|
|
21
|
-
"hero"
|
|
22
|
-
],
|
|
23
|
-
"type": "registry:block"
|
|
24
|
-
}
|
package/public/r/hero-12.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-12",
|
|
4
|
-
"title": "Hero 12",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/button",
|
|
8
|
-
"@fulldev/section"
|
|
9
|
-
],
|
|
10
|
-
"files": [
|
|
11
|
-
{
|
|
12
|
-
"path": "src/components/blocks/hero-12.astro",
|
|
13
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"gap-8 pt-8\", className)} {...props}>\n <SectionContainer class=\"flex flex-col gap-8 border-y py-8\">\n <div class=\"flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between\">\n <h1 class=\"text-foreground max-w-xl text-2xl leading-[1.2] font-semibold tracking-tight text-balance sm:text-3xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground max-w-md text-base leading-relaxed text-balance\">\n {description}\n </p>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </div>\n </SectionContainer>\n <SectionContainer>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-video w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280, 1536]}\n sizes=\"(min-width: 80rem) 80rem, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
|
|
14
|
-
"type": "registry:block"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
18
|
-
"categories": [
|
|
19
|
-
"hero"
|
|
20
|
-
],
|
|
21
|
-
"type": "registry:block"
|
|
22
|
-
}
|
package/public/r/hero-13.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-13",
|
|
4
|
-
"title": "Hero 13",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/button",
|
|
8
|
-
"@fulldev/section"
|
|
9
|
-
],
|
|
10
|
-
"files": [
|
|
11
|
-
{
|
|
12
|
-
"path": "src/components/blocks/hero-13.astro",
|
|
13
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-[1fr_3fr] lg:items-start\">\n <div class=\"flex flex-col gap-6 pt-8\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-2xl leading-[1.2] font-semibold tracking-tight text-balance sm:text-3xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-base leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 900px, (min-width: 64rem) 75vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
|
|
14
|
-
"type": "registry:block"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
18
|
-
"categories": [
|
|
19
|
-
"hero"
|
|
20
|
-
],
|
|
21
|
-
"type": "registry:block"
|
|
22
|
-
}
|
package/public/r/hero-2.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-2",
|
|
4
|
-
"title": "Hero 2",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/avatar",
|
|
8
|
-
"@fulldev/button",
|
|
9
|
-
"@fulldev/rating",
|
|
10
|
-
"@fulldev/section"
|
|
11
|
-
],
|
|
12
|
-
"files": [
|
|
13
|
-
{
|
|
14
|
-
"path": "src/components/blocks/hero-2.astro",
|
|
15
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport {\n Section,\n SectionContainer,\n SectionDescription,\n} from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"flex flex-col items-center gap-8 text-center\">\n <div class=\"flex flex-col items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex items-center gap-2\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-sm\">{socialProof.text}</span>\n </div>\n </div>\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <SectionDescription class=\"max-w-2xl\">{description}</SectionDescription>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </SectionContainer>\n <SectionContainer>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-video w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280, 1536]}\n sizes=\"(min-width: 80rem) 80rem, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
|
|
16
|
-
"type": "registry:block"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
20
|
-
"categories": [
|
|
21
|
-
"hero"
|
|
22
|
-
],
|
|
23
|
-
"type": "registry:block"
|
|
24
|
-
}
|
package/public/r/hero-3.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-3",
|
|
4
|
-
"title": "Hero 3",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/button",
|
|
8
|
-
"@fulldev/section"
|
|
9
|
-
],
|
|
10
|
-
"files": [
|
|
11
|
-
{
|
|
12
|
-
"path": "src/components/blocks/hero-3.astro",
|
|
13
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\"dark bg-background min-h-[80vh] justify-center\", className)}\n {...props}\n>\n <SectionContainer class=\"flex flex-col relative z-10 items-center gap-8 text-center\">\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed text-balance\">\n {description}\n </p>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-50\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
|
|
14
|
-
"type": "registry:block"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
18
|
-
"categories": [
|
|
19
|
-
"hero"
|
|
20
|
-
],
|
|
21
|
-
"type": "registry:block"
|
|
22
|
-
}
|
package/public/r/hero-4.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-4",
|
|
4
|
-
"title": "Hero 4",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/button",
|
|
11
|
-
"@fulldev/section"
|
|
12
|
-
],
|
|
13
|
-
"files": [
|
|
14
|
-
{
|
|
15
|
-
"path": "src/components/blocks/hero-4.astro",
|
|
16
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section\n class={cn(\n \"dark bg-background text-foreground min-h-screen justify-center\",\n className\n )}\n {...props}\n>\n <SectionContainer class=\"flex flex-col relative z-10 items-center gap-8 text-center\">\n <h1 class=\"text-foreground max-w-4xl text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl lg:text-6xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 max-w-2xl text-lg leading-relaxed text-balance\">\n {description}\n </p>\n <ul class=\"flex flex-wrap justify-center gap-x-6 gap-y-2\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-2 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap justify-center gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-50\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
|
|
17
|
-
"type": "registry:block"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
21
|
-
"categories": [
|
|
22
|
-
"hero"
|
|
23
|
-
],
|
|
24
|
-
"type": "registry:block"
|
|
25
|
-
}
|
package/public/r/hero-5.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-5",
|
|
4
|
-
"title": "Hero 5",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/avatar",
|
|
11
|
-
"@fulldev/button",
|
|
12
|
-
"@fulldev/rating",
|
|
13
|
-
"@fulldev/section"
|
|
14
|
-
],
|
|
15
|
-
"files": [
|
|
16
|
-
{
|
|
17
|
-
"path": "src/components/blocks/hero-5.astro",
|
|
18
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-center\">\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 600px, (min-width: 64rem) 50vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
|
|
19
|
-
"type": "registry:block"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
23
|
-
"categories": [
|
|
24
|
-
"hero"
|
|
25
|
-
],
|
|
26
|
-
"type": "registry:block"
|
|
27
|
-
}
|
package/public/r/hero-6.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-6",
|
|
4
|
-
"title": "Hero 6",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/avatar",
|
|
11
|
-
"@fulldev/button",
|
|
12
|
-
"@fulldev/rating",
|
|
13
|
-
"@fulldev/section"
|
|
14
|
-
],
|
|
15
|
-
"files": [
|
|
16
|
-
{
|
|
17
|
-
"path": "src/components/blocks/hero-6.astro",
|
|
18
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-center\">\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 600px, (min-width: 64rem) 50vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n <div class=\"flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n </SectionContainer>\n</Section>\n",
|
|
19
|
-
"type": "registry:block"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
23
|
-
"categories": [
|
|
24
|
-
"hero"
|
|
25
|
-
],
|
|
26
|
-
"type": "registry:block"
|
|
27
|
-
}
|
package/public/r/hero-7.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-7",
|
|
4
|
-
"title": "Hero 7",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/avatar",
|
|
11
|
-
"@fulldev/button",
|
|
12
|
-
"@fulldev/rating",
|
|
13
|
-
"@fulldev/section"
|
|
14
|
-
],
|
|
15
|
-
"files": [
|
|
16
|
-
{
|
|
17
|
-
"path": "src/components/blocks/hero-7.astro",
|
|
18
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-[2fr_3fr] lg:items-center lg:gap-0\">\n <div class=\"flex flex-col gap-6 lg:pr-12\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 750px, (min-width: 64rem) 60vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
|
|
19
|
-
"type": "registry:block"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
23
|
-
"categories": [
|
|
24
|
-
"hero"
|
|
25
|
-
],
|
|
26
|
-
"type": "registry:block"
|
|
27
|
-
}
|
package/public/r/hero-8.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-8",
|
|
4
|
-
"title": "Hero 8",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"registryDependencies": [
|
|
7
|
-
"@fulldev/button",
|
|
8
|
-
"@fulldev/section"
|
|
9
|
-
],
|
|
10
|
-
"files": [
|
|
11
|
-
{
|
|
12
|
-
"path": "src/components/blocks/hero-8.astro",
|
|
13
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n buttons: {\n label: string\n href: string\n }[]\n image: {\n src: ImageMetadata\n alt: string\n }\n}\n\nconst {\n class: className,\n title,\n description,\n buttons,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-[1fr_3fr] lg:items-center lg:gap-0\">\n <div class=\"flex flex-col gap-6 lg:pr-12\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-muted-foreground text-lg leading-relaxed\">\n {description}\n </p>\n </div>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n </div>\n <Image\n src={image.src}\n alt={image.alt}\n class=\"aspect-[4/3] w-full rounded-xl border object-cover\"\n widths={[640, 960, 1280]}\n sizes=\"(min-width: 80rem) 936px, (min-width: 64rem) 75vw, 100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </SectionContainer>\n</Section>\n",
|
|
14
|
-
"type": "registry:block"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
18
|
-
"categories": [
|
|
19
|
-
"hero"
|
|
20
|
-
],
|
|
21
|
-
"type": "registry:block"
|
|
22
|
-
}
|
package/public/r/hero-9.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "hero-9",
|
|
4
|
-
"title": "Hero 9",
|
|
5
|
-
"description": "Hero sections for launches, product storytelling, editorial pages, and social proof.",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"@lucide/astro"
|
|
8
|
-
],
|
|
9
|
-
"registryDependencies": [
|
|
10
|
-
"@fulldev/avatar",
|
|
11
|
-
"@fulldev/button",
|
|
12
|
-
"@fulldev/rating",
|
|
13
|
-
"@fulldev/section"
|
|
14
|
-
],
|
|
15
|
-
"files": [
|
|
16
|
-
{
|
|
17
|
-
"path": "src/components/blocks/hero-9.astro",
|
|
18
|
-
"content": "---\nimport type { ImageMetadata } from \"astro\"\nimport { Image } from \"astro:assets\"\nimport type { HTMLAttributes } from \"astro/types\"\nimport { CheckIcon } from \"@lucide/astro\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\nimport { Button } from \"@/components/ui/button\"\nimport { Rating } from \"@/components/ui/rating\"\nimport { Section, SectionContainer } from \"@/components/ui/section\"\n\ntype Props = HTMLAttributes<\"section\"> & {\n title: string\n description: string\n features: string[]\n buttons: {\n label: string\n href: string\n }[]\n socialProof: {\n avatars: {\n image?: ImageMetadata\n initials: string\n }[]\n rating: number\n ratingLabel: string\n text: string\n }\n image: {\n src: ImageMetadata\n }\n}\n\nconst {\n class: className,\n title,\n description,\n features,\n buttons,\n socialProof,\n image,\n ...props\n} = Astro.props\n---\n\n<Section class={cn(\"dark bg-background text-foreground\", className)} {...props}>\n <SectionContainer class=\"grid gap-12 lg:grid-cols-2 lg:items-center\">\n <div class=\"relative z-10 flex flex-col gap-6\">\n <div class=\"flex flex-col gap-4\">\n <h1 class=\"text-foreground text-4xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-5xl\">\n {title}\n </h1>\n <p class=\"text-foreground/80 text-lg leading-relaxed\">{description}</p>\n </div>\n <ul class=\"flex flex-col gap-3\">\n {features.map((feature) => (\n <li class=\"flex items-start gap-3 text-sm\">\n <CheckIcon class=\"text-primary mt-0.5 size-4 shrink-0\" />\n {feature}\n </li>\n ))}\n </ul>\n <div class=\"flex flex-wrap gap-3\">\n {buttons.map(({ href, label }, index) => (\n <Button\n as=\"a\"\n href={href}\n size=\"lg\"\n variant={index === 0 ? \"default\" : \"secondary\"}\n >\n {label}\n </Button>\n ))}\n </div>\n <div class=\"flex items-center gap-3\">\n <AvatarGroup aria-hidden=\"true\">\n {socialProof.avatars.map((avatar) => (\n <Avatar class=\"ring-background size-11 ring\">\n <AvatarImage src={avatar.image} />\n <AvatarFallback>{avatar.initials}</AvatarFallback>\n </Avatar>\n ))}\n </AvatarGroup>\n <div class=\"flex flex-col gap-0.5\">\n <Rating\n value={socialProof.rating}\n aria-label={socialProof.ratingLabel}\n />\n <span class=\"text-muted-foreground text-xs\">{socialProof.text}</span>\n </div>\n </div>\n </div>\n </SectionContainer>\n <div class=\"bg-background pointer-events-none absolute inset-0 lg:mask-l-from-30%\">\n <Image\n src={image.src}\n alt=\"\"\n class=\"size-full object-cover opacity-50\"\n widths={[640, 960, 1280, 1920]}\n sizes=\"100vw\"\n loading=\"eager\"\n fetchpriority=\"high\"\n />\n </div>\n</Section>\n",
|
|
19
|
-
"type": "registry:block"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"docs": "https://ui.full.dev/blocks/hero/",
|
|
23
|
-
"categories": [
|
|
24
|
-
"hero"
|
|
25
|
-
],
|
|
26
|
-
"type": "registry:block"
|
|
27
|
-
}
|