@jctrejosi/components-seed 1.0.5 → 1.0.7
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/bundle/index.es.js
CHANGED
|
@@ -34,9 +34,9 @@ function $e() {
|
|
|
34
34
|
switch (r) {
|
|
35
35
|
case g:
|
|
36
36
|
return "Fragment";
|
|
37
|
-
case q:
|
|
38
|
-
return "Profiler";
|
|
39
37
|
case V:
|
|
38
|
+
return "Profiler";
|
|
39
|
+
case q:
|
|
40
40
|
return "StrictMode";
|
|
41
41
|
case ne:
|
|
42
42
|
return "Suspense";
|
|
@@ -165,11 +165,11 @@ function $e() {
|
|
|
165
165
|
value: oe
|
|
166
166
|
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function y(r, d, p, v, X, oe) {
|
|
169
169
|
var x = d.children;
|
|
170
170
|
if (x !== void 0)
|
|
171
171
|
if (v)
|
|
172
|
-
if (
|
|
172
|
+
if (Ee(x)) {
|
|
173
173
|
for (v = 0; v < x.length; v++)
|
|
174
174
|
w(x[v]);
|
|
175
175
|
Object.freeze && Object.freeze(x);
|
|
@@ -214,12 +214,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
214
214
|
);
|
|
215
215
|
}
|
|
216
216
|
function w(r) {
|
|
217
|
-
|
|
217
|
+
k(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === C && (r._payload.status === "fulfilled" ? k(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function k(r) {
|
|
220
220
|
return typeof r == "object" && r !== null && r.$$typeof === z;
|
|
221
221
|
}
|
|
222
|
-
var R = F, z = /* @__PURE__ */ Symbol.for("react.transitional.element"), h = /* @__PURE__ */ Symbol.for("react.portal"), g = /* @__PURE__ */ Symbol.for("react.fragment"),
|
|
222
|
+
var R = F, z = /* @__PURE__ */ Symbol.for("react.transitional.element"), h = /* @__PURE__ */ Symbol.for("react.portal"), g = /* @__PURE__ */ Symbol.for("react.fragment"), q = /* @__PURE__ */ Symbol.for("react.strict_mode"), V = /* @__PURE__ */ Symbol.for("react.profiler"), G = /* @__PURE__ */ Symbol.for("react.consumer"), te = /* @__PURE__ */ Symbol.for("react.context"), re = /* @__PURE__ */ Symbol.for("react.forward_ref"), ne = /* @__PURE__ */ Symbol.for("react.suspense"), _ = /* @__PURE__ */ Symbol.for("react.suspense_list"), b = /* @__PURE__ */ Symbol.for("react.memo"), C = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.activity"), B = /* @__PURE__ */ Symbol.for("react.client.reference"), se = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ie = Object.prototype.hasOwnProperty, Ee = Array.isArray, ae = console.createTask ? console.createTask : function() {
|
|
223
223
|
return null;
|
|
224
224
|
};
|
|
225
225
|
R = {
|
|
@@ -233,7 +233,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
233
233
|
)(), me = ae(s(c)), _e = {};
|
|
234
234
|
U.Fragment = g, U.jsx = function(r, d, p) {
|
|
235
235
|
var v = 1e4 > se.recentlyCreatedOwnerStacks++;
|
|
236
|
-
return
|
|
236
|
+
return y(
|
|
237
237
|
r,
|
|
238
238
|
d,
|
|
239
239
|
p,
|
|
@@ -243,7 +243,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
243
243
|
);
|
|
244
244
|
}, U.jsxs = function(r, d, p) {
|
|
245
245
|
var v = 1e4 > se.recentlyCreatedOwnerStacks++;
|
|
246
|
-
return
|
|
246
|
+
return y(
|
|
247
247
|
r,
|
|
248
248
|
d,
|
|
249
249
|
p,
|
|
@@ -389,16 +389,16 @@ function We(t) {
|
|
|
389
389
|
function He(t) {
|
|
390
390
|
return N({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" }, child: [] }] })(t);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function qe(t) {
|
|
393
393
|
return N({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z" }, child: [] }] })(t);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function ye(t) {
|
|
396
396
|
return N({ attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z" }, child: [] }] })(t);
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Ve(t) {
|
|
399
399
|
return N({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z" }, child: [] }] })(t);
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function ke(t) {
|
|
402
402
|
return N({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z" }, child: [] }] })(t);
|
|
403
403
|
}
|
|
404
404
|
function Ge(t) {
|
|
@@ -432,7 +432,7 @@ const Qe = [
|
|
|
432
432
|
icon: /* @__PURE__ */ e.jsx(He, {}),
|
|
433
433
|
label: "Twitter"
|
|
434
434
|
}
|
|
435
|
-
],
|
|
435
|
+
], qn = ({
|
|
436
436
|
items: t = Qe,
|
|
437
437
|
className: n = "",
|
|
438
438
|
style: a
|
|
@@ -455,7 +455,7 @@ const Qe = [
|
|
|
455
455
|
dot: rt,
|
|
456
456
|
dotLabel: nt,
|
|
457
457
|
dotActive: st
|
|
458
|
-
},
|
|
458
|
+
}, Vn = ({
|
|
459
459
|
sections: t = [],
|
|
460
460
|
style: n
|
|
461
461
|
}) => {
|
|
@@ -464,8 +464,8 @@ const Qe = [
|
|
|
464
464
|
const i = window.innerWidth <= 1024, l = () => {
|
|
465
465
|
const f = a.current?.children ?? [];
|
|
466
466
|
let $ = 0;
|
|
467
|
-
Array.from(f).forEach((
|
|
468
|
-
const R =
|
|
467
|
+
Array.from(f).forEach((y, w) => {
|
|
468
|
+
const R = y.getBoundingClientRect(), z = window.innerHeight / 2;
|
|
469
469
|
R.top <= z && R.bottom >= z && ($ = w);
|
|
470
470
|
}), o($);
|
|
471
471
|
};
|
|
@@ -513,6 +513,114 @@ const Qe = [
|
|
|
513
513
|
]
|
|
514
514
|
}
|
|
515
515
|
);
|
|
516
|
+
}, at = "_wrapper_elq89_1", ot = "_track_elq89_6", ct = "_slide_elq89_19", it = "_arrowLeft_elq89_28", lt = "_arrowRight_elq89_29", dt = "_dots_elq89_48", ut = "_dot_elq89_48", mt = "_dotActive_elq89_64", O = {
|
|
517
|
+
wrapper: at,
|
|
518
|
+
track: ot,
|
|
519
|
+
slide: ct,
|
|
520
|
+
arrowLeft: it,
|
|
521
|
+
arrowRight: lt,
|
|
522
|
+
dots: dt,
|
|
523
|
+
dot: ut,
|
|
524
|
+
dotActive: mt
|
|
525
|
+
}, _t = (t) => {
|
|
526
|
+
if (typeof t == "number") return t;
|
|
527
|
+
const n = window.innerWidth;
|
|
528
|
+
return n <= 768 ? t.mobile ?? 1 : n <= 1024 ? t.tablet ?? t.desktop ?? 1 : t.desktop ?? 1;
|
|
529
|
+
}, ht = ({
|
|
530
|
+
items: t = [],
|
|
531
|
+
showArrows: n = !0,
|
|
532
|
+
showDots: a = !0,
|
|
533
|
+
gap: s = 16,
|
|
534
|
+
autoplay: o = !0,
|
|
535
|
+
autoplayInterval: c = 4e3,
|
|
536
|
+
pauseOnHover: i = !0,
|
|
537
|
+
itemsPerView: l = {
|
|
538
|
+
mobile: 1,
|
|
539
|
+
tablet: 2,
|
|
540
|
+
desktop: 3
|
|
541
|
+
},
|
|
542
|
+
style: f
|
|
543
|
+
}) => {
|
|
544
|
+
const $ = Z(null), y = Z(null), w = Z(0), [k, R] = D(1), [z, h] = D(0), g = Math.max(1, Math.ceil(t.length / k)), q = () => {
|
|
545
|
+
const _ = $.current;
|
|
546
|
+
if (!_) return 0;
|
|
547
|
+
const b = Array.from(
|
|
548
|
+
_.querySelectorAll(`.${O.slide}`)
|
|
549
|
+
), C = _.scrollLeft, I = b.findIndex(
|
|
550
|
+
(B) => B.offsetLeft + B.offsetWidth > C + 1
|
|
551
|
+
);
|
|
552
|
+
return I === -1 ? 0 : Math.min(
|
|
553
|
+
g - 1,
|
|
554
|
+
Math.floor(I / k)
|
|
555
|
+
);
|
|
556
|
+
}, V = (_) => {
|
|
557
|
+
const b = $.current;
|
|
558
|
+
if (!b) return;
|
|
559
|
+
const C = b.querySelectorAll(`.${O.slide}`), I = _ * k, B = C[I];
|
|
560
|
+
B && B.scrollIntoView({
|
|
561
|
+
behavior: "smooth",
|
|
562
|
+
inline: "start",
|
|
563
|
+
block: "nearest"
|
|
564
|
+
});
|
|
565
|
+
}, G = () => {
|
|
566
|
+
const _ = (w.current + 1) % g;
|
|
567
|
+
w.current = _, h(_), V(_);
|
|
568
|
+
}, te = () => {
|
|
569
|
+
const _ = (w.current - 1 + g) % g;
|
|
570
|
+
w.current = _, h(_), V(_);
|
|
571
|
+
}, re = () => {
|
|
572
|
+
i && y.current && (clearInterval(y.current), y.current = null);
|
|
573
|
+
}, ne = () => {
|
|
574
|
+
i && o && g > 1 && (y.current = window.setInterval(G, c));
|
|
575
|
+
};
|
|
576
|
+
return J(() => {
|
|
577
|
+
const _ = _t(l);
|
|
578
|
+
R((b) => b === _ ? b : _);
|
|
579
|
+
}, [l]), J(() => {
|
|
580
|
+
const _ = $.current;
|
|
581
|
+
if (!_) return;
|
|
582
|
+
const b = () => {
|
|
583
|
+
const C = q();
|
|
584
|
+
h((I) => I === C ? I : C), console.log("Se ejecutó el resolvedItemsPerView", C);
|
|
585
|
+
};
|
|
586
|
+
return _.addEventListener("scroll", b), window.addEventListener("resize", b), b(), () => {
|
|
587
|
+
_.removeEventListener("scroll", b), window.removeEventListener("resize", b);
|
|
588
|
+
};
|
|
589
|
+
}, [k]), J(() => {
|
|
590
|
+
if (!(!o || g <= 1))
|
|
591
|
+
return y.current = window.setInterval(G, c), () => {
|
|
592
|
+
y.current && clearInterval(y.current);
|
|
593
|
+
};
|
|
594
|
+
}, [o, c, g]), J(() => {
|
|
595
|
+
w.current = z;
|
|
596
|
+
}, [z]), /* @__PURE__ */ e.jsxs(
|
|
597
|
+
"div",
|
|
598
|
+
{
|
|
599
|
+
className: O.wrapper,
|
|
600
|
+
style: {
|
|
601
|
+
...f,
|
|
602
|
+
"--items-per-view": k,
|
|
603
|
+
"--carousel-gap": `${s}px`
|
|
604
|
+
},
|
|
605
|
+
onMouseEnter: re,
|
|
606
|
+
onMouseLeave: ne,
|
|
607
|
+
children: [
|
|
608
|
+
/* @__PURE__ */ e.jsx("div", { ref: $, className: O.track, children: t.map((_, b) => /* @__PURE__ */ e.jsx("div", { className: O.slide, children: _.component }, b)) }),
|
|
609
|
+
n && g > 1 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
610
|
+
/* @__PURE__ */ e.jsx("button", { className: O.arrowLeft, onClick: te, children: "‹" }),
|
|
611
|
+
/* @__PURE__ */ e.jsx("button", { className: O.arrowRight, onClick: G, children: "›" })
|
|
612
|
+
] }),
|
|
613
|
+
a && g > 1 && /* @__PURE__ */ e.jsx("div", { className: O.dots, children: Array.from({ length: g }).map((_, b) => /* @__PURE__ */ e.jsx(
|
|
614
|
+
"button",
|
|
615
|
+
{
|
|
616
|
+
className: `${O.dot} ${b === z ? O.dotActive : ""}`,
|
|
617
|
+
onClick: () => V(b)
|
|
618
|
+
},
|
|
619
|
+
b
|
|
620
|
+
)) })
|
|
621
|
+
]
|
|
622
|
+
}
|
|
623
|
+
);
|
|
516
624
|
}, u = (t) => {
|
|
517
625
|
if (!t) return "";
|
|
518
626
|
if (typeof t == "string") return t;
|
|
@@ -521,18 +629,18 @@ const Qe = [
|
|
|
521
629
|
if (t.es) return t.es;
|
|
522
630
|
const s = Object.keys(t);
|
|
523
631
|
return s.length ? t[s[0]] : "";
|
|
524
|
-
},
|
|
525
|
-
section:
|
|
526
|
-
titleContainer:
|
|
527
|
-
title:
|
|
528
|
-
subtitle:
|
|
529
|
-
grid:
|
|
530
|
-
card:
|
|
531
|
-
icon:
|
|
532
|
-
cardTitle:
|
|
533
|
-
cardSubtitle:
|
|
534
|
-
description:
|
|
535
|
-
},
|
|
632
|
+
}, pt = "_section_1gbsx_1", ft = "_titleContainer_1gbsx_12", bt = "_title_1gbsx_12", gt = "_subtitle_1gbsx_25", vt = "_grid_1gbsx_33", xt = "_card_1gbsx_41", jt = "_icon_1gbsx_51", wt = "_cardTitle_1gbsx_57", Nt = "_cardSubtitle_1gbsx_64", yt = "_description_1gbsx_70", P = {
|
|
633
|
+
section: pt,
|
|
634
|
+
titleContainer: ft,
|
|
635
|
+
title: bt,
|
|
636
|
+
subtitle: gt,
|
|
637
|
+
grid: vt,
|
|
638
|
+
card: xt,
|
|
639
|
+
icon: jt,
|
|
640
|
+
cardTitle: wt,
|
|
641
|
+
cardSubtitle: Nt,
|
|
642
|
+
description: yt
|
|
643
|
+
}, kt = {
|
|
536
644
|
title: {
|
|
537
645
|
es: "/Experiencia",
|
|
538
646
|
en: "/Experience",
|
|
@@ -541,9 +649,9 @@ const Qe = [
|
|
|
541
649
|
subtitle: {
|
|
542
650
|
es: "Subtitle work section"
|
|
543
651
|
}
|
|
544
|
-
},
|
|
652
|
+
}, Et = [
|
|
545
653
|
{
|
|
546
|
-
icon:
|
|
654
|
+
icon: ye,
|
|
547
655
|
title: "Desarrollo de software",
|
|
548
656
|
description: "Programación funcional y orientada a objetos."
|
|
549
657
|
},
|
|
@@ -560,39 +668,39 @@ const Qe = [
|
|
|
560
668
|
description: "Aplicaciones móviles multiplataforma con Flutter."
|
|
561
669
|
}
|
|
562
670
|
], Gn = ({
|
|
563
|
-
translations: t =
|
|
671
|
+
translations: t = kt,
|
|
564
672
|
className: n = "WorkSectionAntlia",
|
|
565
|
-
items: a =
|
|
673
|
+
items: a = Et,
|
|
566
674
|
style: s
|
|
567
|
-
}) => /* @__PURE__ */ e.jsxs("section", { className: `${
|
|
568
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
569
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
570
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
675
|
+
}) => /* @__PURE__ */ e.jsxs("section", { className: `${P.section} ${n}`, style: s, children: [
|
|
676
|
+
/* @__PURE__ */ e.jsx("h2", { className: P.title, children: u(t.title) }),
|
|
677
|
+
/* @__PURE__ */ e.jsx("h3", { className: P.subtitle, children: u(t.subtitle) }),
|
|
678
|
+
/* @__PURE__ */ e.jsx("div", { className: P.grid, children: a?.map((o, c) => {
|
|
571
679
|
const i = o.icon;
|
|
572
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
573
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
574
|
-
/* @__PURE__ */ e.jsx(i, { className:
|
|
575
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
680
|
+
return /* @__PURE__ */ e.jsxs("div", { className: P.card, children: [
|
|
681
|
+
/* @__PURE__ */ e.jsxs("div", { className: P.titleContainer, children: [
|
|
682
|
+
/* @__PURE__ */ e.jsx(i, { className: P.icon }),
|
|
683
|
+
/* @__PURE__ */ e.jsx("h3", { className: P.cardTitle, children: o.title })
|
|
576
684
|
] }),
|
|
577
|
-
o.subtitle && /* @__PURE__ */ e.jsx("span", { className:
|
|
578
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
685
|
+
o.subtitle && /* @__PURE__ */ e.jsx("span", { className: P.cardSubtitle, children: o.subtitle }),
|
|
686
|
+
/* @__PURE__ */ e.jsx("p", { className: P.description, children: o.description })
|
|
579
687
|
] }, c);
|
|
580
688
|
}) })
|
|
581
|
-
] }),
|
|
582
|
-
container:
|
|
583
|
-
backgroundImage:
|
|
584
|
-
workSection:
|
|
585
|
-
title:
|
|
586
|
-
subtitle:
|
|
587
|
-
grid:
|
|
588
|
-
card:
|
|
589
|
-
logo:
|
|
590
|
-
company:
|
|
591
|
-
role:
|
|
592
|
-
description:
|
|
593
|
-
techList:
|
|
594
|
-
link:
|
|
595
|
-
},
|
|
689
|
+
] }), St = "_container_1x6vr_1", Tt = "_backgroundImage_1x6vr_13", $t = "_workSection_1x6vr_24", At = "_title_1x6vr_31", Rt = "_subtitle_1x6vr_38", zt = "_grid_1x6vr_44", Ct = "_card_1x6vr_50", Lt = "_logo_1x6vr_64", Ot = "_company_1x6vr_71", Pt = "_role_1x6vr_79", It = "_description_1x6vr_86", Mt = "_techList_1x6vr_110", Dt = "_link_1x6vr_132", E = {
|
|
690
|
+
container: St,
|
|
691
|
+
backgroundImage: Tt,
|
|
692
|
+
workSection: $t,
|
|
693
|
+
title: At,
|
|
694
|
+
subtitle: Rt,
|
|
695
|
+
grid: zt,
|
|
696
|
+
card: Ct,
|
|
697
|
+
logo: Lt,
|
|
698
|
+
company: Ot,
|
|
699
|
+
role: Pt,
|
|
700
|
+
description: It,
|
|
701
|
+
techList: Mt,
|
|
702
|
+
link: Dt
|
|
703
|
+
}, Ft = {
|
|
596
704
|
title: {
|
|
597
705
|
es: "/Experiencia.",
|
|
598
706
|
en: "/Experiencia.",
|
|
@@ -603,7 +711,7 @@ const Qe = [
|
|
|
603
711
|
en: "Selected experiences I've taken on in the past.",
|
|
604
712
|
pt: "Experiências selecionadas que realizei no passado."
|
|
605
713
|
}
|
|
606
|
-
},
|
|
714
|
+
}, Bt = [
|
|
607
715
|
{
|
|
608
716
|
name: "GAIA",
|
|
609
717
|
logo: "",
|
|
@@ -659,30 +767,30 @@ const Qe = [
|
|
|
659
767
|
}
|
|
660
768
|
}
|
|
661
769
|
], Yn = ({
|
|
662
|
-
items: t =
|
|
663
|
-
translations: n =
|
|
770
|
+
items: t = Bt,
|
|
771
|
+
translations: n = Ft,
|
|
664
772
|
style: a,
|
|
665
773
|
backgroundImage: s,
|
|
666
774
|
className: o = "work-section-andromeda"
|
|
667
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
668
|
-
s && /* @__PURE__ */ e.jsx("img", { className:
|
|
669
|
-
/* @__PURE__ */ e.jsxs("section", { className: `${
|
|
670
|
-
/* @__PURE__ */ e.jsx("h2", { className:
|
|
671
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
672
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
673
|
-
/* @__PURE__ */ e.jsxs("header", { className:
|
|
674
|
-
/* @__PURE__ */ e.jsx("img", { src: c.logo, alt: c.name, className:
|
|
775
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: E.container, children: [
|
|
776
|
+
s && /* @__PURE__ */ e.jsx("img", { className: E.backgroundImage, src: s, alt: "" }),
|
|
777
|
+
/* @__PURE__ */ e.jsxs("section", { className: `${E.workSection} ${o}`, style: a, children: [
|
|
778
|
+
/* @__PURE__ */ e.jsx("h2", { className: E.title, children: u(n.title) }),
|
|
779
|
+
/* @__PURE__ */ e.jsx("p", { className: E.subtitle, children: u(n.subtitle) }),
|
|
780
|
+
/* @__PURE__ */ e.jsx("div", { className: E.grid, children: t.map((c) => /* @__PURE__ */ e.jsxs("article", { className: E.card, children: [
|
|
781
|
+
/* @__PURE__ */ e.jsxs("header", { className: E.header, children: [
|
|
782
|
+
/* @__PURE__ */ e.jsx("img", { src: c.logo, alt: c.name, className: E.logo }),
|
|
675
783
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
676
|
-
/* @__PURE__ */ e.jsx("h3", { className:
|
|
677
|
-
c.role && /* @__PURE__ */ e.jsx("span", { className:
|
|
784
|
+
/* @__PURE__ */ e.jsx("h3", { className: E.company, children: c.name }),
|
|
785
|
+
c.role && /* @__PURE__ */ e.jsx("span", { className: E.role, children: c.role })
|
|
678
786
|
] })
|
|
679
787
|
] }),
|
|
680
|
-
c.description && /* @__PURE__ */ e.jsx("p", { className:
|
|
681
|
-
c.technologies && /* @__PURE__ */ e.jsx("ul", { className:
|
|
788
|
+
c.description && /* @__PURE__ */ e.jsx("p", { className: E.description, children: c.description }),
|
|
789
|
+
c.technologies && /* @__PURE__ */ e.jsx("ul", { className: E.techList, children: c.technologies.map((i) => /* @__PURE__ */ e.jsx("li", { children: i }, i)) }),
|
|
682
790
|
c.link && /* @__PURE__ */ e.jsx(
|
|
683
791
|
"a",
|
|
684
792
|
{
|
|
685
|
-
className:
|
|
793
|
+
className: E.link,
|
|
686
794
|
href: c.link.url,
|
|
687
795
|
target: "_blank",
|
|
688
796
|
rel: "noopener noreferrer",
|
|
@@ -691,7 +799,7 @@ const Qe = [
|
|
|
691
799
|
)
|
|
692
800
|
] }, c.name)) })
|
|
693
801
|
] })
|
|
694
|
-
] }),
|
|
802
|
+
] }), Wt = [
|
|
695
803
|
{
|
|
696
804
|
title: "frontend",
|
|
697
805
|
items: [
|
|
@@ -701,7 +809,7 @@ const Qe = [
|
|
|
701
809
|
{ label: "HTML5", value: 95 },
|
|
702
810
|
{ label: "CSS / Tailwind", value: 90 }
|
|
703
811
|
],
|
|
704
|
-
icon:
|
|
812
|
+
icon: ye
|
|
705
813
|
},
|
|
706
814
|
{
|
|
707
815
|
title: "backend",
|
|
@@ -720,7 +828,7 @@ const Qe = [
|
|
|
720
828
|
{ label: "PostgreSQL", value: 80 },
|
|
721
829
|
{ label: "MongoDB", value: 75 }
|
|
722
830
|
],
|
|
723
|
-
icon:
|
|
831
|
+
icon: Ve
|
|
724
832
|
},
|
|
725
833
|
{
|
|
726
834
|
title: "devops",
|
|
@@ -740,22 +848,22 @@ const Qe = [
|
|
|
740
848
|
],
|
|
741
849
|
icon: Xe
|
|
742
850
|
}
|
|
743
|
-
],
|
|
744
|
-
wrapper:
|
|
745
|
-
title:
|
|
746
|
-
subtitle:
|
|
747
|
-
container:
|
|
748
|
-
section:
|
|
749
|
-
header:
|
|
750
|
-
icon:
|
|
751
|
-
itemTitle:
|
|
752
|
-
list:
|
|
753
|
-
item:
|
|
754
|
-
labelRow:
|
|
755
|
-
value:
|
|
756
|
-
bar:
|
|
757
|
-
fill:
|
|
758
|
-
},
|
|
851
|
+
], Ht = "_wrapper_oiapf_1", qt = "_title_oiapf_7", Vt = "_subtitle_oiapf_15", Gt = "_container_oiapf_22", Yt = "_section_oiapf_29", Ut = "_header_oiapf_39", Jt = "_icon_oiapf_46", Xt = "_itemTitle_oiapf_51", Qt = "_list_oiapf_57", Zt = "_item_oiapf_51", Kt = "_labelRow_oiapf_69", er = "_value_oiapf_76", tr = "_bar_oiapf_80", rr = "_fill_oiapf_87", S = {
|
|
852
|
+
wrapper: Ht,
|
|
853
|
+
title: qt,
|
|
854
|
+
subtitle: Vt,
|
|
855
|
+
container: Gt,
|
|
856
|
+
section: Yt,
|
|
857
|
+
header: Ut,
|
|
858
|
+
icon: Jt,
|
|
859
|
+
itemTitle: Xt,
|
|
860
|
+
list: Qt,
|
|
861
|
+
item: Zt,
|
|
862
|
+
labelRow: Kt,
|
|
863
|
+
value: er,
|
|
864
|
+
bar: tr,
|
|
865
|
+
fill: rr
|
|
866
|
+
}, nr = {
|
|
759
867
|
title: {
|
|
760
868
|
es: "Habilidades"
|
|
761
869
|
},
|
|
@@ -763,10 +871,10 @@ const Qe = [
|
|
|
763
871
|
es: "Las herramientas que utilizo"
|
|
764
872
|
}
|
|
765
873
|
}, Un = ({
|
|
766
|
-
items: t =
|
|
874
|
+
items: t = Wt,
|
|
767
875
|
className: n = "SkillSection",
|
|
768
876
|
style: a,
|
|
769
|
-
translations: s =
|
|
877
|
+
translations: s = nr
|
|
770
878
|
}) => /* @__PURE__ */ e.jsxs("div", { className: S.wrapper, style: a, children: [
|
|
771
879
|
/* @__PURE__ */ e.jsx("h2", { className: S.title, children: u(s.title) }),
|
|
772
880
|
/* @__PURE__ */ e.jsx("h5", { className: S.subtitle, children: u(s.subtitle) }),
|
|
@@ -792,20 +900,20 @@ const Qe = [
|
|
|
792
900
|
) })
|
|
793
901
|
] }, i)) })
|
|
794
902
|
] })) })
|
|
795
|
-
] }),
|
|
796
|
-
section:
|
|
797
|
-
title:
|
|
798
|
-
subtitle:
|
|
799
|
-
card:
|
|
800
|
-
imageWrapper:
|
|
801
|
-
image:
|
|
802
|
-
info:
|
|
803
|
-
name:
|
|
804
|
-
type:
|
|
805
|
-
typeDefault:
|
|
806
|
-
typeHover:
|
|
807
|
-
description:
|
|
808
|
-
},
|
|
903
|
+
] }), sr = "_section_9cb48_1", ar = "_title_9cb48_11", or = "_subtitle_9cb48_20", cr = "_card_9cb48_28", ir = "_imageWrapper_9cb48_40", lr = "_image_9cb48_40", dr = "_info_9cb48_57", ur = "_name_9cb48_65", mr = "_type_9cb48_72", _r = "_typeDefault_9cb48_78", hr = "_typeHover_9cb48_79", pr = "_description_9cb48_109", A = {
|
|
904
|
+
section: sr,
|
|
905
|
+
title: ar,
|
|
906
|
+
subtitle: or,
|
|
907
|
+
card: cr,
|
|
908
|
+
imageWrapper: ir,
|
|
909
|
+
image: lr,
|
|
910
|
+
info: dr,
|
|
911
|
+
name: ur,
|
|
912
|
+
type: mr,
|
|
913
|
+
typeDefault: _r,
|
|
914
|
+
typeHover: hr,
|
|
915
|
+
description: pr
|
|
916
|
+
}, fr = {
|
|
809
917
|
title: {
|
|
810
918
|
es: "proyectos destacados",
|
|
811
919
|
en: "featured projects"
|
|
@@ -818,7 +926,7 @@ const Qe = [
|
|
|
818
926
|
es: "ver proyecto",
|
|
819
927
|
en: "show project"
|
|
820
928
|
}
|
|
821
|
-
},
|
|
929
|
+
}, br = [
|
|
822
930
|
{
|
|
823
931
|
name: "Flight Local (B2B Travel Solution)",
|
|
824
932
|
type: "web development",
|
|
@@ -840,124 +948,16 @@ const Qe = [
|
|
|
840
948
|
url: "https://khora.consulting",
|
|
841
949
|
description: "A consulting firm specializing in urban development and planning."
|
|
842
950
|
}
|
|
843
|
-
],
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
slide: dr,
|
|
847
|
-
arrowLeft: ur,
|
|
848
|
-
arrowRight: mr,
|
|
849
|
-
dots: _r,
|
|
850
|
-
dot: hr,
|
|
851
|
-
dotActive: pr
|
|
852
|
-
}, fr = (t) => {
|
|
853
|
-
if (typeof t == "number") return t;
|
|
854
|
-
const n = window.innerWidth;
|
|
855
|
-
return n <= 768 ? t.mobile ?? 1 : n <= 1024 ? t.tablet ?? t.desktop ?? 1 : t.desktop ?? 1;
|
|
856
|
-
}, br = ({
|
|
857
|
-
items: t = [],
|
|
858
|
-
showArrows: n = !0,
|
|
859
|
-
showDots: a = !0,
|
|
860
|
-
gap: s = 16,
|
|
861
|
-
autoplay: o = !0,
|
|
862
|
-
autoplayInterval: c = 4e3,
|
|
863
|
-
pauseOnHover: i = !0,
|
|
864
|
-
itemsPerView: l = {
|
|
865
|
-
mobile: 1,
|
|
866
|
-
tablet: 2,
|
|
867
|
-
desktop: 3
|
|
868
|
-
},
|
|
869
|
-
style: f
|
|
870
|
-
}) => {
|
|
871
|
-
const $ = Z(null), k = Z(null), w = Z(0), [E, R] = D(1), [z, h] = D(0), g = Math.max(1, Math.ceil(t.length / E)), V = () => {
|
|
872
|
-
const _ = $.current;
|
|
873
|
-
if (!_) return 0;
|
|
874
|
-
const b = Array.from(
|
|
875
|
-
_.querySelectorAll(`.${P.slide}`)
|
|
876
|
-
), C = _.scrollLeft, I = b.findIndex(
|
|
877
|
-
(B) => B.offsetLeft + B.offsetWidth > C + 1
|
|
878
|
-
);
|
|
879
|
-
return I === -1 ? 0 : Math.min(
|
|
880
|
-
g - 1,
|
|
881
|
-
Math.floor(I / E)
|
|
882
|
-
);
|
|
883
|
-
}, q = (_) => {
|
|
884
|
-
const b = $.current;
|
|
885
|
-
if (!b) return;
|
|
886
|
-
const C = b.querySelectorAll(`.${P.slide}`), I = _ * E, B = C[I];
|
|
887
|
-
B && B.scrollIntoView({
|
|
888
|
-
behavior: "smooth",
|
|
889
|
-
inline: "start",
|
|
890
|
-
block: "nearest"
|
|
891
|
-
});
|
|
892
|
-
}, G = () => {
|
|
893
|
-
const _ = (w.current + 1) % g;
|
|
894
|
-
w.current = _, h(_), q(_);
|
|
895
|
-
}, te = () => {
|
|
896
|
-
const _ = (w.current - 1 + g) % g;
|
|
897
|
-
w.current = _, h(_), q(_);
|
|
898
|
-
}, re = () => {
|
|
899
|
-
i && k.current && (clearInterval(k.current), k.current = null);
|
|
900
|
-
}, ne = () => {
|
|
901
|
-
i && o && g > 1 && (k.current = window.setInterval(G, c));
|
|
902
|
-
};
|
|
903
|
-
return J(() => {
|
|
904
|
-
const _ = fr(l);
|
|
905
|
-
R((b) => b === _ ? b : _);
|
|
906
|
-
}, [l]), J(() => {
|
|
907
|
-
const _ = $.current;
|
|
908
|
-
if (!_) return;
|
|
909
|
-
const b = () => {
|
|
910
|
-
const C = V();
|
|
911
|
-
h((I) => I === C ? I : C), console.log("Se ejecutó el resolvedItemsPerView", C);
|
|
912
|
-
};
|
|
913
|
-
return _.addEventListener("scroll", b), window.addEventListener("resize", b), b(), () => {
|
|
914
|
-
_.removeEventListener("scroll", b), window.removeEventListener("resize", b);
|
|
915
|
-
};
|
|
916
|
-
}, [E]), J(() => {
|
|
917
|
-
if (!(!o || g <= 1))
|
|
918
|
-
return k.current = window.setInterval(G, c), () => {
|
|
919
|
-
k.current && clearInterval(k.current);
|
|
920
|
-
};
|
|
921
|
-
}, [o, c, g]), J(() => {
|
|
922
|
-
w.current = z;
|
|
923
|
-
}, [z]), /* @__PURE__ */ e.jsxs(
|
|
924
|
-
"div",
|
|
925
|
-
{
|
|
926
|
-
className: P.wrapper,
|
|
927
|
-
style: {
|
|
928
|
-
...f,
|
|
929
|
-
"--items-per-view": E,
|
|
930
|
-
"--carousel-gap": `${s}px`
|
|
931
|
-
},
|
|
932
|
-
onMouseEnter: re,
|
|
933
|
-
onMouseLeave: ne,
|
|
934
|
-
children: [
|
|
935
|
-
/* @__PURE__ */ e.jsx("div", { ref: $, className: P.track, children: t.map((_, b) => /* @__PURE__ */ e.jsx("div", { className: P.slide, children: _.component }, b)) }),
|
|
936
|
-
n && g > 1 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
937
|
-
/* @__PURE__ */ e.jsx("button", { className: P.arrowLeft, onClick: te, children: "‹" }),
|
|
938
|
-
/* @__PURE__ */ e.jsx("button", { className: P.arrowRight, onClick: G, children: "›" })
|
|
939
|
-
] }),
|
|
940
|
-
a && g > 1 && /* @__PURE__ */ e.jsx("div", { className: P.dots, children: Array.from({ length: g }).map((_, b) => /* @__PURE__ */ e.jsx(
|
|
941
|
-
"button",
|
|
942
|
-
{
|
|
943
|
-
className: `${P.dot} ${b === z ? P.dotActive : ""}`,
|
|
944
|
-
onClick: () => q(b)
|
|
945
|
-
},
|
|
946
|
-
b
|
|
947
|
-
)) })
|
|
948
|
-
]
|
|
949
|
-
}
|
|
950
|
-
);
|
|
951
|
-
}, Jn = ({
|
|
952
|
-
items: t = cr,
|
|
953
|
-
translations: n = or,
|
|
951
|
+
], Jn = ({
|
|
952
|
+
items: t = br,
|
|
953
|
+
translations: n = fr,
|
|
954
954
|
className: a = "",
|
|
955
955
|
style: s
|
|
956
956
|
}) => /* @__PURE__ */ e.jsxs("section", { className: `${A.section} ${a}`, style: s, children: [
|
|
957
957
|
/* @__PURE__ */ e.jsx("h2", { className: A.title, children: u(n.title) }),
|
|
958
958
|
/* @__PURE__ */ e.jsx("h5", { className: A.subtitle, children: u(n.subtitle) }),
|
|
959
959
|
/* @__PURE__ */ e.jsx(
|
|
960
|
-
|
|
960
|
+
ht,
|
|
961
961
|
{
|
|
962
962
|
showArrows: !0,
|
|
963
963
|
showDots: !0,
|
|
@@ -1001,15 +1001,15 @@ const Qe = [
|
|
|
1001
1001
|
function gr(t) {
|
|
1002
1002
|
return N({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" }, child: [] }] })(t);
|
|
1003
1003
|
}
|
|
1004
|
-
const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_container_faebp_23", wr = "_title_faebp_34", Nr = "_paragraph_faebp_40",
|
|
1004
|
+
const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_container_faebp_23", wr = "_title_faebp_34", Nr = "_paragraph_faebp_40", yr = "_highlight_faebp_51", kr = "_social_faebp_57", Er = "_icons_faebp_63", M = {
|
|
1005
1005
|
main_container: vr,
|
|
1006
1006
|
backgroundImage: xr,
|
|
1007
1007
|
container: jr,
|
|
1008
1008
|
title: wr,
|
|
1009
1009
|
paragraph: Nr,
|
|
1010
|
-
highlight:
|
|
1011
|
-
social:
|
|
1012
|
-
icons:
|
|
1010
|
+
highlight: yr,
|
|
1011
|
+
social: kr,
|
|
1012
|
+
icons: Er
|
|
1013
1013
|
}, Sr = {
|
|
1014
1014
|
hi_there: {
|
|
1015
1015
|
es: "¡Hola!",
|
|
@@ -1093,7 +1093,7 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1093
1093
|
children: /* @__PURE__ */ e.jsx(Be, {})
|
|
1094
1094
|
}
|
|
1095
1095
|
),
|
|
1096
|
-
s?.email && /* @__PURE__ */ e.jsx("a", { href: `mailto:${s?.email}`, children: /* @__PURE__ */ e.jsx(
|
|
1096
|
+
s?.email && /* @__PURE__ */ e.jsx("a", { href: `mailto:${s?.email}`, children: /* @__PURE__ */ e.jsx(ke, {}) })
|
|
1097
1097
|
] })
|
|
1098
1098
|
] })
|
|
1099
1099
|
] })
|
|
@@ -1191,10 +1191,10 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1191
1191
|
]
|
|
1192
1192
|
}
|
|
1193
1193
|
);
|
|
1194
|
-
}, Hr = "_hero_d1e77_1",
|
|
1194
|
+
}, Hr = "_hero_d1e77_1", qr = "_left_d1e77_15", Vr = "_backgroundImage_d1e77_28", Gr = "_logo_d1e77_40", Yr = "_title_d1e77_50", Ur = "_word_1_d1e77_61", Jr = "_word_2_d1e77_66", Xr = "_subtitle_d1e77_70", Qr = "_highlights_d1e77_78", Zr = "_right_d1e77_98", Kr = "_backgroundImageright_d1e77_109", en = "_imageProfile_d1e77_121", tn = "_info_d1e77_131", rn = "_name_d1e77_142", nn = "_address_d1e77_148", sn = "_email_d1e77_149", an = "_phone_d1e77_150", j = {
|
|
1195
1195
|
hero: Hr,
|
|
1196
|
-
left:
|
|
1197
|
-
backgroundImage:
|
|
1196
|
+
left: qr,
|
|
1197
|
+
backgroundImage: Vr,
|
|
1198
1198
|
logo: Gr,
|
|
1199
1199
|
title: Yr,
|
|
1200
1200
|
word_1: Ur,
|
|
@@ -1285,7 +1285,7 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1285
1285
|
/* @__PURE__ */ e.jsx("p", { className: j.phone, children: u(i.phone) })
|
|
1286
1286
|
] })
|
|
1287
1287
|
] })
|
|
1288
|
-
] }), cn = "
|
|
1288
|
+
] }), cn = "_container_etydu_1", ln = "_inner_etydu_12", dn = "_leftColumn_etydu_22", un = "_rightColumn_etydu_28", mn = "_contactCard_etydu_34", _n = "_iconWrap_etydu_57", hn = "_icon_etydu_57", pn = "_cardContent_etydu_100", fn = "_cardTitle_etydu_107", bn = "_cardSubtitle_etydu_113", gn = "_cardAction_etydu_118", vn = "_formTitle_etydu_125", xn = "_form_etydu_125", jn = "_formGroup_etydu_140", wn = "_label_etydu_146", Nn = "_input_etydu_151", yn = "_textarea_etydu_152", kn = "_submitButton_etydu_180", En = "_buttonIcon_etydu_203", Sn = "_formStatus_etydu_207", Tn = "_sending_etydu_216", $n = "_success_etydu_221", An = "_error_etydu_226", m = {
|
|
1289
1289
|
container: cn,
|
|
1290
1290
|
inner: ln,
|
|
1291
1291
|
leftColumn: dn,
|
|
@@ -1302,9 +1302,9 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1302
1302
|
formGroup: jn,
|
|
1303
1303
|
label: wn,
|
|
1304
1304
|
input: Nn,
|
|
1305
|
-
textarea:
|
|
1306
|
-
submitButton:
|
|
1307
|
-
buttonIcon:
|
|
1305
|
+
textarea: yn,
|
|
1306
|
+
submitButton: kn,
|
|
1307
|
+
buttonIcon: En,
|
|
1308
1308
|
formStatus: Sn,
|
|
1309
1309
|
sending: Tn,
|
|
1310
1310
|
success: $n,
|
|
@@ -1332,7 +1332,7 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1332
1332
|
subtitle: "alex@ejemplo.com",
|
|
1333
1333
|
actionText: "Escribir →",
|
|
1334
1334
|
url: "mailto:alex@ejemplo.com",
|
|
1335
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
1335
|
+
icon: /* @__PURE__ */ e.jsx(ke, {}),
|
|
1336
1336
|
targetBlank: !1
|
|
1337
1337
|
},
|
|
1338
1338
|
{
|
|
@@ -1343,7 +1343,7 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1343
1343
|
actionText: "Escribir →",
|
|
1344
1344
|
// formato estándar para wa.me: https://wa.me/<number>?text=<mensaje>
|
|
1345
1345
|
url: "https://wa.me/1234567890?text=Hola%2C%20quiero%20hablar%20de%20un%20proyecto",
|
|
1346
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
1346
|
+
icon: /* @__PURE__ */ e.jsx(qe, {}),
|
|
1347
1347
|
targetBlank: !0
|
|
1348
1348
|
}
|
|
1349
1349
|
], Kn = ({
|
|
@@ -1353,8 +1353,8 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1353
1353
|
style: s,
|
|
1354
1354
|
className: o = ""
|
|
1355
1355
|
}) => {
|
|
1356
|
-
const [c, i] = D(""), [l, f] = D(""), [$,
|
|
1357
|
-
h.preventDefault(),
|
|
1356
|
+
const [c, i] = D(""), [l, f] = D(""), [$, y] = D(""), [w, k] = D("idle"), R = async (h) => {
|
|
1357
|
+
h.preventDefault(), k("sending");
|
|
1358
1358
|
const g = new FormData();
|
|
1359
1359
|
g.append("name", c), g.append("email", l), g.append("project", $);
|
|
1360
1360
|
try {
|
|
@@ -1362,9 +1362,9 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1362
1362
|
method: "POST",
|
|
1363
1363
|
body: g,
|
|
1364
1364
|
headers: { Accept: "application/json" }
|
|
1365
|
-
})).ok ? (
|
|
1365
|
+
})).ok ? (k("success"), i(""), f(""), y("")) : k("error");
|
|
1366
1366
|
} catch {
|
|
1367
|
-
|
|
1367
|
+
k("error");
|
|
1368
1368
|
}
|
|
1369
1369
|
}, z = () => {
|
|
1370
1370
|
switch (w) {
|
|
@@ -1434,7 +1434,7 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1434
1434
|
{
|
|
1435
1435
|
className: m.textarea,
|
|
1436
1436
|
value: $,
|
|
1437
|
-
onChange: (h) =>
|
|
1437
|
+
onChange: (h) => y(h.target.value),
|
|
1438
1438
|
placeholder: "Escribe tu proyecto",
|
|
1439
1439
|
rows: 6,
|
|
1440
1440
|
required: !0
|
|
@@ -1587,15 +1587,16 @@ const vr = "_main_container_faebp_1", xr = "_backgroundImage_faebp_11", jr = "_c
|
|
|
1587
1587
|
] });
|
|
1588
1588
|
};
|
|
1589
1589
|
export {
|
|
1590
|
+
ht as CarouselAndromeda,
|
|
1590
1591
|
es as ContactFormAndromeda,
|
|
1591
1592
|
Kn as ContactFormAntlia,
|
|
1592
1593
|
Zn as HeroSectionAndromeda,
|
|
1593
1594
|
Qn as HeroSectionAntlia,
|
|
1594
1595
|
Xn as IntroductionSectionAndromeda,
|
|
1595
1596
|
Jn as ProjectsAndromeda,
|
|
1596
|
-
|
|
1597
|
+
Vn as ScrollSnapAndromeda,
|
|
1597
1598
|
Un as SkillsAndromeda,
|
|
1598
|
-
|
|
1599
|
+
qn as SocialLinksAndromeda,
|
|
1599
1600
|
Yn as WorkSectionAndromeda,
|
|
1600
1601
|
Gn as WorkSectionAntlia,
|
|
1601
1602
|
u as returnTranslation
|