@burdenoff/microfe-headshotmarketing 2026.704.4 → 2026.704.5
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/generated/wspace-operations.js +118 -111
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js +27 -19
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/headshotmarketing/components/Toast.js +56 -2
- package/dist/headshotmarketing/components/Toast.js.map +1 -0
- package/dist/headshotmarketing/pages/HomeFunnel.js +54 -0
- package/dist/headshotmarketing/pages/HomeFunnel.js.map +1 -0
- package/dist/headshotmarketing/pages/HomePage.js +423 -259
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/HomeStatCard.js +79 -0
- package/dist/headshotmarketing/pages/HomeStatCard.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdPlatformChips.js +93 -0
- package/dist/headshotmarketing/pages/ads/AdPlatformChips.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +452 -390
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +405 -115
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +565 -345
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowCanvasNode.js +107 -0
- package/dist/headshotmarketing/pages/automation/WorkflowCanvasNode.js.map +1 -0
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js +213 -0
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js.map +1 -0
- package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js +150 -0
- package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js.map +1 -0
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +380 -371
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js +92 -0
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js.map +1 -0
- package/dist/headshotmarketing/pages/builder/SectionContent.js +346 -0
- package/dist/headshotmarketing/pages/builder/SectionContent.js.map +1 -0
- package/dist/headshotmarketing/pages/builder/SectionInspector.js +358 -0
- package/dist/headshotmarketing/pages/builder/SectionInspector.js.map +1 -0
- package/dist/headshotmarketing/pages/builder/builderCatalog.js +274 -0
- package/dist/headshotmarketing/pages/builder/builderCatalog.js.map +1 -0
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +479 -193
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +492 -197
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetThumbnail.js +37 -0
- package/dist/headshotmarketing/pages/content/AssetThumbnail.js.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +672 -219
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +200 -0
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentPage.js +224 -204
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentSubNav.js +51 -0
- package/dist/headshotmarketing/pages/content/ContentSubNav.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +250 -131
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsWidgets.js +179 -0
- package/dist/headshotmarketing/pages/crm/LeadsWidgets.js.map +1 -0
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +631 -379
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventImageUpload.js +123 -0
- package/dist/headshotmarketing/pages/events/EventImageUpload.js.map +1 -0
- package/dist/headshotmarketing/pages/events/EventPagePreview.js +99 -0
- package/dist/headshotmarketing/pages/events/EventPagePreview.js.map +1 -0
- package/dist/headshotmarketing/pages/events/EventsPage.js +267 -228
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoScoreGauge.js +50 -0
- package/dist/headshotmarketing/pages/seo/SeoScoreGauge.js.map +1 -0
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js +147 -0
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js.map +1 -0
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +562 -419
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js +108 -0
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js +100 -0
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +315 -250
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/socialComposerMeta.js +60 -0
- package/dist/headshotmarketing/pages/social-media/socialComposerMeta.js.map +1 -0
- package/dist/headshotmarketing/utils/automationMapper.js +1 -1
- package/dist/headshotmarketing/utils/automationMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/contentMapper.js +4 -24
- package/dist/headshotmarketing/utils/contentMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/eventsMapper.js +9 -9
- package/dist/headshotmarketing/utils/eventsMapper.js.map +1 -1
- package/dist/headshotmarketing/utils/helpers.js +7 -4
- package/dist/headshotmarketing/utils/helpers.js.map +1 -1
- package/dist/headshotmarketing/utils/influencerMapper.js +1 -1
- package/dist/headshotmarketing/utils/influencerMapper.js.map +1 -1
- package/dist/node_modules/lodash/_arrayEach.js +14 -0
- package/dist/node_modules/lodash/_arrayEach.js.map +1 -0
- package/dist/node_modules/lodash/_assignValue.js +17 -0
- package/dist/node_modules/lodash/_assignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssign.js +16 -0
- package/dist/node_modules/lodash/_baseAssign.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignIn.js +16 -0
- package/dist/node_modules/lodash/_baseAssignIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseClone.js +64 -0
- package/dist/node_modules/lodash/_baseClone.js.map +1 -0
- package/dist/node_modules/lodash/_baseCreate.js +21 -0
- package/dist/node_modules/lodash/_baseCreate.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMap.js +16 -0
- package/dist/node_modules/lodash/_baseIsMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsSet.js +16 -0
- package/dist/node_modules/lodash/_baseIsSet.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeysIn.js +20 -0
- package/dist/node_modules/lodash/_baseKeysIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnset.js +26 -0
- package/dist/node_modules/lodash/_baseUnset.js.map +1 -0
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/dist/node_modules/lodash/_cloneArrayBuffer.js.map +1 -0
- package/dist/node_modules/lodash/_cloneBuffer.js +17 -0
- package/dist/node_modules/lodash/_cloneBuffer.js.map +1 -0
- package/dist/node_modules/lodash/_cloneDataView.js +16 -0
- package/dist/node_modules/lodash/_cloneDataView.js.map +1 -0
- package/dist/node_modules/lodash/_cloneRegExp.js +15 -0
- package/dist/node_modules/lodash/_cloneRegExp.js.map +1 -0
- package/dist/node_modules/lodash/_cloneSymbol.js +15 -0
- package/dist/node_modules/lodash/_cloneSymbol.js.map +1 -0
- package/dist/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/dist/node_modules/lodash/_cloneTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_copyArray.js +15 -0
- package/dist/node_modules/lodash/_copyArray.js.map +1 -0
- package/dist/node_modules/lodash/_copyObject.js +22 -0
- package/dist/node_modules/lodash/_copyObject.js.map +1 -0
- package/dist/node_modules/lodash/_copySymbols.js +16 -0
- package/dist/node_modules/lodash/_copySymbols.js.map +1 -0
- package/dist/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/dist/node_modules/lodash/_copySymbolsIn.js.map +1 -0
- package/dist/node_modules/lodash/_customOmitClone.js +15 -0
- package/dist/node_modules/lodash/_customOmitClone.js.map +1 -0
- package/dist/node_modules/lodash/_flatRest.js +17 -0
- package/dist/node_modules/lodash/_flatRest.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/dist/node_modules/lodash/_getAllKeysIn.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbolsIn.js +18 -0
- package/dist/node_modules/lodash/_getSymbolsIn.js.map +1 -0
- package/dist/node_modules/lodash/_initCloneArray.js +15 -0
- package/dist/node_modules/lodash/_initCloneArray.js.map +1 -0
- package/dist/node_modules/lodash/_initCloneByTag.js +40 -0
- package/dist/node_modules/lodash/_initCloneByTag.js.map +1 -0
- package/dist/node_modules/lodash/_initCloneObject.js +17 -0
- package/dist/node_modules/lodash/_initCloneObject.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeysIn.js +15 -0
- package/dist/node_modules/lodash/_nativeKeysIn.js.map +1 -0
- package/dist/node_modules/lodash/_parent.js +16 -0
- package/dist/node_modules/lodash/_parent.js.map +1 -0
- package/dist/node_modules/lodash/flatten.js +15 -0
- package/dist/node_modules/lodash/flatten.js.map +1 -0
- package/dist/node_modules/lodash/isMap.js +14 -0
- package/dist/node_modules/lodash/isMap.js.map +1 -0
- package/dist/node_modules/lodash/isSet.js +14 -0
- package/dist/node_modules/lodash/isSet.js.map +1 -0
- package/dist/node_modules/lodash/keysIn.js +17 -0
- package/dist/node_modules/lodash/keysIn.js.map +1 -0
- package/dist/node_modules/lodash/omit.js +28 -0
- package/dist/node_modules/lodash/omit.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/FunnelChart.js +15 -0
- package/dist/node_modules/recharts/es6/chart/FunnelChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/numberAxis/Funnel.js +370 -0
- package/dist/node_modules/recharts/es6/numberAxis/Funnel.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +1 -1
- package/dist/node_modules/recharts/es6/util/FunnelUtils.js +81 -0
- package/dist/node_modules/recharts/es6/util/FunnelUtils.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { cn as e } from "../../utils/helpers.js";
|
|
2
|
+
import { accentVar as t, alignItems as n, alignJustify as r, alignText as i, cfgList as a, cfgNum as o, cfgStr as s, spacingRem as c } from "./builderCatalog.js";
|
|
3
|
+
import { Check as l, ChevronDown as u, ImageIcon as d, Play as f, Star as p } from "lucide-react";
|
|
4
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
5
|
+
//#region src/headshotmarketing/pages/builder/SectionContent.tsx
|
|
6
|
+
var g = ({ label: t, accent: n, className: r }) => /* @__PURE__ */ m("span", {
|
|
7
|
+
className: e("inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-semibold text-action-primary-text shadow-pop", r),
|
|
8
|
+
style: { backgroundColor: n },
|
|
9
|
+
children: t
|
|
10
|
+
}), _ = ({ section: _ }) => {
|
|
11
|
+
let { config: v, type: y } = _, b = t(v.accent), x = v.align, S = {
|
|
12
|
+
paddingTop: c(v.spacing),
|
|
13
|
+
paddingBottom: c(v.spacing)
|
|
14
|
+
};
|
|
15
|
+
if (y === "hero") {
|
|
16
|
+
let t = s(v, "headline", "Your headline goes here"), r = s(v, "subheadline"), a = s(v, "body"), o = s(v, "cta", "Get started");
|
|
17
|
+
return /* @__PURE__ */ m("div", {
|
|
18
|
+
className: e("px-6 sm:px-10", i(x)),
|
|
19
|
+
style: S,
|
|
20
|
+
children: /* @__PURE__ */ h("div", {
|
|
21
|
+
className: e("flex flex-col gap-4", n(x)),
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ m("h2", {
|
|
24
|
+
className: "max-w-2xl text-2xl font-bold leading-tight text-text-primary sm:text-4xl",
|
|
25
|
+
children: t
|
|
26
|
+
}),
|
|
27
|
+
r && /* @__PURE__ */ m("p", {
|
|
28
|
+
className: "max-w-xl text-sm text-text-secondary sm:text-base",
|
|
29
|
+
children: r
|
|
30
|
+
}),
|
|
31
|
+
a && /* @__PURE__ */ m("p", {
|
|
32
|
+
className: "max-w-xl text-xs text-text-secondary sm:text-sm",
|
|
33
|
+
children: a
|
|
34
|
+
}),
|
|
35
|
+
o && /* @__PURE__ */ m(g, {
|
|
36
|
+
label: o,
|
|
37
|
+
accent: b,
|
|
38
|
+
className: "mt-2"
|
|
39
|
+
})
|
|
40
|
+
]
|
|
41
|
+
})
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
if (y === "header") {
|
|
45
|
+
let e = s(v, "brand", "Brand"), t = s(v, "cta", "Sign up"), n = a(v, "items", [
|
|
46
|
+
"Home",
|
|
47
|
+
"Product",
|
|
48
|
+
"Pricing"
|
|
49
|
+
]);
|
|
50
|
+
return /* @__PURE__ */ h("div", {
|
|
51
|
+
className: "flex flex-wrap items-center justify-between gap-3 border-b border-border-subtle px-6 py-4",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ m("span", {
|
|
54
|
+
className: "text-sm font-bold text-text-primary",
|
|
55
|
+
children: e
|
|
56
|
+
}),
|
|
57
|
+
/* @__PURE__ */ m("nav", {
|
|
58
|
+
className: "hidden items-center gap-4 text-xs font-medium text-text-secondary sm:flex",
|
|
59
|
+
children: n.map((e, t) => /* @__PURE__ */ m("span", { children: e }, t))
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ m("span", {
|
|
62
|
+
className: "rounded-md px-3 py-1.5 text-xs font-semibold text-action-primary-text",
|
|
63
|
+
style: { backgroundColor: b },
|
|
64
|
+
children: t
|
|
65
|
+
})
|
|
66
|
+
]
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
if (y === "features") {
|
|
70
|
+
let t = s(v, "headline"), n = a(v, "items", [
|
|
71
|
+
"Fast setup",
|
|
72
|
+
"Powerful automation",
|
|
73
|
+
"Actionable insights"
|
|
74
|
+
]);
|
|
75
|
+
return /* @__PURE__ */ h("div", {
|
|
76
|
+
className: "px-6 sm:px-10",
|
|
77
|
+
style: S,
|
|
78
|
+
children: [t && /* @__PURE__ */ m("h3", {
|
|
79
|
+
className: e("mb-6 text-xl font-semibold text-text-primary", i(x)),
|
|
80
|
+
children: t
|
|
81
|
+
}), /* @__PURE__ */ m("div", {
|
|
82
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
83
|
+
children: n.map((e, t) => /* @__PURE__ */ h("div", {
|
|
84
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
85
|
+
children: [
|
|
86
|
+
/* @__PURE__ */ m("div", {
|
|
87
|
+
className: "mb-3 flex h-8 w-8 items-center justify-center rounded-md text-action-primary-text",
|
|
88
|
+
style: { backgroundColor: b },
|
|
89
|
+
children: /* @__PURE__ */ m(l, { className: "h-4 w-4" })
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ m("p", {
|
|
92
|
+
className: "text-sm font-semibold text-text-primary",
|
|
93
|
+
children: e
|
|
94
|
+
}),
|
|
95
|
+
/* @__PURE__ */ m("p", {
|
|
96
|
+
className: "mt-1 text-xs text-text-secondary",
|
|
97
|
+
children: "Describe this feature and the value it delivers."
|
|
98
|
+
})
|
|
99
|
+
]
|
|
100
|
+
}, t))
|
|
101
|
+
})]
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
if (y === "testimonials") {
|
|
105
|
+
let t = s(v, "headline"), n = a(v, "items", [
|
|
106
|
+
"This completely changed how our team ships campaigns.",
|
|
107
|
+
"The results paid for themselves within a month.",
|
|
108
|
+
"Effortless to set up and a joy to use every day."
|
|
109
|
+
]);
|
|
110
|
+
return /* @__PURE__ */ h("div", {
|
|
111
|
+
className: "px-6 sm:px-10",
|
|
112
|
+
style: S,
|
|
113
|
+
children: [t && /* @__PURE__ */ m("h3", {
|
|
114
|
+
className: e("mb-6 text-xl font-semibold text-text-primary", i(x)),
|
|
115
|
+
children: t
|
|
116
|
+
}), /* @__PURE__ */ m("div", {
|
|
117
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
118
|
+
children: n.map((e, t) => /* @__PURE__ */ h("div", {
|
|
119
|
+
className: "flex flex-col gap-2 rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
120
|
+
children: [/* @__PURE__ */ m("div", {
|
|
121
|
+
className: "flex gap-0.5",
|
|
122
|
+
children: [
|
|
123
|
+
0,
|
|
124
|
+
1,
|
|
125
|
+
2,
|
|
126
|
+
3,
|
|
127
|
+
4
|
|
128
|
+
].map((e) => /* @__PURE__ */ m(p, {
|
|
129
|
+
className: "h-3.5 w-3.5",
|
|
130
|
+
style: {
|
|
131
|
+
color: b,
|
|
132
|
+
fill: b
|
|
133
|
+
}
|
|
134
|
+
}, e))
|
|
135
|
+
}), /* @__PURE__ */ h("p", {
|
|
136
|
+
className: "text-xs text-text-secondary",
|
|
137
|
+
children: [
|
|
138
|
+
"“",
|
|
139
|
+
e,
|
|
140
|
+
"”"
|
|
141
|
+
]
|
|
142
|
+
})]
|
|
143
|
+
}, t))
|
|
144
|
+
})]
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
if (y === "pricing") {
|
|
148
|
+
let t = s(v, "headline", "Simple, transparent pricing"), n = a(v, "items", [
|
|
149
|
+
"Starter",
|
|
150
|
+
"Growth",
|
|
151
|
+
"Scale"
|
|
152
|
+
]);
|
|
153
|
+
return /* @__PURE__ */ h("div", {
|
|
154
|
+
className: "px-6 sm:px-10",
|
|
155
|
+
style: S,
|
|
156
|
+
children: [/* @__PURE__ */ m("h3", {
|
|
157
|
+
className: e("mb-6 text-xl font-semibold text-text-primary", i(x)),
|
|
158
|
+
children: t
|
|
159
|
+
}), /* @__PURE__ */ m("div", {
|
|
160
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
161
|
+
children: n.map((t, n) => /* @__PURE__ */ h("div", {
|
|
162
|
+
className: e("flex flex-col gap-3 rounded-lg border p-5", n === 1 ? "border-border-strong bg-bg-surface shadow-pop" : "border-border-subtle bg-bg-surface"),
|
|
163
|
+
children: [
|
|
164
|
+
/* @__PURE__ */ m("p", {
|
|
165
|
+
className: "text-sm font-semibold text-text-primary",
|
|
166
|
+
children: t
|
|
167
|
+
}),
|
|
168
|
+
/* @__PURE__ */ h("p", {
|
|
169
|
+
className: "text-2xl font-bold text-text-primary",
|
|
170
|
+
children: ["$–", /* @__PURE__ */ m("span", {
|
|
171
|
+
className: "text-xs font-normal text-text-secondary",
|
|
172
|
+
children: "/mo"
|
|
173
|
+
})]
|
|
174
|
+
}),
|
|
175
|
+
/* @__PURE__ */ m("div", {
|
|
176
|
+
className: "flex flex-col gap-1.5",
|
|
177
|
+
children: [
|
|
178
|
+
0,
|
|
179
|
+
1,
|
|
180
|
+
2
|
|
181
|
+
].map((e) => /* @__PURE__ */ h("span", {
|
|
182
|
+
className: "flex items-center gap-1.5 text-xs text-text-secondary",
|
|
183
|
+
children: [/* @__PURE__ */ m(l, {
|
|
184
|
+
className: "h-3 w-3",
|
|
185
|
+
style: { color: b }
|
|
186
|
+
}), "Plan benefit"]
|
|
187
|
+
}, e))
|
|
188
|
+
})
|
|
189
|
+
]
|
|
190
|
+
}, n))
|
|
191
|
+
})]
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
if (y === "cta") {
|
|
195
|
+
let t = s(v, "headline", "Ready to get started?"), r = s(v, "body"), a = s(v, "buttonText", "Get started now");
|
|
196
|
+
return /* @__PURE__ */ m("div", {
|
|
197
|
+
className: e("mx-6 my-4 rounded-xl border border-border-seam bg-accent-wash px-6 sm:px-10", i(x)),
|
|
198
|
+
style: S,
|
|
199
|
+
children: /* @__PURE__ */ h("div", {
|
|
200
|
+
className: e("flex flex-col gap-3", n(x)),
|
|
201
|
+
children: [
|
|
202
|
+
/* @__PURE__ */ m("p", {
|
|
203
|
+
className: "text-xl font-bold text-text-primary",
|
|
204
|
+
children: t
|
|
205
|
+
}),
|
|
206
|
+
r && /* @__PURE__ */ m("p", {
|
|
207
|
+
className: "text-sm text-text-secondary",
|
|
208
|
+
children: r
|
|
209
|
+
}),
|
|
210
|
+
a && /* @__PURE__ */ m(g, {
|
|
211
|
+
label: a,
|
|
212
|
+
accent: b
|
|
213
|
+
})
|
|
214
|
+
]
|
|
215
|
+
})
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
if (y === "form") {
|
|
219
|
+
let e = s(v, "headline", "Lead capture form"), t = s(v, "body", "Add your details and we'll be in touch."), n = s(v, "buttonText", "Sign up");
|
|
220
|
+
return /* @__PURE__ */ m("div", {
|
|
221
|
+
className: "px-6 sm:px-10",
|
|
222
|
+
style: S,
|
|
223
|
+
children: /* @__PURE__ */ h("div", {
|
|
224
|
+
className: "mx-auto grid max-w-3xl grid-cols-1 gap-6 rounded-xl border border-border-subtle bg-bg-surface p-6 md:grid-cols-2",
|
|
225
|
+
children: [/* @__PURE__ */ h("div", {
|
|
226
|
+
className: "flex flex-col justify-center gap-2",
|
|
227
|
+
children: [/* @__PURE__ */ m("h3", {
|
|
228
|
+
className: "text-lg font-bold text-text-primary",
|
|
229
|
+
children: e
|
|
230
|
+
}), /* @__PURE__ */ m("p", {
|
|
231
|
+
className: "text-sm text-text-secondary",
|
|
232
|
+
children: t
|
|
233
|
+
})]
|
|
234
|
+
}), /* @__PURE__ */ h("div", {
|
|
235
|
+
className: "flex flex-col gap-2.5",
|
|
236
|
+
children: [
|
|
237
|
+
/* @__PURE__ */ m("input", {
|
|
238
|
+
disabled: !0,
|
|
239
|
+
placeholder: "First name",
|
|
240
|
+
className: "rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
|
|
241
|
+
}),
|
|
242
|
+
/* @__PURE__ */ m("input", {
|
|
243
|
+
disabled: !0,
|
|
244
|
+
placeholder: "Email",
|
|
245
|
+
className: "rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary"
|
|
246
|
+
}),
|
|
247
|
+
/* @__PURE__ */ m("button", {
|
|
248
|
+
type: "button",
|
|
249
|
+
disabled: !0,
|
|
250
|
+
className: "rounded-md py-2 text-sm font-semibold text-action-primary-text",
|
|
251
|
+
style: { backgroundColor: b },
|
|
252
|
+
children: n
|
|
253
|
+
})
|
|
254
|
+
]
|
|
255
|
+
})]
|
|
256
|
+
})
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
if (y === "footer") {
|
|
260
|
+
let e = s(v, "body", "© Your company"), t = o(v, "columns", 4);
|
|
261
|
+
return /* @__PURE__ */ h("div", {
|
|
262
|
+
className: "border-t border-border-subtle px-6 py-6",
|
|
263
|
+
children: [/* @__PURE__ */ m("div", {
|
|
264
|
+
className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
|
|
265
|
+
style: { gridTemplateColumns: `repeat(${Math.min(Math.max(t, 1), 6)}, minmax(0, 1fr))` },
|
|
266
|
+
children: Array.from({ length: Math.min(Math.max(t, 1), 6) }).map((e, t) => /* @__PURE__ */ h("div", {
|
|
267
|
+
className: "flex flex-col gap-2",
|
|
268
|
+
children: [/* @__PURE__ */ h("p", {
|
|
269
|
+
className: "text-xs font-semibold text-text-primary",
|
|
270
|
+
children: ["Column ", t + 1]
|
|
271
|
+
}), [
|
|
272
|
+
0,
|
|
273
|
+
1,
|
|
274
|
+
2
|
|
275
|
+
].map((e) => /* @__PURE__ */ m("span", {
|
|
276
|
+
className: "text-xs text-text-secondary",
|
|
277
|
+
children: "Link"
|
|
278
|
+
}, e))]
|
|
279
|
+
}, t))
|
|
280
|
+
}), /* @__PURE__ */ m("p", {
|
|
281
|
+
className: "mt-6 text-xs text-text-secondary",
|
|
282
|
+
children: e
|
|
283
|
+
})]
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
return y === "gallery" ? /* @__PURE__ */ m("div", {
|
|
287
|
+
className: "px-6 sm:px-10",
|
|
288
|
+
style: S,
|
|
289
|
+
children: /* @__PURE__ */ m("div", {
|
|
290
|
+
className: "grid grid-cols-2 gap-3 sm:grid-cols-3",
|
|
291
|
+
children: [
|
|
292
|
+
0,
|
|
293
|
+
1,
|
|
294
|
+
2,
|
|
295
|
+
3,
|
|
296
|
+
4,
|
|
297
|
+
5
|
|
298
|
+
].map((e) => /* @__PURE__ */ m("div", {
|
|
299
|
+
className: "flex aspect-video items-center justify-center rounded-lg border border-border-subtle bg-bg-sunken",
|
|
300
|
+
children: /* @__PURE__ */ m(d, { className: "h-6 w-6 text-text-secondary/50" })
|
|
301
|
+
}, e))
|
|
302
|
+
})
|
|
303
|
+
}) : y === "video" ? /* @__PURE__ */ m("div", {
|
|
304
|
+
className: "px-6 sm:px-10",
|
|
305
|
+
style: S,
|
|
306
|
+
children: /* @__PURE__ */ m("div", {
|
|
307
|
+
className: "mx-auto flex aspect-video max-w-3xl items-center justify-center rounded-xl border border-border-subtle bg-bg-sunken",
|
|
308
|
+
children: /* @__PURE__ */ m("div", {
|
|
309
|
+
className: "flex h-14 w-14 items-center justify-center rounded-full text-action-primary-text shadow-pop",
|
|
310
|
+
style: { backgroundColor: b },
|
|
311
|
+
children: /* @__PURE__ */ m(f, { className: "h-6 w-6 fill-current" })
|
|
312
|
+
})
|
|
313
|
+
})
|
|
314
|
+
}) : y === "faq" ? /* @__PURE__ */ m("div", {
|
|
315
|
+
className: "px-6 sm:px-10",
|
|
316
|
+
style: S,
|
|
317
|
+
children: /* @__PURE__ */ m("div", {
|
|
318
|
+
className: "mx-auto flex max-w-2xl flex-col gap-2",
|
|
319
|
+
children: a(v, "items", [
|
|
320
|
+
"How does it work?",
|
|
321
|
+
"Can I cancel anytime?",
|
|
322
|
+
"Do you offer support?"
|
|
323
|
+
]).map((e, t) => /* @__PURE__ */ h("div", {
|
|
324
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle bg-bg-surface px-4 py-3",
|
|
325
|
+
children: [/* @__PURE__ */ m("span", {
|
|
326
|
+
className: "text-sm font-medium text-text-primary",
|
|
327
|
+
children: e
|
|
328
|
+
}), /* @__PURE__ */ m(u, { className: "h-4 w-4 text-text-secondary" })]
|
|
329
|
+
}, t))
|
|
330
|
+
})
|
|
331
|
+
}) : /* @__PURE__ */ m("div", {
|
|
332
|
+
className: "px-6 sm:px-10",
|
|
333
|
+
style: S,
|
|
334
|
+
children: /* @__PURE__ */ m("div", {
|
|
335
|
+
className: e("rounded-lg border border-dashed border-border-subtle bg-bg-sunken/50 p-6 text-sm capitalize text-text-secondary", i(x)),
|
|
336
|
+
children: /* @__PURE__ */ h("div", {
|
|
337
|
+
className: e("flex", r(x)),
|
|
338
|
+
children: [y, " section"]
|
|
339
|
+
})
|
|
340
|
+
})
|
|
341
|
+
});
|
|
342
|
+
};
|
|
343
|
+
//#endregion
|
|
344
|
+
export { _ as SectionContent };
|
|
345
|
+
|
|
346
|
+
//# sourceMappingURL=SectionContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionContent.js","names":[],"sources":["../../../../src/headshotmarketing/pages/builder/SectionContent.tsx"],"sourcesContent":["/**\n * Landing Page Builder — WYSIWYG renderer for a single section.\n *\n * Renders the *real authored content* of a section (headline, feature grid,\n * lead-capture form, …) using only values held in `section.config`, so every\n * inspector edit reflects live. Shared by the editing canvas and the preview\n * modal. Empty fields fall back to honest placeholder copy, never fake data.\n *\n * @module headshotmarketing/pages/builder\n */\n\nimport type { FC } from \"react\";\nimport { Star, Play, ImageIcon, Check, ChevronDown } from \"lucide-react\";\nimport { cn } from \"../../utils/helpers\";\nimport {\n accentVar,\n alignItems,\n alignJustify,\n alignText,\n cfgList,\n cfgNum,\n cfgStr,\n spacingRem,\n type Section,\n} from \"./builderCatalog\";\n\ninterface SectionContentProps {\n section: Section;\n /** When true the block is non-interactive (editor canvas); links are inert. */\n interactive?: boolean;\n}\n\n/** Accent-filled pill used for CTAs across section types. */\nconst AccentButton: FC<{\n label: string;\n accent: string;\n className?: string;\n}> = ({ label, accent, className }) => (\n <span\n className={cn(\n \"inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-semibold text-action-primary-text shadow-pop\",\n className,\n )}\n style={{ backgroundColor: accent }}\n >\n {label}\n </span>\n);\n\nexport const SectionContent: FC<SectionContentProps> = ({ section }) => {\n const { config, type } = section;\n const accent = accentVar(config[\"accent\"]);\n const align = config[\"align\"];\n const style = {\n paddingTop: spacingRem(config[\"spacing\"]),\n paddingBottom: spacingRem(config[\"spacing\"]),\n };\n\n if (type === \"hero\") {\n const headline = cfgStr(config, \"headline\", \"Your headline goes here\");\n const sub = cfgStr(config, \"subheadline\");\n const body = cfgStr(config, \"body\");\n const cta = cfgStr(config, \"cta\", \"Get started\");\n return (\n <div className={cn(\"px-6 sm:px-10\", alignText(align))} style={style}>\n <div className={cn(\"flex flex-col gap-4\", alignItems(align))}>\n <h2 className=\"max-w-2xl text-2xl font-bold leading-tight text-text-primary sm:text-4xl\">\n {headline}\n </h2>\n {sub && (\n <p className=\"max-w-xl text-sm text-text-secondary sm:text-base\">\n {sub}\n </p>\n )}\n {body && (\n <p className=\"max-w-xl text-xs text-text-secondary sm:text-sm\">\n {body}\n </p>\n )}\n {cta && <AccentButton label={cta} accent={accent} className=\"mt-2\" />}\n </div>\n </div>\n );\n }\n\n if (type === \"header\") {\n const brand = cfgStr(config, \"brand\", \"Brand\");\n const cta = cfgStr(config, \"cta\", \"Sign up\");\n const nav = cfgList(config, \"items\", [\"Home\", \"Product\", \"Pricing\"]);\n return (\n <div className=\"flex flex-wrap items-center justify-between gap-3 border-b border-border-subtle px-6 py-4\">\n <span className=\"text-sm font-bold text-text-primary\">{brand}</span>\n <nav className=\"hidden items-center gap-4 text-xs font-medium text-text-secondary sm:flex\">\n {nav.map((item, i) => (\n <span key={i}>{item}</span>\n ))}\n </nav>\n <span\n className=\"rounded-md px-3 py-1.5 text-xs font-semibold text-action-primary-text\"\n style={{ backgroundColor: accent }}\n >\n {cta}\n </span>\n </div>\n );\n }\n\n if (type === \"features\") {\n const headline = cfgStr(config, \"headline\");\n const items = cfgList(config, \"items\", [\n \"Fast setup\",\n \"Powerful automation\",\n \"Actionable insights\",\n ]);\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n {headline && (\n <h3\n className={cn(\n \"mb-6 text-xl font-semibold text-text-primary\",\n alignText(align),\n )}\n >\n {headline}\n </h3>\n )}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3\">\n {items.map((item, i) => (\n <div\n key={i}\n className=\"rounded-lg border border-border-subtle bg-bg-surface p-4\"\n >\n <div\n className=\"mb-3 flex h-8 w-8 items-center justify-center rounded-md text-action-primary-text\"\n style={{ backgroundColor: accent }}\n >\n <Check className=\"h-4 w-4\" />\n </div>\n <p className=\"text-sm font-semibold text-text-primary\">{item}</p>\n <p className=\"mt-1 text-xs text-text-secondary\">\n Describe this feature and the value it delivers.\n </p>\n </div>\n ))}\n </div>\n </div>\n );\n }\n\n if (type === \"testimonials\") {\n const headline = cfgStr(config, \"headline\");\n const quotes = cfgList(config, \"items\", [\n \"This completely changed how our team ships campaigns.\",\n \"The results paid for themselves within a month.\",\n \"Effortless to set up and a joy to use every day.\",\n ]);\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n {headline && (\n <h3\n className={cn(\n \"mb-6 text-xl font-semibold text-text-primary\",\n alignText(align),\n )}\n >\n {headline}\n </h3>\n )}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\">\n {quotes.map((quote, i) => (\n <div\n key={i}\n className=\"flex flex-col gap-2 rounded-lg border border-border-subtle bg-bg-surface p-4\"\n >\n <div className=\"flex gap-0.5\">\n {[0, 1, 2, 3, 4].map((s) => (\n <Star\n key={s}\n className=\"h-3.5 w-3.5\"\n style={{ color: accent, fill: accent }}\n />\n ))}\n </div>\n <p className=\"text-xs text-text-secondary\">“{quote}”</p>\n </div>\n ))}\n </div>\n </div>\n );\n }\n\n if (type === \"pricing\") {\n const headline = cfgStr(config, \"headline\", \"Simple, transparent pricing\");\n const tiers = cfgList(config, \"items\", [\"Starter\", \"Growth\", \"Scale\"]);\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n <h3\n className={cn(\n \"mb-6 text-xl font-semibold text-text-primary\",\n alignText(align),\n )}\n >\n {headline}\n </h3>\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\">\n {tiers.map((tier, i) => (\n <div\n key={i}\n className={cn(\n \"flex flex-col gap-3 rounded-lg border p-5\",\n i === 1\n ? \"border-border-strong bg-bg-surface shadow-pop\"\n : \"border-border-subtle bg-bg-surface\",\n )}\n >\n <p className=\"text-sm font-semibold text-text-primary\">{tier}</p>\n <p className=\"text-2xl font-bold text-text-primary\">\n $–\n <span className=\"text-xs font-normal text-text-secondary\">\n /mo\n </span>\n </p>\n <div className=\"flex flex-col gap-1.5\">\n {[0, 1, 2].map((f) => (\n <span\n key={f}\n className=\"flex items-center gap-1.5 text-xs text-text-secondary\"\n >\n <Check className=\"h-3 w-3\" style={{ color: accent }} />\n Plan benefit\n </span>\n ))}\n </div>\n </div>\n ))}\n </div>\n </div>\n );\n }\n\n if (type === \"cta\") {\n const headline = cfgStr(config, \"headline\", \"Ready to get started?\");\n const body = cfgStr(config, \"body\");\n const button = cfgStr(config, \"buttonText\", \"Get started now\");\n return (\n <div\n className={cn(\n \"mx-6 my-4 rounded-xl border border-border-seam bg-accent-wash px-6 sm:px-10\",\n alignText(align),\n )}\n style={style}\n >\n <div className={cn(\"flex flex-col gap-3\", alignItems(align))}>\n <p className=\"text-xl font-bold text-text-primary\">{headline}</p>\n {body && <p className=\"text-sm text-text-secondary\">{body}</p>}\n {button && <AccentButton label={button} accent={accent} />}\n </div>\n </div>\n );\n }\n\n if (type === \"form\") {\n const headline = cfgStr(config, \"headline\", \"Lead capture form\");\n const body = cfgStr(\n config,\n \"body\",\n \"Add your details and we'll be in touch.\",\n );\n const button = cfgStr(config, \"buttonText\", \"Sign up\");\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n <div className=\"mx-auto grid max-w-3xl grid-cols-1 gap-6 rounded-xl border border-border-subtle bg-bg-surface p-6 md:grid-cols-2\">\n <div className=\"flex flex-col justify-center gap-2\">\n <h3 className=\"text-lg font-bold text-text-primary\">{headline}</h3>\n <p className=\"text-sm text-text-secondary\">{body}</p>\n </div>\n <div className=\"flex flex-col gap-2.5\">\n <input\n disabled\n placeholder=\"First name\"\n className=\"rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary\"\n />\n <input\n disabled\n placeholder=\"Email\"\n className=\"rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary\"\n />\n <button\n type=\"button\"\n disabled\n className=\"rounded-md py-2 text-sm font-semibold text-action-primary-text\"\n style={{ backgroundColor: accent }}\n >\n {button}\n </button>\n </div>\n </div>\n </div>\n );\n }\n\n if (type === \"footer\") {\n const brand = cfgStr(config, \"body\", \"© Your company\");\n const columns = cfgNum(config, \"columns\", 4);\n return (\n <div className=\"border-t border-border-subtle px-6 py-6\">\n <div\n className=\"grid grid-cols-2 gap-4 sm:grid-cols-4\"\n style={{\n gridTemplateColumns: `repeat(${Math.min(Math.max(columns, 1), 6)}, minmax(0, 1fr))`,\n }}\n >\n {Array.from({ length: Math.min(Math.max(columns, 1), 6) }).map(\n (_, i) => (\n <div key={i} className=\"flex flex-col gap-2\">\n <p className=\"text-xs font-semibold text-text-primary\">\n Column {i + 1}\n </p>\n {[0, 1, 2].map((l) => (\n <span key={l} className=\"text-xs text-text-secondary\">\n Link\n </span>\n ))}\n </div>\n ),\n )}\n </div>\n <p className=\"mt-6 text-xs text-text-secondary\">{brand}</p>\n </div>\n );\n }\n\n if (type === \"gallery\") {\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-3\">\n {[0, 1, 2, 3, 4, 5].map((i) => (\n <div\n key={i}\n className=\"flex aspect-video items-center justify-center rounded-lg border border-border-subtle bg-bg-sunken\"\n >\n <ImageIcon className=\"h-6 w-6 text-text-secondary/50\" />\n </div>\n ))}\n </div>\n </div>\n );\n }\n\n if (type === \"video\") {\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n <div className=\"mx-auto flex aspect-video max-w-3xl items-center justify-center rounded-xl border border-border-subtle bg-bg-sunken\">\n <div\n className=\"flex h-14 w-14 items-center justify-center rounded-full text-action-primary-text shadow-pop\"\n style={{ backgroundColor: accent }}\n >\n <Play className=\"h-6 w-6 fill-current\" />\n </div>\n </div>\n </div>\n );\n }\n\n if (type === \"faq\") {\n const items = cfgList(config, \"items\", [\n \"How does it work?\",\n \"Can I cancel anytime?\",\n \"Do you offer support?\",\n ]);\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n <div className=\"mx-auto flex max-w-2xl flex-col gap-2\">\n {items.map((q, i) => (\n <div\n key={i}\n className=\"flex items-center justify-between rounded-lg border border-border-subtle bg-bg-surface px-4 py-3\"\n >\n <span className=\"text-sm font-medium text-text-primary\">{q}</span>\n <ChevronDown className=\"h-4 w-4 text-text-secondary\" />\n </div>\n ))}\n </div>\n </div>\n );\n }\n\n return (\n <div className=\"px-6 sm:px-10\" style={style}>\n <div\n className={cn(\n \"rounded-lg border border-dashed border-border-subtle bg-bg-sunken/50 p-6 text-sm capitalize text-text-secondary\",\n alignText(align),\n )}\n >\n <div className={cn(\"flex\", alignJustify(align))}>{type} section</div>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;AAiCA,IAAM,KAIA,EAAE,UAAO,WAAQ,mBACrB,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