@burdenoff/website-sdk 2026.516.2 → 2026.516.4
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/pricing.d.mts +31 -0
- package/dist/components/pricing.d.ts +31 -0
- package/dist/components/pricing.js +166 -59
- package/dist/components/pricing.js.map +1 -1
- package/dist/components/pricing.mjs +166 -59
- package/dist/components/pricing.mjs.map +1 -1
- package/dist/index.js +166 -59
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +166 -59
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1577,6 +1577,9 @@ function PricingSection(props) {
|
|
|
1577
1577
|
const [billingCycle, setBillingCycle] = useState(
|
|
1578
1578
|
"monthly"
|
|
1579
1579
|
);
|
|
1580
|
+
const [audience, setAudience] = useState(
|
|
1581
|
+
"individual"
|
|
1582
|
+
);
|
|
1580
1583
|
useEffect(() => {
|
|
1581
1584
|
let cancelled = false;
|
|
1582
1585
|
async function loadPlans() {
|
|
@@ -1663,81 +1666,185 @@ function PricingSection(props) {
|
|
|
1663
1666
|
/* @__PURE__ */ jsxs("div", { className: "text-center mb-8 sm:mb-12", children: [
|
|
1664
1667
|
/* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }),
|
|
1665
1668
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm sm:text-base md:text-lg mb-6", children: sectionSubtitle }),
|
|
1666
|
-
/* @__PURE__ */ jsxs("div", { className: "inline-flex items-center
|
|
1669
|
+
props.showAudienceTabs && props.enterprisePlans && /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center bg-muted p-1.5 rounded-xl mb-4", children: [
|
|
1670
|
+
/* @__PURE__ */ jsx(
|
|
1671
|
+
"button",
|
|
1672
|
+
{
|
|
1673
|
+
type: "button",
|
|
1674
|
+
onClick: () => setAudience("individual"),
|
|
1675
|
+
className: `px-6 sm:px-8 py-2.5 rounded-lg text-sm font-semibold transition-all ${audience === "individual" ? "bg-background shadow-sm text-foreground" : "text-muted-foreground hover:text-foreground"}`,
|
|
1676
|
+
children: "Individual"
|
|
1677
|
+
}
|
|
1678
|
+
),
|
|
1679
|
+
/* @__PURE__ */ jsx(
|
|
1680
|
+
"button",
|
|
1681
|
+
{
|
|
1682
|
+
type: "button",
|
|
1683
|
+
onClick: () => setAudience("enterprise"),
|
|
1684
|
+
className: `px-6 sm:px-8 py-2.5 rounded-lg text-sm font-semibold transition-all ${audience === "enterprise" ? "bg-background shadow-sm text-foreground" : "text-muted-foreground hover:text-foreground"}`,
|
|
1685
|
+
children: "Enterprise"
|
|
1686
|
+
}
|
|
1687
|
+
)
|
|
1688
|
+
] }),
|
|
1689
|
+
(audience === "individual" || !props.showAudienceTabs) && /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center bg-muted/60 p-1.5 rounded-xl", children: [
|
|
1667
1690
|
/* @__PURE__ */ jsx(
|
|
1668
1691
|
"button",
|
|
1669
1692
|
{
|
|
1693
|
+
type: "button",
|
|
1670
1694
|
onClick: () => setBillingCycle("monthly"),
|
|
1671
|
-
className: `px-6 py-2 rounded-
|
|
1695
|
+
className: `px-5 sm:px-6 py-2 rounded-lg text-sm font-medium transition-all ${billingCycle === "monthly" ? "bg-background shadow-sm text-foreground" : "text-muted-foreground hover:text-foreground"}`,
|
|
1672
1696
|
children: "Monthly"
|
|
1673
1697
|
}
|
|
1674
1698
|
),
|
|
1675
1699
|
/* @__PURE__ */ jsx(
|
|
1676
1700
|
"button",
|
|
1677
1701
|
{
|
|
1702
|
+
type: "button",
|
|
1678
1703
|
onClick: () => setBillingCycle("yearly"),
|
|
1679
|
-
className: `px-6 py-2 rounded-
|
|
1704
|
+
className: `px-5 sm:px-6 py-2 rounded-lg text-sm font-medium transition-all ${billingCycle === "yearly" ? "bg-background shadow-sm text-foreground" : "text-muted-foreground hover:text-foreground"}`,
|
|
1680
1705
|
children: "Yearly"
|
|
1681
1706
|
}
|
|
1682
1707
|
)
|
|
1683
1708
|
] })
|
|
1684
1709
|
] }),
|
|
1685
|
-
/* @__PURE__ */
|
|
1686
|
-
"
|
|
1687
|
-
{
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
/* @__PURE__ */
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
/* @__PURE__ */
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
className: "
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
"
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1710
|
+
props.showAudienceTabs && audience === "enterprise" && /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-3xl text-center mb-8", children: [
|
|
1711
|
+
/* @__PURE__ */ jsx("h3", { className: "text-xl sm:text-2xl font-bold text-foreground", children: props.enterpriseHeading || "Enterprise Solutions" }),
|
|
1712
|
+
/* @__PURE__ */ jsx("p", { className: "mt-3 text-muted-foreground", children: props.enterpriseSubtitle || "Built for teams, agencies, and organizations that need advanced collaboration, security, support, and scale." })
|
|
1713
|
+
] }),
|
|
1714
|
+
/* @__PURE__ */ jsx("div", { className: "grid md:grid-cols-3 gap-6 sm:gap-8 max-w-6xl mx-auto items-stretch", children: props.showAudienceTabs && audience === "enterprise" && props.enterprisePlans ? (
|
|
1715
|
+
/* Enterprise static cards */
|
|
1716
|
+
props.enterprisePlans.map((ep) => /* @__PURE__ */ jsxs(
|
|
1717
|
+
"div",
|
|
1718
|
+
{
|
|
1719
|
+
className: `bg-card rounded-xl p-6 sm:p-8 transition-all duration-300 flex flex-col ${ep.popular ? "border-2 border-primary shadow-xl ring-1 ring-primary/20" : "border hover:shadow-lg hover:border-primary/50"}`,
|
|
1720
|
+
children: [
|
|
1721
|
+
/* @__PURE__ */ jsxs("div", { className: "text-center mb-6", children: [
|
|
1722
|
+
ep.popular && ep.badge && /* @__PURE__ */ jsx("span", { className: "inline-block bg-primary text-primary-foreground px-4 py-1 rounded-full text-xs font-semibold mb-3", children: ep.badge }),
|
|
1723
|
+
/* @__PURE__ */ jsx("h3", { className: "text-xl sm:text-2xl font-bold mb-2", children: ep.name }),
|
|
1724
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: ep.subtitle })
|
|
1725
|
+
] }),
|
|
1726
|
+
/* @__PURE__ */ jsxs("div", { className: "text-center mb-2", children: [
|
|
1727
|
+
ep.price === "Custom" ? /* @__PURE__ */ jsx("span", { className: "text-3xl sm:text-4xl font-bold", children: "Custom" }) : /* @__PURE__ */ jsxs("div", { className: "flex items-baseline justify-center gap-1", children: [
|
|
1728
|
+
/* @__PURE__ */ jsx("span", { className: "text-4xl sm:text-5xl font-extrabold", children: ep.price }),
|
|
1729
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-lg", children: ep.period })
|
|
1730
|
+
] }),
|
|
1731
|
+
ep.note && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm font-medium text-primary", children: ep.note })
|
|
1732
|
+
] }),
|
|
1733
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-3 mb-8 mt-6 flex-1", children: ep.features.map((feature) => /* @__PURE__ */ jsxs(
|
|
1734
|
+
"li",
|
|
1735
|
+
{
|
|
1736
|
+
className: "text-sm flex items-start gap-2",
|
|
1737
|
+
children: [
|
|
1738
|
+
/* @__PURE__ */ jsx("span", { className: "text-primary mt-0.5 flex-shrink-0", children: "\u2713" }),
|
|
1739
|
+
/* @__PURE__ */ jsx("span", { children: feature })
|
|
1740
|
+
]
|
|
1741
|
+
},
|
|
1742
|
+
feature
|
|
1743
|
+
)) }),
|
|
1744
|
+
ep.buttonLink.startsWith("/") ? /* @__PURE__ */ jsx(
|
|
1745
|
+
Button,
|
|
1746
|
+
{
|
|
1747
|
+
className: "w-full h-11",
|
|
1748
|
+
variant: ep.popular ? "default" : "outline",
|
|
1749
|
+
size: "lg",
|
|
1750
|
+
asChild: true,
|
|
1751
|
+
children: /* @__PURE__ */ jsx(
|
|
1752
|
+
"a",
|
|
1753
|
+
{
|
|
1754
|
+
href: ep.buttonLink,
|
|
1755
|
+
onClick: () => window.scrollTo({ top: 0, behavior: "smooth" }),
|
|
1756
|
+
children: ep.button
|
|
1757
|
+
}
|
|
1758
|
+
)
|
|
1759
|
+
}
|
|
1760
|
+
) : /* @__PURE__ */ jsx(
|
|
1761
|
+
Button,
|
|
1762
|
+
{
|
|
1763
|
+
className: "w-full h-11",
|
|
1764
|
+
variant: ep.popular ? "default" : "outline",
|
|
1765
|
+
size: "lg",
|
|
1766
|
+
asChild: true,
|
|
1767
|
+
children: /* @__PURE__ */ jsx(
|
|
1768
|
+
"a",
|
|
1769
|
+
{
|
|
1770
|
+
href: ep.buttonLink,
|
|
1771
|
+
target: "_blank",
|
|
1772
|
+
rel: "noopener noreferrer",
|
|
1773
|
+
children: ep.button
|
|
1774
|
+
}
|
|
1775
|
+
)
|
|
1776
|
+
}
|
|
1777
|
+
)
|
|
1778
|
+
]
|
|
1779
|
+
},
|
|
1780
|
+
ep.name
|
|
1781
|
+
))
|
|
1782
|
+
) : (
|
|
1783
|
+
/* Individual API-fetched cards */
|
|
1784
|
+
plans.map((plan) => /* @__PURE__ */ jsxs(
|
|
1785
|
+
"div",
|
|
1786
|
+
{
|
|
1787
|
+
className: `bg-card rounded-xl p-6 sm:p-8 transition-all duration-300 flex flex-col ${plan.popular ? "border-2 border-primary shadow-xl ring-1 ring-primary/20" : "border hover:shadow-lg hover:border-primary/50"}`,
|
|
1788
|
+
children: [
|
|
1789
|
+
/* @__PURE__ */ jsxs("div", { className: "text-center mb-6", children: [
|
|
1790
|
+
plan.popular && /* @__PURE__ */ jsx("span", { className: "inline-block bg-primary text-primary-foreground px-4 py-1 rounded-full text-xs font-semibold mb-3", children: "Most Popular" }),
|
|
1791
|
+
/* @__PURE__ */ jsx("h3", { className: "text-xl sm:text-2xl font-bold mb-2", children: plan.name }),
|
|
1792
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: plan.description })
|
|
1793
|
+
] }),
|
|
1794
|
+
/* @__PURE__ */ jsx("div", { className: "text-center mb-8", children: plan.price === "Custom" ? /* @__PURE__ */ jsx("span", { className: "text-3xl sm:text-4xl font-bold", children: "Custom" }) : /* @__PURE__ */ jsxs("div", { className: "flex items-baseline justify-center gap-1", children: [
|
|
1795
|
+
/* @__PURE__ */ jsx("span", { className: "text-4xl sm:text-5xl font-bold", children: plan.price }),
|
|
1796
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-lg", children: plan.interval })
|
|
1797
|
+
] }) }),
|
|
1798
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-3 mb-8 flex-1", children: plan.features.map((feature, index) => /* @__PURE__ */ jsxs(
|
|
1799
|
+
"li",
|
|
1800
|
+
{
|
|
1801
|
+
className: "text-sm flex items-start gap-2",
|
|
1802
|
+
children: [
|
|
1803
|
+
/* @__PURE__ */ jsx("span", { className: "text-primary mt-0.5 flex-shrink-0", children: "\u2713" }),
|
|
1804
|
+
/* @__PURE__ */ jsx("span", { children: feature })
|
|
1805
|
+
]
|
|
1806
|
+
},
|
|
1807
|
+
index
|
|
1808
|
+
)) }),
|
|
1809
|
+
plan.ctaLink.startsWith("/") ? /* @__PURE__ */ jsx(
|
|
1810
|
+
Button,
|
|
1811
|
+
{
|
|
1812
|
+
className: "w-full h-11",
|
|
1813
|
+
variant: plan.popular ? "default" : "outline",
|
|
1814
|
+
size: "lg",
|
|
1815
|
+
asChild: true,
|
|
1816
|
+
children: /* @__PURE__ */ jsx(
|
|
1817
|
+
"a",
|
|
1818
|
+
{
|
|
1819
|
+
href: plan.ctaLink,
|
|
1820
|
+
onClick: () => window.scrollTo({ top: 0, behavior: "smooth" }),
|
|
1821
|
+
children: plan.ctaText
|
|
1822
|
+
}
|
|
1823
|
+
)
|
|
1824
|
+
}
|
|
1825
|
+
) : /* @__PURE__ */ jsx(
|
|
1826
|
+
Button,
|
|
1827
|
+
{
|
|
1828
|
+
className: "w-full h-11",
|
|
1829
|
+
variant: plan.popular ? "default" : "outline",
|
|
1830
|
+
size: "lg",
|
|
1831
|
+
asChild: true,
|
|
1832
|
+
children: /* @__PURE__ */ jsx(
|
|
1833
|
+
"a",
|
|
1834
|
+
{
|
|
1835
|
+
href: plan.ctaLink,
|
|
1836
|
+
target: "_blank",
|
|
1837
|
+
rel: "noopener noreferrer",
|
|
1838
|
+
children: plan.ctaText
|
|
1839
|
+
}
|
|
1840
|
+
)
|
|
1841
|
+
}
|
|
1842
|
+
)
|
|
1843
|
+
]
|
|
1844
|
+
},
|
|
1845
|
+
plan.id
|
|
1846
|
+
))
|
|
1847
|
+
) })
|
|
1741
1848
|
] }) });
|
|
1742
1849
|
}
|
|
1743
1850
|
function PricingPage(props) {
|