@stackshift-ui/logo-cloud 6.0.6 → 6.0.7-beta.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.
@@ -1,313 +1 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __esm = (fn, res) => function __init() {
9
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
10
- };
11
- var __export = (target, all) => {
12
- for (var name in all)
13
- __defProp(target, name, { get: all[name], enumerable: true });
14
- };
15
- var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from))
18
- if (!__hasOwnProp.call(to, key) && key !== except)
19
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
- // If the importer is in node compatibility mode or this is not an ESM
25
- // file that has been converted to a CommonJS file using a Babel-
26
- // compatible transform (i.e. "__esModule" has not been set), then set
27
- // "default" to the CommonJS "module.exports" for node compatibility.
28
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
- mod
30
- ));
31
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
-
33
- // src/logo-cloud_a.tsx
34
- var logo_cloud_a_exports = {};
35
- __export(logo_cloud_a_exports, {
36
- LogoCloud_A: () => LogoCloud_A,
37
- default: () => LogoCloud_A
38
- });
39
- function LogoCloud_A({ title, images }) {
40
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_section.Section, { className: "py-20 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_container.Container, { maxWidth: 1280, children: [
41
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Title, { title }),
42
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_flex.Flex, { wrap: true, justify: "center", align: "center", gap: 3, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LogoCloudImages, { images }) })
43
- ] }) });
44
- }
45
- function Title({ title }) {
46
- if (!title) return null;
47
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_heading.Heading, { className: "mb-12 text-center", fontSize: "2xl", children: title });
48
- }
49
- function LogoCloudImages({ images }) {
50
- if (!images) return null;
51
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.default.Fragment, { children: images == null ? void 0 : images.map((image, index) => {
52
- var _a;
53
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: (image == null ? void 0 : image.image) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
54
- import_flex.Flex,
55
- {
56
- align: "center",
57
- justify: "center",
58
- className: "h-[192px] w-[192px] rounded-global bg-gray-50",
59
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
60
- import_image.Image,
61
- {
62
- className: "object-scale-down",
63
- src: `${image == null ? void 0 : image.image}`,
64
- sizes: "192px",
65
- width: 192,
66
- height: 192,
67
- alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image${index}`
68
- }
69
- )
70
- }
71
- ) : null }, index);
72
- }) });
73
- }
74
- var import_container, import_flex, import_heading, import_image, import_section, import_react, import_jsx_runtime;
75
- var init_logo_cloud_a = __esm({
76
- "src/logo-cloud_a.tsx"() {
77
- "use strict";
78
- import_container = require("@stackshift-ui/container");
79
- import_flex = require("@stackshift-ui/flex");
80
- import_heading = require("@stackshift-ui/heading");
81
- import_image = require("@stackshift-ui/image");
82
- import_section = require("@stackshift-ui/section");
83
- import_react = __toESM(require("react"));
84
- import_jsx_runtime = require("react/jsx-runtime");
85
- }
86
- });
87
-
88
- // src/logo-cloud_b.tsx
89
- var logo_cloud_b_exports = {};
90
- __export(logo_cloud_b_exports, {
91
- LogoCloud_B: () => LogoCloud_B,
92
- default: () => LogoCloud_B
93
- });
94
- function LogoCloud_B({ title, text, images }) {
95
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_section2.Section, { className: "py-20 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_container2.Container, { maxWidth: 1280, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_flex2.Flex, { wrap: true, align: "center", justify: "between", children: [
96
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(TitleTextSection, { title, text }),
97
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_flex2.Flex, { wrap: true, className: "w-full lg:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LogoCloudImages2, { images }) })
98
- ] }) }) });
99
- }
100
- function TitleTextSection({ title, text }) {
101
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "w-full mb-12 lg:mb-0 lg:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_container2.Container, { maxWidth: 448, children: [
102
- title && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_heading2.Heading, { weight: "bold", className: "mb-4", children: title }),
103
- text && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_text.Text, { muted: true, className: "leading-loose", children: text })
104
- ] }) });
105
- }
106
- function LogoCloudImages2({ images }) {
107
- if (!images) return null;
108
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react2.default.Fragment, { children: images == null ? void 0 : images.map((image, index) => {
109
- var _a;
110
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "w-full px-2 mb-4 sm:w-1/2 md:w-1/3", children: (image == null ? void 0 : image.image) && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
111
- import_flex2.Flex,
112
- {
113
- align: "center",
114
- justify: "center",
115
- className: "mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",
116
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
117
- import_image2.Image,
118
- {
119
- className: "object-scale-down",
120
- src: `${image == null ? void 0 : image.image}`,
121
- sizes: "192px",
122
- width: 192,
123
- height: 192,
124
- alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image${index}`
125
- }
126
- )
127
- }
128
- ) }) }, index);
129
- }) });
130
- }
131
- var import_container2, import_flex2, import_heading2, import_image2, import_section2, import_text, import_react2, import_jsx_runtime2;
132
- var init_logo_cloud_b = __esm({
133
- "src/logo-cloud_b.tsx"() {
134
- "use strict";
135
- import_container2 = require("@stackshift-ui/container");
136
- import_flex2 = require("@stackshift-ui/flex");
137
- import_heading2 = require("@stackshift-ui/heading");
138
- import_image2 = require("@stackshift-ui/image");
139
- import_section2 = require("@stackshift-ui/section");
140
- import_text = require("@stackshift-ui/text");
141
- import_react2 = __toESM(require("react"));
142
- import_jsx_runtime2 = require("react/jsx-runtime");
143
- }
144
- });
145
-
146
- // src/logo-cloud_c.tsx
147
- var logo_cloud_c_exports = {};
148
- __export(logo_cloud_c_exports, {
149
- LogoCloud_C: () => LogoCloud_C,
150
- default: () => LogoCloud_C
151
- });
152
- function LogoCloud_C({ title, images, button }) {
153
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_section3.Section, { className: "relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_container3.Container, { maxWidth: 1280, children: [
154
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoCloudHeader, { title, button }),
155
- images && images.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Logos, { images }),
156
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoCloudMobile, { images })
157
- ] }) });
158
- }
159
- function LogoCloudHeader({ title, button }) {
160
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_container3.Container, { maxWidth: 448, className: "text-center", children: [
161
- title && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_heading3.Heading, { weight: "bold", className: "mb-8 text-4xl lg:text-5xl", children: title }),
162
- (button == null ? void 0 : button.label) && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_button.Button, { as: "link", ariaLabel: button.label, link: button, children: button.label })
163
- ] });
164
- }
165
- function Logos({ images }) {
166
- if (!images) return null;
167
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "relative hidden lg:block", children: images.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(LogoItem, { image, alt: image == null ? void 0 : image.alt, index }, index)) });
168
- }
169
- function LogoItem({ image, alt, index }) {
170
- var _a;
171
- const positions = [
172
- { top: "-120px", left: "-10px" },
173
- { top: "0", left: "0", marginTop: "20px" },
174
- { bottom: "-250px", left: "20%" },
175
- { top: "20px", right: "20%" },
176
- { bottom: "-250px", right: "0" },
177
- { top: "-150px", right: "0" }
178
- ];
179
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
180
- "div",
181
- {
182
- className: "absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",
183
- style: (_a = positions[index]) != null ? _a : {},
184
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
185
- import_image3.Image,
186
- {
187
- className: "object-scale-down w-16 h-16",
188
- src: `${image == null ? void 0 : image.image}`,
189
- sizes: "100vw",
190
- width: 64,
191
- height: 64,
192
- alt: alt != null ? alt : `logoCloud-image-${index + 1}`
193
- }
194
- )
195
- }
196
- );
197
- }
198
- function LogoCloudMobile({ images }) {
199
- if (!images) return null;
200
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_flex3.Flex, { wrap: true, justify: "center", className: "mt-16 lg:hidden", children: images && images.map((image, index) => {
201
- var _a;
202
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
203
- import_flex3.Flex,
204
- {
205
- align: "center",
206
- justify: "center",
207
- className: "w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",
208
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
209
- import_image3.Image,
210
- {
211
- className: "object-scale-down w-16 h-16",
212
- src: `${image == null ? void 0 : image.image}`,
213
- sizes: "100vw",
214
- width: 64,
215
- height: 64,
216
- alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image-${index}`
217
- }
218
- )
219
- },
220
- index
221
- );
222
- }) });
223
- }
224
- var import_button, import_container3, import_flex3, import_heading3, import_image3, import_section3, import_jsx_runtime3;
225
- var init_logo_cloud_c = __esm({
226
- "src/logo-cloud_c.tsx"() {
227
- "use strict";
228
- import_button = require("@stackshift-ui/button");
229
- import_container3 = require("@stackshift-ui/container");
230
- import_flex3 = require("@stackshift-ui/flex");
231
- import_heading3 = require("@stackshift-ui/heading");
232
- import_image3 = require("@stackshift-ui/image");
233
- import_section3 = require("@stackshift-ui/section");
234
- import_jsx_runtime3 = require("react/jsx-runtime");
235
- }
236
- });
237
-
238
- // src/logo-cloud_d.tsx
239
- var logo_cloud_d_exports = {};
240
- __export(logo_cloud_d_exports, {
241
- LogoCloud_D: () => LogoCloud_D,
242
- default: () => LogoCloud_D
243
- });
244
- function LogoCloud_D({ images }) {
245
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_section4.Section, { className: "py-20 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_container4.Container, { maxWidth: 1280, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_flex4.Flex, { wrap: true, justify: "center", align: "center", children: images && (images == null ? void 0 : images.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(LogoItem2, { image }))) }) }) });
246
- }
247
- function LogoItem2({ image }) {
248
- var _a;
249
- if (!image) return null;
250
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0", children: (image == null ? void 0 : image.image) && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
251
- import_flex4.Flex,
252
- {
253
- align: "center",
254
- justify: "center",
255
- className: "mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",
256
- children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
257
- import_image4.Image,
258
- {
259
- className: "object-scale-down w-full h-full",
260
- src: `${image == null ? void 0 : image.image}`,
261
- sizes: "192px",
262
- width: 192,
263
- height: 192,
264
- alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image`
265
- }
266
- )
267
- }
268
- ) });
269
- }
270
- var import_container4, import_flex4, import_image4, import_section4, import_jsx_runtime4;
271
- var init_logo_cloud_d = __esm({
272
- "src/logo-cloud_d.tsx"() {
273
- "use strict";
274
- import_container4 = require("@stackshift-ui/container");
275
- import_flex4 = require("@stackshift-ui/flex");
276
- import_image4 = require("@stackshift-ui/image");
277
- import_section4 = require("@stackshift-ui/section");
278
- import_jsx_runtime4 = require("react/jsx-runtime");
279
- }
280
- });
281
-
282
- // src/logo-cloud.tsx
283
- var logo_cloud_exports = {};
284
- __export(logo_cloud_exports, {
285
- LogoCloud: () => LogoCloud
286
- });
287
- module.exports = __toCommonJS(logo_cloud_exports);
288
- var import_react3 = require("react");
289
- var import_jsx_runtime5 = require("react/jsx-runtime");
290
- var Variants = {
291
- variant_a: (0, import_react3.lazy)(() => Promise.resolve().then(() => (init_logo_cloud_a(), logo_cloud_a_exports))),
292
- variant_b: (0, import_react3.lazy)(() => Promise.resolve().then(() => (init_logo_cloud_b(), logo_cloud_b_exports))),
293
- variant_c: (0, import_react3.lazy)(() => Promise.resolve().then(() => (init_logo_cloud_c(), logo_cloud_c_exports))),
294
- variant_d: (0, import_react3.lazy)(() => Promise.resolve().then(() => (init_logo_cloud_d(), logo_cloud_d_exports)))
295
- };
296
- var displayName = "LogoCloud";
297
- var LogoCloud = ({ data }) => {
298
- var _a, _b, _c, _d, _e, _f, _g, _h;
299
- const variant = data == null ? void 0 : data.variant;
300
- const Variant = variant && Variants[variant];
301
- const props = {
302
- title: (_b = (_a = data == null ? void 0 : data.variants) == null ? void 0 : _a.title) != null ? _b : void 0,
303
- images: (_d = (_c = data == null ? void 0 : data.variants) == null ? void 0 : _c.images) != null ? _d : void 0,
304
- text: (_f = (_e = data == null ? void 0 : data.variants) == null ? void 0 : _e.plainText) != null ? _f : void 0,
305
- button: (_h = (_g = data == null ? void 0 : data.variants) == null ? void 0 : _g.primaryButton) != null ? _h : void 0
306
- };
307
- return Variant ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Variant, { ...props }) : null;
308
- };
309
- LogoCloud.displayName = displayName;
310
- // Annotate the CommonJS export names for ESM import in node:
311
- 0 && (module.exports = {
312
- LogoCloud
313
- });
1
+ "use strict";var no=Object.create;var m=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var so=Object.getOwnPropertyNames;var po=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var a=(o,t)=>()=>(o&&(t=o(o=0)),t);var u=(o,t)=>{for(var r in t)m(o,r,{get:t[r],enumerable:!0})},k=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of so(t))!uo.call(o,s)&&s!==r&&m(o,s,{get:()=>t[s],enumerable:!(n=io(t,s))||n.enumerable});return o};var S=(o,t,r)=>(r=o!=null?no(po(o)):{},k(t||!o||!o.__esModule?m(r,"default",{value:o,enumerable:!0}):r,o)),co=o=>k(m({},"__esModule",{value:!0}),o);var H={};u(H,{LogoCloud_A:()=>z,default:()=>z});function z({title:o,images:t}){return(0,i.jsx)($.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(P.Container,{maxWidth:1280,children:[(0,i.jsx)(mo,{title:o}),(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",align:"center",gap:3,children:(0,i.jsx)(ao,{images:t})})]})})}function mo({title:o}){return o?(0,i.jsx)(R.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:o}):null}function ao({images:o}){return o?(0,i.jsx)(_.default.Fragment,{children:o==null?void 0:o.map((t,r)=>{var n;return(0,i.jsx)("div",{children:t!=null&&t.image?(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"d-[192px] j-[192px] rounded-global bg-gray-50",children:(0,i.jsx)(j.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image${r}`})}):null},r)})}):null}var P,d,R,j,$,_,i,T=a(()=>{"use strict";P=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),R=require("@stackshift-ui/heading"),j=require("@stackshift-ui/image"),$=require("@stackshift-ui/section"),_=S(require("react")),i=require("react/jsx-runtime")});var q={};u(q,{LogoCloud_B:()=>M,default:()=>M});function M({title:o,text:t,images:r}){return(0,i.jsx)($.Section,{className:"py-20 bg-background",children:(0,i.jsx)(g.Container,{maxWidth:1280,children:(0,i.jsxs)(d.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,i.jsx)(fo,{title:o,text:t}),(0,i.jsx)(d.Flex,{wrap:!0,className:"j-full lg:j-1/2",children:(0,i.jsx)(go,{images:r})})]})})})}function fo({title:o,text:t}){return(0,i.jsx)("div",{className:"j-full mb-12 lg:mb-0 lg:j-1/2",children:(0,i.jsxs)(g.Container,{maxWidth:448,children:[o&&(0,i.jsx)(R.Heading,{weight:"bold",className:"mb-4",children:o}),t&&(0,i.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t})]})})}function go({images:o}){return o?(0,i.jsx)(D.default.Fragment,{children:o==null?void 0:o.map((t,r)=>{var n;return(0,i.jsx)("div",{className:"j-full px-2 mb-4 sm:j-1/2 md:j-1/3",children:(t==null?void 0:t.image)&&(0,i.jsx)("div",{children:(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto d-[192px] j-[192px] rounded-global bg-gray-50",children:(0,i.jsx)(j.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image${r}`})})})},r)})}):null}var g,d,R,j,$,A,D,i,E=a(()=>{"use strict";g=require("@stackshift-ui/container"),A=require("@stackshift-ui/text"),D=S(require("react"))});var Q={};u(Q,{LogoCloud_C:()=>O,default:()=>O});function O({title:o,images:t,button:r}){return(0,i.jsx)($.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,i.jsxs)(b.Container,{maxWidth:1280,children:[(0,i.jsx)(xo,{title:o,button:r}),t&&t.length>0&&(0,i.jsx)(bo,{images:t}),(0,i.jsx)(ho,{images:t})]})})}function xo({title:o,button:t}){return(0,i.jsxs)(b.Container,{maxWidth:448,className:"text-center",children:[o&&(0,i.jsx)(R.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:o}),(t==null?void 0:t.label)&&(0,i.jsx)(G.Button,{as:"link",ariaLabel:t.label,link:t,children:t.label})]})}function bo({images:o}){return o?(0,i.jsx)("div",{className:"relative hidden lg:block",children:o.map((t,r)=>(0,i.jsx)(wo,{image:t,alt:t==null?void 0:t.alt,index:r},r))}):null}function wo({image:o,alt:t,index:r}){var s;return(0,i.jsx)("div",{className:"absolute flex items-center justify-center j-24 d-24 overflow-hidden rounded-full bg-gray-50",style:(s=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][r])!=null?s:{},children:(0,i.jsx)(j.Image,{className:"object-scale-down j-16 d-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:t!=null?t:`logoCloud-image-${r+1}`})})}function ho({images:o}){return o?(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:o&&o.map((t,r)=>{var n;return(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"j-24 d-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,i.jsx)(j.Image,{className:"object-scale-down j-16 d-16",src:`${t==null?void 0:t.image}`,sizes:"100vw",width:64,height:64,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image-${r}`})},r)})}):null}var G,b,d,R,j,$,i,U=a(()=>{"use strict";G=require("@stackshift-ui/button"),b=require("@stackshift-ui/container")});var to={};u(to,{LogoCloud_D:()=>oo,default:()=>oo});function oo({images:o}){return(0,i.jsx)($.Section,{className:"py-20 bg-background",children:(0,i.jsx)(X.Container,{maxWidth:1280,children:(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",align:"center",children:o&&(o==null?void 0:o.map((t,r)=>(0,i.jsx)(Co,{image:t})))})})})}function Co({image:o}){var t;return o?(0,i.jsx)("div",{className:"j-full px-2 mb-4 md:j-1/3 lg:mr-10 lg:j-1/6 xl:mr-0",children:(o==null?void 0:o.image)&&(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto d-[192px] j-[192px] rounded-global bg-gray-50",children:(0,i.jsx)(j.Image,{className:"object-scale-down j-full d-full",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(t=o==null?void 0:o.alt)!=null?t:"logoCloud-image"})})}):null}var X,d,j,$,i,ro=a(()=>{"use strict";X=require("@stackshift-ui/container")});var Lo={};u(Lo,{LogoCloud:()=>eo});module.exports=co(Lo);var c=require("react"),vo={variant_a:(0,c.lazy)(()=>Promise.resolve().then(()=>(T(),H))),variant_b:(0,c.lazy)(()=>Promise.resolve().then(()=>(E(),q))),variant_c:(0,c.lazy)(()=>Promise.resolve().then(()=>(U(),Q))),variant_d:(0,c.lazy)(()=>Promise.resolve().then(()=>(ro(),to)))},yo="LogoCloud",eo=({data:o})=>{var s,C,v,y,L,N,I,F;let t=o==null?void 0:o.variant,r=t&&vo[t],n={title:(C=(s=o==null?void 0:o.variants)==null?void 0:s.title)!=null?C:void 0,images:(y=(v=o==null?void 0:o.variants)==null?void 0:v.images)!=null?y:void 0,text:(N=(L=o==null?void 0:o.variants)==null?void 0:L.plainText)!=null?N:void 0,button:(F=(I=o==null?void 0:o.variants)==null?void 0:I.primaryButton)!=null?F:void 0};return r?(0,i.jsx)(r,{...n}):null};eo.displayName=yo;0&&(module.exports={LogoCloud});
@@ -1,6 +1 @@
1
- import {
2
- LogoCloud
3
- } from "./chunk-PNGHENXC.mjs";
4
- export {
5
- LogoCloud
6
- };
1
+ import{a}from"./chunk-IAIT346V.mjs";export{a as LogoCloud};
@@ -1,82 +1 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // src/logo-cloud_a.tsx
31
- var logo_cloud_a_exports = {};
32
- __export(logo_cloud_a_exports, {
33
- LogoCloud_A: () => LogoCloud_A,
34
- default: () => LogoCloud_A
35
- });
36
- module.exports = __toCommonJS(logo_cloud_a_exports);
37
- var import_container = require("@stackshift-ui/container");
38
- var import_flex = require("@stackshift-ui/flex");
39
- var import_heading = require("@stackshift-ui/heading");
40
- var import_image = require("@stackshift-ui/image");
41
- var import_section = require("@stackshift-ui/section");
42
- var import_react = __toESM(require("react"));
43
- var import_jsx_runtime = require("react/jsx-runtime");
44
- function LogoCloud_A({ title, images }) {
45
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_section.Section, { className: "py-20 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_container.Container, { maxWidth: 1280, children: [
46
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Title, { title }),
47
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_flex.Flex, { wrap: true, justify: "center", align: "center", gap: 3, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LogoCloudImages, { images }) })
48
- ] }) });
49
- }
50
- function Title({ title }) {
51
- if (!title) return null;
52
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_heading.Heading, { className: "mb-12 text-center", fontSize: "2xl", children: title });
53
- }
54
- function LogoCloudImages({ images }) {
55
- if (!images) return null;
56
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.default.Fragment, { children: images == null ? void 0 : images.map((image, index) => {
57
- var _a;
58
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: (image == null ? void 0 : image.image) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
59
- import_flex.Flex,
60
- {
61
- align: "center",
62
- justify: "center",
63
- className: "h-[192px] w-[192px] rounded-global bg-gray-50",
64
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
65
- import_image.Image,
66
- {
67
- className: "object-scale-down",
68
- src: `${image == null ? void 0 : image.image}`,
69
- sizes: "192px",
70
- width: 192,
71
- height: 192,
72
- alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image${index}`
73
- }
74
- )
75
- }
76
- ) : null }, index);
77
- }) });
78
- }
79
- // Annotate the CommonJS export names for ESM import in node:
80
- 0 && (module.exports = {
81
- LogoCloud_A
82
- });
1
+ "use strict";var g=Object.create;var u=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var y=(o,t)=>{for(var n in t)u(o,n,{get:t[n],enumerable:!0})},p=(o,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of C(t))!h.call(o,l)&&l!==n&&u(o,l,{get:()=>t[l],enumerable:!(e=x(t,l))||e.enumerable});return o};var F=(o,t,n)=>(n=o!=null?g(b(o)):{},p(t||!o||!o.__esModule?u(n,"default",{value:o,enumerable:!0}):n,o)),w=o=>p(u({},"__esModule",{value:!0}),o);var N={};y(N,{LogoCloud_A:()=>m,default:()=>m});module.exports=w(N);var a=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),i=require("@stackshift-ui/image"),s=require("@stackshift-ui/section"),d=F(require("react")),r=require("react/jsx-runtime");function m({title:o,images:t}){return(0,r.jsx)(s.Section,{className:"py-20 bg-background",children:(0,r.jsxs)(a.Container,{maxWidth:1280,children:[(0,r.jsx)(I,{title:o}),(0,r.jsx)(c.Flex,{wrap:!0,justify:"center",align:"center",gap:3,children:(0,r.jsx)(L,{images:t})})]})})}function I({title:o}){return o?(0,r.jsx)(f.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:o}):null}function L({images:o}){return o?(0,r.jsx)(d.default.Fragment,{children:o==null?void 0:o.map((t,n)=>{var e;return(0,r.jsx)("div",{children:t!=null&&t.image?(0,r.jsx)(c.Flex,{align:"center",justify:"center",className:"h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,r.jsx)(i.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(e=t==null?void 0:t.alt)!=null?e:`logoCloud-image${n}`})}):null},n)})}):null}0&&(module.exports={LogoCloud_A});
@@ -1,7 +1 @@
1
- import {
2
- LogoCloud_A
3
- } from "./chunk-FLDL755C.mjs";
4
- export {
5
- LogoCloud_A,
6
- LogoCloud_A as default
7
- };
1
+ import{a}from"./chunk-O6AXZYU7.mjs";export{a as LogoCloud_A,a as default};
@@ -1,85 +1 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // src/logo-cloud_b.tsx
31
- var logo_cloud_b_exports = {};
32
- __export(logo_cloud_b_exports, {
33
- LogoCloud_B: () => LogoCloud_B,
34
- default: () => LogoCloud_B
35
- });
36
- module.exports = __toCommonJS(logo_cloud_b_exports);
37
- var import_container = require("@stackshift-ui/container");
38
- var import_flex = require("@stackshift-ui/flex");
39
- var import_heading = require("@stackshift-ui/heading");
40
- var import_image = require("@stackshift-ui/image");
41
- var import_section = require("@stackshift-ui/section");
42
- var import_text = require("@stackshift-ui/text");
43
- var import_react = __toESM(require("react"));
44
- var import_jsx_runtime = require("react/jsx-runtime");
45
- function LogoCloud_B({ title, text, images }) {
46
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_section.Section, { className: "py-20 bg-background", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_container.Container, { maxWidth: 1280, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_flex.Flex, { wrap: true, align: "center", justify: "between", children: [
47
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TitleTextSection, { title, text }),
48
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_flex.Flex, { wrap: true, className: "w-full lg:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LogoCloudImages, { images }) })
49
- ] }) }) });
50
- }
51
- function TitleTextSection({ title, text }) {
52
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-full mb-12 lg:mb-0 lg:w-1/2", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_container.Container, { maxWidth: 448, children: [
53
- title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_heading.Heading, { weight: "bold", className: "mb-4", children: title }),
54
- text && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_text.Text, { muted: true, className: "leading-loose", children: text })
55
- ] }) });
56
- }
57
- function LogoCloudImages({ images }) {
58
- if (!images) return null;
59
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.default.Fragment, { children: images == null ? void 0 : images.map((image, index) => {
60
- var _a;
61
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-full px-2 mb-4 sm:w-1/2 md:w-1/3", children: (image == null ? void 0 : image.image) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
62
- import_flex.Flex,
63
- {
64
- align: "center",
65
- justify: "center",
66
- className: "mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",
67
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
68
- import_image.Image,
69
- {
70
- className: "object-scale-down",
71
- src: `${image == null ? void 0 : image.image}`,
72
- sizes: "192px",
73
- width: 192,
74
- height: 192,
75
- alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image${index}`
76
- }
77
- )
78
- }
79
- ) }) }, index);
80
- }) });
81
- }
82
- // Annotate the CommonJS export names for ESM import in node:
83
- 0 && (module.exports = {
84
- LogoCloud_B
85
- });
1
+ "use strict";var g=Object.create;var a=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var h=(t,o)=>{for(var e in o)a(t,e,{get:o[e],enumerable:!0})},i=(t,o,e,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of b(o))!N.call(t,n)&&n!==e&&a(t,n,{get:()=>o[n],enumerable:!(l=w(o,n))||l.enumerable});return t};var v=(t,o,e)=>(e=t!=null?g(C(t)):{},i(o||!t||!t.__esModule?a(e,"default",{value:t,enumerable:!0}):e,t)),F=t=>i(a({},"__esModule",{value:!0}),t);var L={};h(L,{LogoCloud_B:()=>x,default:()=>x});module.exports=F(L);var s=require("@stackshift-ui/container"),m=require("@stackshift-ui/flex"),d=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),u=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),f=v(require("react")),r=require("react/jsx-runtime");function x({title:t,text:o,images:e}){return(0,r.jsx)(u.Section,{className:"py-20 bg-background",children:(0,r.jsx)(s.Container,{maxWidth:1280,children:(0,r.jsxs)(m.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,r.jsx)(y,{title:t,text:o}),(0,r.jsx)(m.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:(0,r.jsx)(I,{images:e})})]})})})}function y({title:t,text:o}){return(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(s.Container,{maxWidth:448,children:[t&&(0,r.jsx)(d.Heading,{weight:"bold",className:"mb-4",children:t}),o&&(0,r.jsx)(p.Text,{muted:!0,className:"leading-loose",children:o})]})})}function I({images:t}){return t?(0,r.jsx)(f.default.Fragment,{children:t==null?void 0:t.map((o,e)=>{var l;return(0,r.jsx)("div",{className:"w-full px-2 mb-4 sm:w-1/2 md:w-1/3",children:(o==null?void 0:o.image)&&(0,r.jsx)("div",{children:(0,r.jsx)(m.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,r.jsx)(c.Image,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(l=o==null?void 0:o.alt)!=null?l:`logoCloud-image${e}`})})})},e)})}):null}0&&(module.exports={LogoCloud_B});
@@ -1,7 +1 @@
1
- import {
2
- LogoCloud_B
3
- } from "./chunk-6GBAK755.mjs";
4
- export {
5
- LogoCloud_B,
6
- LogoCloud_B as default
7
- };
1
+ import{a}from"./chunk-LMWC2QH6.mjs";export{a as LogoCloud_B,a as default};
@@ -1,109 +1 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/logo-cloud_c.tsx
21
- var logo_cloud_c_exports = {};
22
- __export(logo_cloud_c_exports, {
23
- LogoCloud_C: () => LogoCloud_C,
24
- default: () => LogoCloud_C
25
- });
26
- module.exports = __toCommonJS(logo_cloud_c_exports);
27
- var import_button = require("@stackshift-ui/button");
28
- var import_container = require("@stackshift-ui/container");
29
- var import_flex = require("@stackshift-ui/flex");
30
- var import_heading = require("@stackshift-ui/heading");
31
- var import_image = require("@stackshift-ui/image");
32
- var import_section = require("@stackshift-ui/section");
33
- var import_jsx_runtime = require("react/jsx-runtime");
34
- function LogoCloud_C({ title, images, button }) {
35
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_section.Section, { className: "relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_container.Container, { maxWidth: 1280, children: [
36
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LogoCloudHeader, { title, button }),
37
- images && images.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Logos, { images }),
38
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LogoCloudMobile, { images })
39
- ] }) });
40
- }
41
- function LogoCloudHeader({ title, button }) {
42
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_container.Container, { maxWidth: 448, className: "text-center", children: [
43
- title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_heading.Heading, { weight: "bold", className: "mb-8 text-4xl lg:text-5xl", children: title }),
44
- (button == null ? void 0 : button.label) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_button.Button, { as: "link", ariaLabel: button.label, link: button, children: button.label })
45
- ] });
46
- }
47
- function Logos({ images }) {
48
- if (!images) return null;
49
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "relative hidden lg:block", children: images.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LogoItem, { image, alt: image == null ? void 0 : image.alt, index }, index)) });
50
- }
51
- function LogoItem({ image, alt, index }) {
52
- var _a;
53
- const positions = [
54
- { top: "-120px", left: "-10px" },
55
- { top: "0", left: "0", marginTop: "20px" },
56
- { bottom: "-250px", left: "20%" },
57
- { top: "20px", right: "20%" },
58
- { bottom: "-250px", right: "0" },
59
- { top: "-150px", right: "0" }
60
- ];
61
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
62
- "div",
63
- {
64
- className: "absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",
65
- style: (_a = positions[index]) != null ? _a : {},
66
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
67
- import_image.Image,
68
- {
69
- className: "object-scale-down w-16 h-16",
70
- src: `${image == null ? void 0 : image.image}`,
71
- sizes: "100vw",
72
- width: 64,
73
- height: 64,
74
- alt: alt != null ? alt : `logoCloud-image-${index + 1}`
75
- }
76
- )
77
- }
78
- );
79
- }
80
- function LogoCloudMobile({ images }) {
81
- if (!images) return null;
82
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_flex.Flex, { wrap: true, justify: "center", className: "mt-16 lg:hidden", children: images && images.map((image, index) => {
83
- var _a;
84
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
85
- import_flex.Flex,
86
- {
87
- align: "center",
88
- justify: "center",
89
- className: "w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",
90
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
91
- import_image.Image,
92
- {
93
- className: "object-scale-down w-16 h-16",
94
- src: `${image == null ? void 0 : image.image}`,
95
- sizes: "100vw",
96
- width: 64,
97
- height: 64,
98
- alt: (_a = image == null ? void 0 : image.alt) != null ? _a : `logoCloud-image-${index}`
99
- }
100
- )
101
- },
102
- index
103
- );
104
- }) });
105
- }
106
- // Annotate the CommonJS export names for ESM import in node:
107
- 0 && (module.exports = {
108
- LogoCloud_C
109
- });
1
+ "use strict";var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var x=(e,o)=>{for(var l in o)i(e,l,{get:o[l],enumerable:!0})},b=(e,o,l,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of g(o))!h.call(e,r)&&r!==l&&i(e,r,{get:()=>o[r],enumerable:!(n=f(o,r))||n.enumerable});return e};var w=e=>b(i({},"__esModule",{value:!0}),e);var y={};x(y,{LogoCloud_C:()=>m,default:()=>m});module.exports=w(y);var p=require("@stackshift-ui/button"),a=require("@stackshift-ui/container"),s=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),u=require("@stackshift-ui/section"),t=require("react/jsx-runtime");function m({title:e,images:o,button:l}){return(0,t.jsx)(u.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,t.jsxs)(a.Container,{maxWidth:1280,children:[(0,t.jsx)(C,{title:e,button:l}),o&&o.length>0&&(0,t.jsx)(v,{images:o}),(0,t.jsx)(N,{images:o})]})})}function C({title:e,button:o}){return(0,t.jsxs)(a.Container,{maxWidth:448,className:"text-center",children:[e&&(0,t.jsx)(c.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:e}),(o==null?void 0:o.label)&&(0,t.jsx)(p.Button,{as:"link",ariaLabel:o.label,link:o,children:o.label})]})}function v({images:e}){return e?(0,t.jsx)("div",{className:"relative hidden lg:block",children:e.map((o,l)=>(0,t.jsx)(L,{image:o,alt:o==null?void 0:o.alt,index:l},l))}):null}function L({image:e,alt:o,index:l}){var r;return(0,t.jsx)("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(r=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][l])!=null?r:{},children:(0,t.jsx)(d.Image,{className:"object-scale-down w-16 h-16",src:`${e==null?void 0:e.image}`,sizes:"100vw",width:64,height:64,alt:o!=null?o:`logoCloud-image-${l+1}`})})}function N({images:e}){return e?(0,t.jsx)(s.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:e&&e.map((o,l)=>{var n;return(0,t.jsx)(s.Flex,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,t.jsx)(d.Image,{className:"object-scale-down w-16 h-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:(n=o==null?void 0:o.alt)!=null?n:`logoCloud-image-${l}`})},l)})}):null}0&&(module.exports={LogoCloud_C});