@shipsite.dev/components 0.2.70 → 0.2.72
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.
|
@@ -3,7 +3,7 @@ import { Section } from '../ui/section';
|
|
|
3
3
|
import { Button } from '../ui/button';
|
|
4
4
|
import Glow from '../ui/glow';
|
|
5
5
|
export function BannerCTA({ id, title, buttonText, buttonHref, subtext, children }) {
|
|
6
|
-
return (_jsx(Section, { id: id, children: _jsx("div", { className: "container-main", children: _jsxs("div", { className: "relative overflow-hidden glass-4 rounded-3xl p-12 md:p-16 text-center", children: [_jsx(Glow, { variant: "center" }), _jsxs("div", { className: "relative z-10", children: [_jsx("h2", { className: "text-3xl md:text-4xl font-bold text-foreground mb-4", children: title }), subtext && _jsx("p", { className: "text-muted-foreground mb-8 max-w-xl mx-auto", children: subtext }), buttonHref && (_jsx(Button, { asChild: true, size: "lg", children: _jsx("a", { href: buttonHref, children: buttonText }) })), children] })] }) }) }));
|
|
6
|
+
return (_jsx(Section, { id: id, children: _jsx("div", { className: "container-main", children: _jsxs("div", { className: "relative overflow-hidden glass-4 rounded-3xl p-6 sm:p-12 md:p-16 text-center", children: [_jsx(Glow, { variant: "center" }), _jsxs("div", { className: "relative z-10", children: [_jsx("h2", { className: "text-3xl md:text-4xl font-bold text-foreground mb-4", children: title }), subtext && _jsx("p", { className: "text-muted-foreground mb-8 max-w-xl mx-auto", children: subtext }), buttonHref && (_jsx(Button, { asChild: true, size: "lg", children: _jsx("a", { href: buttonHref, children: buttonText }) })), children] })] }) }) }));
|
|
7
7
|
}
|
|
8
8
|
export function BannerFeature({ title, icon }) {
|
|
9
9
|
return (_jsxs("div", { className: "flex items-center gap-2 text-muted-foreground text-sm", children: [icon && _jsx("span", { children: icon }), _jsx("span", { children: title })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerCTA.js","sourceRoot":"","sources":["../../src/marketing/BannerCTA.tsx"],"names":[],"mappings":";AACA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,EAAoC;IAC7E,OAAO,CACL,eAAK,SAAS,EAAC,uDAAuD,aACnE,IAAI,IAAI,yBAAO,IAAI,GAAQ,EAC5B,yBAAO,KAAK,GAAQ,IAChB,CACP,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ export function BannerCTA({ id, title, buttonText, buttonHref, subtext, children
|
|
|
16
16
|
return (
|
|
17
17
|
<Section id={id}>
|
|
18
18
|
<div className="container-main">
|
|
19
|
-
<div className="relative overflow-hidden glass-4 rounded-3xl p-12 md:p-16 text-center">
|
|
19
|
+
<div className="relative overflow-hidden glass-4 rounded-3xl p-6 sm:p-12 md:p-16 text-center">
|
|
20
20
|
<Glow variant="center" />
|
|
21
21
|
<div className="relative z-10">
|
|
22
22
|
<h2 className="text-3xl md:text-4xl font-bold text-foreground mb-4">{title}</h2>
|