@mdxui/named 6.0.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +4 -20
- package/dist/components/index.js +101 -109
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +101 -109
- package/dist/index.js.map +1 -1
- package/dist/problem-B2-XszSB.d.ts +22 -0
- package/dist/schemas/index.d.ts +51 -0
- package/dist/schemas/index.js +235 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/shared/index.js +1 -1
- package/dist/shared/index.js.map +1 -1
- package/dist/view/index.d.ts +166 -0
- package/dist/view/index.js +1121 -0
- package/dist/view/index.js.map +1 -0
- package/package.json +32 -11
package/dist/index.js
CHANGED
|
@@ -133,7 +133,7 @@ function Hero({
|
|
|
133
133
|
),
|
|
134
134
|
className
|
|
135
135
|
}) {
|
|
136
|
-
return /* @__PURE__ */ jsx3("section", { className: cn("relative py-12 md:py-16 px-6 lg:px-12 bg-
|
|
136
|
+
return /* @__PURE__ */ jsx3("section", { className: cn("relative py-12 md:py-16 px-6 lg:px-12 bg-background", className), children: /* @__PURE__ */ jsxs("div", { className: "max-w-7xl mx-auto p-0 sm:p-16 rounded-none sm:rounded-3xl md:[background:linear-gradient(180deg,var(--card)_0%,transparent_83.55%)]", children: [
|
|
137
137
|
/* @__PURE__ */ jsxs("div", { className: "grid lg:grid-cols-2 gap-8 lg:gap-16 items-start mb-16 lg:mb-20", children: [
|
|
138
138
|
/* @__PURE__ */ jsxs("div", { className: "space-y-6 lg:pt-8", children: [
|
|
139
139
|
/* @__PURE__ */ jsx3(ScrollReveal, { direction: "down", delay: 0.1, children: /* @__PURE__ */ jsx3("div", { className: "inline-block", children: /* @__PURE__ */ jsxs(
|
|
@@ -142,14 +142,14 @@ function Hero({
|
|
|
142
142
|
href: badgeHref,
|
|
143
143
|
target: "_blank",
|
|
144
144
|
rel: "noopener noreferrer",
|
|
145
|
-
className: "inline-flex items-center gap-2.5 px-4 py-2 rounded-full transition-colors border border-
|
|
145
|
+
className: "inline-flex items-center gap-2.5 px-4 py-2 rounded-full transition-colors border border-border bg-card",
|
|
146
146
|
children: [
|
|
147
147
|
/* @__PURE__ */ jsx3("span", { className: "text-base", children: badgeEmoji }),
|
|
148
|
-
/* @__PURE__ */ jsx3("p", { className: "font-normal text-sm tracking-wide leading-snug text-
|
|
148
|
+
/* @__PURE__ */ jsx3("p", { className: "font-normal text-sm tracking-wide leading-snug text-foreground uppercase", children: badgeText })
|
|
149
149
|
]
|
|
150
150
|
}
|
|
151
151
|
) }) }),
|
|
152
|
-
/* @__PURE__ */ jsx3(ScrollReveal, { direction: "up", delay: 0.2, children: /* @__PURE__ */ jsx3("h1", { className: "font-normal text-[clamp(56px,6vw,72px)] leading-tight tracking-tight text-
|
|
152
|
+
/* @__PURE__ */ jsx3(ScrollReveal, { direction: "up", delay: 0.2, children: /* @__PURE__ */ jsx3("h1", { className: "font-normal text-[clamp(56px,6vw,72px)] leading-tight tracking-tight text-foreground", children: heading }) }),
|
|
153
153
|
/* @__PURE__ */ jsx3(ScrollReveal, { direction: "up", delay: 0.3, children: /* @__PURE__ */ jsx3("p", { className: "text-lg leading-relaxed max-w-lg", children: description }) }),
|
|
154
154
|
/* @__PURE__ */ jsx3(ScrollReveal, { direction: "up", delay: 0.4, trigger: "mount", children: /* @__PURE__ */ jsx3("div", { className: "flex flex-col sm:flex-row gap-3 pt-4", children: /* @__PURE__ */ jsx3(Button, { asChild: true, variant: ctaVariant, children: /* @__PURE__ */ jsxs("a", { href: ctaHref, children: [
|
|
155
155
|
ctaText,
|
|
@@ -162,31 +162,30 @@ function Hero({
|
|
|
162
162
|
src: rightImageSrc,
|
|
163
163
|
alt: rightImageAlt,
|
|
164
164
|
fill: true,
|
|
165
|
-
className: "object-cover object-left-center",
|
|
166
|
-
style: { borderRadius: "var(--radius-image)" },
|
|
165
|
+
className: "object-cover object-left-center rounded-2xl",
|
|
167
166
|
priority: true,
|
|
168
167
|
sizes: rightImageSizes
|
|
169
168
|
}
|
|
170
169
|
) }) }) }) })
|
|
171
170
|
] }),
|
|
172
171
|
/* @__PURE__ */ jsxs(ScrollReveal, { direction: "up", delay: 0.4, trigger: "mount", children: [
|
|
173
|
-
/* @__PURE__ */ jsx3("div", { className: "mt-12", children: /* @__PURE__ */ jsx3("p", { className: "text-base text-
|
|
172
|
+
/* @__PURE__ */ jsx3("div", { className: "mt-12", children: /* @__PURE__ */ jsx3("p", { className: "text-base text-muted-foreground text-center", children: marqueeTitle }) }),
|
|
174
173
|
/* @__PURE__ */ jsxs("div", { className: "relative mt-4 sm:mt-6", children: [
|
|
175
174
|
/* @__PURE__ */ jsx3(
|
|
176
175
|
"div",
|
|
177
176
|
{
|
|
178
177
|
className: "pointer-events-none absolute inset-y-0 left-0 w-20 sm:w-28 z-10",
|
|
179
|
-
style: { background: "linear-gradient(to right, var(--
|
|
178
|
+
style: { background: "linear-gradient(to right, var(--background), transparent)" }
|
|
180
179
|
}
|
|
181
180
|
),
|
|
182
181
|
/* @__PURE__ */ jsx3(
|
|
183
182
|
"div",
|
|
184
183
|
{
|
|
185
184
|
className: "pointer-events-none absolute inset-y-0 right-0 w-20 sm:w-28 z-10",
|
|
186
|
-
style: { background: "linear-gradient(to left, var(--
|
|
185
|
+
style: { background: "linear-gradient(to left, var(--background), transparent)" }
|
|
187
186
|
}
|
|
188
187
|
),
|
|
189
|
-
/* @__PURE__ */ jsx3(Marquee, { className: "relative z-0 py-2 [--gap:1.25rem] sm:[--gap:3rem]", children: marqueeImages.map((src, i) => /* @__PURE__ */ jsx3("img", { src, alt: "Placeholder", className: "h-16 w-16 rounded-xl bg-
|
|
188
|
+
/* @__PURE__ */ jsx3(Marquee, { className: "relative z-0 py-2 [--gap:1.25rem] sm:[--gap:3rem]", children: marqueeImages.map((src, i) => /* @__PURE__ */ jsx3("img", { src, alt: "Placeholder", className: "h-16 w-16 rounded-xl bg-card p-2" }, `${src}-${i}`)) })
|
|
190
189
|
] })
|
|
191
190
|
] })
|
|
192
191
|
] }) });
|
|
@@ -319,19 +318,19 @@ $.Priya.statusReport({
|
|
|
319
318
|
}
|
|
320
319
|
];
|
|
321
320
|
function Features({ heading = "How It Works", description = "Priya handles the repetitive work so you can focus on what matters. Here's how she automates your entire product workflow.", features = defaultFeatures, className }) {
|
|
322
|
-
return /* @__PURE__ */ jsx5("section", { id: "features", className: cn("flex justify-center items-center pb-0 md:pb-10 bg-
|
|
321
|
+
return /* @__PURE__ */ jsx5("section", { id: "features", className: cn("flex justify-center items-center pb-0 md:pb-10 bg-background", className), children: /* @__PURE__ */ jsxs2("div", { className: "features-gradient flex flex-col items-center w-full relative overflow-visible rounded-[36px] gap-16 h-min max-w-[1400px] py-10 sm:py-20", children: [
|
|
323
322
|
/* @__PURE__ */ jsx5(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsxs2("div", { className: "text-center w-full px-4 md:px-6 space-y-4", children: [
|
|
324
|
-
/* @__PURE__ */ jsx5("h2", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-
|
|
325
|
-
/* @__PURE__ */ jsx5("p", { className: "text-base md:text-lg text-
|
|
323
|
+
/* @__PURE__ */ jsx5("h2", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-foreground", children: heading }),
|
|
324
|
+
/* @__PURE__ */ jsx5("p", { className: "text-base md:text-lg text-muted-foreground max-w-2xl mx-auto", children: description })
|
|
326
325
|
] }) }),
|
|
327
|
-
/* @__PURE__ */ jsx5("div", { className: "w-full px-4 lg:px-18 space-y-10", children: features.map((feature, index) => /* @__PURE__ */ jsx5(ScrollReveal, { direction: "up", delay: index * 0.1, children: /* @__PURE__ */ jsxs2("div", { className: "grid md:grid-cols-2 overflow-hidden bg-
|
|
326
|
+
/* @__PURE__ */ jsx5("div", { className: "w-full px-4 lg:px-18 space-y-10", children: features.map((feature, index) => /* @__PURE__ */ jsx5(ScrollReveal, { direction: "up", delay: index * 0.1, children: /* @__PURE__ */ jsxs2("div", { className: "grid md:grid-cols-2 overflow-hidden bg-card w-full rounded-3xl feature-card-shadow opacity-100 border border-border", children: [
|
|
328
327
|
/* @__PURE__ */ jsxs2("div", { className: "flex flex-col px-6 py-8 lg:px-8 lg:py-12 xl:px-12 xl:py-20", children: [
|
|
329
|
-
/* @__PURE__ */ jsx5("div", { className: "mb-4", children: /* @__PURE__ */ jsx5("span", { className: "inline-flex size-10 items-center justify-center rounded-lg font-mono text-sm font-medium bg-
|
|
330
|
-
/* @__PURE__ */ jsx5("h3", { className: "mb-3 text-2xl font-medium sm:mb-5 md:text-3xl text-
|
|
331
|
-
/* @__PURE__ */ jsx5("div", { className: "mb-8 text-sm sm:mb-10 md:text-base text-
|
|
328
|
+
/* @__PURE__ */ jsx5("div", { className: "mb-4", children: /* @__PURE__ */ jsx5("span", { className: "inline-flex size-10 items-center justify-center rounded-lg font-mono text-sm font-medium bg-card dark:bg-muted border border-border dark:border-border text-foreground", children: feature.badge }) }),
|
|
329
|
+
/* @__PURE__ */ jsx5("h3", { className: "mb-3 text-2xl font-medium sm:mb-5 md:text-3xl text-foreground", children: feature.title }),
|
|
330
|
+
/* @__PURE__ */ jsx5("div", { className: "mb-8 text-sm sm:mb-10 md:text-base text-muted-foreground", children: feature.description }),
|
|
332
331
|
/* @__PURE__ */ jsx5("ul", { className: "space-y-2 sm:space-y-3", children: feature.items.map((item, itemIndex) => /* @__PURE__ */ jsxs2("li", { className: "flex gap-x-3 items-start", children: [
|
|
333
|
-
/* @__PURE__ */ jsx5(CheckCircle, { className: "mt-1 size-4 shrink-0 text-
|
|
334
|
-
/* @__PURE__ */ jsx5("p", { className: "text-sm md:text-base text-
|
|
332
|
+
/* @__PURE__ */ jsx5(CheckCircle, { className: "mt-1 size-4 shrink-0 text-primary" }),
|
|
333
|
+
/* @__PURE__ */ jsx5("p", { className: "text-sm md:text-base text-foreground", children: item.text })
|
|
335
334
|
] }, itemIndex)) })
|
|
336
335
|
] }),
|
|
337
336
|
/* @__PURE__ */ jsx5("div", { className: "relative order-last md:order-last h-96 md:h-[500px] p-4 md:p-8 lg:p-10", children: /* @__PURE__ */ jsx5(CodeWindow, { code: feature.code }) })
|
|
@@ -364,33 +363,33 @@ function Pricing({
|
|
|
364
363
|
ctaHref = "#contact",
|
|
365
364
|
featuresHeading = "What's included",
|
|
366
365
|
features = defaultFeatures2,
|
|
367
|
-
backgroundColor = "bg-
|
|
366
|
+
backgroundColor = "bg-background",
|
|
368
367
|
securityNote = "Priya only accesses GitHub Issues and Projects\u2014she cannot read your code or secrets.",
|
|
369
368
|
className
|
|
370
369
|
}) {
|
|
371
370
|
return /* @__PURE__ */ jsx6("section", { id: "pricing", className: cn(`pt-12 md:pt-16 pb-10 sm:pb-20 ${backgroundColor}`, className), children: /* @__PURE__ */ jsxs3("div", { className: "max-w-7xl mx-auto p-6 sm:p-16 rounded-none sm:rounded-3xl pricing-gradient", children: [
|
|
372
371
|
/* @__PURE__ */ jsx6(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsxs3("div", { className: "text-center my-16 sm:my-12", children: [
|
|
373
|
-
/* @__PURE__ */ jsx6("h2", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-
|
|
374
|
-
/* @__PURE__ */ jsx6("p", { className: "text-base text-
|
|
372
|
+
/* @__PURE__ */ jsx6("h2", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-foreground mb-4", children: heading }),
|
|
373
|
+
/* @__PURE__ */ jsx6("p", { className: "text-base text-muted-foreground max-w-2xl mx-auto", children: subheading })
|
|
375
374
|
] }) }),
|
|
376
|
-
/* @__PURE__ */ jsx6(ScrollReveal, { direction: "up", delay: 0.2, children: /* @__PURE__ */ jsxs3("div", { className: "bg-
|
|
375
|
+
/* @__PURE__ */ jsx6(ScrollReveal, { direction: "up", delay: 0.2, children: /* @__PURE__ */ jsxs3("div", { className: "bg-card mx-auto flex w-full md:max-w-md lg:max-w-3xl flex-col rounded-3xl border border-border feature-card-shadow p-6 md:p-8 px-6", children: [
|
|
377
376
|
/* @__PURE__ */ jsxs3("div", { className: "text-center", children: [
|
|
378
377
|
/* @__PURE__ */ jsxs3("div", { className: "flex justify-start sm:justify-center items-baseline", children: [
|
|
379
|
-
/* @__PURE__ */ jsx6("span", { className: "text-3xl font-semibold text-
|
|
380
|
-
/* @__PURE__ */ jsx6("span", { className: "text-
|
|
378
|
+
/* @__PURE__ */ jsx6("span", { className: "text-3xl font-semibold text-foreground", children: price }),
|
|
379
|
+
/* @__PURE__ */ jsx6("span", { className: "text-muted-foreground ml-2 text-sm", children: priceUnit })
|
|
381
380
|
] }),
|
|
382
|
-
trialText && /* @__PURE__ */ jsx6("p", { className: "text-left sm:text-center text-
|
|
381
|
+
trialText && /* @__PURE__ */ jsx6("p", { className: "text-left sm:text-center text-muted-foreground mt-3 text-sm", children: trialText }),
|
|
383
382
|
/* @__PURE__ */ jsx6(Button2, { asChild: true, variant: "default", className: "mt-5 w-full md:w-64", children: /* @__PURE__ */ jsx6("a", { href: ctaHref, children: ctaText }) })
|
|
384
383
|
] }),
|
|
385
384
|
/* @__PURE__ */ jsxs3("div", { className: "mt-8", children: [
|
|
386
|
-
/* @__PURE__ */ jsx6("p", { className: "text-left sm:text-center text-lg font-semibold text-
|
|
385
|
+
/* @__PURE__ */ jsx6("p", { className: "text-left sm:text-center text-lg font-semibold text-foreground mb-4", children: featuresHeading }),
|
|
387
386
|
/* @__PURE__ */ jsx6("ul", { className: "grid gap-y-3 gap-x-6 md:grid-cols-2 lg:grid-cols-3 ", children: features.map((feature, index) => /* @__PURE__ */ jsxs3("li", { className: "flex items-start text-left", children: [
|
|
388
|
-
/* @__PURE__ */ jsx6(Check, { className: "text-
|
|
389
|
-
/* @__PURE__ */ jsx6("span", { className: "text-
|
|
387
|
+
/* @__PURE__ */ jsx6(Check, { className: "text-primary mr-2 size-4 shrink-0" }),
|
|
388
|
+
/* @__PURE__ */ jsx6("span", { className: "text-foreground text-sm", children: feature.text })
|
|
390
389
|
] }, index)) })
|
|
391
390
|
] })
|
|
392
391
|
] }) }),
|
|
393
|
-
securityNote && /* @__PURE__ */ jsx6(ScrollReveal, { direction: "up", delay: 0.3, children: /* @__PURE__ */ jsx6("div", { className: "text-center mt-8", children: /* @__PURE__ */ jsxs3("p", { className: "text-sm text-
|
|
392
|
+
securityNote && /* @__PURE__ */ jsx6(ScrollReveal, { direction: "up", delay: 0.3, children: /* @__PURE__ */ jsx6("div", { className: "text-center mt-8", children: /* @__PURE__ */ jsxs3("p", { className: "text-sm text-muted-foreground", children: [
|
|
394
393
|
/* @__PURE__ */ jsx6("strong", { children: "Your code stays private." }),
|
|
395
394
|
" ",
|
|
396
395
|
securityNote
|
|
@@ -440,52 +439,52 @@ function PricingTiers({
|
|
|
440
439
|
heading = "Simple, transparent pricing",
|
|
441
440
|
subheading = "Start automating your product workflow in minutes. No credit card required to get started.",
|
|
442
441
|
tiers = defaultTiers,
|
|
443
|
-
backgroundColor = "bg-
|
|
442
|
+
backgroundColor = "bg-background",
|
|
444
443
|
securityNote = "Priya only accesses GitHub Issues and Projects\u2014she cannot read your code or secrets.",
|
|
445
444
|
className
|
|
446
445
|
}) {
|
|
447
446
|
return /* @__PURE__ */ jsx7("section", { id: "pricing", className: cn(`pt-12 md:pt-16 pb-10 sm:pb-20 ${backgroundColor}`, className), children: /* @__PURE__ */ jsxs4("div", { className: "max-w-7xl mx-auto p-6 sm:p-16 rounded-none sm:rounded-3xl pricing-gradient", children: [
|
|
448
447
|
/* @__PURE__ */ jsx7(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsxs4("div", { className: "text-center my-16 sm:my-12", children: [
|
|
449
|
-
/* @__PURE__ */ jsx7("h2", { className: "font-normal text-[clamp(32px,4vw,52px)] leading-tight text-
|
|
450
|
-
/* @__PURE__ */ jsx7("p", { className: "text-base text-
|
|
448
|
+
/* @__PURE__ */ jsx7("h2", { className: "font-normal text-[clamp(32px,4vw,52px)] leading-tight text-foreground mb-4", children: heading }),
|
|
449
|
+
/* @__PURE__ */ jsx7("p", { className: "text-base text-muted-foreground max-w-2xl mx-auto", children: subheading })
|
|
451
450
|
] }) }),
|
|
452
451
|
/* @__PURE__ */ jsx7("ul", { className: "grid gap-6 lg:grid-cols-3 lg:items-stretch", children: tiers.map((tier, index) => /* @__PURE__ */ jsx7("li", { className: tier.featured ? "lg:col-span-2 flex" : "lg:col-span-1 flex", children: /* @__PURE__ */ jsx7(ScrollReveal, { direction: "up", delay: 0.2 + index * 0.1, className: "w-full", children: /* @__PURE__ */ jsx7(
|
|
453
452
|
"div",
|
|
454
453
|
{
|
|
455
|
-
className: tier.featured ? "bg-
|
|
454
|
+
className: tier.featured ? "bg-card flex w-full h-full flex-col-reverse rounded-3xl border border-border feature-card-shadow md:flex-row" : "bg-card w-full h-full rounded-3xl border border-border feature-card-shadow p-6 md:p-8",
|
|
456
455
|
children: tier.featured ? /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
457
456
|
tier.image && /* @__PURE__ */ jsx7("div", { className: "hidden xl:block xl:w-1/2 pl-6 md:pl-8 py-6 md:py-8", children: /* @__PURE__ */ jsx7("div", { className: "h-full rounded-lg overflow-hidden relative min-h-96", children: /* @__PURE__ */ jsx7(Image2, { src: tier.image, alt: tier.imageAlt || tier.title, fill: true, className: "object-cover", sizes: "(max-width: 1280px) 0vw, 50vw" }) }) }),
|
|
458
457
|
/* @__PURE__ */ jsxs4("div", { className: "flex flex-col p-6 md:p-8 xl:w-1/2", children: [
|
|
459
458
|
/* @__PURE__ */ jsxs4("div", { className: "flex-1", children: [
|
|
460
|
-
/* @__PURE__ */ jsx7("p", { className: "text-lg font-semibold text-
|
|
461
|
-
/* @__PURE__ */ jsx7("p", { className: "text-
|
|
459
|
+
/* @__PURE__ */ jsx7("p", { className: "text-lg font-semibold text-foreground", children: tier.title }),
|
|
460
|
+
/* @__PURE__ */ jsx7("p", { className: "text-muted-foreground mt-3", children: tier.description }),
|
|
462
461
|
/* @__PURE__ */ jsxs4("div", { className: "mt-6 flex items-baseline", children: [
|
|
463
|
-
/* @__PURE__ */ jsx7("span", { className: "text-3xl font-semibold text-
|
|
464
|
-
/* @__PURE__ */ jsx7("span", { className: "text-
|
|
462
|
+
/* @__PURE__ */ jsx7("span", { className: "text-3xl font-semibold text-foreground", children: tier.price }),
|
|
463
|
+
/* @__PURE__ */ jsx7("span", { className: "text-muted-foreground ml-2 text-sm", children: tier.priceUnit })
|
|
465
464
|
] }),
|
|
466
465
|
/* @__PURE__ */ jsx7(Button3, { asChild: true, variant: tier.ctaVariant === "primary" ? "default" : "secondary", className: "mt-5 w-full sm:w-auto", children: /* @__PURE__ */ jsx7("a", { href: tier.ctaHref || "#", children: tier.ctaText }) })
|
|
467
466
|
] }),
|
|
468
467
|
/* @__PURE__ */ jsx7("div", { className: "mt-8", children: /* @__PURE__ */ jsx7("ul", { className: "space-y-2", children: tier.features.map((feature, featureIndex) => /* @__PURE__ */ jsxs4("li", { className: "flex items-start", children: [
|
|
469
|
-
/* @__PURE__ */ jsx7(Check2, { className: "text-
|
|
470
|
-
/* @__PURE__ */ jsx7("span", { className: "text-
|
|
468
|
+
/* @__PURE__ */ jsx7(Check2, { className: "text-primary mr-2 size-4 shrink-0" }),
|
|
469
|
+
/* @__PURE__ */ jsx7("span", { className: "text-foreground text-sm", children: feature.text })
|
|
471
470
|
] }, featureIndex)) }) })
|
|
472
471
|
] })
|
|
473
472
|
] }) : /* @__PURE__ */ jsx7("div", { className: "flex h-full flex-col", children: /* @__PURE__ */ jsxs4("div", { children: [
|
|
474
|
-
/* @__PURE__ */ jsx7("p", { className: "text-lg font-semibold text-
|
|
475
|
-
/* @__PURE__ */ jsx7("p", { className: "text-
|
|
473
|
+
/* @__PURE__ */ jsx7("p", { className: "text-lg font-semibold text-foreground", children: tier.title }),
|
|
474
|
+
/* @__PURE__ */ jsx7("p", { className: "text-muted-foreground mt-3", children: tier.description }),
|
|
476
475
|
/* @__PURE__ */ jsxs4("div", { className: "mt-6 flex items-baseline", children: [
|
|
477
|
-
/* @__PURE__ */ jsx7("span", { className: "text-3xl font-semibold text-
|
|
478
|
-
/* @__PURE__ */ jsx7("span", { className: "text-
|
|
476
|
+
/* @__PURE__ */ jsx7("span", { className: "text-3xl font-semibold text-foreground", children: tier.price }),
|
|
477
|
+
/* @__PURE__ */ jsx7("span", { className: "text-muted-foreground ml-2 text-sm", children: tier.priceUnit })
|
|
479
478
|
] }),
|
|
480
479
|
/* @__PURE__ */ jsx7(Button3, { asChild: true, variant: tier.ctaVariant === "primary" ? "default" : "secondary", className: "mt-5 w-full sm:w-auto", children: /* @__PURE__ */ jsx7("a", { href: tier.ctaHref || "#", children: tier.ctaText }) }),
|
|
481
480
|
/* @__PURE__ */ jsx7("div", { className: "mt-8", children: /* @__PURE__ */ jsx7("ul", { className: "space-y-2", children: tier.features.map((feature, featureIndex) => /* @__PURE__ */ jsxs4("li", { className: "flex items-start", children: [
|
|
482
|
-
/* @__PURE__ */ jsx7(Check2, { className: "text-
|
|
483
|
-
/* @__PURE__ */ jsx7("span", { className: "text-
|
|
481
|
+
/* @__PURE__ */ jsx7(Check2, { className: "text-primary mr-2 size-4 shrink-0" }),
|
|
482
|
+
/* @__PURE__ */ jsx7("span", { className: "text-foreground text-sm", children: feature.text })
|
|
484
483
|
] }, featureIndex)) }) })
|
|
485
484
|
] }) })
|
|
486
485
|
}
|
|
487
486
|
) }) }, index)) }),
|
|
488
|
-
securityNote && /* @__PURE__ */ jsx7(ScrollReveal, { direction: "up", delay: 0.4, children: /* @__PURE__ */ jsx7("div", { className: "text-center mt-8", children: /* @__PURE__ */ jsxs4("p", { className: "text-sm text-
|
|
487
|
+
securityNote && /* @__PURE__ */ jsx7(ScrollReveal, { direction: "up", delay: 0.4, children: /* @__PURE__ */ jsx7("div", { className: "text-center mt-8", children: /* @__PURE__ */ jsxs4("p", { className: "text-sm text-muted-foreground", children: [
|
|
489
488
|
/* @__PURE__ */ jsx7("strong", { children: "Your code stays private." }),
|
|
490
489
|
" ",
|
|
491
490
|
securityNote
|
|
@@ -505,18 +504,11 @@ var defaultButtons = [
|
|
|
505
504
|
showArrow: true
|
|
506
505
|
}
|
|
507
506
|
];
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
blue: "bg-(--color-blue-light)",
|
|
511
|
-
green: "bg-(--color-green-light)",
|
|
512
|
-
purple: "bg-(--color-purple-light)",
|
|
513
|
-
orange: "bg-(--color-orange-light)"
|
|
514
|
-
};
|
|
515
|
-
function CTA({ heading = "Ready to Save 15 Hours Per Week?", subheading = "Setup with Github \u2013 takes 5 minutes.", buttons = defaultButtons, backgroundColor = "blue", className }) {
|
|
516
|
-
const bgClass = backgroundColorMap[backgroundColor];
|
|
507
|
+
function CTA({ heading = "Ready to Save 15 Hours Per Week?", subheading = "Setup with Github \u2013 takes 5 minutes.", buttons = defaultButtons, backgroundColor: _backgroundColor, className }) {
|
|
508
|
+
const bgClass = "bg-card";
|
|
517
509
|
return /* @__PURE__ */ jsx8("section", { className: cn(`py-20 md:py-32 px-4 md:px-6 ${bgClass}`, className), children: /* @__PURE__ */ jsx8("div", { className: "max-w-3xl mx-auto text-center", children: /* @__PURE__ */ jsx8(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsxs5("div", { className: "space-y-6", children: [
|
|
518
|
-
/* @__PURE__ */ jsx8("h2", { className: "font-normal text-
|
|
519
|
-
/* @__PURE__ */ jsx8("p", { className: "max-w-2xl mx-auto text-[clamp(16px,2vw,18px)] leading-relaxed text-
|
|
510
|
+
/* @__PURE__ */ jsx8("h2", { className: "font-normal text-foreground text-[clamp(32px,5vw,52px)] leading-tight tracking-tight", children: heading }),
|
|
511
|
+
/* @__PURE__ */ jsx8("p", { className: "max-w-2xl mx-auto text-[clamp(16px,2vw,18px)] leading-relaxed text-muted-foreground", children: subheading }),
|
|
520
512
|
/* @__PURE__ */ jsx8("div", { className: "flex flex-col sm:flex-row gap-3 justify-center items-center pt-4", children: buttons.map((button, index) => /* @__PURE__ */ jsx8(Button4, { asChild: true, variant: button.variant === "primary" ? "default" : "secondary", children: /* @__PURE__ */ jsxs5("a", { href: button.href, children: [
|
|
521
513
|
button.text,
|
|
522
514
|
button.showArrow && /* @__PURE__ */ jsx8(HiArrowRight, { className: "w-4 h-4" })
|
|
@@ -553,12 +545,12 @@ var defaultFaqs = [
|
|
|
553
545
|
answer: "Yes, Priya is SOC 2 Type II certified and HIPAA compliant, ensuring your data is handled with the highest security and privacy standards."
|
|
554
546
|
}
|
|
555
547
|
];
|
|
556
|
-
function FAQ({ heading = "FAQs", faqs = defaultFaqs, backgroundColor = "bg-
|
|
548
|
+
function FAQ({ heading = "FAQs", faqs = defaultFaqs, backgroundColor = "bg-background", className }) {
|
|
557
549
|
return /* @__PURE__ */ jsx9("section", { id: "faq", className: cn(`py-20 px-6 lg:px-12 ${backgroundColor}`, className), children: /* @__PURE__ */ jsxs6("div", { className: "max-w-4xl mx-auto", children: [
|
|
558
|
-
/* @__PURE__ */ jsx9(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsx9("div", { className: "text-center mb-12", children: /* @__PURE__ */ jsx9("h2", { className: "font-normal text-[clamp(32px,4vw,52px)] leading-tight text-
|
|
559
|
-
/* @__PURE__ */ jsx9(Accordion, { type: "single", collapsible: true, className: "space-y-4", children: faqs.map((faq, index) => /* @__PURE__ */ jsx9(ScrollReveal, { direction: "up", delay: 0.15 + index * 0.05, children: /* @__PURE__ */ jsxs6(AccordionItem, { value: `item-${index}`, className: "rounded-xl px-6 border border-
|
|
560
|
-
/* @__PURE__ */ jsx9(AccordionTrigger, { className: "hover:no-underline py-5 text-base font-medium text-
|
|
561
|
-
/* @__PURE__ */ jsx9(AccordionContent, { className: "pb-5 text-sm text-
|
|
550
|
+
/* @__PURE__ */ jsx9(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsx9("div", { className: "text-center mb-12", children: /* @__PURE__ */ jsx9("h2", { className: "font-normal text-[clamp(32px,4vw,52px)] leading-tight text-foreground mb-4", children: heading }) }) }),
|
|
551
|
+
/* @__PURE__ */ jsx9(Accordion, { type: "single", collapsible: true, className: "space-y-4", children: faqs.map((faq, index) => /* @__PURE__ */ jsx9(ScrollReveal, { direction: "up", delay: 0.15 + index * 0.05, children: /* @__PURE__ */ jsxs6(AccordionItem, { value: `item-${index}`, className: "rounded-xl px-6 border border-border bg-card shadow-sm", children: [
|
|
552
|
+
/* @__PURE__ */ jsx9(AccordionTrigger, { className: "hover:no-underline py-5 text-base font-medium text-foreground", children: faq.question }),
|
|
553
|
+
/* @__PURE__ */ jsx9(AccordionContent, { className: "pb-5 text-sm text-muted-foreground leading-relaxed", children: faq.answer })
|
|
562
554
|
] }) }, index)) })
|
|
563
555
|
] }) });
|
|
564
556
|
}
|
|
@@ -577,27 +569,27 @@ var defaultWorkflows = [
|
|
|
577
569
|
{ icon: FaLightbulb, label: "Feature requests" }
|
|
578
570
|
];
|
|
579
571
|
function Problem({
|
|
580
|
-
heading
|
|
572
|
+
heading = "Product managers <strong>spend 15+ hours</strong> per week on busywork",
|
|
581
573
|
workflows = defaultWorkflows,
|
|
582
574
|
subheading = "What if all of that just... ",
|
|
583
575
|
subheadingHighlight = "happened automatically?",
|
|
584
|
-
highlightColor = "bg-
|
|
576
|
+
highlightColor = "bg-primary/20",
|
|
585
577
|
marqueeDuration = "30s",
|
|
586
578
|
marqueeGap = "0.5rem",
|
|
587
|
-
backgroundColor = "bg-
|
|
579
|
+
backgroundColor = "bg-background",
|
|
588
580
|
className
|
|
589
581
|
}) {
|
|
590
582
|
return /* @__PURE__ */ jsx10("section", { id: "problem", className: cn(`py-20 md:pb-32 px-6 lg:px-12 ${backgroundColor}`, className), children: /* @__PURE__ */ jsx10("div", { className: "max-w-4xl mx-auto", children: /* @__PURE__ */ jsxs7("div", { className: "text-center space-y-8", children: [
|
|
591
|
-
/* @__PURE__ */ jsx10(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
583
|
+
/* @__PURE__ */ jsx10(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsx10(
|
|
584
|
+
"h2",
|
|
585
|
+
{
|
|
586
|
+
className: "font-normal text-[clamp(36px,4vw,40px)] leading-tight text-foreground",
|
|
587
|
+
dangerouslySetInnerHTML: { __html: heading }
|
|
588
|
+
}
|
|
589
|
+
) }),
|
|
598
590
|
/* @__PURE__ */ jsx10(ScrollReveal, { direction: "none", delay: 0.2, children: /* @__PURE__ */ jsxs7("div", { className: "relative py-6", children: [
|
|
599
|
-
/* @__PURE__ */ jsx10("div", { className: "absolute left-0 top-0 bottom-0 w-32 bg-gradient-to-r from-
|
|
600
|
-
/* @__PURE__ */ jsx10("div", { className: "absolute right-0 top-0 bottom-0 w-32 bg-gradient-to-l from-
|
|
591
|
+
/* @__PURE__ */ jsx10("div", { className: "absolute left-0 top-0 bottom-0 w-32 bg-gradient-to-r from-background to-transparent z-10 pointer-events-none" }),
|
|
592
|
+
/* @__PURE__ */ jsx10("div", { className: "absolute right-0 top-0 bottom-0 w-32 bg-gradient-to-l from-background to-transparent z-10 pointer-events-none" }),
|
|
601
593
|
/* @__PURE__ */ jsx10(
|
|
602
594
|
Marquee,
|
|
603
595
|
{
|
|
@@ -606,14 +598,14 @@ function Problem({
|
|
|
606
598
|
"--duration": marqueeDuration,
|
|
607
599
|
"--gap": marqueeGap
|
|
608
600
|
},
|
|
609
|
-
children: workflows.map((workflow, index) => /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2.5 pl-1.5 pr-3.5 py-1.5 bg-
|
|
610
|
-
/* @__PURE__ */ jsx10("div", { className: "flex items-center justify-center w-7 h-7 rounded-full bg-
|
|
611
|
-
/* @__PURE__ */ jsx10("span", { className: "text-sm text-
|
|
601
|
+
children: workflows.map((workflow, index) => /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2.5 pl-1.5 pr-3.5 py-1.5 bg-card border border-border rounded-full", children: [
|
|
602
|
+
/* @__PURE__ */ jsx10("div", { className: "flex items-center justify-center w-7 h-7 rounded-full bg-background", children: /* @__PURE__ */ jsx10(workflow.icon, { className: "w-3.5 h-3.5 text-foreground" }) }),
|
|
603
|
+
/* @__PURE__ */ jsx10("span", { className: "text-sm text-foreground whitespace-nowrap", children: workflow.label })
|
|
612
604
|
] }, index))
|
|
613
605
|
}
|
|
614
606
|
)
|
|
615
607
|
] }) }),
|
|
616
|
-
/* @__PURE__ */ jsx10(ScrollReveal, { direction: "up", delay: 0.3, children: /* @__PURE__ */ jsx10("div", { className: "pt-2 md:pt-4", children: /* @__PURE__ */ jsxs7("h3", { className: "font-normal text-[clamp(26px,3.5vw,32px)] leading-tight text-
|
|
608
|
+
/* @__PURE__ */ jsx10(ScrollReveal, { direction: "up", delay: 0.3, children: /* @__PURE__ */ jsx10("div", { className: "pt-2 md:pt-4", children: /* @__PURE__ */ jsxs7("h3", { className: "font-normal text-[clamp(26px,3.5vw,32px)] leading-tight text-foreground", children: [
|
|
617
609
|
subheading,
|
|
618
610
|
/* @__PURE__ */ jsxs7("span", { className: "relative inline-block", children: [
|
|
619
611
|
/* @__PURE__ */ jsx10("span", { className: "relative z-10", children: subheadingHighlight }),
|
|
@@ -675,15 +667,15 @@ function Navigation({
|
|
|
675
667
|
className: cn(
|
|
676
668
|
"z-50 w-full transition-all duration-300",
|
|
677
669
|
sticky && "sticky top-0",
|
|
678
|
-
showScrollEffect && isScrolled ? "bg-
|
|
670
|
+
showScrollEffect && isScrolled ? "bg-background/95 backdrop-blur-md" : "bg-background",
|
|
679
671
|
className
|
|
680
672
|
),
|
|
681
673
|
children: /* @__PURE__ */ jsxs8("div", { className: cn(maxWidthClass, "mx-auto px-6 lg:px-12 py-4"), children: [
|
|
682
674
|
/* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between", children: [
|
|
683
|
-
/* @__PURE__ */ jsx11("div", { className: "flex items-center", children: /* @__PURE__ */ jsx11(Link, { href: logoHref, className: "flex items-center", children: typeof logo === "string" ? /* @__PURE__ */ jsx11("span", { className: "text-3xl font-base text-
|
|
684
|
-
links && links.length > 0 && /* @__PURE__ */ jsx11("div", { className: "hidden lg:flex items-center gap-8", children: links.map((link) => /* @__PURE__ */ jsx11("a", { href: link.href, className: "text-sm text-
|
|
675
|
+
/* @__PURE__ */ jsx11("div", { className: "flex items-center", children: /* @__PURE__ */ jsx11(Link, { href: logoHref, className: "flex items-center", children: typeof logo === "string" ? /* @__PURE__ */ jsx11("span", { className: "text-3xl font-base text-foreground", children: logo }) : logo }) }),
|
|
676
|
+
links && links.length > 0 && /* @__PURE__ */ jsx11("div", { className: "hidden lg:flex items-center gap-8", children: links.map((link) => /* @__PURE__ */ jsx11("a", { href: link.href, className: "text-sm text-foreground hover:opacity-60 transition-opacity", children: link.label }, link.href)) }),
|
|
685
677
|
ctaText && ctaHref && /* @__PURE__ */ jsx11("div", { className: "hidden lg:flex items-center", children: /* @__PURE__ */ jsx11(Button5, { asChild: true, variant: ctaVariant, children: /* @__PURE__ */ jsx11("a", { href: ctaHref, children: ctaText }) }) }),
|
|
686
|
-
/* @__PURE__ */ jsx11("button", { className: "lg:hidden p-2 text-
|
|
678
|
+
/* @__PURE__ */ jsx11("button", { className: "lg:hidden p-2 text-foreground", onClick: () => setMobileMenuOpen(!mobileMenuOpen), "aria-label": "Toggle menu", children: mobileMenuOpen ? /* @__PURE__ */ jsx11(X, { className: "w-6 h-6" }) : /* @__PURE__ */ jsx11(Menu, { className: "w-6 h-6" }) })
|
|
687
679
|
] }),
|
|
688
680
|
/* @__PURE__ */ jsx11(AnimatePresence, { children: mobileMenuOpen && /* @__PURE__ */ jsx11(
|
|
689
681
|
motion2.div,
|
|
@@ -693,8 +685,8 @@ function Navigation({
|
|
|
693
685
|
exit: { opacity: 0, height: 0 },
|
|
694
686
|
transition: { duration: 0.3, ease: "easeInOut" },
|
|
695
687
|
className: "lg:hidden overflow-hidden",
|
|
696
|
-
children: /* @__PURE__ */ jsx11("div", { className: "mt-4 py-4 rounded-xl bg-
|
|
697
|
-
links.map((link) => /* @__PURE__ */ jsx11("a", { href: link.href, className: "py-2 text-
|
|
688
|
+
children: /* @__PURE__ */ jsx11("div", { className: "mt-4 py-4 rounded-xl bg-card", children: /* @__PURE__ */ jsxs8("div", { className: "flex flex-col gap-4 px-6", children: [
|
|
689
|
+
links.map((link) => /* @__PURE__ */ jsx11("a", { href: link.href, className: "py-2 text-foreground hover:opacity-70 transition-colors", onClick: () => setMobileMenuOpen(false), children: link.label }, link.href)),
|
|
698
690
|
ctaText && ctaHref && /* @__PURE__ */ jsx11(Button5, { asChild: true, variant: ctaVariant, className: "mt-2", onClick: () => setMobileMenuOpen(false), children: /* @__PURE__ */ jsx11("a", { href: ctaHref, children: ctaText }) })
|
|
699
691
|
] }) })
|
|
700
692
|
}
|
|
@@ -740,11 +732,11 @@ function Footer({
|
|
|
740
732
|
}
|
|
741
733
|
form.reset();
|
|
742
734
|
};
|
|
743
|
-
return /* @__PURE__ */ jsx12("footer", { className: cn("py-16 px-6 lg:px-12 bg-
|
|
735
|
+
return /* @__PURE__ */ jsx12("footer", { className: cn("py-16 px-6 lg:px-12 bg-card text-card-foreground", className), children: /* @__PURE__ */ jsxs9("div", { className: "max-w-7xl mx-auto", children: [
|
|
744
736
|
/* @__PURE__ */ jsxs9("div", { className: "grid md:grid-cols-5 gap-12 mb-12", children: [
|
|
745
737
|
/* @__PURE__ */ jsxs9("div", { className: "md:col-span-2", children: [
|
|
746
|
-
/* @__PURE__ */ jsx12(Link2, { href: "/", className: "inline-block mb-4", children: /* @__PURE__ */ jsx12("div", { className: "text-3xl font-base text-
|
|
747
|
-
/* @__PURE__ */ jsx12("p", { className: "max-w-md text-sm leading-relaxed text-
|
|
738
|
+
/* @__PURE__ */ jsx12(Link2, { href: "/", className: "inline-block mb-4", children: /* @__PURE__ */ jsx12("div", { className: "text-3xl font-base text-card-foreground", children: logo }) }),
|
|
739
|
+
/* @__PURE__ */ jsx12("p", { className: "max-w-md text-sm leading-relaxed text-muted-foreground mb-6", children: description }),
|
|
748
740
|
/* @__PURE__ */ jsx12("div", { className: "flex items-center gap-4", children: socialLinks.map((link) => {
|
|
749
741
|
const Icon = link.icon;
|
|
750
742
|
return /* @__PURE__ */ jsx12(
|
|
@@ -753,7 +745,7 @@ function Footer({
|
|
|
753
745
|
href: link.href,
|
|
754
746
|
target: "_blank",
|
|
755
747
|
rel: "noopener noreferrer",
|
|
756
|
-
className: "text-
|
|
748
|
+
className: "text-muted-foreground transition-colors hover:text-card-foreground",
|
|
757
749
|
"aria-label": link.label,
|
|
758
750
|
children: /* @__PURE__ */ jsx12(Icon, { className: "w-5 h-5" })
|
|
759
751
|
},
|
|
@@ -762,11 +754,11 @@ function Footer({
|
|
|
762
754
|
}) })
|
|
763
755
|
] }),
|
|
764
756
|
/* @__PURE__ */ jsxs9("div", { children: [
|
|
765
|
-
/* @__PURE__ */ jsx12("h3", { className: "font-semibold text-base mb-4 text-
|
|
766
|
-
/* @__PURE__ */ jsx12("ul", { className: "space-y-2", children: quickLinks.map((link) => /* @__PURE__ */ jsx12("li", { children: /* @__PURE__ */ jsx12(Link2, { href: link.href, className: "text-sm text-
|
|
757
|
+
/* @__PURE__ */ jsx12("h3", { className: "font-semibold text-base mb-4 text-card-foreground", children: "Quick Links" }),
|
|
758
|
+
/* @__PURE__ */ jsx12("ul", { className: "space-y-2", children: quickLinks.map((link) => /* @__PURE__ */ jsx12("li", { children: /* @__PURE__ */ jsx12(Link2, { href: link.href, className: "text-sm text-muted-foreground transition-colors hover:text-card-foreground", children: link.label }) }, link.label)) })
|
|
767
759
|
] }),
|
|
768
760
|
/* @__PURE__ */ jsx12("div", { className: "w-full md:col-span-2 md:flex md:flex-col md:items-end", children: /* @__PURE__ */ jsxs9("div", { className: "w-full md:max-w-sm", children: [
|
|
769
|
-
/* @__PURE__ */ jsx12("h3", { className: "font-semibold text-base mb-4 text-
|
|
761
|
+
/* @__PURE__ */ jsx12("h3", { className: "font-semibold text-base mb-4 text-card-foreground", children: contactTitle }),
|
|
770
762
|
/* @__PURE__ */ jsxs9("form", { onSubmit: handleEmailSubmit, className: "relative", children: [
|
|
771
763
|
/* @__PURE__ */ jsx12(
|
|
772
764
|
Input,
|
|
@@ -775,14 +767,14 @@ function Footer({
|
|
|
775
767
|
name: "email",
|
|
776
768
|
placeholder: emailPlaceholder,
|
|
777
769
|
required: true,
|
|
778
|
-
className: "w-full bg-
|
|
770
|
+
className: "w-full bg-muted border-border text-card-foreground placeholder:text-muted-foreground pr-12"
|
|
779
771
|
}
|
|
780
772
|
),
|
|
781
773
|
/* @__PURE__ */ jsx12(
|
|
782
774
|
"button",
|
|
783
775
|
{
|
|
784
776
|
type: "submit",
|
|
785
|
-
className: "absolute right-1 top-1/2 -translate-y-1/2 bg-
|
|
777
|
+
className: "absolute right-1 top-1/2 -translate-y-1/2 bg-card text-foreground hover:bg-card active:bg-card active:text-card-foreground px-3 py-3 rounded-md transition-colors",
|
|
786
778
|
"aria-label": "Submit email",
|
|
787
779
|
children: /* @__PURE__ */ jsx12(FaArrowRight, { className: "w-3 h-3" })
|
|
788
780
|
}
|
|
@@ -790,7 +782,7 @@ function Footer({
|
|
|
790
782
|
] })
|
|
791
783
|
] }) })
|
|
792
784
|
] }),
|
|
793
|
-
/* @__PURE__ */ jsx12("div", { className: "border-t border-
|
|
785
|
+
/* @__PURE__ */ jsx12("div", { className: "border-t border-border pt-8", children: /* @__PURE__ */ jsx12("div", { className: "flex flex-col md:flex-row justify-between items-center gap-4", children: /* @__PURE__ */ jsx12("p", { className: "text-sm text-muted-foreground", children: copyrightText }) }) })
|
|
794
786
|
] }) });
|
|
795
787
|
}
|
|
796
788
|
|
|
@@ -827,7 +819,7 @@ function Contact({
|
|
|
827
819
|
successMessage = "Thanks for reaching out! I'll get back to you within 24 hours.",
|
|
828
820
|
errorMessage = "Hmm, something went wrong. Mind trying again?",
|
|
829
821
|
onSubmit,
|
|
830
|
-
backgroundColor = "bg-
|
|
822
|
+
backgroundColor = "bg-background",
|
|
831
823
|
className
|
|
832
824
|
}) {
|
|
833
825
|
const [isSubmitting, setIsSubmitting] = useState2(false);
|
|
@@ -858,25 +850,25 @@ function Contact({
|
|
|
858
850
|
};
|
|
859
851
|
return /* @__PURE__ */ jsx13("section", { className: cn(`relative py-12 md:py-32 px-6 lg:px-12 ${backgroundColor}`, className), children: /* @__PURE__ */ jsxs10("div", { className: "max-w-3xl mx-auto", children: [
|
|
860
852
|
/* @__PURE__ */ jsx13(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsxs10("div", { className: "mb-14 text-center", children: [
|
|
861
|
-
/* @__PURE__ */ jsx13("h1", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-
|
|
862
|
-
/* @__PURE__ */ jsx13("p", { className: "text-base text-
|
|
853
|
+
/* @__PURE__ */ jsx13("h1", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-foreground mb-4", children: heading }),
|
|
854
|
+
/* @__PURE__ */ jsx13("p", { className: "text-base text-muted-foreground max-w-2xl mx-auto", children: subheading })
|
|
863
855
|
] }) }),
|
|
864
856
|
/* @__PURE__ */ jsx13(ScrollReveal, { direction: "up", delay: 0.2, children: /* @__PURE__ */ jsxs10(
|
|
865
857
|
"form",
|
|
866
858
|
{
|
|
867
859
|
onSubmit: handleSubmit,
|
|
868
|
-
className: "mx-auto flex max-w-lg flex-col gap-6 bg-
|
|
860
|
+
className: "mx-auto flex max-w-lg flex-col gap-6 bg-card p-6 md:p-8 rounded-3xl border border-border feature-card-shadow",
|
|
869
861
|
children: [
|
|
870
862
|
fields.map((field) => /* @__PURE__ */ jsxs10("div", { className: "grid w-full items-center gap-2", children: [
|
|
871
|
-
/* @__PURE__ */ jsxs10(Label, { htmlFor: field.id, className: "text-
|
|
863
|
+
/* @__PURE__ */ jsxs10(Label, { htmlFor: field.id, className: "text-foreground", children: [
|
|
872
864
|
field.label,
|
|
873
|
-
field.required && /* @__PURE__ */ jsx13("span", { className: "text-
|
|
865
|
+
field.required && /* @__PURE__ */ jsx13("span", { className: "text-destructive ml-1", children: "*" })
|
|
874
866
|
] }),
|
|
875
867
|
field.type === "textarea" ? /* @__PURE__ */ jsx13(Textarea, { id: field.id, placeholder: field.placeholder, required: field.required, onChange: handleChange, className: "min-h-[120px]" }) : /* @__PURE__ */ jsx13(Input2, { type: field.type, id: field.id, placeholder: field.placeholder, required: field.required, onChange: handleChange })
|
|
876
868
|
] }, field.id)),
|
|
877
869
|
/* @__PURE__ */ jsx13(Button6, { type: "submit", className: "w-full", disabled: isSubmitting, children: isSubmitting ? "Submitting..." : submitButtonText }),
|
|
878
|
-
submitStatus === "success" && /* @__PURE__ */ jsx13("p", { className: "text-
|
|
879
|
-
submitStatus === "error" && /* @__PURE__ */ jsx13("p", { className: "text-
|
|
870
|
+
submitStatus === "success" && /* @__PURE__ */ jsx13("p", { className: "text-primary text-sm text-center", children: successMessage }),
|
|
871
|
+
submitStatus === "error" && /* @__PURE__ */ jsx13("p", { className: "text-destructive text-sm text-center", children: errorMessage })
|
|
880
872
|
]
|
|
881
873
|
}
|
|
882
874
|
) })
|
|
@@ -1020,7 +1012,7 @@ function GridPattern({
|
|
|
1020
1012
|
"svg",
|
|
1021
1013
|
{
|
|
1022
1014
|
"aria-hidden": "true",
|
|
1023
|
-
className: cn("pointer-events-none absolute inset-0 h-full w-full fill-
|
|
1015
|
+
className: cn("pointer-events-none absolute inset-0 h-full w-full fill-muted-foreground/20 stroke-muted-foreground/20", className),
|
|
1024
1016
|
...props,
|
|
1025
1017
|
children: [
|
|
1026
1018
|
/* @__PURE__ */ jsx15("defs", { children: /* @__PURE__ */ jsx15("pattern", { id, width, height, patternUnits: "userSpaceOnUse", x, y, children: /* @__PURE__ */ jsx15("path", { d: `M.5 ${height}V.5H${width}`, fill: "none", strokeDasharray }) }) }),
|
|
@@ -1040,7 +1032,7 @@ var Square = forwardRef(({ className, children }, ref) => {
|
|
|
1040
1032
|
"div",
|
|
1041
1033
|
{
|
|
1042
1034
|
ref,
|
|
1043
|
-
className: cn("z-10 flex size-16 items-center justify-center rounded-lg bg-
|
|
1035
|
+
className: cn("z-10 flex size-16 items-center justify-center rounded-lg bg-card border border-border p-3 integration-square-shadow", className),
|
|
1044
1036
|
children
|
|
1045
1037
|
}
|
|
1046
1038
|
);
|
|
@@ -1091,7 +1083,7 @@ function Integration({
|
|
|
1091
1083
|
return /* @__PURE__ */ jsx16("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx16(Image3, { src: node.content, alt: node.alt || "Integration", fill: true, className: "object-cover rounded-lg" }) });
|
|
1092
1084
|
}
|
|
1093
1085
|
if (node.type === "icon" && typeof node.content === "string") {
|
|
1094
|
-
return /* @__PURE__ */ jsx16("div", { className: cn("text-
|
|
1086
|
+
return /* @__PURE__ */ jsx16("div", { className: cn("text-foreground", node.className), children: node.content });
|
|
1095
1087
|
}
|
|
1096
1088
|
return node.content;
|
|
1097
1089
|
})();
|
|
@@ -1110,8 +1102,8 @@ function Integration({
|
|
|
1110
1102
|
"7xl": "max-w-7xl"
|
|
1111
1103
|
};
|
|
1112
1104
|
const content = /* @__PURE__ */ jsxs13("div", { className: "space-y-6", children: [
|
|
1113
|
-
/* @__PURE__ */ jsx16(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsx16("h2", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-
|
|
1114
|
-
/* @__PURE__ */ jsx16(ScrollReveal, { direction: "up", delay: 0.2, children: /* @__PURE__ */ jsx16("p", { className: "text-base text-
|
|
1105
|
+
/* @__PURE__ */ jsx16(ScrollReveal, { direction: "up", delay: 0.1, children: /* @__PURE__ */ jsx16("h2", { className: "font-normal text-[clamp(32px,4vw,40px)] leading-tight text-foreground", children: title }) }),
|
|
1106
|
+
/* @__PURE__ */ jsx16(ScrollReveal, { direction: "up", delay: 0.2, children: /* @__PURE__ */ jsx16("p", { className: "text-base text-muted-foreground max-w-lg", children: description }) }),
|
|
1115
1107
|
buttonText && buttonHref && /* @__PURE__ */ jsx16(ScrollReveal, { direction: "up", delay: 0.3, children: /* @__PURE__ */ jsx16(Button7, { asChild: true, variant: "default", children: /* @__PURE__ */ jsx16("a", { href: buttonHref, children: buttonText }) }) })
|
|
1116
1108
|
] });
|
|
1117
1109
|
const animation = /* @__PURE__ */ jsx16(ScrollReveal, { direction: contentOrder === "left" ? "right" : "left", delay: 0.2, children: /* @__PURE__ */ jsxs13("div", { className: "relative flex aspect-square max-w-md mx-auto w-full items-center justify-center overflow-hidden rounded-lg", ref: containerRef, children: [
|
|
@@ -1143,7 +1135,7 @@ function Integration({
|
|
|
1143
1135
|
index
|
|
1144
1136
|
))
|
|
1145
1137
|
] }) });
|
|
1146
|
-
return /* @__PURE__ */ jsx16("section", { className: cn("pt-10 sm:pt-0 px-8 lg:px-24 bg-
|
|
1138
|
+
return /* @__PURE__ */ jsx16("section", { className: cn("pt-10 sm:pt-0 px-8 lg:px-24 bg-background", className), children: /* @__PURE__ */ jsx16("div", { className: cn(maxWidthClasses[maxWidth], "mx-auto"), children: /* @__PURE__ */ jsx16("div", { className: "grid lg:grid-cols-2 gap-1 items-center", children: contentOrder === "left" ? /* @__PURE__ */ jsxs13(Fragment2, { children: [
|
|
1147
1139
|
content,
|
|
1148
1140
|
animation
|
|
1149
1141
|
] }) : /* @__PURE__ */ jsxs13(Fragment2, { children: [
|