@jctrejosi/components-seed 1.0.1
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/.prettierrc +13 -0
- package/README.md +186 -0
- package/bundle/components/index.d.ts +5 -0
- package/bundle/components/portfolios/ContactForm/Andromeda/ContactFormAndromeda.stories.d.ts +5 -0
- package/bundle/components/portfolios/ContactForm/Andromeda/defaults.d.ts +3 -0
- package/bundle/components/portfolios/ContactForm/Andromeda/index.d.ts +2 -0
- package/bundle/components/portfolios/ContactForm/Andromeda/translations.d.ts +38 -0
- package/bundle/components/portfolios/ContactForm/Andromeda/types.d.ts +4 -0
- package/bundle/components/portfolios/HeroSection/Andromeda/HeroSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/portfolios/HeroSection/Andromeda/defaults.d.ts +3 -0
- package/bundle/components/portfolios/HeroSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/portfolios/HeroSection/Andromeda/translations.d.ts +27 -0
- package/bundle/components/portfolios/HeroSection/Andromeda/types.d.ts +5 -0
- package/bundle/components/portfolios/IntroductionSection/Andromeda/IntroductionSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/portfolios/IntroductionSection/Andromeda/defaults.d.ts +3 -0
- package/bundle/components/portfolios/IntroductionSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/portfolios/IntroductionSection/Andromeda/translations.d.ts +33 -0
- package/bundle/components/portfolios/IntroductionSection/Andromeda/types.d.ts +2 -0
- package/bundle/components/portfolios/WorkSection/Andromeda/WorkSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/portfolios/WorkSection/Andromeda/defaults.d.ts +3 -0
- package/bundle/components/portfolios/WorkSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/portfolios/WorkSection/Andromeda/translations.d.ts +12 -0
- package/bundle/components/portfolios/WorkSection/Andromeda/types.d.ts +12 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/ScrollSnapAndromeda.stories.d.ts +5 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/defaults.d.ts +3 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/index.d.ts +2 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/types.d.ts +9 -0
- package/bundle/index.css +1 -0
- package/bundle/index.d.ts +3 -0
- package/bundle/index.es.js +811 -0
- package/bundle/index.umd.js +23 -0
- package/bundle/types/index.d.ts +6 -0
- package/bundle/types/props-components.d.ts +6 -0
- package/bundle/utils/index.d.ts +1 -0
- package/bundle/utils/returnTranslations.d.ts +2 -0
- package/eslint.config.js +55 -0
- package/package.json +81 -0
|
@@ -0,0 +1,811 @@
|
|
|
1
|
+
import j, { useRef as pe, useState as ee, useEffect as ge } from "react";
|
|
2
|
+
var P = { exports: {} }, N = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var B;
|
|
13
|
+
function be() {
|
|
14
|
+
if (B) return N;
|
|
15
|
+
B = 1;
|
|
16
|
+
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
|
|
17
|
+
function a(s, o, u) {
|
|
18
|
+
var m = null;
|
|
19
|
+
if (u !== void 0 && (m = "" + u), o.key !== void 0 && (m = "" + o.key), "key" in o) {
|
|
20
|
+
u = {};
|
|
21
|
+
for (var c in o)
|
|
22
|
+
c !== "key" && (u[c] = o[c]);
|
|
23
|
+
} else u = o;
|
|
24
|
+
return o = u.ref, {
|
|
25
|
+
$$typeof: t,
|
|
26
|
+
type: s,
|
|
27
|
+
key: m,
|
|
28
|
+
ref: o !== void 0 ? o : null,
|
|
29
|
+
props: u
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return N.Fragment = r, N.jsx = a, N.jsxs = a, N;
|
|
33
|
+
}
|
|
34
|
+
var O = {};
|
|
35
|
+
/**
|
|
36
|
+
* @license React
|
|
37
|
+
* react-jsx-runtime.development.js
|
|
38
|
+
*
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the MIT license found in the
|
|
42
|
+
* LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/
|
|
44
|
+
var X;
|
|
45
|
+
function ve() {
|
|
46
|
+
return X || (X = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function t(e) {
|
|
48
|
+
if (e == null) return null;
|
|
49
|
+
if (typeof e == "function")
|
|
50
|
+
return e.$$typeof === fe ? null : e.displayName || e.name || null;
|
|
51
|
+
if (typeof e == "string") return e;
|
|
52
|
+
switch (e) {
|
|
53
|
+
case z:
|
|
54
|
+
return "Fragment";
|
|
55
|
+
case se:
|
|
56
|
+
return "Profiler";
|
|
57
|
+
case ae:
|
|
58
|
+
return "StrictMode";
|
|
59
|
+
case le:
|
|
60
|
+
return "Suspense";
|
|
61
|
+
case ue:
|
|
62
|
+
return "SuspenseList";
|
|
63
|
+
case me:
|
|
64
|
+
return "Activity";
|
|
65
|
+
}
|
|
66
|
+
if (typeof e == "object")
|
|
67
|
+
switch (typeof e.tag == "number" && console.error(
|
|
68
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
+
), e.$$typeof) {
|
|
70
|
+
case ne:
|
|
71
|
+
return "Portal";
|
|
72
|
+
case ie:
|
|
73
|
+
return (e.displayName || "Context") + ".Provider";
|
|
74
|
+
case oe:
|
|
75
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
+
case ce:
|
|
77
|
+
var i = e.render;
|
|
78
|
+
return e = e.displayName, e || (e = i.displayName || i.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
+
case de:
|
|
80
|
+
return i = e.displayName || null, i !== null ? i : t(e.type) || "Memo";
|
|
81
|
+
case W:
|
|
82
|
+
i = e._payload, e = e._init;
|
|
83
|
+
try {
|
|
84
|
+
return t(e(i));
|
|
85
|
+
} catch {
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
function r(e) {
|
|
91
|
+
return "" + e;
|
|
92
|
+
}
|
|
93
|
+
function a(e) {
|
|
94
|
+
try {
|
|
95
|
+
r(e);
|
|
96
|
+
var i = !1;
|
|
97
|
+
} catch {
|
|
98
|
+
i = !0;
|
|
99
|
+
}
|
|
100
|
+
if (i) {
|
|
101
|
+
i = console;
|
|
102
|
+
var l = i.error, f = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
|
+
return l.call(
|
|
104
|
+
i,
|
|
105
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
+
f
|
|
107
|
+
), r(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function s(e) {
|
|
111
|
+
if (e === z) return "<>";
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === W)
|
|
113
|
+
return "<...>";
|
|
114
|
+
try {
|
|
115
|
+
var i = t(e);
|
|
116
|
+
return i ? "<" + i + ">" : "<...>";
|
|
117
|
+
} catch {
|
|
118
|
+
return "<...>";
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function o() {
|
|
122
|
+
var e = I.A;
|
|
123
|
+
return e === null ? null : e.getOwner();
|
|
124
|
+
}
|
|
125
|
+
function u() {
|
|
126
|
+
return Error("react-stack-top-frame");
|
|
127
|
+
}
|
|
128
|
+
function m(e) {
|
|
129
|
+
if (q.call(e, "key")) {
|
|
130
|
+
var i = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
|
+
if (i && i.isReactWarning) return !1;
|
|
132
|
+
}
|
|
133
|
+
return e.key !== void 0;
|
|
134
|
+
}
|
|
135
|
+
function c(e, i) {
|
|
136
|
+
function l() {
|
|
137
|
+
L || (L = !0, console.error(
|
|
138
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
|
+
i
|
|
140
|
+
));
|
|
141
|
+
}
|
|
142
|
+
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
143
|
+
get: l,
|
|
144
|
+
configurable: !0
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function h() {
|
|
148
|
+
var e = t(this.type);
|
|
149
|
+
return H[e] || (H[e] = !0, console.error(
|
|
150
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
|
+
}
|
|
153
|
+
function R(e, i, l, f, v, p, D, F) {
|
|
154
|
+
return l = p.ref, e = {
|
|
155
|
+
$$typeof: V,
|
|
156
|
+
type: e,
|
|
157
|
+
key: i,
|
|
158
|
+
props: p,
|
|
159
|
+
_owner: v
|
|
160
|
+
}, (l !== void 0 ? l : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
|
+
enumerable: !1,
|
|
162
|
+
get: h
|
|
163
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
164
|
+
configurable: !1,
|
|
165
|
+
enumerable: !1,
|
|
166
|
+
writable: !0,
|
|
167
|
+
value: 0
|
|
168
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
169
|
+
configurable: !1,
|
|
170
|
+
enumerable: !1,
|
|
171
|
+
writable: !0,
|
|
172
|
+
value: null
|
|
173
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
174
|
+
configurable: !1,
|
|
175
|
+
enumerable: !1,
|
|
176
|
+
writable: !0,
|
|
177
|
+
value: D
|
|
178
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
179
|
+
configurable: !1,
|
|
180
|
+
enumerable: !1,
|
|
181
|
+
writable: !0,
|
|
182
|
+
value: F
|
|
183
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
|
+
}
|
|
185
|
+
function T(e, i, l, f, v, p, D, F) {
|
|
186
|
+
var _ = i.children;
|
|
187
|
+
if (_ !== void 0)
|
|
188
|
+
if (f)
|
|
189
|
+
if (_e(_)) {
|
|
190
|
+
for (f = 0; f < _.length; f++)
|
|
191
|
+
Y(_[f]);
|
|
192
|
+
Object.freeze && Object.freeze(_);
|
|
193
|
+
} else
|
|
194
|
+
console.error(
|
|
195
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
|
+
);
|
|
197
|
+
else Y(_);
|
|
198
|
+
if (q.call(i, "key")) {
|
|
199
|
+
_ = t(e);
|
|
200
|
+
var w = Object.keys(i).filter(function(he) {
|
|
201
|
+
return he !== "key";
|
|
202
|
+
});
|
|
203
|
+
f = 0 < w.length ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}", J[_ + f] || (w = 0 < w.length ? "{" + w.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
205
|
+
let props = %s;
|
|
206
|
+
<%s {...props} />
|
|
207
|
+
React keys must be passed directly to JSX without using spread:
|
|
208
|
+
let props = %s;
|
|
209
|
+
<%s key={someKey} {...props} />`,
|
|
210
|
+
f,
|
|
211
|
+
_,
|
|
212
|
+
w,
|
|
213
|
+
_
|
|
214
|
+
), J[_ + f] = !0);
|
|
215
|
+
}
|
|
216
|
+
if (_ = null, l !== void 0 && (a(l), _ = "" + l), m(i) && (a(i.key), _ = "" + i.key), "key" in i) {
|
|
217
|
+
l = {};
|
|
218
|
+
for (var M in i)
|
|
219
|
+
M !== "key" && (l[M] = i[M]);
|
|
220
|
+
} else l = i;
|
|
221
|
+
return _ && c(
|
|
222
|
+
l,
|
|
223
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
+
), R(
|
|
225
|
+
e,
|
|
226
|
+
_,
|
|
227
|
+
p,
|
|
228
|
+
v,
|
|
229
|
+
o(),
|
|
230
|
+
l,
|
|
231
|
+
D,
|
|
232
|
+
F
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
function Y(e) {
|
|
236
|
+
typeof e == "object" && e !== null && e.$$typeof === V && e._store && (e._store.validated = 1);
|
|
237
|
+
}
|
|
238
|
+
var S = j, V = Symbol.for("react.transitional.element"), ne = Symbol.for("react.portal"), z = Symbol.for("react.fragment"), ae = Symbol.for("react.strict_mode"), se = Symbol.for("react.profiler"), oe = Symbol.for("react.consumer"), ie = Symbol.for("react.context"), ce = Symbol.for("react.forward_ref"), le = Symbol.for("react.suspense"), ue = Symbol.for("react.suspense_list"), de = Symbol.for("react.memo"), W = Symbol.for("react.lazy"), me = Symbol.for("react.activity"), fe = Symbol.for("react.client.reference"), I = S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, _e = Array.isArray, $ = console.createTask ? console.createTask : function() {
|
|
239
|
+
return null;
|
|
240
|
+
};
|
|
241
|
+
S = {
|
|
242
|
+
react_stack_bottom_frame: function(e) {
|
|
243
|
+
return e();
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
var L, H = {}, G = S.react_stack_bottom_frame.bind(
|
|
247
|
+
S,
|
|
248
|
+
u
|
|
249
|
+
)(), U = $(s(u)), J = {};
|
|
250
|
+
O.Fragment = z, O.jsx = function(e, i, l, f, v) {
|
|
251
|
+
var p = 1e4 > I.recentlyCreatedOwnerStacks++;
|
|
252
|
+
return T(
|
|
253
|
+
e,
|
|
254
|
+
i,
|
|
255
|
+
l,
|
|
256
|
+
!1,
|
|
257
|
+
f,
|
|
258
|
+
v,
|
|
259
|
+
p ? Error("react-stack-top-frame") : G,
|
|
260
|
+
p ? $(s(e)) : U
|
|
261
|
+
);
|
|
262
|
+
}, O.jsxs = function(e, i, l, f, v) {
|
|
263
|
+
var p = 1e4 > I.recentlyCreatedOwnerStacks++;
|
|
264
|
+
return T(
|
|
265
|
+
e,
|
|
266
|
+
i,
|
|
267
|
+
l,
|
|
268
|
+
!0,
|
|
269
|
+
f,
|
|
270
|
+
v,
|
|
271
|
+
p ? Error("react-stack-top-frame") : G,
|
|
272
|
+
p ? $(s(e)) : U
|
|
273
|
+
);
|
|
274
|
+
};
|
|
275
|
+
}()), O;
|
|
276
|
+
}
|
|
277
|
+
var Z;
|
|
278
|
+
function xe() {
|
|
279
|
+
return Z || (Z = 1, process.env.NODE_ENV === "production" ? P.exports = be() : P.exports = ve()), P.exports;
|
|
280
|
+
}
|
|
281
|
+
var n = xe();
|
|
282
|
+
const je = "_wrapper_lsl1r_1", Ee = "_container_lsl1r_9", we = "_section_lsl1r_23", ye = "_dots_lsl1r_39", Ne = "_dot_lsl1r_39", Oe = "_dotActive_lsl1r_79", y = {
|
|
283
|
+
wrapper: je,
|
|
284
|
+
container: Ee,
|
|
285
|
+
section: we,
|
|
286
|
+
dots: ye,
|
|
287
|
+
dot: Ne,
|
|
288
|
+
dotActive: Oe
|
|
289
|
+
}, Et = ({
|
|
290
|
+
sections: t = [],
|
|
291
|
+
style: r
|
|
292
|
+
}) => {
|
|
293
|
+
const a = pe(null), [s, o] = ee(0);
|
|
294
|
+
ge(() => {
|
|
295
|
+
const m = new IntersectionObserver(
|
|
296
|
+
(h) => {
|
|
297
|
+
h.forEach((R) => {
|
|
298
|
+
if (R.isIntersecting) {
|
|
299
|
+
const T = Number(R.target.getAttribute("data-index"));
|
|
300
|
+
o(T);
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
root: a.current,
|
|
306
|
+
threshold: 0.5
|
|
307
|
+
}
|
|
308
|
+
), c = a.current?.children ?? [];
|
|
309
|
+
return Array.from(c).forEach((h) => m.observe(h)), () => m.disconnect();
|
|
310
|
+
}, []);
|
|
311
|
+
const u = (m) => {
|
|
312
|
+
a.current?.children[m]?.scrollIntoView({
|
|
313
|
+
behavior: "smooth"
|
|
314
|
+
});
|
|
315
|
+
};
|
|
316
|
+
return /* @__PURE__ */ n.jsxs(
|
|
317
|
+
"div",
|
|
318
|
+
{
|
|
319
|
+
className: y.wrapper,
|
|
320
|
+
style: {
|
|
321
|
+
...r
|
|
322
|
+
},
|
|
323
|
+
children: [
|
|
324
|
+
/* @__PURE__ */ n.jsx("div", { ref: a, className: y.container, children: t.map((m, c) => /* @__PURE__ */ n.jsx(
|
|
325
|
+
"div",
|
|
326
|
+
{
|
|
327
|
+
"data-index": c,
|
|
328
|
+
className: y.section,
|
|
329
|
+
style: {
|
|
330
|
+
backgroundColor: m.backgroundColor || "var(--bg-base)"
|
|
331
|
+
},
|
|
332
|
+
children: m.component
|
|
333
|
+
},
|
|
334
|
+
c
|
|
335
|
+
)) }),
|
|
336
|
+
/* @__PURE__ */ n.jsx("div", { className: y.dots, children: t.map((m, c) => /* @__PURE__ */ n.jsx(
|
|
337
|
+
"div",
|
|
338
|
+
{
|
|
339
|
+
onClick: () => u(c),
|
|
340
|
+
className: `${y.dot} ${c === s ? y.dotActive : ""}`,
|
|
341
|
+
style: {
|
|
342
|
+
"--dot-active-color": m.dotColor
|
|
343
|
+
},
|
|
344
|
+
children: m.dotLabel || ""
|
|
345
|
+
},
|
|
346
|
+
c
|
|
347
|
+
)) })
|
|
348
|
+
]
|
|
349
|
+
}
|
|
350
|
+
);
|
|
351
|
+
}, d = (t) => {
|
|
352
|
+
if (typeof t == "string") return t;
|
|
353
|
+
const a = navigator.languages.map((o) => o.slice(0, 2)).find((o) => t[o] !== void 0);
|
|
354
|
+
if (a) return t[a];
|
|
355
|
+
if (t.es) return t.es;
|
|
356
|
+
const s = Object.keys(t);
|
|
357
|
+
return s.length > 0 ? t[s[0]] : "";
|
|
358
|
+
}, ke = "_container_b15b5_1", Re = "_workSection_b15b5_29", Te = "_title_b15b5_37", Se = "_subtitle_b15b5_51", Pe = "_grid_b15b5_63", Ae = "_card_b15b5_77", Ce = "_logo_b15b5_105", ze = "_info_b15b5_119", x = {
|
|
359
|
+
container: ke,
|
|
360
|
+
workSection: Re,
|
|
361
|
+
title: Te,
|
|
362
|
+
subtitle: Se,
|
|
363
|
+
grid: Pe,
|
|
364
|
+
card: Ae,
|
|
365
|
+
logo: Ce,
|
|
366
|
+
info: ze
|
|
367
|
+
}, Ie = {
|
|
368
|
+
title: {
|
|
369
|
+
es: "/Experiencia.",
|
|
370
|
+
en: "/Experiencia.",
|
|
371
|
+
pt: "/Experiencia."
|
|
372
|
+
},
|
|
373
|
+
subtitle: {
|
|
374
|
+
es: "Experiencias seleccionadas que he realizado en el pasado.",
|
|
375
|
+
en: "Selected experiences I've taken on in the past.",
|
|
376
|
+
pt: "Experiências selecionadas que realizei no passado."
|
|
377
|
+
}
|
|
378
|
+
}, wt = ({
|
|
379
|
+
items: t = [],
|
|
380
|
+
translations: r = Ie,
|
|
381
|
+
style: a,
|
|
382
|
+
className: s = "work-section-andromeda"
|
|
383
|
+
}) => /* @__PURE__ */ n.jsx("div", { className: x.container, children: /* @__PURE__ */ n.jsxs("section", { className: `${x.workSection} ${s}`, style: a, children: [
|
|
384
|
+
/* @__PURE__ */ n.jsx("h2", { className: x.title, children: d(r.title) }),
|
|
385
|
+
/* @__PURE__ */ n.jsx("p", { className: x.subtitle, children: d(r.subtitle) }),
|
|
386
|
+
/* @__PURE__ */ n.jsx("div", { className: x.grid, children: t.map((o) => /* @__PURE__ */ n.jsxs("div", { className: x.card, children: [
|
|
387
|
+
/* @__PURE__ */ n.jsx("img", { src: o.logo, alt: o.name, className: x.logo }),
|
|
388
|
+
/* @__PURE__ */ n.jsxs("div", { className: x.info, children: [
|
|
389
|
+
/* @__PURE__ */ n.jsx("strong", { children: o.name }),
|
|
390
|
+
o.link && /* @__PURE__ */ n.jsx(
|
|
391
|
+
"a",
|
|
392
|
+
{
|
|
393
|
+
href: o.link.url,
|
|
394
|
+
target: "_blank",
|
|
395
|
+
rel: "noopener noreferrer",
|
|
396
|
+
children: o.link.text
|
|
397
|
+
}
|
|
398
|
+
)
|
|
399
|
+
] })
|
|
400
|
+
] }, o.name)) })
|
|
401
|
+
] }) });
|
|
402
|
+
var te = {
|
|
403
|
+
color: void 0,
|
|
404
|
+
size: void 0,
|
|
405
|
+
className: void 0,
|
|
406
|
+
style: void 0,
|
|
407
|
+
attr: void 0
|
|
408
|
+
}, Q = j.createContext && /* @__PURE__ */ j.createContext(te), $e = ["attr", "size", "title"];
|
|
409
|
+
function De(t, r) {
|
|
410
|
+
if (t == null) return {};
|
|
411
|
+
var a = Fe(t, r), s, o;
|
|
412
|
+
if (Object.getOwnPropertySymbols) {
|
|
413
|
+
var u = Object.getOwnPropertySymbols(t);
|
|
414
|
+
for (o = 0; o < u.length; o++)
|
|
415
|
+
s = u[o], !(r.indexOf(s) >= 0) && Object.prototype.propertyIsEnumerable.call(t, s) && (a[s] = t[s]);
|
|
416
|
+
}
|
|
417
|
+
return a;
|
|
418
|
+
}
|
|
419
|
+
function Fe(t, r) {
|
|
420
|
+
if (t == null) return {};
|
|
421
|
+
var a = {};
|
|
422
|
+
for (var s in t)
|
|
423
|
+
if (Object.prototype.hasOwnProperty.call(t, s)) {
|
|
424
|
+
if (r.indexOf(s) >= 0) continue;
|
|
425
|
+
a[s] = t[s];
|
|
426
|
+
}
|
|
427
|
+
return a;
|
|
428
|
+
}
|
|
429
|
+
function A() {
|
|
430
|
+
return A = Object.assign ? Object.assign.bind() : function(t) {
|
|
431
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
432
|
+
var a = arguments[r];
|
|
433
|
+
for (var s in a)
|
|
434
|
+
Object.prototype.hasOwnProperty.call(a, s) && (t[s] = a[s]);
|
|
435
|
+
}
|
|
436
|
+
return t;
|
|
437
|
+
}, A.apply(this, arguments);
|
|
438
|
+
}
|
|
439
|
+
function K(t, r) {
|
|
440
|
+
var a = Object.keys(t);
|
|
441
|
+
if (Object.getOwnPropertySymbols) {
|
|
442
|
+
var s = Object.getOwnPropertySymbols(t);
|
|
443
|
+
r && (s = s.filter(function(o) {
|
|
444
|
+
return Object.getOwnPropertyDescriptor(t, o).enumerable;
|
|
445
|
+
})), a.push.apply(a, s);
|
|
446
|
+
}
|
|
447
|
+
return a;
|
|
448
|
+
}
|
|
449
|
+
function C(t) {
|
|
450
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
451
|
+
var a = arguments[r] != null ? arguments[r] : {};
|
|
452
|
+
r % 2 ? K(Object(a), !0).forEach(function(s) {
|
|
453
|
+
Me(t, s, a[s]);
|
|
454
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(a)) : K(Object(a)).forEach(function(s) {
|
|
455
|
+
Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(a, s));
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
return t;
|
|
459
|
+
}
|
|
460
|
+
function Me(t, r, a) {
|
|
461
|
+
return r = Ye(r), r in t ? Object.defineProperty(t, r, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : t[r] = a, t;
|
|
462
|
+
}
|
|
463
|
+
function Ye(t) {
|
|
464
|
+
var r = Ve(t, "string");
|
|
465
|
+
return typeof r == "symbol" ? r : r + "";
|
|
466
|
+
}
|
|
467
|
+
function Ve(t, r) {
|
|
468
|
+
if (typeof t != "object" || !t) return t;
|
|
469
|
+
var a = t[Symbol.toPrimitive];
|
|
470
|
+
if (a !== void 0) {
|
|
471
|
+
var s = a.call(t, r);
|
|
472
|
+
if (typeof s != "object") return s;
|
|
473
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
474
|
+
}
|
|
475
|
+
return (r === "string" ? String : Number)(t);
|
|
476
|
+
}
|
|
477
|
+
function re(t) {
|
|
478
|
+
return t && t.map((r, a) => /* @__PURE__ */ j.createElement(r.tag, C({
|
|
479
|
+
key: a
|
|
480
|
+
}, r.attr), re(r.child)));
|
|
481
|
+
}
|
|
482
|
+
function k(t) {
|
|
483
|
+
return (r) => /* @__PURE__ */ j.createElement(We, A({
|
|
484
|
+
attr: C({}, t.attr)
|
|
485
|
+
}, r), re(t.child));
|
|
486
|
+
}
|
|
487
|
+
function We(t) {
|
|
488
|
+
var r = (a) => {
|
|
489
|
+
var {
|
|
490
|
+
attr: s,
|
|
491
|
+
size: o,
|
|
492
|
+
title: u
|
|
493
|
+
} = t, m = De(t, $e), c = o || a.size || "1em", h;
|
|
494
|
+
return a.className && (h = a.className), t.className && (h = (h ? h + " " : "") + t.className), /* @__PURE__ */ j.createElement("svg", A({
|
|
495
|
+
stroke: "currentColor",
|
|
496
|
+
fill: "currentColor",
|
|
497
|
+
strokeWidth: "0"
|
|
498
|
+
}, a.attr, s, m, {
|
|
499
|
+
className: h,
|
|
500
|
+
style: C(C({
|
|
501
|
+
color: t.color || a.color
|
|
502
|
+
}, a.style), t.style),
|
|
503
|
+
height: c,
|
|
504
|
+
width: c,
|
|
505
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
506
|
+
}), u && /* @__PURE__ */ j.createElement("title", null, u), t.children);
|
|
507
|
+
};
|
|
508
|
+
return Q !== void 0 ? /* @__PURE__ */ j.createElement(Q.Consumer, null, (a) => r(a)) : r(te);
|
|
509
|
+
}
|
|
510
|
+
function qe(t) {
|
|
511
|
+
return k({ attr: { viewBox: "0 0 496 512" }, child: [{ tag: "path", attr: { d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z" }, child: [] }] })(t);
|
|
512
|
+
}
|
|
513
|
+
function Le(t) {
|
|
514
|
+
return k({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" }, child: [] }] })(t);
|
|
515
|
+
}
|
|
516
|
+
function He(t) {
|
|
517
|
+
return k({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z" }, child: [] }] })(t);
|
|
518
|
+
}
|
|
519
|
+
function Ge(t) {
|
|
520
|
+
return k({ 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);
|
|
521
|
+
}
|
|
522
|
+
function Ue(t) {
|
|
523
|
+
return k({ 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);
|
|
524
|
+
}
|
|
525
|
+
const Je = "_main_container_1czxf_1", Be = "_container_1czxf_25", Xe = "_title_1czxf_45", Ze = "_paragraph_1czxf_57", Qe = "_highlight_1czxf_69", Ke = "_social_1czxf_79", et = "_icons_1czxf_91", E = {
|
|
526
|
+
main_container: Je,
|
|
527
|
+
container: Be,
|
|
528
|
+
title: Xe,
|
|
529
|
+
paragraph: Ze,
|
|
530
|
+
highlight: Qe,
|
|
531
|
+
social: Ke,
|
|
532
|
+
icons: et
|
|
533
|
+
}, tt = {
|
|
534
|
+
hi_there: {
|
|
535
|
+
es: "¡Hola!",
|
|
536
|
+
en: "Hi there!",
|
|
537
|
+
pt: "Olá!"
|
|
538
|
+
},
|
|
539
|
+
i_am: {
|
|
540
|
+
es: "Soy ",
|
|
541
|
+
en: "I'm ",
|
|
542
|
+
pt: "Sou "
|
|
543
|
+
},
|
|
544
|
+
name: "Juan Trejos ",
|
|
545
|
+
developer_focus: {
|
|
546
|
+
es: "un desarrollador enfocado en construir aplicaciones web limpias y escalables",
|
|
547
|
+
en: "a developer focused on building clean, scalable web apps",
|
|
548
|
+
pt: "um desenvolvedor focado em criar aplicações web limpas e escaláveis"
|
|
549
|
+
},
|
|
550
|
+
enjoy_simplifying: {
|
|
551
|
+
es: "Disfruto simplificar desafíos técnicos y hacer que la tecnología sea accesible para todos",
|
|
552
|
+
en: "I enjoy simplifying technical challenges and making technology accessible to everyone",
|
|
553
|
+
pt: "Gosto de simplificar desafios técnicos e tornar a tecnologia acessível para todos"
|
|
554
|
+
},
|
|
555
|
+
digital_garden: {
|
|
556
|
+
es: "Este sitio web es mi jardín digital, donde comparto mi camino, conocimientos e ideas",
|
|
557
|
+
en: "This website is my digital garden — where I share my journey, knowledge, and ideas",
|
|
558
|
+
pt: "Este site é o meu jardim digital — onde compartilho minha jornada, conhecimento e ideias"
|
|
559
|
+
},
|
|
560
|
+
find_me_on: {
|
|
561
|
+
es: "Encuéntrame en",
|
|
562
|
+
en: "Find me on",
|
|
563
|
+
pt: "Encontre-me em"
|
|
564
|
+
}
|
|
565
|
+
}, yt = ({
|
|
566
|
+
className: t,
|
|
567
|
+
translations: r = tt,
|
|
568
|
+
style: a
|
|
569
|
+
}) => /* @__PURE__ */ n.jsx("div", { className: E.main_container, children: /* @__PURE__ */ n.jsxs("section", { className: `${E.container} ${t}`, style: a, children: [
|
|
570
|
+
/* @__PURE__ */ n.jsx("h1", { className: E.title, children: d(r.hi_there) }),
|
|
571
|
+
/* @__PURE__ */ n.jsxs("p", { className: E.paragraph, children: [
|
|
572
|
+
d(r.i_am),
|
|
573
|
+
/* @__PURE__ */ n.jsx("span", { className: E.highlight, children: d(r.name) }),
|
|
574
|
+
d(r.developer_focus),
|
|
575
|
+
".",
|
|
576
|
+
/* @__PURE__ */ n.jsx("br", {}),
|
|
577
|
+
d(r.digital_garden)
|
|
578
|
+
] }),
|
|
579
|
+
/* @__PURE__ */ n.jsxs("div", { className: E.social, children: [
|
|
580
|
+
/* @__PURE__ */ n.jsx("span", { children: d(r.find_me_on) }),
|
|
581
|
+
/* @__PURE__ */ n.jsxs("div", { className: E.icons, children: [
|
|
582
|
+
/* @__PURE__ */ n.jsx(
|
|
583
|
+
"a",
|
|
584
|
+
{
|
|
585
|
+
href: "https://twitter.com/tuusuario",
|
|
586
|
+
target: "_blank",
|
|
587
|
+
rel: "noopener noreferrer",
|
|
588
|
+
children: /* @__PURE__ */ n.jsx(Ge, {})
|
|
589
|
+
}
|
|
590
|
+
),
|
|
591
|
+
/* @__PURE__ */ n.jsx(
|
|
592
|
+
"a",
|
|
593
|
+
{
|
|
594
|
+
href: "https://github.com/tuusuario",
|
|
595
|
+
target: "_blank",
|
|
596
|
+
rel: "noopener noreferrer",
|
|
597
|
+
children: /* @__PURE__ */ n.jsx(qe, {})
|
|
598
|
+
}
|
|
599
|
+
),
|
|
600
|
+
/* @__PURE__ */ n.jsx(
|
|
601
|
+
"a",
|
|
602
|
+
{
|
|
603
|
+
href: "https://instagram.com/tuusuario",
|
|
604
|
+
target: "_blank",
|
|
605
|
+
rel: "noopener noreferrer",
|
|
606
|
+
children: /* @__PURE__ */ n.jsx(Le, {})
|
|
607
|
+
}
|
|
608
|
+
),
|
|
609
|
+
/* @__PURE__ */ n.jsx(
|
|
610
|
+
"a",
|
|
611
|
+
{
|
|
612
|
+
href: "https://www.linkedin.com/in/juan-carlos-trejos-26605b142/",
|
|
613
|
+
target: "_blank",
|
|
614
|
+
rel: "noopener noreferrer",
|
|
615
|
+
children: /* @__PURE__ */ n.jsx(He, {})
|
|
616
|
+
}
|
|
617
|
+
),
|
|
618
|
+
/* @__PURE__ */ n.jsx("a", { href: "mailto:jctrejosi@unal.edu.co", children: /* @__PURE__ */ n.jsx(Ue, {}) })
|
|
619
|
+
] })
|
|
620
|
+
] })
|
|
621
|
+
] }) }), rt = "_hero_1tt2n_1", nt = "_left_1tt2n_21", at = "_overlay_1tt2n_75", st = "_title_1tt2n_95", ot = "_word_1_1tt2n_117", it = "_word_2_1tt2n_127", ct = "_subtitle_1tt2n_135", lt = "_highlights_1tt2n_151", ut = "_right_1tt2n_183", dt = "_image_1tt2n_211", g = {
|
|
622
|
+
hero: rt,
|
|
623
|
+
left: nt,
|
|
624
|
+
overlay: at,
|
|
625
|
+
title: st,
|
|
626
|
+
word_1: ot,
|
|
627
|
+
word_2: it,
|
|
628
|
+
subtitle: ct,
|
|
629
|
+
highlights: lt,
|
|
630
|
+
right: ut,
|
|
631
|
+
image: dt
|
|
632
|
+
}, mt = {
|
|
633
|
+
title_web: {
|
|
634
|
+
es: "Web ",
|
|
635
|
+
en: "Web ",
|
|
636
|
+
pt: "Web "
|
|
637
|
+
},
|
|
638
|
+
title_developer: {
|
|
639
|
+
es: "Desarrollador",
|
|
640
|
+
en: "Developer",
|
|
641
|
+
pt: "Desenvolvedor"
|
|
642
|
+
},
|
|
643
|
+
subtitle: {
|
|
644
|
+
es: "Me gusta crear productos frontend sólidos y escalables con excelentes experiencias de usuario.",
|
|
645
|
+
en: "I like to craft solid and scalable frontend products with great user experiences.",
|
|
646
|
+
pt: "Gosto de criar produtos frontend sólidos e escaláveis com ótimas experiências de usuário."
|
|
647
|
+
},
|
|
648
|
+
highlight_1: {
|
|
649
|
+
es: "Altamente capacitado en mejora progresiva, sistemas de diseño e ingeniería de interfaces.",
|
|
650
|
+
en: "Highly skilled at progressive enhancement, design systems & UI Engineering.",
|
|
651
|
+
pt: "Altamente qualificado em aprimoramento progressivo, sistemas de design e engenharia de UI."
|
|
652
|
+
},
|
|
653
|
+
highlight_2: {
|
|
654
|
+
es: "Experiencia comprobada en la creación de productos exitosos para clientes en varios países.",
|
|
655
|
+
en: "Proven experience building successful products for clients across several countries.",
|
|
656
|
+
pt: "Experiência comprovada na criação de produtos bem-sucedidos para clientes em vários países."
|
|
657
|
+
}
|
|
658
|
+
}, Nt = ({
|
|
659
|
+
className: t = "hero-section-andromeda",
|
|
660
|
+
backgroundImage: r,
|
|
661
|
+
style: a,
|
|
662
|
+
imageProfile: s,
|
|
663
|
+
translations: o = mt
|
|
664
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
665
|
+
"section",
|
|
666
|
+
{
|
|
667
|
+
className: `${g.hero} ${t}`,
|
|
668
|
+
style: {
|
|
669
|
+
...a
|
|
670
|
+
},
|
|
671
|
+
children: [
|
|
672
|
+
/* @__PURE__ */ n.jsxs("div", { className: g.left, children: [
|
|
673
|
+
r && /* @__PURE__ */ n.jsx("img", { className: g.overlay, src: r }),
|
|
674
|
+
/* @__PURE__ */ n.jsxs("h1", { className: g.title, children: [
|
|
675
|
+
/* @__PURE__ */ n.jsx("span", { className: g.word_1, children: d(o.title_web) }),
|
|
676
|
+
/* @__PURE__ */ n.jsx("span", { className: g.word_2, children: d(o.title_developer) })
|
|
677
|
+
] }),
|
|
678
|
+
/* @__PURE__ */ n.jsx("p", { className: g.subtitle, children: d(o.subtitle) }),
|
|
679
|
+
/* @__PURE__ */ n.jsxs("div", { className: g.highlights, children: [
|
|
680
|
+
/* @__PURE__ */ n.jsx("p", { children: d(o.highlight_1) }),
|
|
681
|
+
/* @__PURE__ */ n.jsx("p", { children: d(o.highlight_2) })
|
|
682
|
+
] })
|
|
683
|
+
] }),
|
|
684
|
+
/* @__PURE__ */ n.jsx("div", { className: g.right, children: /* @__PURE__ */ n.jsx("img", { src: s, alt: "Profile", className: g.image }) })
|
|
685
|
+
]
|
|
686
|
+
}
|
|
687
|
+
), ft = {
|
|
688
|
+
title: {
|
|
689
|
+
es: "¡Envíame un mensaje!",
|
|
690
|
+
en: "Send me a message!"
|
|
691
|
+
},
|
|
692
|
+
subtitle: {
|
|
693
|
+
es: "¿Tienes una pregunta o propuesta, o simplemente quieres saludar? Adelante.",
|
|
694
|
+
en: "Got a question or proposal, or just want to say hello? Go ahead."
|
|
695
|
+
},
|
|
696
|
+
label_name: {
|
|
697
|
+
es: "Tu nombre",
|
|
698
|
+
en: "Your Name"
|
|
699
|
+
},
|
|
700
|
+
label_email: {
|
|
701
|
+
es: "Dirección de correo electrónico",
|
|
702
|
+
en: "Email Address"
|
|
703
|
+
},
|
|
704
|
+
label_message: {
|
|
705
|
+
es: "Tu mensaje",
|
|
706
|
+
en: "Your Message"
|
|
707
|
+
},
|
|
708
|
+
placeholder_name: {
|
|
709
|
+
es: "Ingresa tu nombre",
|
|
710
|
+
en: "Enter your name"
|
|
711
|
+
},
|
|
712
|
+
placeholder_email: {
|
|
713
|
+
es: "Ingresa tu dirección de correo electrónico",
|
|
714
|
+
en: "Enter your email address"
|
|
715
|
+
},
|
|
716
|
+
placeholder_message: {
|
|
717
|
+
es: "Hola, creo que necesitamos un sistema de diseño para nuestros productos en la empresa X...",
|
|
718
|
+
en: "Hi, I think we need a design system for our products at Company X..."
|
|
719
|
+
},
|
|
720
|
+
button: {
|
|
721
|
+
es: "ENVIAR →",
|
|
722
|
+
en: "SHOOT →"
|
|
723
|
+
}
|
|
724
|
+
}, _t = "_container_1k2dg_1", ht = "_title_1k2dg_15", pt = "_subtitle_1k2dg_27", gt = "_form_1k2dg_37", bt = "_row_1k2dg_51", vt = "_field_1k2dg_63", xt = "_button_1k2dg_139", b = {
|
|
725
|
+
container: _t,
|
|
726
|
+
title: ht,
|
|
727
|
+
subtitle: pt,
|
|
728
|
+
form: gt,
|
|
729
|
+
row: bt,
|
|
730
|
+
field: vt,
|
|
731
|
+
button: xt
|
|
732
|
+
}, Ot = ({
|
|
733
|
+
sendTo: t = "",
|
|
734
|
+
translations: r = ft,
|
|
735
|
+
style: a
|
|
736
|
+
}) => {
|
|
737
|
+
const [s, o] = ee({
|
|
738
|
+
name: "",
|
|
739
|
+
email: "",
|
|
740
|
+
message: ""
|
|
741
|
+
}), u = (c) => {
|
|
742
|
+
o({
|
|
743
|
+
...s,
|
|
744
|
+
[c.target.name]: c.target.value
|
|
745
|
+
});
|
|
746
|
+
}, m = (c) => {
|
|
747
|
+
c.preventDefault();
|
|
748
|
+
};
|
|
749
|
+
return /* @__PURE__ */ n.jsxs("section", { className: b.container, style: a, children: [
|
|
750
|
+
/* @__PURE__ */ n.jsx("h2", { className: b.title, children: d(r.title) }),
|
|
751
|
+
/* @__PURE__ */ n.jsx("p", { className: b.subtitle, children: d(r.subtitle) }),
|
|
752
|
+
/* @__PURE__ */ n.jsxs("form", { onSubmit: m, className: b.form, children: [
|
|
753
|
+
/* @__PURE__ */ n.jsxs("div", { className: b.row, children: [
|
|
754
|
+
/* @__PURE__ */ n.jsxs("div", { className: b.field, children: [
|
|
755
|
+
/* @__PURE__ */ n.jsx("label", { htmlFor: "name", children: d(r.label_name) }),
|
|
756
|
+
/* @__PURE__ */ n.jsx(
|
|
757
|
+
"input",
|
|
758
|
+
{
|
|
759
|
+
type: "text",
|
|
760
|
+
id: "name",
|
|
761
|
+
name: "name",
|
|
762
|
+
placeholder: d(r.placeholder_name),
|
|
763
|
+
value: s.name,
|
|
764
|
+
onChange: u,
|
|
765
|
+
required: !0
|
|
766
|
+
}
|
|
767
|
+
)
|
|
768
|
+
] }),
|
|
769
|
+
/* @__PURE__ */ n.jsxs("div", { className: b.field, children: [
|
|
770
|
+
/* @__PURE__ */ n.jsx("label", { htmlFor: "email", children: d(r.label_email) }),
|
|
771
|
+
/* @__PURE__ */ n.jsx(
|
|
772
|
+
"input",
|
|
773
|
+
{
|
|
774
|
+
type: "email",
|
|
775
|
+
id: "email",
|
|
776
|
+
name: "email",
|
|
777
|
+
placeholder: d(r.placeholder_email),
|
|
778
|
+
value: s.email,
|
|
779
|
+
onChange: u,
|
|
780
|
+
required: !0
|
|
781
|
+
}
|
|
782
|
+
)
|
|
783
|
+
] })
|
|
784
|
+
] }),
|
|
785
|
+
/* @__PURE__ */ n.jsxs("div", { className: b.field, children: [
|
|
786
|
+
/* @__PURE__ */ n.jsx("label", { htmlFor: "message", children: d(r.label_message) }),
|
|
787
|
+
/* @__PURE__ */ n.jsx(
|
|
788
|
+
"textarea",
|
|
789
|
+
{
|
|
790
|
+
id: "message",
|
|
791
|
+
name: "message",
|
|
792
|
+
placeholder: d(r.placeholder_message),
|
|
793
|
+
value: s.message,
|
|
794
|
+
onChange: u,
|
|
795
|
+
rows: 5,
|
|
796
|
+
required: !0
|
|
797
|
+
}
|
|
798
|
+
)
|
|
799
|
+
] }),
|
|
800
|
+
/* @__PURE__ */ n.jsx("button", { type: "submit", className: b.button, children: d(r.button) })
|
|
801
|
+
] })
|
|
802
|
+
] });
|
|
803
|
+
};
|
|
804
|
+
export {
|
|
805
|
+
Ot as ContactFormAndromeda,
|
|
806
|
+
Nt as HeroSectionAndromeda,
|
|
807
|
+
yt as IntroductionSectionAndromeda,
|
|
808
|
+
Et as ScrollSnapAndromeda,
|
|
809
|
+
wt as WorkSectionAndromeda,
|
|
810
|
+
d as returnTranslation
|
|
811
|
+
};
|