@victusvinceere/saas-landing 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.mts +135 -0
- package/dist/components/index.d.ts +135 -0
- package/dist/components/index.js +444 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +402 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +444 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +402 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +50 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { LucideIcon } from 'lucide-react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
interface HeroStat {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
interface HeroProps {
|
|
10
|
+
badge?: {
|
|
11
|
+
text: string;
|
|
12
|
+
icon?: LucideIcon;
|
|
13
|
+
};
|
|
14
|
+
title: ReactNode;
|
|
15
|
+
subtitle: string;
|
|
16
|
+
stats?: HeroStat[];
|
|
17
|
+
primaryCta?: {
|
|
18
|
+
text: string;
|
|
19
|
+
href: string;
|
|
20
|
+
};
|
|
21
|
+
secondaryCta?: {
|
|
22
|
+
text: string;
|
|
23
|
+
href: string;
|
|
24
|
+
};
|
|
25
|
+
trustedBy?: string[];
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
declare function Hero({ badge, title, subtitle, stats, primaryCta, secondaryCta, trustedBy, children, className, }: HeroProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
interface Feature {
|
|
32
|
+
name: string;
|
|
33
|
+
description: string;
|
|
34
|
+
icon: LucideIcon;
|
|
35
|
+
color?: string;
|
|
36
|
+
bg?: string;
|
|
37
|
+
}
|
|
38
|
+
interface FeaturesProps {
|
|
39
|
+
badge?: string;
|
|
40
|
+
title: string;
|
|
41
|
+
subtitle?: string;
|
|
42
|
+
features: Feature[];
|
|
43
|
+
techStack?: Array<{
|
|
44
|
+
name: string;
|
|
45
|
+
color: string;
|
|
46
|
+
textColor?: string;
|
|
47
|
+
label: string;
|
|
48
|
+
}>;
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
declare function Features({ badge, title, subtitle, features, techStack, className, }: FeaturesProps): react_jsx_runtime.JSX.Element;
|
|
52
|
+
|
|
53
|
+
interface PricingPlan {
|
|
54
|
+
name: string;
|
|
55
|
+
price: string;
|
|
56
|
+
period?: string;
|
|
57
|
+
description: string;
|
|
58
|
+
features: string[];
|
|
59
|
+
cta: string;
|
|
60
|
+
href: string;
|
|
61
|
+
popular?: boolean;
|
|
62
|
+
}
|
|
63
|
+
interface PricingProps {
|
|
64
|
+
title?: string;
|
|
65
|
+
subtitle?: string;
|
|
66
|
+
plans: PricingPlan[];
|
|
67
|
+
className?: string;
|
|
68
|
+
}
|
|
69
|
+
declare function Pricing({ title, subtitle, plans, className, }: PricingProps): react_jsx_runtime.JSX.Element;
|
|
70
|
+
|
|
71
|
+
interface FaqItem {
|
|
72
|
+
question: string;
|
|
73
|
+
answer: string;
|
|
74
|
+
}
|
|
75
|
+
interface FaqProps {
|
|
76
|
+
title?: string;
|
|
77
|
+
subtitle?: string;
|
|
78
|
+
items: FaqItem[];
|
|
79
|
+
className?: string;
|
|
80
|
+
}
|
|
81
|
+
declare function Faq({ title, subtitle, items, className, }: FaqProps): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
83
|
+
interface CtaProps {
|
|
84
|
+
title: string;
|
|
85
|
+
subtitle?: string;
|
|
86
|
+
primaryCta?: {
|
|
87
|
+
text: string;
|
|
88
|
+
href: string;
|
|
89
|
+
};
|
|
90
|
+
secondaryCta?: {
|
|
91
|
+
text: string;
|
|
92
|
+
href: string;
|
|
93
|
+
};
|
|
94
|
+
className?: string;
|
|
95
|
+
}
|
|
96
|
+
declare function Cta({ title, subtitle, primaryCta, secondaryCta, className, }: CtaProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
interface FooterLink {
|
|
99
|
+
label: string;
|
|
100
|
+
href: string;
|
|
101
|
+
}
|
|
102
|
+
interface FooterColumn {
|
|
103
|
+
title: string;
|
|
104
|
+
links: FooterLink[];
|
|
105
|
+
}
|
|
106
|
+
interface FooterProps {
|
|
107
|
+
logo?: ReactNode;
|
|
108
|
+
siteName?: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
columns?: FooterColumn[];
|
|
111
|
+
socialLinks?: Array<{
|
|
112
|
+
icon: ReactNode;
|
|
113
|
+
href: string;
|
|
114
|
+
label: string;
|
|
115
|
+
}>;
|
|
116
|
+
copyright?: string;
|
|
117
|
+
className?: string;
|
|
118
|
+
}
|
|
119
|
+
declare function Footer({ logo, siteName, description, columns, socialLinks, copyright, className, }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
121
|
+
interface NavLink {
|
|
122
|
+
label: string;
|
|
123
|
+
href: string;
|
|
124
|
+
}
|
|
125
|
+
interface NavbarProps {
|
|
126
|
+
logo?: ReactNode;
|
|
127
|
+
siteName?: string;
|
|
128
|
+
links?: NavLink[];
|
|
129
|
+
ctaText?: string;
|
|
130
|
+
ctaHref?: string;
|
|
131
|
+
className?: string;
|
|
132
|
+
}
|
|
133
|
+
declare function Navbar({ logo, siteName, links, ctaText, ctaHref, className, }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
134
|
+
|
|
135
|
+
export { Cta, type CtaProps, Faq, type FaqItem, type FaqProps, type Feature, Features, type FeaturesProps, Footer, type FooterColumn, type FooterLink, type FooterProps, Hero, type HeroProps, type HeroStat, type NavLink, Navbar, type NavbarProps, Pricing, type PricingPlan, type PricingProps };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { LucideIcon } from 'lucide-react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
interface HeroStat {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
interface HeroProps {
|
|
10
|
+
badge?: {
|
|
11
|
+
text: string;
|
|
12
|
+
icon?: LucideIcon;
|
|
13
|
+
};
|
|
14
|
+
title: ReactNode;
|
|
15
|
+
subtitle: string;
|
|
16
|
+
stats?: HeroStat[];
|
|
17
|
+
primaryCta?: {
|
|
18
|
+
text: string;
|
|
19
|
+
href: string;
|
|
20
|
+
};
|
|
21
|
+
secondaryCta?: {
|
|
22
|
+
text: string;
|
|
23
|
+
href: string;
|
|
24
|
+
};
|
|
25
|
+
trustedBy?: string[];
|
|
26
|
+
children?: ReactNode;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
declare function Hero({ badge, title, subtitle, stats, primaryCta, secondaryCta, trustedBy, children, className, }: HeroProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
interface Feature {
|
|
32
|
+
name: string;
|
|
33
|
+
description: string;
|
|
34
|
+
icon: LucideIcon;
|
|
35
|
+
color?: string;
|
|
36
|
+
bg?: string;
|
|
37
|
+
}
|
|
38
|
+
interface FeaturesProps {
|
|
39
|
+
badge?: string;
|
|
40
|
+
title: string;
|
|
41
|
+
subtitle?: string;
|
|
42
|
+
features: Feature[];
|
|
43
|
+
techStack?: Array<{
|
|
44
|
+
name: string;
|
|
45
|
+
color: string;
|
|
46
|
+
textColor?: string;
|
|
47
|
+
label: string;
|
|
48
|
+
}>;
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
declare function Features({ badge, title, subtitle, features, techStack, className, }: FeaturesProps): react_jsx_runtime.JSX.Element;
|
|
52
|
+
|
|
53
|
+
interface PricingPlan {
|
|
54
|
+
name: string;
|
|
55
|
+
price: string;
|
|
56
|
+
period?: string;
|
|
57
|
+
description: string;
|
|
58
|
+
features: string[];
|
|
59
|
+
cta: string;
|
|
60
|
+
href: string;
|
|
61
|
+
popular?: boolean;
|
|
62
|
+
}
|
|
63
|
+
interface PricingProps {
|
|
64
|
+
title?: string;
|
|
65
|
+
subtitle?: string;
|
|
66
|
+
plans: PricingPlan[];
|
|
67
|
+
className?: string;
|
|
68
|
+
}
|
|
69
|
+
declare function Pricing({ title, subtitle, plans, className, }: PricingProps): react_jsx_runtime.JSX.Element;
|
|
70
|
+
|
|
71
|
+
interface FaqItem {
|
|
72
|
+
question: string;
|
|
73
|
+
answer: string;
|
|
74
|
+
}
|
|
75
|
+
interface FaqProps {
|
|
76
|
+
title?: string;
|
|
77
|
+
subtitle?: string;
|
|
78
|
+
items: FaqItem[];
|
|
79
|
+
className?: string;
|
|
80
|
+
}
|
|
81
|
+
declare function Faq({ title, subtitle, items, className, }: FaqProps): react_jsx_runtime.JSX.Element;
|
|
82
|
+
|
|
83
|
+
interface CtaProps {
|
|
84
|
+
title: string;
|
|
85
|
+
subtitle?: string;
|
|
86
|
+
primaryCta?: {
|
|
87
|
+
text: string;
|
|
88
|
+
href: string;
|
|
89
|
+
};
|
|
90
|
+
secondaryCta?: {
|
|
91
|
+
text: string;
|
|
92
|
+
href: string;
|
|
93
|
+
};
|
|
94
|
+
className?: string;
|
|
95
|
+
}
|
|
96
|
+
declare function Cta({ title, subtitle, primaryCta, secondaryCta, className, }: CtaProps): react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
interface FooterLink {
|
|
99
|
+
label: string;
|
|
100
|
+
href: string;
|
|
101
|
+
}
|
|
102
|
+
interface FooterColumn {
|
|
103
|
+
title: string;
|
|
104
|
+
links: FooterLink[];
|
|
105
|
+
}
|
|
106
|
+
interface FooterProps {
|
|
107
|
+
logo?: ReactNode;
|
|
108
|
+
siteName?: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
columns?: FooterColumn[];
|
|
111
|
+
socialLinks?: Array<{
|
|
112
|
+
icon: ReactNode;
|
|
113
|
+
href: string;
|
|
114
|
+
label: string;
|
|
115
|
+
}>;
|
|
116
|
+
copyright?: string;
|
|
117
|
+
className?: string;
|
|
118
|
+
}
|
|
119
|
+
declare function Footer({ logo, siteName, description, columns, socialLinks, copyright, className, }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
|
|
121
|
+
interface NavLink {
|
|
122
|
+
label: string;
|
|
123
|
+
href: string;
|
|
124
|
+
}
|
|
125
|
+
interface NavbarProps {
|
|
126
|
+
logo?: ReactNode;
|
|
127
|
+
siteName?: string;
|
|
128
|
+
links?: NavLink[];
|
|
129
|
+
ctaText?: string;
|
|
130
|
+
ctaHref?: string;
|
|
131
|
+
className?: string;
|
|
132
|
+
}
|
|
133
|
+
declare function Navbar({ logo, siteName, links, ctaText, ctaHref, className, }: NavbarProps): react_jsx_runtime.JSX.Element;
|
|
134
|
+
|
|
135
|
+
export { Cta, type CtaProps, Faq, type FaqItem, type FaqProps, type Feature, Features, type FeaturesProps, Footer, type FooterColumn, type FooterLink, type FooterProps, Hero, type HeroProps, type HeroStat, type NavLink, Navbar, type NavbarProps, Pricing, type PricingPlan, type PricingProps };
|