@dcrackel/meyersquaredui 1.0.38 → 1.0.40
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/dist/meyersquaredui.es.js +1321 -178
- package/dist/meyersquaredui.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/index.js +8 -0
- package/src/stories/Atoms/BaseButton/BaseButton.vue +3 -3
- package/src/stories/Atoms/BaseText/BaseText.vue +1 -1
- package/src/stories/Organisms/Cards/ArticleCard/ArticleCard.stories.js +14 -4
- package/src/stories/Organisms/Cards/ArticleCard/ArticleCard.vue +10 -1
- package/src/stories/Organisms/Cards/FencerCard/FencerCard.stories.js +10 -15
- package/src/stories/Organisms/Cards/FencerCard/FencerCard.vue +12 -4
- package/src/stories/Organisms/Cards/Skeletons/ArticleCardSkeleton.vue +20 -0
- package/src/stories/Organisms/Cards/Skeletons/FencingCardSkeleton.vue +28 -0
- package/src/stories/Organisms/Cards/Skeletons/TournamentCardSkeleton.vue +45 -0
- package/src/stories/Organisms/Cards/TournamentCard/TournamentCard.stories.js +9 -7
- package/src/stories/Organisms/Cards/TournamentCard/TournamentCard.vue +10 -1
- package/src/stories/Organisms/GridLayout/GridLayout.stories.js +34 -98
- package/src/stories/Organisms/GridLayout/GridLayout.vue +6 -1
- package/src/stories/Templates/HomePage/{TestPage.stories.js → HomePage.stories.js} +17 -2
- package/src/stories/Templates/HomePage/{TestPage.vue → HomePage.vue} +17 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
|
|
6
|
-
return
|
|
7
|
-
},
|
|
1
|
+
import { openBlock as m, createBlock as L, resolveDynamicComponent as F, normalizeClass as C, withCtx as i, renderSlot as j, createElementBlock as g, resolveComponent as c, createElementVNode as t, createVNode as s, createTextVNode as d, toDisplayString as b, mergeProps as Y, Fragment as A, normalizeStyle as S, createCommentVNode as w, createStaticVNode as E, withModifiers as N, renderList as _ } from "vue";
|
|
2
|
+
const p = (o, e) => {
|
|
3
|
+
const r = o.__vccOpts || o;
|
|
4
|
+
for (const [f, u] of e)
|
|
5
|
+
r[f] = u;
|
|
6
|
+
return r;
|
|
7
|
+
}, D = {
|
|
8
8
|
name: "BaseText",
|
|
9
9
|
props: {
|
|
10
10
|
tag: {
|
|
11
11
|
type: String,
|
|
12
12
|
default: "p",
|
|
13
|
-
validator: (
|
|
13
|
+
validator: (o) => ["h1", "h2", "h3", "h4", "h5", "h6", "p", "span", "div"].includes(o)
|
|
14
14
|
},
|
|
15
15
|
size: {
|
|
16
16
|
type: String,
|
|
@@ -27,12 +27,12 @@ const g = (e, r) => {
|
|
|
27
27
|
weight: {
|
|
28
28
|
type: String,
|
|
29
29
|
default: "normal",
|
|
30
|
-
validator: (
|
|
30
|
+
validator: (o) => ["thin", "light", "normal", "semibold", "bold"].includes(o)
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
computed: {
|
|
34
34
|
textClasses() {
|
|
35
|
-
const
|
|
35
|
+
const o = {
|
|
36
36
|
xs: "text-xs",
|
|
37
37
|
sm: "text-sm",
|
|
38
38
|
md: "lg:text-base",
|
|
@@ -42,31 +42,31 @@ const g = (e, r) => {
|
|
|
42
42
|
"3xl": "text-3xl",
|
|
43
43
|
"4xl": "text-4xl",
|
|
44
44
|
"5xl": "text-5xl"
|
|
45
|
-
},
|
|
45
|
+
}, e = {
|
|
46
46
|
thin: "font-thin font-[100]",
|
|
47
47
|
light: "font-light font-[300]",
|
|
48
48
|
normal: "font-normal font-[400]",
|
|
49
49
|
semibold: "font-semibold font-[600]",
|
|
50
50
|
bold: "font-bold font-[700]"
|
|
51
|
-
},
|
|
52
|
-
return `${this.size.split(" ").map((
|
|
53
|
-
const [
|
|
54
|
-
return
|
|
55
|
-
}).filter(Boolean).join(" ")} ${
|
|
51
|
+
}, r = this.hoverColor ? ` hover:text-${this.hoverColor}` : "";
|
|
52
|
+
return `${this.size.split(" ").map((u) => {
|
|
53
|
+
const [l, n] = u.includes(":") ? u.split(":") : [null, u];
|
|
54
|
+
return l ? `${l}:${o[n]}` : o[n];
|
|
55
|
+
}).filter(Boolean).join(" ")} ${e[this.weight]} text-${this.color} ${r} font-raleway`;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
function
|
|
60
|
-
return
|
|
61
|
-
class:
|
|
59
|
+
function U(o, e, r, f, u, l) {
|
|
60
|
+
return m(), L(F(r.tag), {
|
|
61
|
+
class: C(l.textClasses)
|
|
62
62
|
}, {
|
|
63
|
-
default:
|
|
64
|
-
|
|
63
|
+
default: i(() => [
|
|
64
|
+
j(o.$slots, "default")
|
|
65
65
|
]),
|
|
66
66
|
_: 3
|
|
67
67
|
}, 8, ["class"]);
|
|
68
68
|
}
|
|
69
|
-
const
|
|
69
|
+
const x = /* @__PURE__ */ p(D, [["render", U]]), M = {
|
|
70
70
|
name: "Icon",
|
|
71
71
|
props: {
|
|
72
72
|
icon: {
|
|
@@ -76,17 +76,17 @@ const h = /* @__PURE__ */ g(G, [["render", I]]), V = {
|
|
|
76
76
|
color: {
|
|
77
77
|
type: String,
|
|
78
78
|
default: "primary",
|
|
79
|
-
validator: (
|
|
79
|
+
validator: (o) => ["primary", "secondary", "accent"].includes(o)
|
|
80
80
|
},
|
|
81
81
|
size: {
|
|
82
82
|
type: String,
|
|
83
83
|
default: "md",
|
|
84
|
-
validator: (
|
|
84
|
+
validator: (o) => ["xs", "sm", "md", "lg", "xl", "2xl", "3xl"].includes(o)
|
|
85
85
|
},
|
|
86
86
|
type: {
|
|
87
87
|
type: String,
|
|
88
88
|
default: "fa-solid",
|
|
89
|
-
validator: (
|
|
89
|
+
validator: (o) => ["fa-thin", "fa-sharp"].includes(o)
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
computed: {
|
|
@@ -110,17 +110,17 @@ const h = /* @__PURE__ */ g(G, [["render", I]]), V = {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
function
|
|
114
|
-
return
|
|
115
|
-
class:
|
|
116
|
-
onClick:
|
|
113
|
+
function W(o, e, r, f, u, l) {
|
|
114
|
+
return m(), g("i", {
|
|
115
|
+
class: C([r.type, r.icon, l.colorClasses, l.sizeClasses]),
|
|
116
|
+
onClick: e[0] || (e[0] = (n) => o.$emit("click"))
|
|
117
117
|
}, null, 2);
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const B = /* @__PURE__ */ p(M, [["render", W]]), H = {
|
|
120
120
|
name: "BaseButton",
|
|
121
121
|
components: {
|
|
122
|
-
BaseText:
|
|
123
|
-
Icon:
|
|
122
|
+
BaseText: x,
|
|
123
|
+
Icon: B
|
|
124
124
|
},
|
|
125
125
|
props: {
|
|
126
126
|
label: {
|
|
@@ -142,22 +142,22 @@ const v = /* @__PURE__ */ g(V, [["render", N]]), T = {
|
|
|
142
142
|
color: {
|
|
143
143
|
type: String,
|
|
144
144
|
default: "primary",
|
|
145
|
-
validator: (
|
|
145
|
+
validator: (o) => ["primary", "secondary", "accent"].includes(o)
|
|
146
146
|
},
|
|
147
147
|
hoverColor: {
|
|
148
148
|
type: String,
|
|
149
149
|
default: "",
|
|
150
|
-
validator: (
|
|
150
|
+
validator: (o) => ["primary", "secondary", "accent"].includes(o)
|
|
151
151
|
},
|
|
152
152
|
backgroundColor: {
|
|
153
153
|
type: String,
|
|
154
154
|
default: "primary",
|
|
155
|
-
validator: (
|
|
155
|
+
validator: (o) => ["primary", "secondary", "accent"].includes(o)
|
|
156
156
|
},
|
|
157
157
|
border: {
|
|
158
158
|
type: String,
|
|
159
159
|
default: "none",
|
|
160
|
-
validator: (
|
|
160
|
+
validator: (o) => ["none", "primary", "secondary", "accent", "gradient1", "gradient2"].includes(o)
|
|
161
161
|
},
|
|
162
162
|
padding: {
|
|
163
163
|
type: String,
|
|
@@ -170,7 +170,7 @@ const v = /* @__PURE__ */ g(V, [["render", N]]), T = {
|
|
|
170
170
|
iconColor: {
|
|
171
171
|
type: String,
|
|
172
172
|
default: "primary",
|
|
173
|
-
validator: (
|
|
173
|
+
validator: (o) => ["primary", "secondary", "accent"].includes(o)
|
|
174
174
|
},
|
|
175
175
|
iconSize: {
|
|
176
176
|
control: { type: "select", options: ["xs", "sm", "md", "lg", "xl", "2xl", "3xl"] },
|
|
@@ -179,12 +179,12 @@ const v = /* @__PURE__ */ g(V, [["render", N]]), T = {
|
|
|
179
179
|
iconType: {
|
|
180
180
|
type: String,
|
|
181
181
|
default: "fa-solid",
|
|
182
|
-
validator: (
|
|
182
|
+
validator: (o) => ["fa-thin", "fa-sharp"].includes(o)
|
|
183
183
|
},
|
|
184
184
|
align: {
|
|
185
185
|
type: String,
|
|
186
186
|
default: "center",
|
|
187
|
-
validator: (
|
|
187
|
+
validator: (o) => ["left", "center", "right", "between"].includes(o)
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
computed: {
|
|
@@ -193,8 +193,8 @@ const v = /* @__PURE__ */ g(V, [["render", N]]), T = {
|
|
|
193
193
|
},
|
|
194
194
|
textColorClass() {
|
|
195
195
|
return {
|
|
196
|
-
primary: "text-
|
|
197
|
-
secondary: "text-
|
|
196
|
+
primary: "text-accent",
|
|
197
|
+
secondary: "text-accent",
|
|
198
198
|
accent: "text-accent"
|
|
199
199
|
}[this.color] || "text-primary";
|
|
200
200
|
},
|
|
@@ -225,45 +225,45 @@ const v = /* @__PURE__ */ g(V, [["render", N]]), T = {
|
|
|
225
225
|
}[this.align] || "justify-center";
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
},
|
|
229
|
-
function Z(e, r,
|
|
230
|
-
const
|
|
231
|
-
return
|
|
232
|
-
class:
|
|
228
|
+
}, R = ["title", "aria-label"];
|
|
229
|
+
function Z(o, e, r, f, u, l) {
|
|
230
|
+
const n = c("BaseText"), a = c("Icon");
|
|
231
|
+
return m(), g("button", {
|
|
232
|
+
class: C([
|
|
233
233
|
"rounded-md transition duration-300 ease-in-out",
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
234
|
+
l.paddingClass,
|
|
235
|
+
l.textColorClass,
|
|
236
|
+
l.backgroundClass,
|
|
237
|
+
l.borderClass
|
|
238
238
|
]),
|
|
239
|
-
title:
|
|
240
|
-
"aria-label":
|
|
241
|
-
onClick:
|
|
239
|
+
title: r.altText || r.label,
|
|
240
|
+
"aria-label": r.altText || r.label,
|
|
241
|
+
onClick: e[0] || (e[0] = (h) => o.$emit("click"))
|
|
242
242
|
}, [
|
|
243
|
-
|
|
244
|
-
class:
|
|
243
|
+
t("div", {
|
|
244
|
+
class: C(["flex items-center", l.alignmentClass, "space-x-2"])
|
|
245
245
|
}, [
|
|
246
|
-
s(
|
|
247
|
-
color:
|
|
248
|
-
hoverColor:
|
|
249
|
-
size:
|
|
250
|
-
weight:
|
|
246
|
+
s(n, {
|
|
247
|
+
color: r.color,
|
|
248
|
+
hoverColor: r.hoverColor,
|
|
249
|
+
size: r.size,
|
|
250
|
+
weight: r.weight
|
|
251
251
|
}, {
|
|
252
|
-
default:
|
|
253
|
-
|
|
252
|
+
default: i(() => [
|
|
253
|
+
d(b(r.label), 1)
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
256
|
}, 8, ["color", "hoverColor", "size", "weight"]),
|
|
257
|
-
s(
|
|
258
|
-
icon:
|
|
259
|
-
color:
|
|
260
|
-
size:
|
|
261
|
-
type:
|
|
257
|
+
s(a, {
|
|
258
|
+
icon: r.iconName,
|
|
259
|
+
color: r.iconColor,
|
|
260
|
+
size: r.iconSize,
|
|
261
|
+
type: r.iconType
|
|
262
262
|
}, null, 8, ["icon", "color", "size", "type"])
|
|
263
263
|
], 2)
|
|
264
|
-
], 10,
|
|
264
|
+
], 10, R);
|
|
265
265
|
}
|
|
266
|
-
const
|
|
266
|
+
const v = /* @__PURE__ */ p(H, [["render", Z], ["__scopeId", "data-v-fa49375b"]]), J = {
|
|
267
267
|
name: "InputField",
|
|
268
268
|
props: {
|
|
269
269
|
type: {
|
|
@@ -279,21 +279,21 @@ const C = /* @__PURE__ */ g(T, [["render", Z], ["__scopeId", "data-v-e983c5cf"]]
|
|
|
279
279
|
default: ""
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
},
|
|
283
|
-
function
|
|
284
|
-
return
|
|
285
|
-
type:
|
|
286
|
-
placeholder:
|
|
287
|
-
},
|
|
282
|
+
}, O = ["type", "placeholder"];
|
|
283
|
+
function X(o, e, r, f, u, l) {
|
|
284
|
+
return m(), g("input", Y({
|
|
285
|
+
type: r.type,
|
|
286
|
+
placeholder: r.placeholder
|
|
287
|
+
}, o.$attrs, {
|
|
288
288
|
class: "bg-black text-secondary border-b-2 border-secondary focus:outline-none focus:border-accent w-full placeholder-secondary px-2 hover:border-accent duration-300 ease-in-out",
|
|
289
|
-
onInput:
|
|
290
|
-
}), null, 16,
|
|
289
|
+
onInput: e[0] || (e[0] = (n) => o.$emit("update:modelValue", n.target.value))
|
|
290
|
+
}), null, 16, O);
|
|
291
291
|
}
|
|
292
|
-
const
|
|
292
|
+
const K = /* @__PURE__ */ p(J, [["render", X]]), q = {
|
|
293
293
|
name: "SearchBox",
|
|
294
294
|
components: {
|
|
295
|
-
InputField:
|
|
296
|
-
Icon:
|
|
295
|
+
InputField: K,
|
|
296
|
+
Icon: B
|
|
297
297
|
},
|
|
298
298
|
data() {
|
|
299
299
|
return {
|
|
@@ -305,106 +305,106 @@ const E = /* @__PURE__ */ g(M, [["render", W]]), Y = {
|
|
|
305
305
|
console.log("Search Query:", this.searchQuery);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
},
|
|
309
|
-
function
|
|
310
|
-
const
|
|
311
|
-
return
|
|
312
|
-
s(
|
|
313
|
-
modelValue:
|
|
314
|
-
"onUpdate:modelValue":
|
|
308
|
+
}, P = { class: "relative flex items-center w-full max-w-md" };
|
|
309
|
+
function $(o, e, r, f, u, l) {
|
|
310
|
+
const n = c("InputField"), a = c("Icon");
|
|
311
|
+
return m(), g("div", P, [
|
|
312
|
+
s(n, {
|
|
313
|
+
modelValue: u.searchQuery,
|
|
314
|
+
"onUpdate:modelValue": e[0] || (e[0] = (h) => u.searchQuery = h),
|
|
315
315
|
placeholder: "Search"
|
|
316
316
|
}, null, 8, ["modelValue"]),
|
|
317
|
-
s(
|
|
317
|
+
s(a, {
|
|
318
318
|
icon: "fa-search",
|
|
319
319
|
color: "secondary",
|
|
320
320
|
size: "sm",
|
|
321
321
|
class: "absolute right-2",
|
|
322
|
-
onClick:
|
|
322
|
+
onClick: l.onSearch
|
|
323
323
|
}, null, 8, ["onClick"])
|
|
324
324
|
]);
|
|
325
325
|
}
|
|
326
|
-
const
|
|
326
|
+
const ee = /* @__PURE__ */ p(q, [["render", $]]), T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAABwCAIAAABHB982AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAtOSURBVHhe7Z3tedQ6EEbpIB2QCkIFSQWkglBBqIBUABUEKoAKkgo2FSQVQAdUcM+DBl9fWx7Nh7zrzd3zgye7a0mWZuadkbwJb04cnMfHx9+/fz89PfHDly9f7u7uPnz4cHV1JR+f2Ahv377FTlVeXl4wm1x34uB8/PhRLLPAbrc7OzuTq08ckKJ+OqiiXH3iUCjqN+EUWAeG8gEzPDw83NzcYDa4uLjg569fvxYLDaCT0ubEQcAq9/f38uK/YDOx0h9OGrhpvn//LoY6mWrjjIvDkwBumpLJCpeXl/LuiQ0yRNXz87O8dWKbDLmK6kPeOrFNfv36hZ12u528PrFNhkTFZkveOrFBMM/Lywt2+vTpk7x1YpuU04qHhwd5vX3Ozs7QAXZ/j4+PxcsKiDgvefPHjx93d3dXV1ev6YisFH5Ufcchfaw+Zih51QiWw67S/mjBPGU6FxcX8tZmIT7GBypeyuO4I03FQ4q6vb2Vt3rBsr57944IAH7IqxCuNBa6MHTSPcLO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RVWWJGWXpgOGY/Bdi4xFjbM/qzlMaqEjoBRTXOlsuUINON3RHcDgFgxOOz0wD3jSpinjINXUIzYF1cG9uwZMCgvCOf7Qvq8j3p3ps3/wDHS5O0YOBNvAAAAABJRU5ErkJggg==", te = {
|
|
327
327
|
name: "Header",
|
|
328
328
|
components: {
|
|
329
|
-
SearchBox:
|
|
330
|
-
BaseText:
|
|
331
|
-
BaseButton:
|
|
332
|
-
Icon:
|
|
329
|
+
SearchBox: ee,
|
|
330
|
+
BaseText: x,
|
|
331
|
+
BaseButton: v,
|
|
332
|
+
Icon: B
|
|
333
333
|
},
|
|
334
334
|
data() {
|
|
335
335
|
return {
|
|
336
|
-
logo:
|
|
336
|
+
logo: T
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
},
|
|
340
|
-
function
|
|
341
|
-
const
|
|
342
|
-
return
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
src:
|
|
339
|
+
}, se = { class: "border-b border-lineGrey w-full bg-primary m-0" }, re = { class: "w-full hidden md:flex" }, oe = { class: "w-[150px] h-[150px] bg-primary flex-shrink-0 flex items-center justify-center" }, le = ["src"], ne = { class: "flex w-full items-center border-r border-l border-lineGrey" }, ae = { class: "hidden lg:flex w-1/3 pl-20" }, ie = { class: "ml-8 w-2/3 flex justify-around" }, de = { class: "w-[150px] h-[150px] bg-primary flex-shrink-0 flex items-center justify-center" }, ce = { class: "w-full flex md:hidden" }, ue = { class: "m-2 flex justify-between w-full" }, me = ["src"];
|
|
340
|
+
function ge(o, e, r, f, u, l) {
|
|
341
|
+
const n = c("SearchBox"), a = c("BaseText"), h = c("BaseButton"), y = c("Icon");
|
|
342
|
+
return m(), g("header", se, [
|
|
343
|
+
t("section", re, [
|
|
344
|
+
t("div", oe, [
|
|
345
|
+
t("img", {
|
|
346
|
+
src: u.logo,
|
|
347
347
|
alt: "Logo",
|
|
348
348
|
class: "h-14 w-18 bg-accent"
|
|
349
|
-
}, null, 8,
|
|
349
|
+
}, null, 8, le)
|
|
350
350
|
]),
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
s(
|
|
351
|
+
t("section", ne, [
|
|
352
|
+
t("div", ae, [
|
|
353
|
+
s(n, { class: "w-24 md:w-32 lg:w-52 xl:w-64 bg-primary" })
|
|
354
354
|
]),
|
|
355
|
-
|
|
356
|
-
s(
|
|
355
|
+
t("nav", ie, [
|
|
356
|
+
s(a, {
|
|
357
357
|
color: "secondary",
|
|
358
358
|
size: "md",
|
|
359
359
|
tag: "p",
|
|
360
360
|
weight: "normal",
|
|
361
361
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out"
|
|
362
362
|
}, {
|
|
363
|
-
default:
|
|
364
|
-
|
|
363
|
+
default: i(() => e[0] || (e[0] = [
|
|
364
|
+
d("Tournaments")
|
|
365
365
|
])),
|
|
366
366
|
_: 1
|
|
367
367
|
}),
|
|
368
|
-
s(
|
|
368
|
+
s(a, {
|
|
369
369
|
color: "secondary",
|
|
370
370
|
size: "md",
|
|
371
371
|
tag: "p",
|
|
372
372
|
weight: "normal",
|
|
373
373
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out"
|
|
374
374
|
}, {
|
|
375
|
-
default:
|
|
376
|
-
|
|
375
|
+
default: i(() => e[1] || (e[1] = [
|
|
376
|
+
d("Clubs")
|
|
377
377
|
])),
|
|
378
378
|
_: 1
|
|
379
379
|
}),
|
|
380
|
-
s(
|
|
380
|
+
s(a, {
|
|
381
381
|
color: "secondary",
|
|
382
382
|
size: "md",
|
|
383
383
|
tag: "p",
|
|
384
384
|
weight: "normal",
|
|
385
385
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out"
|
|
386
386
|
}, {
|
|
387
|
-
default:
|
|
388
|
-
|
|
387
|
+
default: i(() => e[2] || (e[2] = [
|
|
388
|
+
d("Leaderboard")
|
|
389
389
|
])),
|
|
390
390
|
_: 1
|
|
391
391
|
}),
|
|
392
|
-
s(
|
|
392
|
+
s(a, {
|
|
393
393
|
color: "secondary",
|
|
394
394
|
size: "md",
|
|
395
395
|
tag: "p",
|
|
396
396
|
weight: "normal",
|
|
397
397
|
class: "border-b-2 border-primary hover:border-accent pb-2 duration-300 ease-in-out"
|
|
398
398
|
}, {
|
|
399
|
-
default:
|
|
400
|
-
|
|
399
|
+
default: i(() => e[3] || (e[3] = [
|
|
400
|
+
d("Contact")
|
|
401
401
|
])),
|
|
402
402
|
_: 1
|
|
403
403
|
})
|
|
404
404
|
])
|
|
405
405
|
]),
|
|
406
|
-
|
|
407
|
-
s(
|
|
406
|
+
t("div", de, [
|
|
407
|
+
s(h, {
|
|
408
408
|
backgroundColor: "primary",
|
|
409
409
|
border: "secondary",
|
|
410
410
|
color: "secondary",
|
|
@@ -413,29 +413,29 @@ function ne(e, r, t, u, l, n) {
|
|
|
413
413
|
})
|
|
414
414
|
])
|
|
415
415
|
]),
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
src:
|
|
416
|
+
t("section", ce, [
|
|
417
|
+
t("div", ue, [
|
|
418
|
+
t("img", {
|
|
419
|
+
src: u.logo,
|
|
420
420
|
alt: "Logo",
|
|
421
421
|
class: "h-6 w-9"
|
|
422
|
-
}, null, 8,
|
|
423
|
-
s(
|
|
422
|
+
}, null, 8, me),
|
|
423
|
+
s(y, {
|
|
424
424
|
icon: "fa-bars",
|
|
425
425
|
color: "secondary",
|
|
426
426
|
size: "xl",
|
|
427
427
|
class: "",
|
|
428
|
-
onClick:
|
|
428
|
+
onClick: o.onSearch
|
|
429
429
|
}, null, 8, ["onClick"])
|
|
430
430
|
])
|
|
431
431
|
])
|
|
432
432
|
]);
|
|
433
433
|
}
|
|
434
|
-
const be = /* @__PURE__ */
|
|
434
|
+
const be = /* @__PURE__ */ p(te, [["render", ge]]), he = {
|
|
435
435
|
name: "HeroBanner",
|
|
436
436
|
components: {
|
|
437
|
-
BaseText:
|
|
438
|
-
BaseButton:
|
|
437
|
+
BaseText: x,
|
|
438
|
+
BaseButton: v
|
|
439
439
|
},
|
|
440
440
|
props: {
|
|
441
441
|
imageSrc: {
|
|
@@ -484,112 +484,1255 @@ const be = /* @__PURE__ */ g(K, [["render", ne]]), le = {
|
|
|
484
484
|
this.$emit("button-click");
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
},
|
|
487
|
+
}, fe = { class: "relative w-full md:border-b md:border-l md:border-r border-lineGrey" }, pe = ["src"], ye = { class: "hidden md:flex absolute inset-0 items-center justify-start px-8" }, xe = { class: "text-left text-white max-w-lg" }, we = {
|
|
488
488
|
key: 1,
|
|
489
489
|
class: "flex justify-center text-left w-full px-6 py-8"
|
|
490
|
-
},
|
|
491
|
-
function
|
|
492
|
-
const
|
|
493
|
-
return
|
|
494
|
-
|
|
490
|
+
}, Ae = { class: "w-full" };
|
|
491
|
+
function ve(o, e, r, f, u, l) {
|
|
492
|
+
const n = c("BaseText"), a = c("BaseButton");
|
|
493
|
+
return m(), g(A, null, [
|
|
494
|
+
t("section", {
|
|
495
495
|
class: "relative w-full h-3/4 flex justify-center bg-primary m-0",
|
|
496
|
-
style:
|
|
496
|
+
style: S(l.backgroundStyle)
|
|
497
497
|
}, [
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
498
|
+
e[0] || (e[0] = t("div", { class: "hidden md:block w-[150px] bg-primary border-b border-lineGrey flex-shrink-0" }, null, -1)),
|
|
499
|
+
t("div", fe, [
|
|
500
|
+
u.isMobile ? w("", !0) : (m(), g("img", {
|
|
501
501
|
key: 0,
|
|
502
|
-
src:
|
|
502
|
+
src: r.imageSrc,
|
|
503
503
|
alt: "Hero Image",
|
|
504
504
|
class: "w-full h-full object-cover"
|
|
505
|
-
}, null, 8,
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
s(
|
|
505
|
+
}, null, 8, pe)),
|
|
506
|
+
t("section", ye, [
|
|
507
|
+
t("div", xe, [
|
|
508
|
+
s(n, {
|
|
509
509
|
color: "secondary",
|
|
510
510
|
tag: "h1",
|
|
511
511
|
size: "4xl",
|
|
512
512
|
weight: "bold",
|
|
513
513
|
class: "mb-4"
|
|
514
514
|
}, {
|
|
515
|
-
default:
|
|
516
|
-
|
|
515
|
+
default: i(() => [
|
|
516
|
+
d(b(r.title), 1)
|
|
517
517
|
]),
|
|
518
518
|
_: 1
|
|
519
519
|
}),
|
|
520
|
-
s(
|
|
520
|
+
s(n, {
|
|
521
521
|
color: "secondary",
|
|
522
522
|
tag: "p",
|
|
523
523
|
size: "lg",
|
|
524
524
|
weight: "normal",
|
|
525
525
|
class: "mb-6"
|
|
526
526
|
}, {
|
|
527
|
-
default:
|
|
528
|
-
|
|
527
|
+
default: i(() => [
|
|
528
|
+
d(b(r.description), 1)
|
|
529
529
|
]),
|
|
530
530
|
_: 1
|
|
531
531
|
}),
|
|
532
|
-
s(
|
|
533
|
-
label:
|
|
532
|
+
s(a, {
|
|
533
|
+
label: r.buttonLabel,
|
|
534
534
|
color: "secondary",
|
|
535
535
|
border: "gradient1",
|
|
536
|
-
onClick:
|
|
536
|
+
onClick: l.onClick
|
|
537
537
|
}, null, 8, ["label", "onClick"])
|
|
538
538
|
])
|
|
539
539
|
]),
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
s(
|
|
540
|
+
u.isMobile ? (m(), g("div", we, [
|
|
541
|
+
t("div", Ae, [
|
|
542
|
+
s(n, {
|
|
543
543
|
color: "secondary",
|
|
544
544
|
tag: "h1",
|
|
545
545
|
size: "xl",
|
|
546
546
|
weight: "bold",
|
|
547
547
|
class: "mb-2 w-48"
|
|
548
548
|
}, {
|
|
549
|
-
default:
|
|
550
|
-
|
|
549
|
+
default: i(() => [
|
|
550
|
+
d(b(r.title), 1)
|
|
551
551
|
]),
|
|
552
552
|
_: 1
|
|
553
553
|
}),
|
|
554
|
-
s(
|
|
554
|
+
s(n, {
|
|
555
555
|
color: "secondary",
|
|
556
556
|
tag: "p",
|
|
557
557
|
size: "xs",
|
|
558
558
|
weight: "normal",
|
|
559
559
|
class: "mb-6 w-48"
|
|
560
560
|
}, {
|
|
561
|
-
default:
|
|
562
|
-
|
|
561
|
+
default: i(() => [
|
|
562
|
+
d(b(r.description), 1)
|
|
563
563
|
]),
|
|
564
564
|
_: 1
|
|
565
565
|
}),
|
|
566
|
-
s(
|
|
567
|
-
label:
|
|
566
|
+
s(a, {
|
|
567
|
+
label: r.buttonLabel,
|
|
568
568
|
size: "xs",
|
|
569
569
|
color: "secondary",
|
|
570
570
|
border: "gradient1",
|
|
571
571
|
class: "w-1/2 m-auto",
|
|
572
|
-
onClick:
|
|
572
|
+
onClick: l.onClick
|
|
573
573
|
}, null, 8, ["label", "onClick"])
|
|
574
574
|
])
|
|
575
575
|
])) : w("", !0)
|
|
576
576
|
]),
|
|
577
|
-
|
|
577
|
+
e[1] || (e[1] = t("div", { class: "hidden md:block w-[150px] bg-primary border-b border-lineGrey flex-shrink-0" }, null, -1))
|
|
578
578
|
], 4),
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
579
|
+
e[2] || (e[2] = t("section", { class: "hidden md:flex border-t border-lineGrey w-full bg-primary" }, [
|
|
580
|
+
t("div", { class: "w-[150px] bg-primary border-b border-lineGrey flex-shrink-0" }),
|
|
581
|
+
t("div", { class: "relative w-full border-b border-l border-r border-lineGrey h-36" }),
|
|
582
|
+
t("div", { class: "w-[150px] bg-primary border-b border-lineGrey flex-shrink-0" })
|
|
583
583
|
], -1))
|
|
584
584
|
], 64);
|
|
585
585
|
}
|
|
586
|
-
const
|
|
586
|
+
const Ce = /* @__PURE__ */ p(he, [["render", ve]]), Be = {
|
|
587
|
+
name: "TournamentCardSkeleton"
|
|
588
|
+
}, Se = { class: "md:w-full mb-8 animate-pulse" };
|
|
589
|
+
function Ee(o, e, r, f, u, l) {
|
|
590
|
+
return m(), g("div", Se, e[0] || (e[0] = [
|
|
591
|
+
E('<section class="hidden md:block"><div class="w-full h-52 bg-gray-300 mb-2 rounded-md"></div><div class="w-3/4 h-6 bg-gray-300 mb-1 rounded"></div><div class="w-2/3 h-4 bg-gray-300 mb-2 rounded"></div><div class="flex items-center mb-1"><div class="w-6 h-6 bg-gray-300 rounded-full mr-3"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div><div class="flex items-center"><div class="w-6 h-6 bg-gray-300 rounded-full mr-3"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div></section><section class="md:hidden flex-col items-start gap-2 border-b border-borderGray"><div class="flex flex-row"><div class="w-28 h-16 bg-gray-300 rounded-md"></div><div class="flex flex-col h-16 justify-center pl-2"><div class="w-3/4 h-6 bg-gray-300 rounded mb-1"></div><div class="w-1/2 h-4 bg-gray-300 rounded"></div></div></div><div class="flex justify-between pt-4 pb-2"><div class="flex justify-start w-5/12"><div class="w-2 h-2 bg-gray-300 rounded-full mr-1"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div><div class="flex justify-start mb-1 w-7/12"><div class="w-2 h-2 bg-gray-300 rounded-full mr-1"></div><div class="w-2/3 h-4 bg-gray-300 rounded"></div></div></div></section>', 2)
|
|
592
|
+
]));
|
|
593
|
+
}
|
|
594
|
+
const Ie = /* @__PURE__ */ p(Be, [["render", Ee]]), ke = {
|
|
595
|
+
name: "TournamentCard",
|
|
596
|
+
components: {
|
|
597
|
+
TournamentCardSkeleton: Ie,
|
|
598
|
+
BaseText: x,
|
|
599
|
+
Icon: B
|
|
600
|
+
},
|
|
601
|
+
props: {
|
|
602
|
+
data: {
|
|
603
|
+
type: Object,
|
|
604
|
+
required: !0
|
|
605
|
+
},
|
|
606
|
+
isLoading: {
|
|
607
|
+
type: Boolean,
|
|
608
|
+
default: !1
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
data() {
|
|
612
|
+
return {
|
|
613
|
+
isImageError: !1
|
|
614
|
+
};
|
|
615
|
+
},
|
|
616
|
+
mounted() {
|
|
617
|
+
console.log(this.data);
|
|
618
|
+
},
|
|
619
|
+
computed: {
|
|
620
|
+
image() {
|
|
621
|
+
return !this.isImageError && this.data.Images && this.data.Images.length > 0 ? this.data.Images[0].URL : "https://via.placeholder.com/300x200";
|
|
622
|
+
},
|
|
623
|
+
fallbackStyle() {
|
|
624
|
+
return this.isImageError ? { backgroundColor: "#f5f5f5", display: "flex", alignItems: "center", justifyContent: "center" } : {};
|
|
625
|
+
},
|
|
626
|
+
title() {
|
|
627
|
+
return this.data && this.data.Name || "";
|
|
628
|
+
},
|
|
629
|
+
location() {
|
|
630
|
+
return this.data && this.data.Address ? `${this.data.Address.Name} • ${this.data.Address.City}, ${this.data.Address.State}` : "Location Unavailable";
|
|
631
|
+
},
|
|
632
|
+
startDate() {
|
|
633
|
+
return this.data && this.formatDate(this.data.StartDate);
|
|
634
|
+
},
|
|
635
|
+
endDate() {
|
|
636
|
+
return this.data && this.formatDate(this.data.EndDate);
|
|
637
|
+
},
|
|
638
|
+
numberOfFencers() {
|
|
639
|
+
return this.data && this.data.NumberOfFencers ? this.data.NumberOfFencers : 0;
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
methods: {
|
|
643
|
+
formatDate(o) {
|
|
644
|
+
return new Date(o).toLocaleDateString("en-US", {
|
|
645
|
+
year: "numeric",
|
|
646
|
+
month: "short",
|
|
647
|
+
day: "numeric"
|
|
648
|
+
});
|
|
649
|
+
},
|
|
650
|
+
imageError() {
|
|
651
|
+
this.isImageError = !0;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}, ze = {
|
|
655
|
+
key: 0,
|
|
656
|
+
class: "max-w-80 md:w-full mb-8"
|
|
657
|
+
}, Qe = {
|
|
658
|
+
key: 1,
|
|
659
|
+
class: "max-w-80 md:w-full mb-8"
|
|
660
|
+
}, Le = { class: "hidden md:block" }, Fe = ["src"], Ke = { class: "flex items-center mb-1" }, Te = { class: "flex w-6 justify-center" }, Ge = { class: "flex items-center" }, Ve = { class: "flex w-6 justify-center" }, je = { class: "md:hidden flex-col items-start gap-2 border-b border-borderGray" }, Ye = { class: "flex flex-row" }, Ne = ["src"], _e = { class: "flex flex-col h-16 justify-center pl-2" }, De = { class: "flex justify-between pt-4 pb-2" }, Ue = { class: "flex justify-start w-5/12" }, Me = { class: "flex justify-start mb-1 w-7/12" };
|
|
661
|
+
function We(o, e, r, f, u, l) {
|
|
662
|
+
const n = c("TournamentCardSkeleton"), a = c("BaseText"), h = c("Icon");
|
|
663
|
+
return m(), g(A, null, [
|
|
664
|
+
r.isLoading ? (m(), g("div", ze, [
|
|
665
|
+
s(n)
|
|
666
|
+
])) : w("", !0),
|
|
667
|
+
r.isLoading ? w("", !0) : (m(), g("div", Qe, [
|
|
668
|
+
t("section", Le, [
|
|
669
|
+
t("img", {
|
|
670
|
+
src: l.image,
|
|
671
|
+
alt: "Tournament Image",
|
|
672
|
+
class: "w-full h-52 object-cover mb-2 rounded-md",
|
|
673
|
+
onError: e[0] || (e[0] = (...y) => l.imageError && l.imageError(...y)),
|
|
674
|
+
style: S(l.fallbackStyle)
|
|
675
|
+
}, null, 44, Fe),
|
|
676
|
+
s(a, {
|
|
677
|
+
tag: "h3",
|
|
678
|
+
size: "xl",
|
|
679
|
+
weight: "semibold",
|
|
680
|
+
class: "mb-1"
|
|
681
|
+
}, {
|
|
682
|
+
default: i(() => [
|
|
683
|
+
d(b(l.title), 1)
|
|
684
|
+
]),
|
|
685
|
+
_: 1
|
|
686
|
+
}),
|
|
687
|
+
s(a, {
|
|
688
|
+
tag: "p",
|
|
689
|
+
size: "sm",
|
|
690
|
+
weight: "semibold",
|
|
691
|
+
class: "mb-2"
|
|
692
|
+
}, {
|
|
693
|
+
default: i(() => [
|
|
694
|
+
d(b(l.location), 1)
|
|
695
|
+
]),
|
|
696
|
+
_: 1
|
|
697
|
+
}),
|
|
698
|
+
t("div", Ke, [
|
|
699
|
+
t("span", Te, [
|
|
700
|
+
s(h, {
|
|
701
|
+
icon: "fa-calendar",
|
|
702
|
+
color: "accent",
|
|
703
|
+
size: "sm",
|
|
704
|
+
class: "mr-3 w-4"
|
|
705
|
+
})
|
|
706
|
+
]),
|
|
707
|
+
s(a, {
|
|
708
|
+
tag: "p",
|
|
709
|
+
size: "sm",
|
|
710
|
+
class: ""
|
|
711
|
+
}, {
|
|
712
|
+
default: i(() => [
|
|
713
|
+
d(b(l.startDate) + " to " + b(l.endDate), 1)
|
|
714
|
+
]),
|
|
715
|
+
_: 1
|
|
716
|
+
})
|
|
717
|
+
]),
|
|
718
|
+
t("div", Ge, [
|
|
719
|
+
t("span", Ve, [
|
|
720
|
+
s(h, {
|
|
721
|
+
icon: "fa-user-friends",
|
|
722
|
+
color: "accent",
|
|
723
|
+
size: "sm",
|
|
724
|
+
class: "mr-3"
|
|
725
|
+
})
|
|
726
|
+
]),
|
|
727
|
+
s(a, {
|
|
728
|
+
tag: "p",
|
|
729
|
+
size: "sm",
|
|
730
|
+
class: ""
|
|
731
|
+
}, {
|
|
732
|
+
default: i(() => [
|
|
733
|
+
d(b(l.numberOfFencers) + " Registered Fencers", 1)
|
|
734
|
+
]),
|
|
735
|
+
_: 1
|
|
736
|
+
})
|
|
737
|
+
])
|
|
738
|
+
]),
|
|
739
|
+
t("section", je, [
|
|
740
|
+
t("div", Ye, [
|
|
741
|
+
t("img", {
|
|
742
|
+
src: l.image,
|
|
743
|
+
alt: "Tournament Image",
|
|
744
|
+
class: "w-28 h-16 object-cover rounded-md",
|
|
745
|
+
onError: e[1] || (e[1] = (...y) => l.imageError && l.imageError(...y)),
|
|
746
|
+
style: S(l.fallbackStyle)
|
|
747
|
+
}, null, 44, Ne),
|
|
748
|
+
t("div", _e, [
|
|
749
|
+
s(a, {
|
|
750
|
+
tag: "h3",
|
|
751
|
+
size: "lg",
|
|
752
|
+
weight: "semibold",
|
|
753
|
+
class: "mb-1"
|
|
754
|
+
}, {
|
|
755
|
+
default: i(() => [
|
|
756
|
+
d(b(l.title), 1)
|
|
757
|
+
]),
|
|
758
|
+
_: 1
|
|
759
|
+
}),
|
|
760
|
+
s(a, {
|
|
761
|
+
tag: "p",
|
|
762
|
+
size: "xs",
|
|
763
|
+
weight: "semibold",
|
|
764
|
+
class: "mb-1"
|
|
765
|
+
}, {
|
|
766
|
+
default: i(() => [
|
|
767
|
+
d(b(l.location), 1)
|
|
768
|
+
]),
|
|
769
|
+
_: 1
|
|
770
|
+
})
|
|
771
|
+
])
|
|
772
|
+
]),
|
|
773
|
+
t("div", De, [
|
|
774
|
+
t("div", Ue, [
|
|
775
|
+
s(h, {
|
|
776
|
+
icon: "fa-user-friends",
|
|
777
|
+
color: "accent",
|
|
778
|
+
size: "xs",
|
|
779
|
+
class: "mr-1"
|
|
780
|
+
}),
|
|
781
|
+
s(a, {
|
|
782
|
+
tag: "p",
|
|
783
|
+
size: "xs",
|
|
784
|
+
class: ""
|
|
785
|
+
}, {
|
|
786
|
+
default: i(() => [
|
|
787
|
+
d(b(l.numberOfFencers) + " Registered", 1)
|
|
788
|
+
]),
|
|
789
|
+
_: 1
|
|
790
|
+
})
|
|
791
|
+
]),
|
|
792
|
+
t("div", Me, [
|
|
793
|
+
s(h, {
|
|
794
|
+
icon: "fa-calendar",
|
|
795
|
+
color: "accent",
|
|
796
|
+
size: "xs",
|
|
797
|
+
class: "mr-1 w-4"
|
|
798
|
+
}),
|
|
799
|
+
s(a, {
|
|
800
|
+
tag: "p",
|
|
801
|
+
size: "xs",
|
|
802
|
+
class: ""
|
|
803
|
+
}, {
|
|
804
|
+
default: i(() => [
|
|
805
|
+
d(b(l.startDate) + " to " + b(l.endDate), 1)
|
|
806
|
+
]),
|
|
807
|
+
_: 1
|
|
808
|
+
})
|
|
809
|
+
])
|
|
810
|
+
])
|
|
811
|
+
])
|
|
812
|
+
]))
|
|
813
|
+
], 64);
|
|
814
|
+
}
|
|
815
|
+
const I = /* @__PURE__ */ p(ke, [["render", We]]), k = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAIABJREFUeF7tfWlzHcl15cmqegsAkuhWL5RkiWRzB0CsTzF2W3JYlj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AFyys66GF5RgfN8QwBCpZnhNDD8owQmuMVAhQsr+igh+UZHTTHMwQoWJ4RQg/LM0JojlcIULC8ooMelmd00BzPEKBgeUYIPSzPCKE5XiFAwfKKDnpYntFBczxDgILlGSH0sDwjhOZ4hQAFyys66GF5RgfN8QwBCpZnhNDD8owQmuMVAhQsr+igh+UZHTTHMwQoWJ4RQg/LM0JojlcIULC8ooMelmd00BzPEKBgeUYIPSzPCKE5XiFAwfKKDnpYntFBczxDgILlGSH0sDwjhOZ4hQAFyys66GF5RgfN8QwBCpZnhNDD8owQmuMVAhQsr+igh+UZHTTHMwQoWJ4RQg/LM0JojlcIULC8ooMelmd00BzPEKBgeUYIPSzPCKE5XiFAwfKKDnpYntFBczxDgILlGSH0sDwjhOZ4hQAFyys66GF5RgfN8QwBCpZnhNDD8owQmuMVAhQsr+igh+UZHTTHMwQoWJ4RQg/LM0JojlcIULC8ooMelmd00BzPEKBgeUYIPSzPCKE5XiFAwfKKDnpYntFBczxDgILlGSH0sDwjhOZ4hQAFyys66GF5RgfN8QwBCpZnhNDD8owQmuMVAhQsr+igh+UZHTTHMwQoWJ4RQg/LM0JojlcIULC8ooMelmd00BzPECiCYP0nFOqHIUehWFMAAAAASUVORK5CYII=", He = {
|
|
816
|
+
name: "FencerCardSkeleton"
|
|
817
|
+
}, Re = { class: "max-w-48 mr-4 md:mr-2 items-center animate-pulse" };
|
|
818
|
+
function Ze(o, e, r, f, u, l) {
|
|
819
|
+
return m(), g("section", Re, e[0] || (e[0] = [
|
|
820
|
+
E('<div class="flex flex-col m-auto justify-center mb-4 items-center w-[130px]"><div class="w-[120px] h-[120px] md:w-32 md:h-32 rounded-full bg-gray-300"></div></div><div class="flex flex-col md:flex-row justify-center md:justify-around -mt-2 border-b border-borderGray z-10 pb-2 mb-2"><div class="flex items-center justify-around w-full"><div class="w-8 h-4 bg-gray-300 rounded mr-1"></div><div class="w-8 h-4 bg-gray-300 rounded"></div></div></div><div class="text-center"><div class="w-32 h-6 bg-gray-300 rounded mb-2 mx-auto"></div><div class="w-40 h-4 bg-gray-200 rounded mb-2 mx-auto"></div></div>', 3)
|
|
821
|
+
]));
|
|
822
|
+
}
|
|
823
|
+
const Je = /* @__PURE__ */ p(He, [["render", Ze]]), Oe = {
|
|
824
|
+
name: "FencerCard",
|
|
825
|
+
components: {
|
|
826
|
+
FencerCardSkeleton: Je,
|
|
827
|
+
BaseText: x,
|
|
828
|
+
defaultPortrait: k
|
|
829
|
+
},
|
|
830
|
+
props: {
|
|
831
|
+
data: {
|
|
832
|
+
type: Object,
|
|
833
|
+
required: !0
|
|
834
|
+
},
|
|
835
|
+
index: {
|
|
836
|
+
type: Number,
|
|
837
|
+
required: !0
|
|
838
|
+
},
|
|
839
|
+
isLoading: {
|
|
840
|
+
type: Boolean,
|
|
841
|
+
default: !1
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
data() {
|
|
845
|
+
return {};
|
|
846
|
+
},
|
|
847
|
+
computed: {
|
|
848
|
+
portrait() {
|
|
849
|
+
return this.data.ProfileImage && this.data.ProfileImage.URL ? this.data.ProfileImage.URL : k;
|
|
850
|
+
},
|
|
851
|
+
displayName() {
|
|
852
|
+
return this.data.DisplayName;
|
|
853
|
+
},
|
|
854
|
+
clubName() {
|
|
855
|
+
return this.data.Club.Name;
|
|
856
|
+
},
|
|
857
|
+
m2Rating() {
|
|
858
|
+
const o = this.data.M2Ratings.find((e) => e.WeaponId === 1);
|
|
859
|
+
return o ? o.FormattedRating : "U";
|
|
860
|
+
},
|
|
861
|
+
hrRating() {
|
|
862
|
+
return this.data.HEMARatings && this.data.HEMARatings[0] ? this.data.HEMARatings[0].Rating : 0;
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}, Xe = {
|
|
866
|
+
key: 0,
|
|
867
|
+
class: "max-w-72 p-4 bg-secondary rounded-lg flex flex-col items-start"
|
|
868
|
+
}, qe = {
|
|
869
|
+
key: 1,
|
|
870
|
+
class: "max-w-72 mr-4 md:mr-2 items-center"
|
|
871
|
+
}, Pe = { class: "flex flex-col m-auto justify-center mb-4 items-center w-[130px]" }, $e = ["src"], et = { class: "flex flex-col md:flex-row justify-center md:justify-around -mt-2 border-b border-borderGray z-10 pb-2 mb-2" }, tt = { class: "flex items-center justify-center" }, st = { class: "hidden md:flex items-center justify-center" };
|
|
872
|
+
function rt(o, e, r, f, u, l) {
|
|
873
|
+
const n = c("FencerCardSkeleton"), a = c("BaseText");
|
|
874
|
+
return m(), g(A, null, [
|
|
875
|
+
r.isLoading ? (m(), g("div", Xe, [
|
|
876
|
+
s(n)
|
|
877
|
+
])) : w("", !0),
|
|
878
|
+
r.isLoading ? w("", !0) : (m(), g("section", qe, [
|
|
879
|
+
t("div", Pe, [
|
|
880
|
+
t("img", {
|
|
881
|
+
src: l.portrait,
|
|
882
|
+
alt: "Fencer Portrait",
|
|
883
|
+
class: "w-[120px] h-[120px] md:w-32 md:h-32 rounded-full object-cover z-1 flex-shrink-0"
|
|
884
|
+
}, null, 8, $e)
|
|
885
|
+
]),
|
|
886
|
+
t("div", et, [
|
|
887
|
+
t("div", tt, [
|
|
888
|
+
s(a, {
|
|
889
|
+
tag: "p",
|
|
890
|
+
size: "xs md:sm",
|
|
891
|
+
weight: "semibold",
|
|
892
|
+
class: "primary mr-1 block z-50"
|
|
893
|
+
}, {
|
|
894
|
+
default: i(() => e[0] || (e[0] = [
|
|
895
|
+
d("M2: ")
|
|
896
|
+
])),
|
|
897
|
+
_: 1
|
|
898
|
+
}),
|
|
899
|
+
s(a, {
|
|
900
|
+
tag: "p",
|
|
901
|
+
size: "sm md:md",
|
|
902
|
+
weight: "bold",
|
|
903
|
+
class: "text-accent"
|
|
904
|
+
}, {
|
|
905
|
+
default: i(() => [
|
|
906
|
+
d(b(l.m2Rating), 1)
|
|
907
|
+
]),
|
|
908
|
+
_: 1
|
|
909
|
+
})
|
|
910
|
+
]),
|
|
911
|
+
t("div", st, [
|
|
912
|
+
s(a, {
|
|
913
|
+
tag: "p",
|
|
914
|
+
size: "md",
|
|
915
|
+
weight: "bold",
|
|
916
|
+
class: "text-accent"
|
|
917
|
+
}, {
|
|
918
|
+
default: i(() => [
|
|
919
|
+
d(b(l.hrRating), 1)
|
|
920
|
+
]),
|
|
921
|
+
_: 1
|
|
922
|
+
}),
|
|
923
|
+
s(a, {
|
|
924
|
+
tag: "p",
|
|
925
|
+
size: "sm",
|
|
926
|
+
weight: "semibold",
|
|
927
|
+
class: "primary mr-1"
|
|
928
|
+
}, {
|
|
929
|
+
default: i(() => e[1] || (e[1] = [
|
|
930
|
+
d(":HR")
|
|
931
|
+
])),
|
|
932
|
+
_: 1
|
|
933
|
+
})
|
|
934
|
+
])
|
|
935
|
+
]),
|
|
936
|
+
s(a, {
|
|
937
|
+
tag: "h3",
|
|
938
|
+
size: "sm md:xl",
|
|
939
|
+
weight: "semibold",
|
|
940
|
+
class: "text-center"
|
|
941
|
+
}, {
|
|
942
|
+
default: i(() => [
|
|
943
|
+
d(b(l.displayName), 1)
|
|
944
|
+
]),
|
|
945
|
+
_: 1
|
|
946
|
+
}),
|
|
947
|
+
s(a, {
|
|
948
|
+
tag: "p",
|
|
949
|
+
size: "xs md:sm",
|
|
950
|
+
weight: "normal",
|
|
951
|
+
class: "text-center h-10"
|
|
952
|
+
}, {
|
|
953
|
+
default: i(() => [
|
|
954
|
+
d(b(l.clubName), 1)
|
|
955
|
+
]),
|
|
956
|
+
_: 1
|
|
957
|
+
})
|
|
958
|
+
]))
|
|
959
|
+
], 64);
|
|
960
|
+
}
|
|
961
|
+
const z = /* @__PURE__ */ p(Oe, [["render", rt]]), ot = {
|
|
962
|
+
name: "ArticleCardSkeleton"
|
|
963
|
+
}, lt = { class: "w-full bg-secondary rounded-lg flex flex-col items-start animate-pulse" };
|
|
964
|
+
function nt(o, e, r, f, u, l) {
|
|
965
|
+
return m(), g("div", lt, e[0] || (e[0] = [
|
|
966
|
+
E('<div class="w-full h-40 bg-gray-200 rounded-t-md mb-4"></div><div class="w-3/4 h-6 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-full h-4 bg-gray-200 rounded mb-2"></div><div class="w-1/2 h-4 bg-gray-200 rounded mb-4"></div><div class="w-full flex justify-end"><div class="w-1/4 h-4 bg-gray-200 rounded"></div></div>', 6)
|
|
967
|
+
]));
|
|
968
|
+
}
|
|
969
|
+
const at = /* @__PURE__ */ p(ot, [["render", nt]]), it = {
|
|
970
|
+
name: "ArticleCard",
|
|
971
|
+
components: {
|
|
972
|
+
ArticleCardSkeleton: at,
|
|
973
|
+
BaseText: x
|
|
974
|
+
},
|
|
975
|
+
props: {
|
|
976
|
+
data: {
|
|
977
|
+
type: Object,
|
|
978
|
+
required: !0
|
|
979
|
+
},
|
|
980
|
+
isLoading: {
|
|
981
|
+
type: Boolean,
|
|
982
|
+
default: !1
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
computed: {
|
|
986
|
+
image() {
|
|
987
|
+
return this.data.image;
|
|
988
|
+
},
|
|
989
|
+
articleTitle() {
|
|
990
|
+
return this.data.articleTitle;
|
|
991
|
+
},
|
|
992
|
+
truncatedDescription() {
|
|
993
|
+
return this.data.description.length > 120 ? this.data.description.substring(0, 120) + " ..." : this.data.description;
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
methods: {
|
|
997
|
+
onReadMore() {
|
|
998
|
+
this.$emit("read-more");
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
}, dt = {
|
|
1002
|
+
key: 0,
|
|
1003
|
+
class: "w-72 p-4 bg-secondary rounded-lg flex flex-col items-start"
|
|
1004
|
+
}, ct = {
|
|
1005
|
+
key: 1,
|
|
1006
|
+
class: "w-72 p-4 bg-secondary rounded-lg flex flex-col items-start"
|
|
1007
|
+
}, ut = ["src"];
|
|
1008
|
+
function mt(o, e, r, f, u, l) {
|
|
1009
|
+
const n = c("ArticleCardSkeleton"), a = c("BaseText");
|
|
1010
|
+
return m(), g(A, null, [
|
|
1011
|
+
r.isLoading ? (m(), g("div", dt, [
|
|
1012
|
+
s(n)
|
|
1013
|
+
])) : w("", !0),
|
|
1014
|
+
r.isLoading ? w("", !0) : (m(), g("div", ct, [
|
|
1015
|
+
t("img", {
|
|
1016
|
+
src: l.image,
|
|
1017
|
+
alt: "Article Image",
|
|
1018
|
+
class: "w-full h-40 object-cover rounded-t-md mb-4"
|
|
1019
|
+
}, null, 8, ut),
|
|
1020
|
+
s(a, {
|
|
1021
|
+
tag: "h3",
|
|
1022
|
+
size: "xl",
|
|
1023
|
+
weight: "semibold",
|
|
1024
|
+
class: "mb-2"
|
|
1025
|
+
}, {
|
|
1026
|
+
default: i(() => [
|
|
1027
|
+
d(b(l.articleTitle), 1)
|
|
1028
|
+
]),
|
|
1029
|
+
_: 1
|
|
1030
|
+
}),
|
|
1031
|
+
s(a, {
|
|
1032
|
+
tag: "p",
|
|
1033
|
+
size: "sm",
|
|
1034
|
+
weight: "normal",
|
|
1035
|
+
class: "mb-4 h-20"
|
|
1036
|
+
}, {
|
|
1037
|
+
default: i(() => [
|
|
1038
|
+
d(b(l.truncatedDescription), 1)
|
|
1039
|
+
]),
|
|
1040
|
+
_: 1
|
|
1041
|
+
}),
|
|
1042
|
+
t("a", {
|
|
1043
|
+
href: "#",
|
|
1044
|
+
onClick: e[0] || (e[0] = N((...h) => l.onReadMore && l.onReadMore(...h), ["prevent"])),
|
|
1045
|
+
class: "w-full flex justify-end pr-2"
|
|
1046
|
+
}, [
|
|
1047
|
+
s(a, {
|
|
1048
|
+
tag: "p",
|
|
1049
|
+
size: "sm",
|
|
1050
|
+
weight: "simibold",
|
|
1051
|
+
class: "mb-4 border-b border-secondary hover:border-accent"
|
|
1052
|
+
}, {
|
|
1053
|
+
default: i(() => e[1] || (e[1] = [
|
|
1054
|
+
d("Read More →")
|
|
1055
|
+
])),
|
|
1056
|
+
_: 1
|
|
1057
|
+
})
|
|
1058
|
+
])
|
|
1059
|
+
]))
|
|
1060
|
+
], 64);
|
|
1061
|
+
}
|
|
1062
|
+
const Q = /* @__PURE__ */ p(it, [["render", mt]]), gt = {
|
|
1063
|
+
name: "GridLayout",
|
|
1064
|
+
components: {
|
|
1065
|
+
BaseButton: v,
|
|
1066
|
+
BaseText: x
|
|
1067
|
+
},
|
|
1068
|
+
props: {
|
|
1069
|
+
title: {
|
|
1070
|
+
type: String,
|
|
1071
|
+
default: "Section Title"
|
|
1072
|
+
},
|
|
1073
|
+
moreButtonLabel: {
|
|
1074
|
+
type: String,
|
|
1075
|
+
default: "See More"
|
|
1076
|
+
},
|
|
1077
|
+
cardComponent: {
|
|
1078
|
+
type: [Object, String],
|
|
1079
|
+
required: !0
|
|
1080
|
+
},
|
|
1081
|
+
items: {
|
|
1082
|
+
type: Array,
|
|
1083
|
+
required: !0,
|
|
1084
|
+
default: () => []
|
|
1085
|
+
},
|
|
1086
|
+
maxColumns: {
|
|
1087
|
+
type: Number,
|
|
1088
|
+
default: 3
|
|
1089
|
+
},
|
|
1090
|
+
mobileHorizontal: {
|
|
1091
|
+
type: Boolean,
|
|
1092
|
+
default: !1
|
|
1093
|
+
},
|
|
1094
|
+
isLoading: {
|
|
1095
|
+
type: Boolean,
|
|
1096
|
+
default: !1
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
computed: {
|
|
1100
|
+
gridClasses() {
|
|
1101
|
+
let o = "md:grid md:gap-x-6 md:gap-y-4";
|
|
1102
|
+
this.mobileHorizontal && (o = `${o} flex overflow-x-auto`);
|
|
1103
|
+
let e;
|
|
1104
|
+
switch (this.maxColumns) {
|
|
1105
|
+
case 1:
|
|
1106
|
+
e = "grid-cols-1";
|
|
1107
|
+
break;
|
|
1108
|
+
case 2:
|
|
1109
|
+
e = "grid-cols-1 md:grid-cols-2";
|
|
1110
|
+
break;
|
|
1111
|
+
case 3:
|
|
1112
|
+
e = "grid-cols-1 md:grid-cols-2 lg:grid-cols-3";
|
|
1113
|
+
break;
|
|
1114
|
+
case 4:
|
|
1115
|
+
e = "grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4";
|
|
1116
|
+
break;
|
|
1117
|
+
case 5:
|
|
1118
|
+
e = "grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5";
|
|
1119
|
+
break;
|
|
1120
|
+
default:
|
|
1121
|
+
e = "grid-cols-1 md:grid-cols-2 lg:grid-cols-3";
|
|
1122
|
+
}
|
|
1123
|
+
return `${o} ${e}`;
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
}, bt = { class: "max-w-[1200px] mx-auto" }, ht = { class: "w-full flex justify-center py-4 md:pb-10 md:pt-14" }, ft = { class: "w-full flex justify-center pb-10 pt-10 md:pt-14" };
|
|
1127
|
+
function pt(o, e, r, f, u, l) {
|
|
1128
|
+
const n = c("BaseText"), a = c("BaseButton");
|
|
1129
|
+
return m(), g(A, null, [
|
|
1130
|
+
t("section", bt, [
|
|
1131
|
+
t("div", ht, [
|
|
1132
|
+
s(n, {
|
|
1133
|
+
color: "primary",
|
|
1134
|
+
size: "2xl",
|
|
1135
|
+
tag: "h3",
|
|
1136
|
+
weight: "bold"
|
|
1137
|
+
}, {
|
|
1138
|
+
default: i(() => [
|
|
1139
|
+
d(b(r.title), 1)
|
|
1140
|
+
]),
|
|
1141
|
+
_: 1
|
|
1142
|
+
})
|
|
1143
|
+
]),
|
|
1144
|
+
t("div", {
|
|
1145
|
+
class: C(l.gridClasses)
|
|
1146
|
+
}, [
|
|
1147
|
+
(m(!0), g(A, null, _(r.items, (h, y) => (m(), L(F(r.cardComponent), {
|
|
1148
|
+
key: y,
|
|
1149
|
+
data: h,
|
|
1150
|
+
index: y,
|
|
1151
|
+
isLoading: r.isLoading
|
|
1152
|
+
}, null, 8, ["data", "index", "isLoading"]))), 128))
|
|
1153
|
+
], 2)
|
|
1154
|
+
]),
|
|
1155
|
+
t("div", ft, [
|
|
1156
|
+
s(a, {
|
|
1157
|
+
backgroundColor: "secondary",
|
|
1158
|
+
border: "primary",
|
|
1159
|
+
size: "xs",
|
|
1160
|
+
color: "primary",
|
|
1161
|
+
hoverColor: "secondary",
|
|
1162
|
+
label: r.moreButtonLabel
|
|
1163
|
+
}, null, 8, ["label"])
|
|
1164
|
+
])
|
|
1165
|
+
], 64);
|
|
1166
|
+
}
|
|
1167
|
+
const yt = /* @__PURE__ */ p(gt, [["render", pt]]), xt = {
|
|
1168
|
+
name: "SingleButtonBanner",
|
|
1169
|
+
components: {
|
|
1170
|
+
BaseText: x,
|
|
1171
|
+
BaseButton: v
|
|
1172
|
+
},
|
|
1173
|
+
props: {
|
|
1174
|
+
imageUrl: {
|
|
1175
|
+
type: String,
|
|
1176
|
+
default: "https://via.placeholder.com/1200x400"
|
|
1177
|
+
// Default background image
|
|
1178
|
+
},
|
|
1179
|
+
description: {
|
|
1180
|
+
type: String,
|
|
1181
|
+
default: "Look for a Club? We can help."
|
|
1182
|
+
},
|
|
1183
|
+
buttonLabel: {
|
|
1184
|
+
type: String,
|
|
1185
|
+
default: "Learn More"
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
methods: {
|
|
1189
|
+
onClick() {
|
|
1190
|
+
this.$emit("button-click");
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
}, wt = { class: "flex flex-col justify-center items-center md:items-start h-full w-full text-center md:text-left px-6 md:px-20" };
|
|
1194
|
+
function At(o, e, r, f, u, l) {
|
|
1195
|
+
const n = c("BaseText"), a = c("BaseButton");
|
|
1196
|
+
return m(), g("section", {
|
|
1197
|
+
class: "relative bg-cover bg-center h-80 max-w-[1200px] mx-auto rounded-lg overflow-hidden mb-10",
|
|
1198
|
+
style: S({ backgroundImage: "url(" + r.imageUrl + ")" })
|
|
1199
|
+
}, [
|
|
1200
|
+
t("div", wt, [
|
|
1201
|
+
s(n, {
|
|
1202
|
+
color: "secondary",
|
|
1203
|
+
tag: "h3",
|
|
1204
|
+
size: "5xl",
|
|
1205
|
+
weight: "normal",
|
|
1206
|
+
class: "mb-8",
|
|
1207
|
+
innerHTML: r.description
|
|
1208
|
+
}, null, 8, ["innerHTML"]),
|
|
1209
|
+
s(a, {
|
|
1210
|
+
label: r.buttonLabel,
|
|
1211
|
+
size: "xs",
|
|
1212
|
+
color: "secondary",
|
|
1213
|
+
border: "gradient1",
|
|
1214
|
+
onClick: l.onClick,
|
|
1215
|
+
class: "w-40"
|
|
1216
|
+
}, null, 8, ["label", "onClick"])
|
|
1217
|
+
])
|
|
1218
|
+
], 4);
|
|
1219
|
+
}
|
|
1220
|
+
const vt = /* @__PURE__ */ p(xt, [["render", At]]), Ct = {
|
|
1221
|
+
name: "DoubleButtonBanner",
|
|
1222
|
+
components: {
|
|
1223
|
+
BaseText: x,
|
|
1224
|
+
BaseButton: v
|
|
1225
|
+
},
|
|
1226
|
+
props: {
|
|
1227
|
+
imageSrc: {
|
|
1228
|
+
type: String,
|
|
1229
|
+
required: !0
|
|
1230
|
+
},
|
|
1231
|
+
title: {
|
|
1232
|
+
type: String,
|
|
1233
|
+
required: !0
|
|
1234
|
+
},
|
|
1235
|
+
buttonLabelOne: {
|
|
1236
|
+
type: String,
|
|
1237
|
+
required: !0
|
|
1238
|
+
},
|
|
1239
|
+
buttonLabelTwo: {
|
|
1240
|
+
type: String,
|
|
1241
|
+
required: !0
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
methods: {
|
|
1245
|
+
onClickOne() {
|
|
1246
|
+
this.$emit("button-click-one");
|
|
1247
|
+
},
|
|
1248
|
+
onClickTwo() {
|
|
1249
|
+
this.$emit("button-click-one");
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
}, Bt = { class: "max-w-[1200px] mx-auto" }, St = { class: "relative w-full h-3/4 flex justify-center bg-primary m-0" }, Et = { class: "relative w-full border-b border-l border-r border-lineGrey" }, It = { class: "hidden md:flex h-80 justify-between items-center p-14" }, kt = { class: "text-left text-white max-w-lg w-96" }, zt = { class: "flex flex-col w-1/3 align-right" }, Qt = { class: "flex justify-center md:hidden text-left bg-primary w-full" }, Lt = { class: "w-full px-6 py-8 text-center" };
|
|
1253
|
+
function Ft(o, e, r, f, u, l) {
|
|
1254
|
+
const n = c("BaseText"), a = c("BaseButton");
|
|
1255
|
+
return m(), g("section", Bt, [
|
|
1256
|
+
e[2] || (e[2] = t("section", { class: "hidden md:flex border-t border-lineGrey w-full bg-primary" }, [
|
|
1257
|
+
t("div", { class: "w-[150px] h-[150px] bg-primary border-b border-lineGrey flex-shrink-0" }),
|
|
1258
|
+
t("div", { class: "flex-grow h-[150px] border-b border-l border-r border-lineGrey" }),
|
|
1259
|
+
t("div", { class: "w-[150px] h-[150px] bg-primary border-b border-lineGrey flex-shrink-0" })
|
|
1260
|
+
], -1)),
|
|
1261
|
+
t("section", St, [
|
|
1262
|
+
e[0] || (e[0] = t("div", { class: "w-[150px] bg-primary border-b border-lineGrey flex-shrink-0" }, null, -1)),
|
|
1263
|
+
t("div", Et, [
|
|
1264
|
+
t("section", It, [
|
|
1265
|
+
t("div", kt, [
|
|
1266
|
+
s(n, {
|
|
1267
|
+
color: "secondary",
|
|
1268
|
+
tag: "h1",
|
|
1269
|
+
size: "5xl",
|
|
1270
|
+
weight: "semibold",
|
|
1271
|
+
class: "mb-4"
|
|
1272
|
+
}, {
|
|
1273
|
+
default: i(() => [
|
|
1274
|
+
d(b(r.title), 1)
|
|
1275
|
+
]),
|
|
1276
|
+
_: 1
|
|
1277
|
+
})
|
|
1278
|
+
]),
|
|
1279
|
+
t("div", zt, [
|
|
1280
|
+
s(a, {
|
|
1281
|
+
label: r.buttonLabelOne,
|
|
1282
|
+
size: "xs",
|
|
1283
|
+
color: "secondary",
|
|
1284
|
+
border: "gradient1",
|
|
1285
|
+
weight: "normal",
|
|
1286
|
+
align: "between",
|
|
1287
|
+
class: "mb-4 w-52 h-16 pl-8",
|
|
1288
|
+
iconName: "fa-arrow-right-long",
|
|
1289
|
+
iconColor: "secondary",
|
|
1290
|
+
iconSize: "lg",
|
|
1291
|
+
iconType: "fa-thin",
|
|
1292
|
+
onClick: l.onClickOne
|
|
1293
|
+
}, null, 8, ["label", "onClick"]),
|
|
1294
|
+
s(a, {
|
|
1295
|
+
label: r.buttonLabelTwo,
|
|
1296
|
+
size: "xs",
|
|
1297
|
+
color: "secondary",
|
|
1298
|
+
border: "gradient2",
|
|
1299
|
+
weight: "normal",
|
|
1300
|
+
class: "w-52 h-16 pl-8",
|
|
1301
|
+
iconName: "fa-arrow-right-long",
|
|
1302
|
+
iconColor: "secondary",
|
|
1303
|
+
iconSize: "lg",
|
|
1304
|
+
iconType: "fa-thin",
|
|
1305
|
+
align: "between",
|
|
1306
|
+
onClick: l.onClickOne
|
|
1307
|
+
}, null, 8, ["label", "onClick"])
|
|
1308
|
+
])
|
|
1309
|
+
])
|
|
1310
|
+
]),
|
|
1311
|
+
e[1] || (e[1] = t("div", { class: "w-[150px] bg-primary border-b border-lineGrey flex-shrink-0" }, null, -1))
|
|
1312
|
+
]),
|
|
1313
|
+
e[3] || (e[3] = t("section", { class: "hidden md:flex border-t border-lineGrey w-full bg-primary" }, [
|
|
1314
|
+
t("div", { class: "w-[150px] h-[150px] bg-primary border-b border-lineGrey flex-shrink-0" }),
|
|
1315
|
+
t("div", { class: "flex-grow h-[150px] border-b border-l border-r border-lineGrey" }),
|
|
1316
|
+
t("div", { class: "w-[150px] h-[150px] bg-primary border-b border-lineGrey flex-shrink-0" })
|
|
1317
|
+
], -1)),
|
|
1318
|
+
t("section", Qt, [
|
|
1319
|
+
t("div", Lt, [
|
|
1320
|
+
s(n, {
|
|
1321
|
+
color: "secondary",
|
|
1322
|
+
tag: "h1",
|
|
1323
|
+
size: "2xl",
|
|
1324
|
+
weight: "bold",
|
|
1325
|
+
class: "mb-2"
|
|
1326
|
+
}, {
|
|
1327
|
+
default: i(() => [
|
|
1328
|
+
d(b(r.title), 1)
|
|
1329
|
+
]),
|
|
1330
|
+
_: 1
|
|
1331
|
+
}),
|
|
1332
|
+
s(n, {
|
|
1333
|
+
color: "secondary",
|
|
1334
|
+
tag: "p",
|
|
1335
|
+
size: "sm",
|
|
1336
|
+
weight: "normal",
|
|
1337
|
+
class: "mb-6"
|
|
1338
|
+
}, {
|
|
1339
|
+
default: i(() => [
|
|
1340
|
+
d(b(o.description), 1)
|
|
1341
|
+
]),
|
|
1342
|
+
_: 1
|
|
1343
|
+
}),
|
|
1344
|
+
s(a, {
|
|
1345
|
+
label: o.buttonLabel,
|
|
1346
|
+
size: "xs",
|
|
1347
|
+
color: "secondary",
|
|
1348
|
+
border: "gradient1",
|
|
1349
|
+
class: "w-1/2 m-auto",
|
|
1350
|
+
onClick: o.onClick
|
|
1351
|
+
}, null, 8, ["label", "onClick"])
|
|
1352
|
+
])
|
|
1353
|
+
])
|
|
1354
|
+
]);
|
|
1355
|
+
}
|
|
1356
|
+
const Kt = /* @__PURE__ */ p(Ct, [["render", Ft]]), Tt = {
|
|
1357
|
+
name: "Footer",
|
|
1358
|
+
components: { Icon: B, InputField: K, BaseButton: v, BaseText: x },
|
|
1359
|
+
data() {
|
|
1360
|
+
return {
|
|
1361
|
+
logo: T
|
|
1362
|
+
};
|
|
1363
|
+
}
|
|
1364
|
+
}, Gt = { class: "flex flex-col bg-primary" }, Vt = { class: "w-full hidden md:flex" }, jt = { class: "w-1/3" }, Yt = { class: "items-center w-full flex justify-center" }, Nt = ["src"], _t = { class: "w-1/3 flex flex-col" }, Dt = { class: "w-full flex justify-around" }, Ut = { class: "flex w-1/3" }, Mt = { class: "flex w-1/3" }, Wt = { class: "flex items-center w-1/3" }, Ht = { class: "w-full flex justify-around" }, Rt = { class: "flex items-center w-1/3" }, Zt = { class: "flex items-center w-1/3" }, Jt = { class: "flex items-center w-1/3" }, Ot = { class: "w-full flex justify-around" }, Xt = { class: "flex items-center w-1/3" }, qt = { class: "flex items-center w-1/3" }, Pt = { class: "flex w-1/3" }, $t = { class: "w-1/3 flex flex-col" }, es = { class: "w-full flex justify-end" }, ts = { class: "w-30 mr-16" }, ss = { class: "w-full flex justify-end mt-12" }, rs = { class: "w-48 mr-16" }, os = { class: "h-32 border border-t mt-10 pb-10 border-lineGrey flex flex-col justify-center items-center" };
|
|
1365
|
+
function ls(o, e, r, f, u, l) {
|
|
1366
|
+
const n = c("BaseText"), a = c("InputField"), h = c("Icon");
|
|
1367
|
+
return m(), g("section", Gt, [
|
|
1368
|
+
e[12] || (e[12] = t("div", { class: "h-20" }, null, -1)),
|
|
1369
|
+
t("section", Vt, [
|
|
1370
|
+
t("div", jt, [
|
|
1371
|
+
t("div", Yt, [
|
|
1372
|
+
t("img", {
|
|
1373
|
+
src: u.logo,
|
|
1374
|
+
alt: "Logo",
|
|
1375
|
+
class: "w-[71px] h-[56px]"
|
|
1376
|
+
}, null, 8, Nt)
|
|
1377
|
+
])
|
|
1378
|
+
]),
|
|
1379
|
+
t("div", _t, [
|
|
1380
|
+
t("div", Dt, [
|
|
1381
|
+
t("div", Ut, [
|
|
1382
|
+
s(n, {
|
|
1383
|
+
color: "secondary",
|
|
1384
|
+
size: "md",
|
|
1385
|
+
tag: "p",
|
|
1386
|
+
weight: "normal",
|
|
1387
|
+
class: "pb-2"
|
|
1388
|
+
}, {
|
|
1389
|
+
default: i(() => e[0] || (e[0] = [
|
|
1390
|
+
d("Tournaments")
|
|
1391
|
+
])),
|
|
1392
|
+
_: 1
|
|
1393
|
+
})
|
|
1394
|
+
]),
|
|
1395
|
+
t("div", Mt, [
|
|
1396
|
+
s(n, {
|
|
1397
|
+
color: "secondary",
|
|
1398
|
+
size: "md",
|
|
1399
|
+
tag: "p",
|
|
1400
|
+
weight: "normal",
|
|
1401
|
+
class: "pb-2"
|
|
1402
|
+
}, {
|
|
1403
|
+
default: i(() => e[1] || (e[1] = [
|
|
1404
|
+
d("Clubs")
|
|
1405
|
+
])),
|
|
1406
|
+
_: 1
|
|
1407
|
+
})
|
|
1408
|
+
]),
|
|
1409
|
+
t("div", Wt, [
|
|
1410
|
+
s(n, {
|
|
1411
|
+
color: "secondary",
|
|
1412
|
+
size: "md",
|
|
1413
|
+
tag: "p",
|
|
1414
|
+
weight: "normal",
|
|
1415
|
+
class: "pb-2"
|
|
1416
|
+
}, {
|
|
1417
|
+
default: i(() => e[2] || (e[2] = [
|
|
1418
|
+
d("Leaderboard")
|
|
1419
|
+
])),
|
|
1420
|
+
_: 1
|
|
1421
|
+
})
|
|
1422
|
+
])
|
|
1423
|
+
]),
|
|
1424
|
+
t("div", Ht, [
|
|
1425
|
+
t("div", Rt, [
|
|
1426
|
+
s(n, {
|
|
1427
|
+
color: "secondary",
|
|
1428
|
+
size: "sm",
|
|
1429
|
+
tag: "p",
|
|
1430
|
+
weight: "thin",
|
|
1431
|
+
class: "pb-2"
|
|
1432
|
+
}, {
|
|
1433
|
+
default: i(() => e[3] || (e[3] = [
|
|
1434
|
+
d("Upcoming")
|
|
1435
|
+
])),
|
|
1436
|
+
_: 1
|
|
1437
|
+
})
|
|
1438
|
+
]),
|
|
1439
|
+
t("div", Zt, [
|
|
1440
|
+
s(n, {
|
|
1441
|
+
color: "secondary",
|
|
1442
|
+
size: "sm",
|
|
1443
|
+
tag: "p",
|
|
1444
|
+
weight: "thin",
|
|
1445
|
+
class: "pb-2"
|
|
1446
|
+
}, {
|
|
1447
|
+
default: i(() => e[4] || (e[4] = [
|
|
1448
|
+
d("Club List")
|
|
1449
|
+
])),
|
|
1450
|
+
_: 1
|
|
1451
|
+
})
|
|
1452
|
+
]),
|
|
1453
|
+
t("div", Jt, [
|
|
1454
|
+
s(n, {
|
|
1455
|
+
color: "secondary",
|
|
1456
|
+
size: "sm",
|
|
1457
|
+
tag: "p",
|
|
1458
|
+
weight: "thin",
|
|
1459
|
+
class: "pb-2"
|
|
1460
|
+
}, {
|
|
1461
|
+
default: i(() => e[5] || (e[5] = [
|
|
1462
|
+
d("Top Fencers")
|
|
1463
|
+
])),
|
|
1464
|
+
_: 1
|
|
1465
|
+
})
|
|
1466
|
+
])
|
|
1467
|
+
]),
|
|
1468
|
+
t("div", Ot, [
|
|
1469
|
+
t("div", Xt, [
|
|
1470
|
+
s(n, {
|
|
1471
|
+
color: "secondary",
|
|
1472
|
+
size: "sm",
|
|
1473
|
+
tag: "p",
|
|
1474
|
+
weight: "thin",
|
|
1475
|
+
class: "pb-2"
|
|
1476
|
+
}, {
|
|
1477
|
+
default: i(() => e[6] || (e[6] = [
|
|
1478
|
+
d("Past")
|
|
1479
|
+
])),
|
|
1480
|
+
_: 1
|
|
1481
|
+
})
|
|
1482
|
+
]),
|
|
1483
|
+
t("div", qt, [
|
|
1484
|
+
s(n, {
|
|
1485
|
+
color: "secondary",
|
|
1486
|
+
size: "sm",
|
|
1487
|
+
tag: "p",
|
|
1488
|
+
weight: "thin",
|
|
1489
|
+
class: "pb-2"
|
|
1490
|
+
}, {
|
|
1491
|
+
default: i(() => e[7] || (e[7] = [
|
|
1492
|
+
d("Local Clubs")
|
|
1493
|
+
])),
|
|
1494
|
+
_: 1
|
|
1495
|
+
})
|
|
1496
|
+
]),
|
|
1497
|
+
t("div", Pt, [
|
|
1498
|
+
s(n, {
|
|
1499
|
+
color: "secondary",
|
|
1500
|
+
size: "sm",
|
|
1501
|
+
tag: "p",
|
|
1502
|
+
weight: "thin",
|
|
1503
|
+
class: "pb-2"
|
|
1504
|
+
}, {
|
|
1505
|
+
default: i(() => e[8] || (e[8] = [
|
|
1506
|
+
d("By Weapon")
|
|
1507
|
+
])),
|
|
1508
|
+
_: 1
|
|
1509
|
+
})
|
|
1510
|
+
])
|
|
1511
|
+
])
|
|
1512
|
+
]),
|
|
1513
|
+
t("div", $t, [
|
|
1514
|
+
t("div", es, [
|
|
1515
|
+
t("div", ts, [
|
|
1516
|
+
s(n, {
|
|
1517
|
+
color: "secondary",
|
|
1518
|
+
size: "md",
|
|
1519
|
+
tag: "p",
|
|
1520
|
+
weight: "thin",
|
|
1521
|
+
class: "pb-4"
|
|
1522
|
+
}, {
|
|
1523
|
+
default: i(() => e[9] || (e[9] = [
|
|
1524
|
+
d("Subscribe")
|
|
1525
|
+
])),
|
|
1526
|
+
_: 1
|
|
1527
|
+
}),
|
|
1528
|
+
s(a, {
|
|
1529
|
+
placeholder: "Email",
|
|
1530
|
+
type: "email",
|
|
1531
|
+
class: "w-52"
|
|
1532
|
+
})
|
|
1533
|
+
])
|
|
1534
|
+
]),
|
|
1535
|
+
t("div", ss, [
|
|
1536
|
+
t("div", rs, [
|
|
1537
|
+
s(n, {
|
|
1538
|
+
color: "secondary",
|
|
1539
|
+
size: "md",
|
|
1540
|
+
tag: "p",
|
|
1541
|
+
weight: "thin",
|
|
1542
|
+
class: "pb-2"
|
|
1543
|
+
}, {
|
|
1544
|
+
default: i(() => e[10] || (e[10] = [
|
|
1545
|
+
d("Follow Us")
|
|
1546
|
+
])),
|
|
1547
|
+
_: 1
|
|
1548
|
+
}),
|
|
1549
|
+
t("div", null, [
|
|
1550
|
+
s(h, {
|
|
1551
|
+
type: "fa-brands",
|
|
1552
|
+
icon: "fa-facebook",
|
|
1553
|
+
color: "secondary",
|
|
1554
|
+
size: "lg",
|
|
1555
|
+
class: "mr-4"
|
|
1556
|
+
}),
|
|
1557
|
+
s(h, {
|
|
1558
|
+
type: "fa-brands",
|
|
1559
|
+
icon: "fa-discord",
|
|
1560
|
+
color: "secondary",
|
|
1561
|
+
size: "lg",
|
|
1562
|
+
class: "mr-4"
|
|
1563
|
+
}),
|
|
1564
|
+
s(h, {
|
|
1565
|
+
type: "fa-brands",
|
|
1566
|
+
icon: "fa-instagram",
|
|
1567
|
+
color: "secondary",
|
|
1568
|
+
size: "lg",
|
|
1569
|
+
class: "mr-4"
|
|
1570
|
+
}),
|
|
1571
|
+
s(h, {
|
|
1572
|
+
type: "fa-brands",
|
|
1573
|
+
icon: "fa-youtube",
|
|
1574
|
+
color: "secondary",
|
|
1575
|
+
size: "lg",
|
|
1576
|
+
class: "mr-4"
|
|
1577
|
+
})
|
|
1578
|
+
])
|
|
1579
|
+
])
|
|
1580
|
+
])
|
|
1581
|
+
])
|
|
1582
|
+
]),
|
|
1583
|
+
t("div", os, [
|
|
1584
|
+
s(n, {
|
|
1585
|
+
color: "secondary",
|
|
1586
|
+
size: "sm",
|
|
1587
|
+
tag: "p",
|
|
1588
|
+
weight: "normal",
|
|
1589
|
+
class: "text-center pt-4"
|
|
1590
|
+
}, {
|
|
1591
|
+
default: i(() => e[11] || (e[11] = [
|
|
1592
|
+
d("© Copyright Meyer Squared 2024. All rights reserved.")
|
|
1593
|
+
])),
|
|
1594
|
+
_: 1
|
|
1595
|
+
})
|
|
1596
|
+
])
|
|
1597
|
+
]);
|
|
1598
|
+
}
|
|
1599
|
+
const ns = /* @__PURE__ */ p(Tt, [["render", ls]]), as = {
|
|
1600
|
+
name: "HomePage",
|
|
1601
|
+
components: {
|
|
1602
|
+
Footer: ns,
|
|
1603
|
+
DoubleButtonBanner: Kt,
|
|
1604
|
+
SingleButtonBanner: vt,
|
|
1605
|
+
GridLayout: yt,
|
|
1606
|
+
TournamentCard: I,
|
|
1607
|
+
ArticleCard: Q,
|
|
1608
|
+
FencerCard: z,
|
|
1609
|
+
Header: be,
|
|
1610
|
+
HeroBanner: Ce
|
|
1611
|
+
},
|
|
1612
|
+
props: {
|
|
1613
|
+
title: {
|
|
1614
|
+
type: String,
|
|
1615
|
+
default: "Hero Banner Title"
|
|
1616
|
+
},
|
|
1617
|
+
description: {
|
|
1618
|
+
type: String,
|
|
1619
|
+
default: "This is the description that goes under the hero banner."
|
|
1620
|
+
},
|
|
1621
|
+
buttonLabel: {
|
|
1622
|
+
type: String,
|
|
1623
|
+
default: "Click Here"
|
|
1624
|
+
},
|
|
1625
|
+
imageSrc: {
|
|
1626
|
+
type: String,
|
|
1627
|
+
default: "https://meyersquared.com/images/Banner2.png"
|
|
1628
|
+
},
|
|
1629
|
+
tournaments: {
|
|
1630
|
+
type: Array,
|
|
1631
|
+
default: () => []
|
|
1632
|
+
},
|
|
1633
|
+
tournamentsIsLoading: {
|
|
1634
|
+
type: Boolean,
|
|
1635
|
+
default: !1
|
|
1636
|
+
},
|
|
1637
|
+
articles: {
|
|
1638
|
+
type: Array,
|
|
1639
|
+
default: () => []
|
|
1640
|
+
},
|
|
1641
|
+
articlesIsLoading: {
|
|
1642
|
+
type: Boolean,
|
|
1643
|
+
default: !1
|
|
1644
|
+
},
|
|
1645
|
+
topFencers: {
|
|
1646
|
+
type: Array,
|
|
1647
|
+
default: () => []
|
|
1648
|
+
},
|
|
1649
|
+
topFencersIsLoading: {
|
|
1650
|
+
type: Boolean,
|
|
1651
|
+
default: !1
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
computed: {
|
|
1655
|
+
ArticleCard() {
|
|
1656
|
+
return Q;
|
|
1657
|
+
},
|
|
1658
|
+
FencerCard() {
|
|
1659
|
+
return z;
|
|
1660
|
+
},
|
|
1661
|
+
limitedTournaments() {
|
|
1662
|
+
return this.tournaments.slice(0, 6);
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
data() {
|
|
1666
|
+
return {
|
|
1667
|
+
TournamentCard: I
|
|
1668
|
+
};
|
|
1669
|
+
}
|
|
1670
|
+
}, is = { class: "m-0 w-full bg-secondary" };
|
|
1671
|
+
function ds(o, e, r, f, u, l) {
|
|
1672
|
+
const n = c("Header"), a = c("HeroBanner"), h = c("GridLayout"), y = c("SingleButtonBanner"), G = c("DoubleButtonBanner"), V = c("Footer");
|
|
1673
|
+
return m(), g("div", is, [
|
|
1674
|
+
s(n),
|
|
1675
|
+
s(a, {
|
|
1676
|
+
title: r.title,
|
|
1677
|
+
buttonLabel: r.buttonLabel,
|
|
1678
|
+
description: r.description,
|
|
1679
|
+
imageSrc: r.imageSrc
|
|
1680
|
+
}, null, 8, ["title", "buttonLabel", "description", "imageSrc"]),
|
|
1681
|
+
s(h, {
|
|
1682
|
+
cardComponent: u.TournamentCard,
|
|
1683
|
+
items: l.limitedTournaments,
|
|
1684
|
+
maxColumns: 3,
|
|
1685
|
+
isLoading: r.articlesIsLoading,
|
|
1686
|
+
moreButtonLabel: "See All Tournaments",
|
|
1687
|
+
title: "Upcoming"
|
|
1688
|
+
}, null, 8, ["cardComponent", "items", "isLoading"]),
|
|
1689
|
+
s(y, {
|
|
1690
|
+
buttonLabel: "Learn More",
|
|
1691
|
+
description: "Look for a Club? <br> We can help.",
|
|
1692
|
+
imageUrl: "https://via.placeholder.com/1200x400"
|
|
1693
|
+
}),
|
|
1694
|
+
s(h, {
|
|
1695
|
+
cardComponent: l.FencerCard,
|
|
1696
|
+
items: r.topFencers,
|
|
1697
|
+
maxColumns: 5,
|
|
1698
|
+
mobileHorizontal: !0,
|
|
1699
|
+
isLoading: r.topFencersIsLoading,
|
|
1700
|
+
moreButtonLabel: "Leaderboards",
|
|
1701
|
+
title: "Top Fencers"
|
|
1702
|
+
}, null, 8, ["cardComponent", "items", "isLoading"]),
|
|
1703
|
+
s(G, {
|
|
1704
|
+
title: "How Does Meyer Squared work?",
|
|
1705
|
+
"button-label-two": "Run a tournament",
|
|
1706
|
+
"button-label-one": "Submit Results",
|
|
1707
|
+
"image-src": ""
|
|
1708
|
+
}),
|
|
1709
|
+
s(h, {
|
|
1710
|
+
cardComponent: l.ArticleCard,
|
|
1711
|
+
items: r.articles,
|
|
1712
|
+
maxColumns: 3,
|
|
1713
|
+
mobileHorizontal: !0,
|
|
1714
|
+
isLoading: r.articlesIsLoading,
|
|
1715
|
+
moreButtonLabel: "See More",
|
|
1716
|
+
title: "Interesting Articles"
|
|
1717
|
+
}, null, 8, ["cardComponent", "items", "isLoading"]),
|
|
1718
|
+
s(V)
|
|
1719
|
+
]);
|
|
1720
|
+
}
|
|
1721
|
+
const us = /* @__PURE__ */ p(as, [["render", ds]]);
|
|
587
1722
|
export {
|
|
588
|
-
|
|
589
|
-
|
|
1723
|
+
Q as ArticleCard,
|
|
1724
|
+
v as BaseIcon,
|
|
1725
|
+
x as BaseText,
|
|
1726
|
+
Kt as DoubleButtonBanner,
|
|
1727
|
+
z as FencerCard,
|
|
1728
|
+
ns as Footer,
|
|
1729
|
+
yt as GridLayout,
|
|
590
1730
|
be as Header,
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
1731
|
+
Ce as HeroBanner,
|
|
1732
|
+
us as HomePage,
|
|
1733
|
+
B as Icon,
|
|
1734
|
+
K as InputField,
|
|
1735
|
+
ee as Searchbox,
|
|
1736
|
+
vt as SingleButtonBanner,
|
|
1737
|
+
I as TournamentCard
|
|
595
1738
|
};
|