@iniguezmarc/design-system 0.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/README.md +76 -0
- package/dist/cv.pdf +1 -0
- package/dist/favicon.png +0 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +782 -0
- package/dist/index.umd.js +149 -0
- package/dist/src/components/atoms/Avatar/Avatar.d.ts +14 -0
- package/dist/src/components/atoms/Badge/Badge.d.ts +11 -0
- package/dist/src/components/atoms/Button/Button.d.ts +11 -0
- package/dist/src/components/atoms/Input/Input.d.ts +7 -0
- package/dist/src/components/atoms/ThemeToggle/ThemeToggle.d.ts +15 -0
- package/dist/src/components/molecules/ProjectCard/ProjectCard.d.ts +29 -0
- package/dist/src/components/organisms/ContentGrid/ContentGrid.d.ts +22 -0
- package/dist/src/components/organisms/Footer/Footer.d.ts +22 -0
- package/dist/src/components/organisms/Hero/Hero.d.ts +22 -0
- package/dist/src/components/organisms/Navbar/Navbar.d.ts +25 -0
- package/dist/src/components/organisms/ProfileSection/ProfileSection.d.ts +25 -0
- package/dist/src/index.d.ts +11 -0
- package/package.json +64 -0
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,782 @@
|
|
|
1
|
+
import se, { useState as C, useEffect as B } from "react";
|
|
2
|
+
var S = { exports: {} }, y = {};
|
|
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 z;
|
|
13
|
+
function ne() {
|
|
14
|
+
if (z) return y;
|
|
15
|
+
z = 1;
|
|
16
|
+
var o = Symbol.for("react.transitional.element"), d = Symbol.for("react.fragment");
|
|
17
|
+
function i(s, a, t) {
|
|
18
|
+
var u = null;
|
|
19
|
+
if (t !== void 0 && (u = "" + t), a.key !== void 0 && (u = "" + a.key), "key" in a) {
|
|
20
|
+
t = {};
|
|
21
|
+
for (var c in a)
|
|
22
|
+
c !== "key" && (t[c] = a[c]);
|
|
23
|
+
} else t = a;
|
|
24
|
+
return a = t.ref, {
|
|
25
|
+
$$typeof: o,
|
|
26
|
+
type: s,
|
|
27
|
+
key: u,
|
|
28
|
+
ref: a !== void 0 ? a : null,
|
|
29
|
+
props: t
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return y.Fragment = d, y.jsx = i, y.jsxs = i, y;
|
|
33
|
+
}
|
|
34
|
+
var N = {};
|
|
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 F;
|
|
45
|
+
function oe() {
|
|
46
|
+
return F || (F = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function o(e) {
|
|
48
|
+
if (e == null) return null;
|
|
49
|
+
if (typeof e == "function")
|
|
50
|
+
return e.$$typeof === re ? null : e.displayName || e.name || null;
|
|
51
|
+
if (typeof e == "string") return e;
|
|
52
|
+
switch (e) {
|
|
53
|
+
case k:
|
|
54
|
+
return "Fragment";
|
|
55
|
+
case G:
|
|
56
|
+
return "Profiler";
|
|
57
|
+
case U:
|
|
58
|
+
return "StrictMode";
|
|
59
|
+
case Z:
|
|
60
|
+
return "Suspense";
|
|
61
|
+
case Q:
|
|
62
|
+
return "SuspenseList";
|
|
63
|
+
case ee:
|
|
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 E:
|
|
71
|
+
return "Portal";
|
|
72
|
+
case q:
|
|
73
|
+
return e.displayName || "Context";
|
|
74
|
+
case X:
|
|
75
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
+
case J:
|
|
77
|
+
var n = e.render;
|
|
78
|
+
return e = e.displayName, e || (e = n.displayName || n.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
+
case K:
|
|
80
|
+
return n = e.displayName || null, n !== null ? n : o(e.type) || "Memo";
|
|
81
|
+
case T:
|
|
82
|
+
n = e._payload, e = e._init;
|
|
83
|
+
try {
|
|
84
|
+
return o(e(n));
|
|
85
|
+
} catch {
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
function d(e) {
|
|
91
|
+
return "" + e;
|
|
92
|
+
}
|
|
93
|
+
function i(e) {
|
|
94
|
+
try {
|
|
95
|
+
d(e);
|
|
96
|
+
var n = !1;
|
|
97
|
+
} catch {
|
|
98
|
+
n = !0;
|
|
99
|
+
}
|
|
100
|
+
if (n) {
|
|
101
|
+
n = console;
|
|
102
|
+
var x = n.error, m = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
|
+
return x.call(
|
|
104
|
+
n,
|
|
105
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
+
m
|
|
107
|
+
), d(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function s(e) {
|
|
111
|
+
if (e === k) return "<>";
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
113
|
+
return "<...>";
|
|
114
|
+
try {
|
|
115
|
+
var n = o(e);
|
|
116
|
+
return n ? "<" + n + ">" : "<...>";
|
|
117
|
+
} catch {
|
|
118
|
+
return "<...>";
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function a() {
|
|
122
|
+
var e = R.A;
|
|
123
|
+
return e === null ? null : e.getOwner();
|
|
124
|
+
}
|
|
125
|
+
function t() {
|
|
126
|
+
return Error("react-stack-top-frame");
|
|
127
|
+
}
|
|
128
|
+
function u(e) {
|
|
129
|
+
if (L.call(e, "key")) {
|
|
130
|
+
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
|
+
if (n && n.isReactWarning) return !1;
|
|
132
|
+
}
|
|
133
|
+
return e.key !== void 0;
|
|
134
|
+
}
|
|
135
|
+
function c(e, n) {
|
|
136
|
+
function x() {
|
|
137
|
+
M || (M = !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
|
+
n
|
|
140
|
+
));
|
|
141
|
+
}
|
|
142
|
+
x.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
143
|
+
get: x,
|
|
144
|
+
configurable: !0
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function p() {
|
|
148
|
+
var e = o(this.type);
|
|
149
|
+
return D[e] || (D[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 f(e, n, x, m, _, O) {
|
|
154
|
+
var g = x.ref;
|
|
155
|
+
return e = {
|
|
156
|
+
$$typeof: h,
|
|
157
|
+
type: e,
|
|
158
|
+
key: n,
|
|
159
|
+
props: x,
|
|
160
|
+
_owner: m
|
|
161
|
+
}, (g !== void 0 ? g : null) !== null ? Object.defineProperty(e, "ref", {
|
|
162
|
+
enumerable: !1,
|
|
163
|
+
get: p
|
|
164
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
165
|
+
configurable: !1,
|
|
166
|
+
enumerable: !1,
|
|
167
|
+
writable: !0,
|
|
168
|
+
value: 0
|
|
169
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
170
|
+
configurable: !1,
|
|
171
|
+
enumerable: !1,
|
|
172
|
+
writable: !0,
|
|
173
|
+
value: null
|
|
174
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
175
|
+
configurable: !1,
|
|
176
|
+
enumerable: !1,
|
|
177
|
+
writable: !0,
|
|
178
|
+
value: _
|
|
179
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
180
|
+
configurable: !1,
|
|
181
|
+
enumerable: !1,
|
|
182
|
+
writable: !0,
|
|
183
|
+
value: O
|
|
184
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
185
|
+
}
|
|
186
|
+
function l(e, n, x, m, _, O) {
|
|
187
|
+
var g = n.children;
|
|
188
|
+
if (g !== void 0)
|
|
189
|
+
if (m)
|
|
190
|
+
if (te(g)) {
|
|
191
|
+
for (m = 0; m < g.length; m++)
|
|
192
|
+
b(g[m]);
|
|
193
|
+
Object.freeze && Object.freeze(g);
|
|
194
|
+
} else
|
|
195
|
+
console.error(
|
|
196
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
197
|
+
);
|
|
198
|
+
else b(g);
|
|
199
|
+
if (L.call(n, "key")) {
|
|
200
|
+
g = o(e);
|
|
201
|
+
var j = Object.keys(n).filter(function(ae) {
|
|
202
|
+
return ae !== "key";
|
|
203
|
+
});
|
|
204
|
+
m = 0 < j.length ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}", W[g + m] || (j = 0 < j.length ? "{" + j.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
205
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
206
|
+
let props = %s;
|
|
207
|
+
<%s {...props} />
|
|
208
|
+
React keys must be passed directly to JSX without using spread:
|
|
209
|
+
let props = %s;
|
|
210
|
+
<%s key={someKey} {...props} />`,
|
|
211
|
+
m,
|
|
212
|
+
g,
|
|
213
|
+
j,
|
|
214
|
+
g
|
|
215
|
+
), W[g + m] = !0);
|
|
216
|
+
}
|
|
217
|
+
if (g = null, x !== void 0 && (i(x), g = "" + x), u(n) && (i(n.key), g = "" + n.key), "key" in n) {
|
|
218
|
+
x = {};
|
|
219
|
+
for (var P in n)
|
|
220
|
+
P !== "key" && (x[P] = n[P]);
|
|
221
|
+
} else x = n;
|
|
222
|
+
return g && c(
|
|
223
|
+
x,
|
|
224
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
225
|
+
), f(
|
|
226
|
+
e,
|
|
227
|
+
g,
|
|
228
|
+
x,
|
|
229
|
+
a(),
|
|
230
|
+
_,
|
|
231
|
+
O
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
function b(e) {
|
|
235
|
+
v(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? v(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
236
|
+
}
|
|
237
|
+
function v(e) {
|
|
238
|
+
return typeof e == "object" && e !== null && e.$$typeof === h;
|
|
239
|
+
}
|
|
240
|
+
var w = se, h = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), G = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), q = Symbol.for("react.context"), J = Symbol.for("react.forward_ref"), Z = Symbol.for("react.suspense"), Q = Symbol.for("react.suspense_list"), K = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), ee = Symbol.for("react.activity"), re = Symbol.for("react.client.reference"), R = w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, te = Array.isArray, A = console.createTask ? console.createTask : function() {
|
|
241
|
+
return null;
|
|
242
|
+
};
|
|
243
|
+
w = {
|
|
244
|
+
react_stack_bottom_frame: function(e) {
|
|
245
|
+
return e();
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
var M, D = {}, Y = w.react_stack_bottom_frame.bind(
|
|
249
|
+
w,
|
|
250
|
+
t
|
|
251
|
+
)(), I = A(s(t)), W = {};
|
|
252
|
+
N.Fragment = k, N.jsx = function(e, n, x) {
|
|
253
|
+
var m = 1e4 > R.recentlyCreatedOwnerStacks++;
|
|
254
|
+
return l(
|
|
255
|
+
e,
|
|
256
|
+
n,
|
|
257
|
+
x,
|
|
258
|
+
!1,
|
|
259
|
+
m ? Error("react-stack-top-frame") : Y,
|
|
260
|
+
m ? A(s(e)) : I
|
|
261
|
+
);
|
|
262
|
+
}, N.jsxs = function(e, n, x) {
|
|
263
|
+
var m = 1e4 > R.recentlyCreatedOwnerStacks++;
|
|
264
|
+
return l(
|
|
265
|
+
e,
|
|
266
|
+
n,
|
|
267
|
+
x,
|
|
268
|
+
!0,
|
|
269
|
+
m ? Error("react-stack-top-frame") : Y,
|
|
270
|
+
m ? A(s(e)) : I
|
|
271
|
+
);
|
|
272
|
+
};
|
|
273
|
+
}()), N;
|
|
274
|
+
}
|
|
275
|
+
process.env.NODE_ENV === "production" ? S.exports = ne() : S.exports = oe();
|
|
276
|
+
var r = S.exports;
|
|
277
|
+
const le = ({
|
|
278
|
+
src: o,
|
|
279
|
+
alt: d = "Avatar",
|
|
280
|
+
size: i = "md",
|
|
281
|
+
imageFit: s = "cover",
|
|
282
|
+
customStyles: a = {},
|
|
283
|
+
className: t = ""
|
|
284
|
+
}) => {
|
|
285
|
+
const u = {
|
|
286
|
+
sm: "h-8 w-8",
|
|
287
|
+
md: "h-12 w-12",
|
|
288
|
+
lg: "h-16 w-16",
|
|
289
|
+
xl: "h-32 w-32"
|
|
290
|
+
}, c = s === "contain" ? "object-contain" : "object-cover";
|
|
291
|
+
return /* @__PURE__ */ r.jsx("div", { className: `
|
|
292
|
+
ds-avatar relative rounded-full overflow-hidden bg-gray-100 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 flex-shrink-0
|
|
293
|
+
${u[i]}
|
|
294
|
+
${a.container || ""}
|
|
295
|
+
${t}
|
|
296
|
+
`, children: /* @__PURE__ */ r.jsx(
|
|
297
|
+
"img",
|
|
298
|
+
{
|
|
299
|
+
src: o,
|
|
300
|
+
alt: d,
|
|
301
|
+
className: `
|
|
302
|
+
w-full h-full
|
|
303
|
+
${c}
|
|
304
|
+
${a.image || ""}
|
|
305
|
+
`
|
|
306
|
+
}
|
|
307
|
+
) });
|
|
308
|
+
}, H = ({
|
|
309
|
+
label: o,
|
|
310
|
+
variant: d = "primary",
|
|
311
|
+
customStyles: i = {},
|
|
312
|
+
className: s = ""
|
|
313
|
+
}) => {
|
|
314
|
+
const a = "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium transition-colors", t = {
|
|
315
|
+
primary: "bg-blue-100 text-blue-800 dark:bg-blue-900/50 dark:text-blue-200",
|
|
316
|
+
secondary: "bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300",
|
|
317
|
+
outline: "border border-gray-300 text-gray-600 dark:border-gray-600 dark:text-gray-400 bg-transparent",
|
|
318
|
+
success: "bg-green-100 text-green-800 dark:bg-green-900/50 dark:text-green-200"
|
|
319
|
+
};
|
|
320
|
+
return /* @__PURE__ */ r.jsx("span", { className: `
|
|
321
|
+
ds-badge
|
|
322
|
+
${a}
|
|
323
|
+
${t[d]}
|
|
324
|
+
${i.container || ""}
|
|
325
|
+
${s}
|
|
326
|
+
`, children: o });
|
|
327
|
+
}, $ = ({
|
|
328
|
+
label: o,
|
|
329
|
+
variant: d = "primary",
|
|
330
|
+
size: i = "medium",
|
|
331
|
+
onClick: s,
|
|
332
|
+
className: a = "",
|
|
333
|
+
href: t,
|
|
334
|
+
target: u
|
|
335
|
+
}) => {
|
|
336
|
+
const c = "inline-flex justify-center items-center font-bold rounded-lg cursor-pointer transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 no-underline", p = {
|
|
337
|
+
primary: "bg-blue-600 text-white hover:bg-blue-700 focus:ring-blue-500 border-2 border-transparent",
|
|
338
|
+
secondary: "bg-gray-100 text-gray-800 hover:bg-gray-200 focus:ring-gray-500 border-2 border-transparent",
|
|
339
|
+
danger: "bg-red-500 text-white hover:bg-red-600 focus:ring-red-500 border-2 border-transparent",
|
|
340
|
+
outline: "bg-transparent text-blue-600 border-2 border-blue-600 hover:bg-blue-50 focus:ring-blue-500"
|
|
341
|
+
}, f = {
|
|
342
|
+
small: "px-3 py-1.5 text-sm",
|
|
343
|
+
medium: "px-5 py-2.5 text-base",
|
|
344
|
+
large: "px-8 py-3.5 text-lg"
|
|
345
|
+
}, l = `${c} ${p[d]} ${f[i]} ${a}`;
|
|
346
|
+
return t ? /* @__PURE__ */ r.jsx(
|
|
347
|
+
"a",
|
|
348
|
+
{
|
|
349
|
+
href: t,
|
|
350
|
+
className: l,
|
|
351
|
+
target: u,
|
|
352
|
+
rel: u === "_blank" ? "noopener noreferrer" : void 0,
|
|
353
|
+
onClick: s,
|
|
354
|
+
children: o
|
|
355
|
+
}
|
|
356
|
+
) : /* @__PURE__ */ r.jsx(
|
|
357
|
+
"button",
|
|
358
|
+
{
|
|
359
|
+
type: "button",
|
|
360
|
+
className: l,
|
|
361
|
+
onClick: s,
|
|
362
|
+
children: o
|
|
363
|
+
}
|
|
364
|
+
);
|
|
365
|
+
}, de = ({ label: o, error: d, className: i, ...s }) => /* @__PURE__ */ r.jsxs("div", { className: "w-full", children: [
|
|
366
|
+
o && /* @__PURE__ */ r.jsx("label", { className: "block text-sm font-medium text-gray-700 mb-1", children: o }),
|
|
367
|
+
/* @__PURE__ */ r.jsx(
|
|
368
|
+
"input",
|
|
369
|
+
{
|
|
370
|
+
className: `
|
|
371
|
+
w-full px-3 py-2 border rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 transition-all
|
|
372
|
+
${d ? "border-red-500 focus:ring-red-500" : "border-gray-300"}
|
|
373
|
+
${i}
|
|
374
|
+
`,
|
|
375
|
+
...s
|
|
376
|
+
}
|
|
377
|
+
),
|
|
378
|
+
d && /* @__PURE__ */ r.jsx("p", { className: "mt-1 text-xs text-red-500", children: d })
|
|
379
|
+
] }), V = ({
|
|
380
|
+
iconSun: o,
|
|
381
|
+
iconMoon: d,
|
|
382
|
+
sunImage: i,
|
|
383
|
+
moonImage: s,
|
|
384
|
+
imageFit: a = "contain",
|
|
385
|
+
customStyles: t = {},
|
|
386
|
+
className: u = ""
|
|
387
|
+
}) => {
|
|
388
|
+
const [c, p] = C(!1);
|
|
389
|
+
B(() => {
|
|
390
|
+
const h = () => {
|
|
391
|
+
const k = document.documentElement.classList.contains("dark");
|
|
392
|
+
p(k);
|
|
393
|
+
};
|
|
394
|
+
h();
|
|
395
|
+
const E = new MutationObserver(h);
|
|
396
|
+
return E.observe(document.documentElement, { attributes: !0, attributeFilter: ["class"] }), () => E.disconnect();
|
|
397
|
+
}, []);
|
|
398
|
+
const f = () => {
|
|
399
|
+
const h = document.documentElement;
|
|
400
|
+
h.classList.contains("dark") ? (h.classList.remove("dark"), localStorage.setItem("theme", "light")) : (h.classList.add("dark"), localStorage.setItem("theme", "dark"));
|
|
401
|
+
}, l = `w-6 h-6 ${t.icon || ""}`, b = /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: l, fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ r.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z" }) }), v = /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: l, fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ r.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z" }) }), w = () => {
|
|
402
|
+
const h = a === "contain" ? "object-contain" : "object-cover";
|
|
403
|
+
return c ? i ? /* @__PURE__ */ r.jsx("img", { src: i, alt: "Light Mode", className: `${l} ${h}` }) : o || b : s ? /* @__PURE__ */ r.jsx("img", { src: s, alt: "Dark Mode", className: `${l} ${h}` }) : d || v;
|
|
404
|
+
};
|
|
405
|
+
return /* @__PURE__ */ r.jsx(
|
|
406
|
+
"button",
|
|
407
|
+
{
|
|
408
|
+
onClick: f,
|
|
409
|
+
title: c ? "Switch to light mode" : "Switch to dark mode",
|
|
410
|
+
className: `
|
|
411
|
+
p-2 rounded-full transition-all duration-300 ease-in-out
|
|
412
|
+
focus:outline-none focus:ring-2 focus:ring-blue-500 hover:rotate-12 hover:scale-110 overflow-hidden
|
|
413
|
+
|
|
414
|
+
${c ? "bg-gray-700 text-yellow-300 hover:bg-gray-600" : "bg-gray-200 text-gray-600 hover:bg-gray-300"}
|
|
415
|
+
|
|
416
|
+
${t.container || ""}
|
|
417
|
+
${u}
|
|
418
|
+
`,
|
|
419
|
+
children: w()
|
|
420
|
+
}
|
|
421
|
+
);
|
|
422
|
+
}, ie = ({
|
|
423
|
+
title: o,
|
|
424
|
+
description: d,
|
|
425
|
+
image: i,
|
|
426
|
+
tags: s = [],
|
|
427
|
+
orientation: a = "vertical",
|
|
428
|
+
actionLabel: t = "View Project",
|
|
429
|
+
projectUrl: u,
|
|
430
|
+
linkTarget: c = "_self",
|
|
431
|
+
onViewProject: p,
|
|
432
|
+
customStyles: f = {},
|
|
433
|
+
className: l = ""
|
|
434
|
+
}) => {
|
|
435
|
+
const b = a === "horizontal";
|
|
436
|
+
return /* @__PURE__ */ r.jsxs("div", { className: `
|
|
437
|
+
/* 1. IDENTIFIER CLASS */
|
|
438
|
+
ds-card
|
|
439
|
+
|
|
440
|
+
/* 2. BASE STRUCTURE */
|
|
441
|
+
group w-full rounded-xl overflow-hidden border transition-all duration-300
|
|
442
|
+
/* Switch layout based on orientation prop */
|
|
443
|
+
${b ? "flex flex-col md:flex-row" : "flex flex-col"}
|
|
444
|
+
|
|
445
|
+
/* 3. LIGHT MODE (Default) */
|
|
446
|
+
/* White background, gray border, black shadow on hover */
|
|
447
|
+
bg-white border-gray-100 shadow-lg hover:shadow-xl hover:-translate-y-1
|
|
448
|
+
|
|
449
|
+
/* 4. DARK MODE (Overrides) */
|
|
450
|
+
/* Dark background and border */
|
|
451
|
+
dark:bg-gray-800 dark:border-gray-700
|
|
452
|
+
|
|
453
|
+
/* IMPORTANT: */
|
|
454
|
+
/* 1. Remove base shadow */
|
|
455
|
+
dark:shadow-none
|
|
456
|
+
|
|
457
|
+
/* 2. Remove black hover shadow */
|
|
458
|
+
dark:hover:shadow-none
|
|
459
|
+
|
|
460
|
+
/* 3. APPLY PORTABLE WHITE SHADOW (No external config) */
|
|
461
|
+
/* Syntax: shadow-[X_Y_Blur_Spread_Color] */
|
|
462
|
+
/* Use ! to force priority */
|
|
463
|
+
/* 0 (X) | 20px (Y, falls down) | 25px (Blur) | -5px (Spread) | Color */
|
|
464
|
+
dark:hover:!shadow-[0_20px_25px_-5px_rgba(255,255,255,0.30)]
|
|
465
|
+
|
|
466
|
+
/* 5. EXTERNAL INJECTIONS */
|
|
467
|
+
${f.container || ""}
|
|
468
|
+
${l}
|
|
469
|
+
`, children: [
|
|
470
|
+
/* @__PURE__ */ r.jsxs("div", { className: `
|
|
471
|
+
ds-card-image overflow-hidden relative
|
|
472
|
+
${b ? "w-full h-48 md:w-2/5 md:h-auto" : "w-full h-48"}
|
|
473
|
+
${f.imageWrapper || ""}
|
|
474
|
+
`, children: [
|
|
475
|
+
/* @__PURE__ */ r.jsx(
|
|
476
|
+
"img",
|
|
477
|
+
{
|
|
478
|
+
src: i,
|
|
479
|
+
alt: o,
|
|
480
|
+
className: "w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"
|
|
481
|
+
}
|
|
482
|
+
),
|
|
483
|
+
/* @__PURE__ */ r.jsx("div", { className: "absolute inset-0 bg-transparent dark:bg-black/20 transition-colors pointer-events-none" })
|
|
484
|
+
] }),
|
|
485
|
+
/* @__PURE__ */ r.jsxs("div", { className: `ds-card-content p-6 flex flex-col justify-between flex-1 ${f.content || ""}`, children: [
|
|
486
|
+
/* @__PURE__ */ r.jsxs("div", { children: [
|
|
487
|
+
/* @__PURE__ */ r.jsx("h3", { className: `
|
|
488
|
+
ds-card-title text-2xl font-bold mb-3 transition-colors text-gray-900 dark:text-white
|
|
489
|
+
${f.title || ""}
|
|
490
|
+
`, children: o }),
|
|
491
|
+
/* @__PURE__ */ r.jsx("p", { className: `
|
|
492
|
+
ds-card-description mb-4 line-clamp-3 leading-relaxed transition-colors text-gray-600 dark:text-gray-300
|
|
493
|
+
${f.description || ""}
|
|
494
|
+
`, children: d }),
|
|
495
|
+
/* @__PURE__ */ r.jsx("div", { className: `ds-card-tags flex flex-wrap gap-2 mb-6 ${f.tagsContainer || ""}`, children: s.map((v) => /* @__PURE__ */ r.jsx(H, { label: v, variant: "secondary" }, v)) })
|
|
496
|
+
] }),
|
|
497
|
+
/* @__PURE__ */ r.jsx("div", { className: "ds-card-actions flex justify-start mt-auto", children: /* @__PURE__ */ r.jsx(
|
|
498
|
+
$,
|
|
499
|
+
{
|
|
500
|
+
label: t,
|
|
501
|
+
onClick: p,
|
|
502
|
+
href: u,
|
|
503
|
+
target: c,
|
|
504
|
+
size: "medium",
|
|
505
|
+
variant: "primary"
|
|
506
|
+
}
|
|
507
|
+
) })
|
|
508
|
+
] })
|
|
509
|
+
] });
|
|
510
|
+
}, ue = ({
|
|
511
|
+
title: o = "Featured Content",
|
|
512
|
+
items: d,
|
|
513
|
+
layout: i = "grid",
|
|
514
|
+
itemButtonLabel: s = "View Details",
|
|
515
|
+
onItemClick: a,
|
|
516
|
+
customStyles: t = {}
|
|
517
|
+
}) => {
|
|
518
|
+
const u = i === "grid" ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" : "flex flex-col gap-12 max-w-4xl mx-auto";
|
|
519
|
+
return /* @__PURE__ */ r.jsx("section", { className: `
|
|
520
|
+
py-16 px-4 transition-colors duration-300
|
|
521
|
+
bg-gray-50 dark:bg-gray-900
|
|
522
|
+
${t.container || ""}
|
|
523
|
+
`, children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-7xl mx-auto", children: [
|
|
524
|
+
o && /* @__PURE__ */ r.jsxs("div", { className: "mb-12 text-start", children: [
|
|
525
|
+
/* @__PURE__ */ r.jsx("h2", { className: `
|
|
526
|
+
text-4xl font-extrabold mb-4 tracking-tight transition-colors
|
|
527
|
+
text-gray-900 dark:text-white
|
|
528
|
+
${t.title || ""}
|
|
529
|
+
`, children: o }),
|
|
530
|
+
/* @__PURE__ */ r.jsx("div", { className: "h-1.5 w-24 bg-blue-600 mx-auto rounded-full" })
|
|
531
|
+
] }),
|
|
532
|
+
/* @__PURE__ */ r.jsx("div", { className: u, children: d.map((c) => /* @__PURE__ */ r.jsx(
|
|
533
|
+
ie,
|
|
534
|
+
{
|
|
535
|
+
title: c.title,
|
|
536
|
+
description: c.description,
|
|
537
|
+
image: c.image,
|
|
538
|
+
tags: c.tags,
|
|
539
|
+
projectUrl: c.url,
|
|
540
|
+
orientation: i === "list" ? "horizontal" : "vertical",
|
|
541
|
+
actionLabel: s,
|
|
542
|
+
onViewProject: () => a == null ? void 0 : a(c.id)
|
|
543
|
+
},
|
|
544
|
+
c.id
|
|
545
|
+
)) })
|
|
546
|
+
] }) });
|
|
547
|
+
}, xe = ({
|
|
548
|
+
copyrightOwner: o,
|
|
549
|
+
copyrightText: d = `© ${(/* @__PURE__ */ new Date()).getFullYear()} All rights reserved.`,
|
|
550
|
+
socialLinks: i,
|
|
551
|
+
secondaryLinks: s = [],
|
|
552
|
+
customStyles: a = {}
|
|
553
|
+
}) => /* @__PURE__ */ r.jsx("footer", { className: `
|
|
554
|
+
py-12 border-t transition-colors duration-300
|
|
555
|
+
/* Light: Very dark background (almost black) */
|
|
556
|
+
bg-gray-900 text-white border-gray-800
|
|
557
|
+
/* Dark: Pure black or very dark gray background */
|
|
558
|
+
dark:bg-black dark:border-gray-800
|
|
559
|
+
${a.container || ""}
|
|
560
|
+
`, children: /* @__PURE__ */ r.jsx("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ r.jsxs("div", { className: "flex flex-col md:flex-row justify-between items-center gap-6", children: [
|
|
561
|
+
/* @__PURE__ */ r.jsxs("div", { className: `text-center md:text-left ${a.text || ""}`, children: [
|
|
562
|
+
/* @__PURE__ */ r.jsx("p", { className: "text-lg font-bold text-white", children: o }),
|
|
563
|
+
/* @__PURE__ */ r.jsx("p", { className: "text-gray-400 text-sm mt-1", children: d })
|
|
564
|
+
] }),
|
|
565
|
+
s.length > 0 && /* @__PURE__ */ r.jsx("div", { className: "flex gap-6 flex-wrap justify-center", children: s.map((t) => /* @__PURE__ */ r.jsx(
|
|
566
|
+
"a",
|
|
567
|
+
{
|
|
568
|
+
href: t.href,
|
|
569
|
+
className: `text-gray-400 hover:text-blue-400 text-sm transition-colors ${a.link || ""}`,
|
|
570
|
+
children: t.label
|
|
571
|
+
},
|
|
572
|
+
t.label
|
|
573
|
+
)) }),
|
|
574
|
+
/* @__PURE__ */ r.jsx("div", { className: "flex space-x-6", children: i.map((t) => /* @__PURE__ */ r.jsx(
|
|
575
|
+
"a",
|
|
576
|
+
{
|
|
577
|
+
href: t.url,
|
|
578
|
+
target: "_blank",
|
|
579
|
+
rel: "noopener noreferrer",
|
|
580
|
+
className: `text-gray-400 hover:text-white transition-colors text-sm font-medium uppercase tracking-wider ${a.link || ""}`,
|
|
581
|
+
children: t.platform
|
|
582
|
+
},
|
|
583
|
+
t.platform
|
|
584
|
+
)) })
|
|
585
|
+
] }) }) }), fe = ({
|
|
586
|
+
greeting: o = "Hello",
|
|
587
|
+
title: d,
|
|
588
|
+
subtitle: i,
|
|
589
|
+
imageUrl: s,
|
|
590
|
+
actions: a = [],
|
|
591
|
+
customStyles: t = {}
|
|
592
|
+
}) => {
|
|
593
|
+
const u = s ? "flex flex-col lg:flex-row items-center gap-12 lg:gap-16" : "flex flex-col items-center text-center max-w-4xl mx-auto", c = s ? "flex-1 text-center lg:text-left" : "w-full", p = s ? "justify-center lg:justify-start" : "justify-center";
|
|
594
|
+
return /* @__PURE__ */ r.jsx("section", { className: `
|
|
595
|
+
relative pt-32 pb-16 lg:pt-40 lg:pb-24 overflow-hidden transition-colors duration-300
|
|
596
|
+
bg-white dark:bg-gray-900
|
|
597
|
+
${t.container || ""}
|
|
598
|
+
`, children: /* @__PURE__ */ r.jsx("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ r.jsxs("div", { className: u, children: [
|
|
599
|
+
/* @__PURE__ */ r.jsxs("div", { className: `${c} ${t.content || ""}`, children: [
|
|
600
|
+
o && /* @__PURE__ */ r.jsx("p", { className: "text-blue-600 dark:text-blue-400 font-semibold tracking-wide uppercase text-sm mb-4", children: o }),
|
|
601
|
+
/* @__PURE__ */ r.jsx("h1", { className: `
|
|
602
|
+
text-4xl sm:text-5xl lg:text-6xl font-bold leading-tight mb-6 transition-colors
|
|
603
|
+
text-gray-900 dark:text-white
|
|
604
|
+
${t.title || ""}
|
|
605
|
+
`, children: d }),
|
|
606
|
+
/* @__PURE__ */ r.jsx("p", { className: `
|
|
607
|
+
text-lg sm:text-xl mb-8 leading-relaxed transition-colors
|
|
608
|
+
text-gray-500 dark:text-gray-400
|
|
609
|
+
${!s && "mx-auto max-w-2xl"}
|
|
610
|
+
${t.subtitle || ""}
|
|
611
|
+
`, children: i }),
|
|
612
|
+
a.length > 0 && /* @__PURE__ */ r.jsx("div", { className: `flex flex-col sm:flex-row gap-4 ${p}`, children: a.map((f, l) => /* @__PURE__ */ r.jsx(
|
|
613
|
+
$,
|
|
614
|
+
{
|
|
615
|
+
label: f.label,
|
|
616
|
+
variant: f.variant || "primary",
|
|
617
|
+
size: "large",
|
|
618
|
+
onClick: f.onClick,
|
|
619
|
+
className: "w-full sm:w-auto"
|
|
620
|
+
},
|
|
621
|
+
l
|
|
622
|
+
)) })
|
|
623
|
+
] }),
|
|
624
|
+
s && /* @__PURE__ */ r.jsx("div", { className: `
|
|
625
|
+
flex-1 w-full max-w-md lg:max-w-full relative
|
|
626
|
+
${t.imageWrapper || ""}
|
|
627
|
+
`, children: /* @__PURE__ */ r.jsxs("div", { className: "relative rounded-2xl overflow-hidden shadow-2xl dark:shadow-none dark:border dark:border-gray-800 aspect-[4/3] group", children: [
|
|
628
|
+
/* @__PURE__ */ r.jsx("div", { className: "absolute inset-0 bg-gray-900/5 dark:bg-black/20 group-hover:bg-transparent transition-colors duration-500" }),
|
|
629
|
+
/* @__PURE__ */ r.jsx(
|
|
630
|
+
"img",
|
|
631
|
+
{
|
|
632
|
+
src: s,
|
|
633
|
+
alt: "Hero Visual",
|
|
634
|
+
className: "w-full h-full object-cover transform transition-transform duration-700 hover:scale-105"
|
|
635
|
+
}
|
|
636
|
+
)
|
|
637
|
+
] }) })
|
|
638
|
+
] }) }) });
|
|
639
|
+
}, me = ({
|
|
640
|
+
logo: o = "Marc.Dev",
|
|
641
|
+
isLogoImage: d = !1,
|
|
642
|
+
links: i,
|
|
643
|
+
actions: s = [],
|
|
644
|
+
customStyles: a = {}
|
|
645
|
+
}) => {
|
|
646
|
+
const [t, u] = C(!1), [c, p] = C(!1);
|
|
647
|
+
B(() => {
|
|
648
|
+
const l = () => p(window.scrollY > 20);
|
|
649
|
+
return window.addEventListener("scroll", l), () => window.removeEventListener("scroll", l);
|
|
650
|
+
}, []);
|
|
651
|
+
const f = (l, b) => {
|
|
652
|
+
l.preventDefault();
|
|
653
|
+
const v = document.querySelector(b);
|
|
654
|
+
v && (v.scrollIntoView({ behavior: "smooth" }), u(!1));
|
|
655
|
+
};
|
|
656
|
+
return /* @__PURE__ */ r.jsxs(
|
|
657
|
+
"nav",
|
|
658
|
+
{
|
|
659
|
+
className: `
|
|
660
|
+
fixed top-0 left-0 right-0 z-50 transition-all duration-300
|
|
661
|
+
|
|
662
|
+
${c || t ? "bg-white/90 dark:bg-gray-900/90 backdrop-blur-md shadow-sm border-b border-gray-100 dark:border-gray-800" : "bg-transparent"}
|
|
663
|
+
${a.container || ""}
|
|
664
|
+
`,
|
|
665
|
+
children: [
|
|
666
|
+
/* @__PURE__ */ r.jsx("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ r.jsxs("div", { className: "flex justify-between items-center h-20", children: [
|
|
667
|
+
/* @__PURE__ */ r.jsx("div", { className: `flex-shrink-0 cursor-pointer flex items-center ${a.logo || ""}`, onClick: () => window.scrollTo({ top: 0, behavior: "smooth" }), children: d ? /* @__PURE__ */ r.jsx("img", { src: o, alt: "Logo", className: "h-8 w-auto" }) : /* @__PURE__ */ r.jsx("span", { className: "text-2xl font-bold text-gray-900 dark:text-white tracking-tighter hover:text-blue-600 dark:hover:text-blue-400 transition-colors", children: o }) }),
|
|
668
|
+
/* @__PURE__ */ r.jsxs("div", { className: "hidden md:flex space-x-8 items-center", children: [
|
|
669
|
+
i.map((l) => /* @__PURE__ */ r.jsx(
|
|
670
|
+
"a",
|
|
671
|
+
{
|
|
672
|
+
href: l.href,
|
|
673
|
+
onClick: (b) => f(b, l.href),
|
|
674
|
+
className: `
|
|
675
|
+
text-sm font-medium transition-colors
|
|
676
|
+
hover:text-blue-600 dark:hover:text-blue-400
|
|
677
|
+
${l.active ? "text-blue-600 dark:text-blue-400" : "text-gray-600 dark:text-gray-300"}
|
|
678
|
+
${a.link || ""}
|
|
679
|
+
`,
|
|
680
|
+
children: l.label
|
|
681
|
+
},
|
|
682
|
+
l.label
|
|
683
|
+
)),
|
|
684
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-4 pl-6 border-l border-gray-200 dark:border-gray-700", children: [
|
|
685
|
+
/* @__PURE__ */ r.jsx(V, {}),
|
|
686
|
+
s.map((l, b) => /* @__PURE__ */ r.jsx($, { ...l, size: "small" }, b))
|
|
687
|
+
] })
|
|
688
|
+
] }),
|
|
689
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-4 md:hidden", children: [
|
|
690
|
+
/* @__PURE__ */ r.jsx(V, {}),
|
|
691
|
+
/* @__PURE__ */ r.jsx(
|
|
692
|
+
"button",
|
|
693
|
+
{
|
|
694
|
+
onClick: () => u(!t),
|
|
695
|
+
className: "p-2 rounded-md text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors focus:outline-none",
|
|
696
|
+
children: /* @__PURE__ */ r.jsx("svg", { className: "h-6 w-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: t ? /* @__PURE__ */ r.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) : /* @__PURE__ */ r.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16M4 18h16" }) })
|
|
697
|
+
}
|
|
698
|
+
)
|
|
699
|
+
] })
|
|
700
|
+
] }) }),
|
|
701
|
+
/* @__PURE__ */ r.jsx(
|
|
702
|
+
"div",
|
|
703
|
+
{
|
|
704
|
+
className: `
|
|
705
|
+
md:hidden absolute top-20 left-0 w-full
|
|
706
|
+
bg-white dark:bg-gray-900 border-b border-gray-100 dark:border-gray-800
|
|
707
|
+
shadow-xl transition-all duration-300 ease-in-out origin-top
|
|
708
|
+
${t ? "opacity-100 scale-y-100" : "opacity-0 scale-y-0 h-0 overflow-hidden"}
|
|
709
|
+
${a.mobileMenu || ""}
|
|
710
|
+
`,
|
|
711
|
+
children: /* @__PURE__ */ r.jsxs("div", { className: "px-6 py-6 space-y-4 flex flex-col items-center", children: [
|
|
712
|
+
i.map((l) => /* @__PURE__ */ r.jsx(
|
|
713
|
+
"a",
|
|
714
|
+
{
|
|
715
|
+
href: l.href,
|
|
716
|
+
onClick: (b) => f(b, l.href),
|
|
717
|
+
className: "block text-lg font-medium text-gray-800 dark:text-gray-200 hover:text-blue-600 dark:hover:text-blue-400 transition-colors",
|
|
718
|
+
children: l.label
|
|
719
|
+
},
|
|
720
|
+
l.label
|
|
721
|
+
)),
|
|
722
|
+
s.length > 0 && /* @__PURE__ */ r.jsx("div", { className: "pt-4 w-full flex flex-col gap-3", children: s.map((l, b) => /* @__PURE__ */ r.jsx($, { ...l, size: "medium", className: "w-full" }, b)) })
|
|
723
|
+
] })
|
|
724
|
+
}
|
|
725
|
+
)
|
|
726
|
+
]
|
|
727
|
+
}
|
|
728
|
+
);
|
|
729
|
+
}, ge = ({
|
|
730
|
+
title: o = "About Me",
|
|
731
|
+
avatarUrl: d,
|
|
732
|
+
bio: i,
|
|
733
|
+
skillsTitle: s = "Tech Stack",
|
|
734
|
+
skills: a = [],
|
|
735
|
+
customStyles: t = {},
|
|
736
|
+
id: u
|
|
737
|
+
}) => /* @__PURE__ */ r.jsx(
|
|
738
|
+
"section",
|
|
739
|
+
{
|
|
740
|
+
id: u,
|
|
741
|
+
className: `
|
|
742
|
+
py-20 transition-colors duration-300
|
|
743
|
+
bg-white dark:bg-gray-900 border-y border-gray-100 dark:border-gray-800
|
|
744
|
+
${t.container || ""}
|
|
745
|
+
`,
|
|
746
|
+
children: /* @__PURE__ */ r.jsxs("div", { className: `max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 ${t.contentWrapper || ""}`, children: [
|
|
747
|
+
o && /* @__PURE__ */ r.jsxs("div", { className: "text-center mb-12", children: [
|
|
748
|
+
/* @__PURE__ */ r.jsx("h2", { className: `
|
|
749
|
+
text-3xl font-bold text-gray-900 dark:text-white transition-colors
|
|
750
|
+
${t.title || ""}
|
|
751
|
+
`, children: o }),
|
|
752
|
+
/* @__PURE__ */ r.jsx("div", { className: "mt-2 h-1 w-20 bg-blue-600 mx-auto rounded" })
|
|
753
|
+
] }),
|
|
754
|
+
/* @__PURE__ */ r.jsxs("div", { className: "flex flex-col md:flex-row items-center gap-12", children: [
|
|
755
|
+
/* @__PURE__ */ r.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ r.jsx(le, { src: d, size: "xl" }) }),
|
|
756
|
+
/* @__PURE__ */ r.jsxs("div", { className: `text-lg text-gray-600 dark:text-gray-300 leading-relaxed ${t.textWrapper || ""}`, children: [
|
|
757
|
+
/* @__PURE__ */ r.jsx("p", { className: `mb-8 whitespace-pre-line ${t.bio || ""}`, children: i }),
|
|
758
|
+
a.length > 0 && /* @__PURE__ */ r.jsxs("div", { children: [
|
|
759
|
+
s && /* @__PURE__ */ r.jsx("h3", { className: `
|
|
760
|
+
text-sm font-bold text-gray-900 dark:text-white uppercase tracking-wide mb-3
|
|
761
|
+
${t.skillsTitle || ""}
|
|
762
|
+
`, children: s }),
|
|
763
|
+
/* @__PURE__ */ r.jsx("div", { className: "flex flex-wrap gap-2", children: a.map((c) => /* @__PURE__ */ r.jsx(H, { label: c, variant: "secondary" }, c)) })
|
|
764
|
+
] })
|
|
765
|
+
] })
|
|
766
|
+
] })
|
|
767
|
+
] })
|
|
768
|
+
}
|
|
769
|
+
);
|
|
770
|
+
export {
|
|
771
|
+
le as Avatar,
|
|
772
|
+
H as Badge,
|
|
773
|
+
$ as Button,
|
|
774
|
+
ue as ContentGrid,
|
|
775
|
+
xe as Footer,
|
|
776
|
+
fe as Hero,
|
|
777
|
+
de as Input,
|
|
778
|
+
me as Navbar,
|
|
779
|
+
ge as ProfileSection,
|
|
780
|
+
ie as ProjectCard,
|
|
781
|
+
V as ThemeToggle
|
|
782
|
+
};
|