@burdenoff/microfe-headshotmarketing 2026.625.1 → 2026.625.2

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.
Files changed (87) hide show
  1. package/dist/headshotmarketing/pages/HomePage.js +176 -175
  2. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  3. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +234 -218
  4. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  5. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +162 -147
  6. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  7. package/dist/headshotmarketing/pages/ads/AdsPage.js +138 -99
  8. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  9. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +133 -118
  10. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  11. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +101 -99
  12. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  13. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +40 -38
  14. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  15. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +98 -96
  16. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  17. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +23 -21
  18. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  19. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +95 -83
  20. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  21. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +23 -21
  22. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
  23. package/dist/headshotmarketing/pages/automation/AutomationPage.js +98 -59
  24. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  25. package/dist/headshotmarketing/pages/automation/TriggersPage.js +105 -94
  26. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  27. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +43 -41
  28. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  29. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +155 -139
  30. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  31. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +266 -261
  32. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  33. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +201 -173
  34. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  35. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +85 -91
  36. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  37. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +160 -147
  38. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  39. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +136 -134
  40. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/content/AIToolsPage.js +82 -74
  42. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +58 -46
  44. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +23 -21
  46. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +39 -37
  48. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/content/ContentPage.js +82 -75
  50. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  51. package/dist/headshotmarketing/pages/crm/ContactsPage.js +227 -212
  52. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +62 -61
  54. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +75 -74
  56. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  57. package/dist/headshotmarketing/pages/crm/CrmPage.js +162 -120
  58. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/crm/LeadsPage.js +58 -51
  60. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/crm/PipelinePage.js +173 -157
  62. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/events/CreateEventPage.js +344 -339
  64. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  65. package/dist/headshotmarketing/pages/events/EventsPage.js +100 -87
  66. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  67. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +162 -147
  68. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +91 -83
  70. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +56 -28
  72. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  73. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +199 -184
  74. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  75. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +118 -111
  76. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +27 -25
  78. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +55 -54
  80. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/social-media/PostsPage.js +149 -137
  82. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +27 -26
  84. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  85. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +104 -76
  86. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  87. package/package.json +2 -2
@@ -7,36 +7,37 @@ import { toBuilderSectionsFromLandingPage as i, toBuilderTemplateModel as a } fr
7
7
  import { useEffect as o, useState as s } from "react";
8
8
  import { ArrowLeft as c, ChevronDown as l, ChevronUp as u, Columns as d, Edit3 as f, Eye as p, Globe as m, GripVertical as h, Image as g, Layout as _, Monitor as v, MousePointerClick as y, Plus as b, Save as x, Smartphone as S, Star as C, Tablet as w, Trash2 as T } from "lucide-react";
9
9
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
10
+ import { PagePurpose as O } from "@burdenoff/fe-libs/ui";
10
11
  //#region src/headshotmarketing/pages/builder/LandingPageBuilderPage.tsx
11
- var O = {
12
+ var k = {
12
13
  header: _,
13
14
  hero: g,
14
15
  features: d,
15
16
  testimonials: C,
16
17
  cta: y,
17
18
  footer: _
18
- }, k = () => {
19
+ }, A = () => {
19
20
  let { navigate: d } = e(), { data: g } = t({ variables: {
20
21
  limit: 200,
21
22
  offset: 0
22
- } }), y = (g?.headshotmarketingLandingPages.items ?? [])[0], k = i(y), [A, j] = s(y?.title ?? "Landing Page"), [M, N] = s("desktop"), [P, F] = s(k.length > 0 ? k.map((e) => ({ ...e })) : [{
23
+ } }), y = (g?.headshotmarketingLandingPages.items ?? [])[0], A = i(y), [j, M] = s(y?.title ?? "Landing Page"), [N, P] = s("desktop"), [F, I] = s(A.length > 0 ? A.map((e) => ({ ...e })) : [{
23
24
  id: "default-hero",
24
25
  type: "hero",
25
26
  label: "Hero",
26
27
  config: {}
27
- }]), [I, L] = s(null), [R, z] = s(!1), B = (g?.headshotmarketingCampaignTemplates.items ?? []).map((e) => a(e));
28
+ }]), [L, R] = s(null), [z, B] = s(!1), V = (g?.headshotmarketingCampaignTemplates.items ?? []).map((e) => a(e));
28
29
  o(() => {
29
30
  if (!y) return;
30
- j(y.title);
31
+ M(y.title);
31
32
  let e = i(y);
32
- e.length > 0 && F(e.map((e) => ({ ...e })));
33
+ e.length > 0 && I(e.map((e) => ({ ...e })));
33
34
  }, [y]);
34
- let V = {
35
+ let H = {
35
36
  desktop: "w-full",
36
37
  tablet: "max-w-[768px]",
37
38
  mobile: "max-w-[375px]"
38
- }, H = (e, t) => {
39
- F((n) => {
39
+ }, U = (e, t) => {
40
+ I((n) => {
40
41
  let r = n.findIndex((t) => t.id === e);
41
42
  if (r === -1) return n;
42
43
  let i = t === "up" ? r - 1 : r + 1;
@@ -44,16 +45,16 @@ var O = {
44
45
  let a = [...n];
45
46
  return [a[r], a[i]] = [a[i], a[r]], a;
46
47
  });
47
- }, U = (e) => {
48
- F((t) => t.filter((t) => t.id !== e)), I === e && L(null);
49
48
  }, W = (e) => {
49
+ I((t) => t.filter((t) => t.id !== e)), L === e && R(null);
50
+ }, G = (e) => {
50
51
  let t = {
51
52
  id: `sec-${Date.now()}`,
52
53
  type: e,
53
54
  label: e.charAt(0).toUpperCase() + e.slice(1),
54
55
  config: {}
55
56
  };
56
- F((e) => [...e, t]), L(t.id);
57
+ I((e) => [...e, t]), R(t.id);
57
58
  };
58
59
  return /* @__PURE__ */ D(r, {
59
60
  title: "Landing Page Builder",
@@ -79,273 +80,277 @@ var O = {
79
80
  })
80
81
  ]
81
82
  }),
82
- children: [/* @__PURE__ */ E("div", {
83
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
84
- children: /* @__PURE__ */ D("div", {
85
- className: "flex items-center gap-3",
86
- children: [/* @__PURE__ */ E(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ E("input", {
87
- type: "text",
88
- value: A,
89
- onChange: (e) => j(e.target.value),
90
- className: "text-lg font-semibold text-text-primary bg-transparent border-none outline-none flex-1 placeholder:text-text-secondary",
91
- placeholder: "Page name"
92
- })]
93
- })
94
- }), /* @__PURE__ */ D("div", {
95
- className: "grid grid-cols-1 lg:grid-cols-4 gap-6",
96
- children: [/* @__PURE__ */ D("div", {
97
- className: "lg:col-span-1 space-y-4",
83
+ children: [
84
+ /* @__PURE__ */ E(O, { children: "Build a campaign landing page without code. Start from a template, drag in sections (hero, features, testimonials, forms), preview how it looks on desktop and mobile, then publish it to capture leads for the campaign you're promoting." }),
85
+ /* @__PURE__ */ E("div", {
86
+ className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
87
+ children: /* @__PURE__ */ D("div", {
88
+ className: "flex items-center gap-3",
89
+ children: [/* @__PURE__ */ E(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ E("input", {
90
+ type: "text",
91
+ value: j,
92
+ onChange: (e) => M(e.target.value),
93
+ className: "text-lg font-semibold text-text-primary bg-transparent border-none outline-none flex-1 placeholder:text-text-secondary",
94
+ placeholder: "Page name"
95
+ })]
96
+ })
97
+ }),
98
+ /* @__PURE__ */ D("div", {
99
+ className: "grid grid-cols-1 lg:grid-cols-4 gap-6",
98
100
  children: [/* @__PURE__ */ D("div", {
99
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
100
- children: [/* @__PURE__ */ E("h4", {
101
- className: "text-sm font-semibold text-text-primary mb-3",
102
- children: "Templates"
103
- }), /* @__PURE__ */ E("div", {
104
- className: "space-y-2",
105
- children: B.map((e) => /* @__PURE__ */ D("button", {
106
- className: "flex flex-col items-start w-full rounded-md border border-border-subtle px-3 py-2.5 text-left hover:bg-bg-sunken transition-colors",
101
+ className: "lg:col-span-1 space-y-4",
102
+ children: [/* @__PURE__ */ D("div", {
103
+ className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
104
+ children: [/* @__PURE__ */ E("h4", {
105
+ className: "text-sm font-semibold text-text-primary mb-3",
106
+ children: "Templates"
107
+ }), /* @__PURE__ */ E("div", {
108
+ className: "space-y-2",
109
+ children: V.map((e) => /* @__PURE__ */ D("button", {
110
+ className: "flex flex-col items-start w-full rounded-md border border-border-subtle px-3 py-2.5 text-left hover:bg-bg-sunken transition-colors",
111
+ children: [
112
+ /* @__PURE__ */ E("span", {
113
+ className: "text-sm font-medium text-text-primary",
114
+ children: e.name
115
+ }),
116
+ /* @__PURE__ */ E("span", {
117
+ className: "text-[10px] text-text-secondary mt-0.5",
118
+ children: e.description
119
+ }),
120
+ /* @__PURE__ */ E("span", {
121
+ className: "rounded-full bg-bg-sunken px-2 py-0.5 text-[10px] text-text-secondary mt-1",
122
+ children: e.category
123
+ })
124
+ ]
125
+ }, e.id))
126
+ })]
127
+ }), /* @__PURE__ */ D("div", {
128
+ className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
129
+ children: [/* @__PURE__ */ E("h4", {
130
+ className: "text-sm font-semibold text-text-primary mb-3",
131
+ children: "Add Section"
132
+ }), /* @__PURE__ */ E("div", {
133
+ className: "grid grid-cols-2 gap-2",
107
134
  children: [
108
- /* @__PURE__ */ E("span", {
109
- className: "text-sm font-medium text-text-primary",
110
- children: e.name
111
- }),
112
- /* @__PURE__ */ E("span", {
113
- className: "text-[10px] text-text-secondary mt-0.5",
114
- children: e.description
115
- }),
116
- /* @__PURE__ */ E("span", {
117
- className: "rounded-full bg-bg-sunken px-2 py-0.5 text-[10px] text-text-secondary mt-1",
118
- children: e.category
119
- })
120
- ]
121
- }, e.id))
135
+ "header",
136
+ "hero",
137
+ "features",
138
+ "testimonials",
139
+ "cta",
140
+ "footer",
141
+ "pricing",
142
+ "faq",
143
+ "gallery",
144
+ "contact"
145
+ ].map((e) => /* @__PURE__ */ D("button", {
146
+ onClick: () => G(e),
147
+ className: "flex flex-col items-center gap-1 rounded-md border border-dashed border-border-subtle p-2 text-xs text-text-secondary hover:border-primary hover:text-primary transition-colors capitalize",
148
+ children: [/* @__PURE__ */ E(k[e] || _, { className: "h-4 w-4" }), e]
149
+ }, e))
150
+ })]
122
151
  })]
123
152
  }), /* @__PURE__ */ D("div", {
124
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
125
- children: [/* @__PURE__ */ E("h4", {
126
- className: "text-sm font-semibold text-text-primary mb-3",
127
- children: "Add Section"
128
- }), /* @__PURE__ */ E("div", {
129
- className: "grid grid-cols-2 gap-2",
153
+ className: "lg:col-span-3",
154
+ children: [/* @__PURE__ */ E("div", {
155
+ className: "flex items-center justify-center gap-2 mb-4",
130
156
  children: [
131
- "header",
132
- "hero",
133
- "features",
134
- "testimonials",
135
- "cta",
136
- "footer",
137
- "pricing",
138
- "faq",
139
- "gallery",
140
- "contact"
141
- ].map((e) => /* @__PURE__ */ D("button", {
142
- onClick: () => W(e),
143
- className: "flex flex-col items-center gap-1 rounded-md border border-dashed border-border-subtle p-2 text-xs text-text-secondary hover:border-primary hover:text-primary transition-colors capitalize",
144
- children: [/* @__PURE__ */ E(O[e] || _, { className: "h-4 w-4" }), e]
145
- }, e))
146
- })]
147
- })]
148
- }), /* @__PURE__ */ D("div", {
149
- className: "lg:col-span-3",
150
- children: [/* @__PURE__ */ E("div", {
151
- className: "flex items-center justify-center gap-2 mb-4",
152
- children: [
153
- {
154
- key: "desktop",
155
- icon: v,
156
- label: "Desktop"
157
- },
158
- {
159
- key: "tablet",
160
- icon: w,
161
- label: "Tablet"
162
- },
163
- {
164
- key: "mobile",
165
- icon: S,
166
- label: "Mobile"
167
- }
168
- ].map((e) => {
169
- let t = e.icon;
170
- return /* @__PURE__ */ D("button", {
171
- onClick: () => N(e.key),
172
- className: n("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors", M === e.key ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
173
- children: [/* @__PURE__ */ E(t, { className: "h-4 w-4" }), e.label]
174
- }, e.key);
175
- })
176
- }), /* @__PURE__ */ E("div", {
177
- className: n("mx-auto transition-all", V[M]),
178
- children: /* @__PURE__ */ D("div", {
179
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop overflow-hidden",
180
- children: [/* @__PURE__ */ E("div", {
181
- className: "divide-y divide-border",
182
- children: P.map((e, t) => {
183
- let r = O[e.type] || _;
184
- return /* @__PURE__ */ D("div", {
185
- onClick: () => L(e.id),
186
- className: n("p-4 cursor-pointer transition-all group", I === e.id ? "bg-action-primary-bg/5 ring-2 ring-inset ring-primary" : "hover:bg-bg-sunken/50"),
187
- children: [/* @__PURE__ */ D("div", {
188
- className: "flex items-center justify-between",
157
+ {
158
+ key: "desktop",
159
+ icon: v,
160
+ label: "Desktop"
161
+ },
162
+ {
163
+ key: "tablet",
164
+ icon: w,
165
+ label: "Tablet"
166
+ },
167
+ {
168
+ key: "mobile",
169
+ icon: S,
170
+ label: "Mobile"
171
+ }
172
+ ].map((e) => {
173
+ let t = e.icon;
174
+ return /* @__PURE__ */ D("button", {
175
+ onClick: () => P(e.key),
176
+ className: n("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors", N === e.key ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
177
+ children: [/* @__PURE__ */ E(t, { className: "h-4 w-4" }), e.label]
178
+ }, e.key);
179
+ })
180
+ }), /* @__PURE__ */ E("div", {
181
+ className: n("mx-auto transition-all", H[N]),
182
+ children: /* @__PURE__ */ D("div", {
183
+ className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop overflow-hidden",
184
+ children: [/* @__PURE__ */ E("div", {
185
+ className: "divide-y divide-border",
186
+ children: F.map((e, t) => {
187
+ let r = k[e.type] || _;
188
+ return /* @__PURE__ */ D("div", {
189
+ onClick: () => R(e.id),
190
+ className: n("p-4 cursor-pointer transition-all group", L === e.id ? "bg-action-primary-bg/5 ring-2 ring-inset ring-primary" : "hover:bg-bg-sunken/50"),
189
191
  children: [/* @__PURE__ */ D("div", {
190
- className: "flex items-center gap-3",
191
- children: [
192
- /* @__PURE__ */ E(h, { className: "h-4 w-4 text-text-secondary opacity-0 group-hover:opacity-100 transition-opacity cursor-grab" }),
193
- /* @__PURE__ */ E("div", {
194
- className: "p-2 rounded-md bg-bg-sunken",
195
- children: /* @__PURE__ */ E(r, { className: "h-4 w-4 text-text-secondary" })
196
- }),
197
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
198
- className: "text-sm font-medium text-text-primary",
199
- children: e.label
200
- }), /* @__PURE__ */ D("p", {
201
- className: "text-xs text-text-secondary capitalize",
202
- children: [e.type, " section"]
203
- })] })
204
- ]
205
- }), /* @__PURE__ */ D("div", {
206
- className: "flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity",
207
- children: [
208
- /* @__PURE__ */ E("button", {
209
- onClick: (t) => {
210
- t.stopPropagation(), H(e.id, "up");
211
- },
212
- disabled: t === 0,
213
- className: n("p-1 rounded-md hover:bg-bg-sunken", t === 0 && "opacity-30 cursor-not-allowed"),
214
- children: /* @__PURE__ */ E(u, { className: "h-4 w-4 text-text-secondary" })
215
- }),
216
- /* @__PURE__ */ E("button", {
217
- onClick: (t) => {
218
- t.stopPropagation(), H(e.id, "down");
219
- },
220
- disabled: t === P.length - 1,
221
- className: n("p-1 rounded-md hover:bg-bg-sunken", t === P.length - 1 && "opacity-30 cursor-not-allowed"),
222
- children: /* @__PURE__ */ E(l, { className: "h-4 w-4 text-text-secondary" })
223
- }),
224
- /* @__PURE__ */ E("button", {
225
- onClick: (t) => {
226
- t.stopPropagation(), L(e.id);
227
- },
228
- className: "p-1 rounded-md hover:bg-bg-sunken",
229
- children: /* @__PURE__ */ E(f, { className: "h-4 w-4 text-text-secondary" })
230
- }),
231
- /* @__PURE__ */ E("button", {
232
- onClick: (t) => {
233
- t.stopPropagation(), U(e.id);
234
- },
235
- className: "p-1 rounded-md hover:bg-bg-sunken text-text-secondary hover:text-status-error-text",
236
- children: /* @__PURE__ */ E(T, { className: "h-4 w-4" })
237
- })
238
- ]
239
- })]
240
- }), /* @__PURE__ */ D("div", {
241
- className: "mt-3 ml-11",
242
- children: [
243
- e.type === "hero" && /* @__PURE__ */ D("div", {
244
- className: "rounded-md bg-bg-sunken/50 p-4 text-center",
192
+ className: "flex items-center justify-between",
193
+ children: [/* @__PURE__ */ D("div", {
194
+ className: "flex items-center gap-3",
245
195
  children: [
246
- /* @__PURE__ */ E("p", {
247
- className: "text-lg font-bold text-text-primary",
248
- children: e.config.headline || "Your Headline Here"
249
- }),
250
- /* @__PURE__ */ E("p", {
251
- className: "text-xs text-text-secondary mt-1",
252
- children: e.config.subheadline || "Subheadline text"
253
- }),
196
+ /* @__PURE__ */ E(h, { className: "h-4 w-4 text-text-secondary opacity-0 group-hover:opacity-100 transition-opacity cursor-grab" }),
254
197
  /* @__PURE__ */ E("div", {
255
- className: "mt-2",
256
- children: /* @__PURE__ */ E("span", {
257
- className: "inline-block bg-action-primary-bg text-action-primary-text text-xs px-3 py-1 rounded-md",
258
- children: e.config.cta || "Call to Action"
259
- })
260
- })
198
+ className: "p-2 rounded-md bg-bg-sunken",
199
+ children: /* @__PURE__ */ E(r, { className: "h-4 w-4 text-text-secondary" })
200
+ }),
201
+ /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
202
+ className: "text-sm font-medium text-text-primary",
203
+ children: e.label
204
+ }), /* @__PURE__ */ D("p", {
205
+ className: "text-xs text-text-secondary capitalize",
206
+ children: [e.type, " section"]
207
+ })] })
261
208
  ]
262
- }),
263
- e.type === "features" && /* @__PURE__ */ E("div", {
264
- className: "grid grid-cols-3 gap-2",
265
- children: (e.config.items || [
266
- "Feature 1",
267
- "Feature 2",
268
- "Feature 3"
269
- ]).map((e, t) => /* @__PURE__ */ E("div", {
270
- className: "rounded-md bg-bg-sunken/50 p-2 text-center text-xs text-text-secondary",
271
- children: e
272
- }, t))
273
- }),
274
- e.type === "header" && /* @__PURE__ */ D("div", {
275
- className: "flex items-center justify-between rounded-md bg-bg-sunken/50 p-2",
209
+ }), /* @__PURE__ */ D("div", {
210
+ className: "flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity",
276
211
  children: [
277
- /* @__PURE__ */ E("span", {
278
- className: "text-xs font-medium text-text-secondary",
279
- children: "Logo"
212
+ /* @__PURE__ */ E("button", {
213
+ onClick: (t) => {
214
+ t.stopPropagation(), U(e.id, "up");
215
+ },
216
+ disabled: t === 0,
217
+ className: n("p-1 rounded-md hover:bg-bg-sunken", t === 0 && "opacity-30 cursor-not-allowed"),
218
+ children: /* @__PURE__ */ E(u, { className: "h-4 w-4 text-text-secondary" })
280
219
  }),
281
- /* @__PURE__ */ D("div", {
282
- className: "flex gap-2 text-xs text-text-secondary",
283
- children: [
284
- /* @__PURE__ */ E("span", { children: "Nav 1" }),
285
- /* @__PURE__ */ E("span", { children: "Nav 2" }),
286
- /* @__PURE__ */ E("span", { children: "Nav 3" })
287
- ]
220
+ /* @__PURE__ */ E("button", {
221
+ onClick: (t) => {
222
+ t.stopPropagation(), U(e.id, "down");
223
+ },
224
+ disabled: t === F.length - 1,
225
+ className: n("p-1 rounded-md hover:bg-bg-sunken", t === F.length - 1 && "opacity-30 cursor-not-allowed"),
226
+ children: /* @__PURE__ */ E(l, { className: "h-4 w-4 text-text-secondary" })
288
227
  }),
289
- /* @__PURE__ */ E("span", {
290
- className: "text-xs bg-action-primary-bg/20 text-primary px-2 py-0.5 rounded-md",
291
- children: e.config.cta || "CTA"
228
+ /* @__PURE__ */ E("button", {
229
+ onClick: (t) => {
230
+ t.stopPropagation(), R(e.id);
231
+ },
232
+ className: "p-1 rounded-md hover:bg-bg-sunken",
233
+ children: /* @__PURE__ */ E(f, { className: "h-4 w-4 text-text-secondary" })
234
+ }),
235
+ /* @__PURE__ */ E("button", {
236
+ onClick: (t) => {
237
+ t.stopPropagation(), W(e.id);
238
+ },
239
+ className: "p-1 rounded-md hover:bg-bg-sunken text-text-secondary hover:text-status-error-text",
240
+ children: /* @__PURE__ */ E(T, { className: "h-4 w-4" })
292
241
  })
293
242
  ]
294
- }),
295
- e.type === "testimonials" && /* @__PURE__ */ E("div", {
296
- className: "flex gap-2",
297
- children: Array.from({ length: e.config.count || 3 }).map((e, t) => /* @__PURE__ */ D("div", {
298
- className: "flex-1 rounded-md bg-bg-sunken/50 p-2 text-center",
299
- children: [/* @__PURE__ */ E("div", {
300
- className: "flex justify-center gap-0.5 mb-1",
301
- children: [
302
- 1,
303
- 2,
304
- 3,
305
- 4,
306
- 5
307
- ].map((e) => /* @__PURE__ */ E(C, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }, e))
308
- }), /* @__PURE__ */ D("p", {
309
- className: "text-[10px] text-text-secondary",
310
- children: ["Testimonial ", t + 1]
243
+ })]
244
+ }), /* @__PURE__ */ D("div", {
245
+ className: "mt-3 ml-11",
246
+ children: [
247
+ e.type === "hero" && /* @__PURE__ */ D("div", {
248
+ className: "rounded-md bg-bg-sunken/50 p-4 text-center",
249
+ children: [
250
+ /* @__PURE__ */ E("p", {
251
+ className: "text-lg font-bold text-text-primary",
252
+ children: e.config.headline || "Your Headline Here"
253
+ }),
254
+ /* @__PURE__ */ E("p", {
255
+ className: "text-xs text-text-secondary mt-1",
256
+ children: e.config.subheadline || "Subheadline text"
257
+ }),
258
+ /* @__PURE__ */ E("div", {
259
+ className: "mt-2",
260
+ children: /* @__PURE__ */ E("span", {
261
+ className: "inline-block bg-action-primary-bg text-action-primary-text text-xs px-3 py-1 rounded-md",
262
+ children: e.config.cta || "Call to Action"
263
+ })
264
+ })
265
+ ]
266
+ }),
267
+ e.type === "features" && /* @__PURE__ */ E("div", {
268
+ className: "grid grid-cols-3 gap-2",
269
+ children: (e.config.items || [
270
+ "Feature 1",
271
+ "Feature 2",
272
+ "Feature 3"
273
+ ]).map((e, t) => /* @__PURE__ */ E("div", {
274
+ className: "rounded-md bg-bg-sunken/50 p-2 text-center text-xs text-text-secondary",
275
+ children: e
276
+ }, t))
277
+ }),
278
+ e.type === "header" && /* @__PURE__ */ D("div", {
279
+ className: "flex items-center justify-between rounded-md bg-bg-sunken/50 p-2",
280
+ children: [
281
+ /* @__PURE__ */ E("span", {
282
+ className: "text-xs font-medium text-text-secondary",
283
+ children: "Logo"
284
+ }),
285
+ /* @__PURE__ */ D("div", {
286
+ className: "flex gap-2 text-xs text-text-secondary",
287
+ children: [
288
+ /* @__PURE__ */ E("span", { children: "Nav 1" }),
289
+ /* @__PURE__ */ E("span", { children: "Nav 2" }),
290
+ /* @__PURE__ */ E("span", { children: "Nav 3" })
291
+ ]
292
+ }),
293
+ /* @__PURE__ */ E("span", {
294
+ className: "text-xs bg-action-primary-bg/20 text-primary px-2 py-0.5 rounded-md",
295
+ children: e.config.cta || "CTA"
296
+ })
297
+ ]
298
+ }),
299
+ e.type === "testimonials" && /* @__PURE__ */ E("div", {
300
+ className: "flex gap-2",
301
+ children: Array.from({ length: e.config.count || 3 }).map((e, t) => /* @__PURE__ */ D("div", {
302
+ className: "flex-1 rounded-md bg-bg-sunken/50 p-2 text-center",
303
+ children: [/* @__PURE__ */ E("div", {
304
+ className: "flex justify-center gap-0.5 mb-1",
305
+ children: [
306
+ 1,
307
+ 2,
308
+ 3,
309
+ 4,
310
+ 5
311
+ ].map((e) => /* @__PURE__ */ E(C, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }, e))
312
+ }), /* @__PURE__ */ D("p", {
313
+ className: "text-[10px] text-text-secondary",
314
+ children: ["Testimonial ", t + 1]
315
+ })]
316
+ }, t))
317
+ }),
318
+ e.type === "cta" && /* @__PURE__ */ D("div", {
319
+ className: "rounded-md bg-action-primary-bg/10 p-3 text-center",
320
+ children: [/* @__PURE__ */ E("p", {
321
+ className: "text-sm font-semibold text-text-primary",
322
+ children: e.config.headline || "Call to Action"
323
+ }), /* @__PURE__ */ E("span", {
324
+ className: "inline-block mt-1 bg-action-primary-bg text-action-primary-text text-xs px-3 py-1 rounded-md",
325
+ children: e.config.buttonText || "Get Started"
311
326
  })]
312
- }, t))
313
- }),
314
- e.type === "cta" && /* @__PURE__ */ D("div", {
315
- className: "rounded-md bg-action-primary-bg/10 p-3 text-center",
316
- children: [/* @__PURE__ */ E("p", {
317
- className: "text-sm font-semibold text-text-primary",
318
- children: e.config.headline || "Call to Action"
319
- }), /* @__PURE__ */ E("span", {
320
- className: "inline-block mt-1 bg-action-primary-bg text-action-primary-text text-xs px-3 py-1 rounded-md",
321
- children: e.config.buttonText || "Get Started"
322
- })]
323
- }),
324
- e.type === "footer" && /* @__PURE__ */ D("div", {
325
- className: "rounded-md bg-bg-sunken/50 p-2 text-center text-xs text-text-secondary",
326
- children: [
327
- "Footer with",
328
- " ",
329
- e.config.columns || 4,
330
- " columns"
331
- ]
332
- })
333
- ]
334
- })]
335
- }, e.id);
336
- })
337
- }), /* @__PURE__ */ D("button", {
338
- onClick: () => W("features"),
339
- className: "w-full p-4 border-t border-dashed border-border-subtle text-sm text-text-secondary hover:text-primary hover:bg-action-primary-bg/5 transition-colors flex items-center justify-center gap-2",
340
- children: [/* @__PURE__ */ E(b, { className: "h-4 w-4" }), "Add Section"]
341
- })]
342
- })
327
+ }),
328
+ e.type === "footer" && /* @__PURE__ */ D("div", {
329
+ className: "rounded-md bg-bg-sunken/50 p-2 text-center text-xs text-text-secondary",
330
+ children: [
331
+ "Footer with",
332
+ " ",
333
+ e.config.columns || 4,
334
+ " columns"
335
+ ]
336
+ })
337
+ ]
338
+ })]
339
+ }, e.id);
340
+ })
341
+ }), /* @__PURE__ */ D("button", {
342
+ onClick: () => G("features"),
343
+ className: "w-full p-4 border-t border-dashed border-border-subtle text-sm text-text-secondary hover:text-primary hover:bg-action-primary-bg/5 transition-colors flex items-center justify-center gap-2",
344
+ children: [/* @__PURE__ */ E(b, { className: "h-4 w-4" }), "Add Section"]
345
+ })]
346
+ })
347
+ })]
343
348
  })]
344
- })]
345
- })]
349
+ })
350
+ ]
346
351
  });
347
352
  };
348
353
  //#endregion
349
- export { k as LandingPageBuilderPage };
354
+ export { A as LandingPageBuilderPage };
350
355
 
351
356
  //# sourceMappingURL=LandingPageBuilderPage.js.map