@courtneyring/components-library 1.0.31 → 1.0.32
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/AccordionItem-CDN4L4a7.js +40 -0
- package/dist/assets/AccordionItem.css +1 -1
- package/dist/assets/Background.css +1 -1
- package/dist/assets/Banner.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Container.css +1 -1
- package/dist/assets/Countdown.css +1 -1
- package/dist/assets/Fifty.css +1 -1
- package/dist/assets/FloatingWordsHero.css +1 -1
- package/dist/assets/Footer.css +1 -1
- package/dist/assets/GenericOverlay.css +1 -1
- package/dist/assets/IconDetail.css +1 -1
- package/dist/assets/ImageTextBlock.css +1 -1
- package/dist/assets/List.css +1 -1
- package/dist/assets/Map.css +1 -1
- package/dist/assets/MenuButton.css +1 -1
- package/dist/assets/Navbar.css +1 -1
- package/dist/assets/Note.css +1 -1
- package/dist/assets/OverlayHero.css +1 -1
- package/dist/assets/PageContainer.css +1 -1
- package/dist/assets/PinnedImage.css +1 -1
- package/dist/assets/PromoGroup.css +1 -1
- package/dist/assets/RSVPEmbed.css +1 -1
- package/dist/assets/Schedule.css +1 -1
- package/dist/assets/TextBlock.css +1 -1
- package/dist/components/Accordion/Accordion.js +21 -14
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Background/Background.js +6 -6
- package/dist/components/Banner/Banner.js +15 -15
- package/dist/components/Button/Button.js +29 -29
- package/dist/components/ButtonGroup/ButtonGroup.js +5 -4
- package/dist/components/Container/Container.js +13 -11
- package/dist/components/Countdown/Countdown.js +1 -1
- package/dist/components/Fifty/Fifty.js +24 -23
- package/dist/components/FloatingWordsHero/FloatingWordsHero.js +55 -25
- package/dist/components/Footer/Footer.js +6 -6
- package/dist/components/GenericOverlay/GenericOverlay.js +14 -14
- package/dist/components/IconDetail/IconDetail.js +3 -3
- package/dist/components/ImageTextBlock/ImageTextBlock.js +24 -23
- package/dist/components/List/List.js +12 -12
- package/dist/components/Map/Map.js +25 -23
- package/dist/components/MenuButton/MenuButton.js +21 -21
- package/dist/components/Navbar/Navbar.js +40 -40
- package/dist/components/Note/Note.js +14 -14
- package/dist/components/OverlayHero/OverlayHero.js +63 -21
- package/dist/components/PageContainer/PageContainer.js +6 -6
- package/dist/components/PinnedImage/PinnedImage.js +36 -36
- package/dist/components/PromoGroup/PromoGroup.js +46 -44
- package/dist/components/RSVPEmbed/RSVPEmbed.js +3 -3
- package/dist/components/Schedule/Schedule.js +12 -12
- package/dist/components/TextBlock/TextBlock.js +18 -18
- package/dist/components/Toolbar/Toolbar.js +16 -16
- package/dist/hooks/useImageReveal 4.js +55 -0
- package/dist/hooks/useImageReveal.js +55 -0
- package/dist/hooks/{useResize 2.js → useResize 4.js } +11 -7
- package/dist/hooks/useResize.js +11 -7
- package/dist/index 2.js +50 -0
- package/dist/index-BmTo-IS6 4.js +2018 -0
- package/dist/index-DyQs5aC7 4.js +388 -0
- package/dist/index-K0WrPJ_C 4.js +29 -0
- package/dist/index.modern-DPbS1w7M 4.js +1443 -0
- package/dist/presets/{animations 3.js → animations 4.js } +7 -2
- package/dist/presets/animations.js +7 -2
- package/package.json +3 -2
- package/src/styles/_fonts.scss +4 -7
- package/src/styles/_reveal.scss +93 -0
- package/src/styles/_sizes.scss +1 -0
- package/dist/AccordionItem-BlVXPxrh.js +0 -40
- /package/dist/hooks/{useActiveSection 2.js → useActiveSection 4.js} +0 -0
- /package/dist/hooks/{useFadeIn 2.js → useFadeIn 4.js} +0 -0
- /package/dist/hooks/{useNavColor 2.js → useNavColor 4.js} +0 -0
- /package/dist/hooks/{useRepeatable 2.js → useRepeatable 4.js} +0 -0
- /package/dist/hooks/{useResponsive 2.js → useResponsive 4.js} +0 -0
- /package/dist/hooks/{useReveal 2.js → useReveal 4.js} +0 -0
- /package/dist/hooks/{useStagger 2.js → useStagger 4.js} +0 -0
- /package/dist/{index-B2JRaoNz 2.js → index-B2JRaoNz 4.js} +0 -0
- /package/dist/utils/{breakpoints 3.js → breakpoints 4.js} +0 -0
- /package/dist/utils/{gsapSetup 3.js → gsapSetup 4.js} +0 -0
- /package/dist/utils/{parse 3.js → parse 4.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import "../../hooks/useFadeIn.js";
|
|
4
|
-
import
|
|
5
|
-
import { Fragment as
|
|
6
|
-
import { useReveal as
|
|
4
|
+
import y from "../Button/Button.js";
|
|
5
|
+
import { Fragment as p } from "react";
|
|
6
|
+
import { useReveal as r } from "../../hooks/useReveal.js";
|
|
7
7
|
import { appleReveal as n } from "../../presets/animations.js";
|
|
8
|
-
import '../../assets/Banner.css';const
|
|
9
|
-
banner:
|
|
8
|
+
import '../../assets/Banner.css';const f = "_banner_a5qcy_1", v = "_header_a5qcy_8", b = "_body_a5qcy_55", h = "_ctas_a5qcy_99", a = {
|
|
9
|
+
banner: f,
|
|
10
10
|
header: v,
|
|
11
|
-
body:
|
|
12
|
-
ctas:
|
|
13
|
-
},
|
|
14
|
-
const c =
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
s && /* @__PURE__ */ e("div", { className:
|
|
17
|
-
o && /* @__PURE__ */ e("div", { className:
|
|
18
|
-
t && /* @__PURE__ */ e("div", { className:
|
|
11
|
+
body: b,
|
|
12
|
+
ctas: h
|
|
13
|
+
}, R = ({ header: s, body: o, ctas: t }) => {
|
|
14
|
+
const c = r(n), d = r({ ...n, delay: 0.2 }), l = r({ ...n, delay: 0.4 });
|
|
15
|
+
return /* @__PURE__ */ _("div", { className: a.banner, children: [
|
|
16
|
+
s && /* @__PURE__ */ e("div", { className: a.header, ref: c, children: s }),
|
|
17
|
+
o && /* @__PURE__ */ e("div", { className: a.body, ref: d, children: o }),
|
|
18
|
+
t && /* @__PURE__ */ e("div", { className: a.ctas, ref: l, children: t.map((m, i) => /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(y, { ...m }) }, `button-${i}`)) })
|
|
19
19
|
] });
|
|
20
20
|
};
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
R as default
|
|
23
23
|
};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as u, jsx as
|
|
3
|
-
import { c as
|
|
4
|
-
import '../../assets/Button.css';const
|
|
5
|
-
button:
|
|
6
|
-
hollow:
|
|
7
|
-
filled:
|
|
8
|
-
link:
|
|
2
|
+
import { jsxs as u, jsx as k } from "react/jsx-runtime";
|
|
3
|
+
import { c as f } from "../../index-B2JRaoNz.js";
|
|
4
|
+
import '../../assets/Button.css';const x = "_button_13x2k_1", b = "_hollow_13x2k_108", h = "_filled_13x2k_111", p = "_link_13x2k_147", l = {
|
|
5
|
+
button: x,
|
|
6
|
+
hollow: b,
|
|
7
|
+
filled: h,
|
|
8
|
+
link: p
|
|
9
9
|
}, g = ({
|
|
10
|
-
children:
|
|
10
|
+
children: c,
|
|
11
11
|
fn: o,
|
|
12
|
-
href:
|
|
13
|
-
target:
|
|
14
|
-
hollow:
|
|
15
|
-
variation:
|
|
16
|
-
textDecoration:
|
|
17
|
-
label:
|
|
12
|
+
href: t,
|
|
13
|
+
target: r,
|
|
14
|
+
hollow: _ = !1,
|
|
15
|
+
variation: s = "color-primary-dark",
|
|
16
|
+
textDecoration: i,
|
|
17
|
+
label: d,
|
|
18
18
|
value: n,
|
|
19
|
-
icon:
|
|
20
|
-
onClick:
|
|
21
|
-
className:
|
|
19
|
+
icon: a,
|
|
20
|
+
onClick: e,
|
|
21
|
+
className: m
|
|
22
22
|
}) => /* @__PURE__ */ u(
|
|
23
|
-
|
|
23
|
+
t || n ? "a" : "button",
|
|
24
24
|
{
|
|
25
|
-
href:
|
|
26
|
-
onClick: o ||
|
|
27
|
-
target:
|
|
28
|
-
className:
|
|
25
|
+
href: t || n,
|
|
26
|
+
onClick: o || e ? o || e : null,
|
|
27
|
+
target: r,
|
|
28
|
+
className: f(
|
|
29
29
|
l.button,
|
|
30
|
-
|
|
31
|
-
l[
|
|
32
|
-
|
|
30
|
+
_ ? l.hollow : l.filled,
|
|
31
|
+
l[s],
|
|
32
|
+
m
|
|
33
33
|
),
|
|
34
|
-
style: { textDecoration:
|
|
35
|
-
"data-color":
|
|
34
|
+
style: { textDecoration: i },
|
|
35
|
+
"data-color": s,
|
|
36
36
|
children: [
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
c || d,
|
|
38
|
+
a && /* @__PURE__ */ k("span", { className: "material-symbols-outlined", children: a })
|
|
39
39
|
]
|
|
40
40
|
}
|
|
41
41
|
);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as u } from "react/jsx-runtime";
|
|
3
3
|
import { createElement as e } from "react";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import m from "../Button/Button.js";
|
|
5
|
+
import { c as n } from "../../index-B2JRaoNz.js";
|
|
6
|
+
import '../../assets/ButtonGroup.css';const p = "_buttonGroup_1w1h9_1", a = {
|
|
6
7
|
buttonGroup: p
|
|
7
|
-
},
|
|
8
|
+
}, G = ({ ctas: t, className: o }) => /* @__PURE__ */ u("div", { className: n(a.buttonGroup, o), children: t.map((r, s) => /* @__PURE__ */ e(m, { ...r, key: `cta-${s}` })) });
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
G as default
|
|
10
11
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import { c as t } from "../../index-B2JRaoNz.js";
|
|
4
|
-
import { useRef as
|
|
5
|
-
import '../../assets/Container.css';const
|
|
6
|
-
container:
|
|
7
|
-
innerContainer:
|
|
8
|
-
styleless:
|
|
9
|
-
},
|
|
4
|
+
import { useRef as p } from "react";
|
|
5
|
+
import '../../assets/Container.css';const u = "_container_zvphg_1", g = "_innerContainer_zvphg_37", y = "_styleless_zvphg_140", e = {
|
|
6
|
+
container: u,
|
|
7
|
+
innerContainer: g,
|
|
8
|
+
styleless: y
|
|
9
|
+
}, z = ({
|
|
10
10
|
color: s,
|
|
11
11
|
children: r,
|
|
12
12
|
maxWidth: a,
|
|
@@ -16,25 +16,27 @@ import '../../assets/Container.css';const y = "_container_19k16_1", C = "_innerC
|
|
|
16
16
|
fullHeight: c,
|
|
17
17
|
center: m,
|
|
18
18
|
hide: d,
|
|
19
|
-
|
|
19
|
+
id: _,
|
|
20
|
+
...f
|
|
20
21
|
}) => {
|
|
21
|
-
const
|
|
22
|
+
const h = p();
|
|
22
23
|
if (!d)
|
|
23
24
|
return /* @__PURE__ */ n(
|
|
24
25
|
"div",
|
|
25
26
|
{
|
|
26
27
|
className: t(e.container, o && e.styleless),
|
|
27
28
|
"data-color": s,
|
|
28
|
-
ref:
|
|
29
|
+
ref: h,
|
|
29
30
|
style: { backgroundImage: `url(${i})`, backgroundPosition: l },
|
|
30
31
|
"data-full-height": c,
|
|
31
32
|
"data-center": m,
|
|
32
|
-
...
|
|
33
|
+
...f,
|
|
33
34
|
children: /* @__PURE__ */ n(
|
|
34
35
|
"div",
|
|
35
36
|
{
|
|
36
37
|
className: t(e.innerContainer),
|
|
37
38
|
"data-max-width": a,
|
|
39
|
+
id: _,
|
|
38
40
|
children: r
|
|
39
41
|
}
|
|
40
42
|
)
|
|
@@ -42,5 +44,5 @@ import '../../assets/Container.css';const y = "_container_19k16_1", C = "_innerC
|
|
|
42
44
|
);
|
|
43
45
|
};
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
z as default
|
|
46
48
|
};
|
|
@@ -3,7 +3,7 @@ import { jsx as n, jsxs as f } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState as d, useEffect as m } from "react";
|
|
4
4
|
import { useStagger as p } from "../../hooks/useStagger.js";
|
|
5
5
|
import { appleStagger as o } from "../../presets/animations.js";
|
|
6
|
-
import '../../assets/Countdown.css';const h = "
|
|
6
|
+
import '../../assets/Countdown.css';const h = "_countdown_px87l_1", g = "_block_px87l_12", r = {
|
|
7
7
|
countdown: h,
|
|
8
8
|
block: g
|
|
9
9
|
}, k = ({ targetDate: s }) => {
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import N from "../Button/Button.js";
|
|
4
4
|
import { c as f } from "../../index-B2JRaoNz.js";
|
|
5
5
|
import { Fragment as d } from "react";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { useReveal as
|
|
9
|
-
import { appleReveal as
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
import F from "../IconDetail/IconDetail.js";
|
|
7
|
+
import j from "../../utils/parse.js";
|
|
8
|
+
import { useReveal as a } from "../../hooks/useReveal.js";
|
|
9
|
+
import { appleReveal as s } from "../../presets/animations.js";
|
|
10
|
+
import { useImageReveal as I } from "../../hooks/useImageReveal.js";
|
|
11
|
+
import '../../assets/Fifty.css';const b = "_content_wuae0_2", B = "_fifty_wuae0_49", D = "_contentFirst_wuae0_86", P = "_reverse_wuae0_90", k = "_image_wuae0_93", q = "_text_wuae0_156", z = "_ctas_wuae0_214", A = "_details_wuae0_232", t = {
|
|
12
|
+
content: b,
|
|
13
|
+
fifty: B,
|
|
14
|
+
contentFirst: D,
|
|
15
|
+
reverse: P,
|
|
16
|
+
image: k,
|
|
17
|
+
text: q,
|
|
17
18
|
ctas: z,
|
|
18
19
|
details: A
|
|
19
|
-
},
|
|
20
|
-
heading:
|
|
21
|
-
body:
|
|
20
|
+
}, Q = ({
|
|
21
|
+
heading: i,
|
|
22
|
+
body: n,
|
|
22
23
|
ctas: r,
|
|
23
24
|
color: _,
|
|
24
25
|
image: v,
|
|
25
26
|
reverse: p,
|
|
26
|
-
pos:
|
|
27
|
+
pos: u,
|
|
27
28
|
details: l,
|
|
28
29
|
contentFirst: R = !0
|
|
29
30
|
}) => {
|
|
30
|
-
const
|
|
31
|
+
const h = I({ duration: 1.4 }), y = a(s), g = a({ ...s, delay: 0.2 }), w = a({ ...s, delay: 0.4 }), x = a({ ...s, delay: 0.4 });
|
|
31
32
|
return /* @__PURE__ */ m(
|
|
32
33
|
"div",
|
|
33
34
|
{
|
|
@@ -39,16 +40,16 @@ import '../../assets/Fifty.css';const D = "_content_1ne41_2", I = "_fifty_1ne41_
|
|
|
39
40
|
"data-color": _,
|
|
40
41
|
children: [
|
|
41
42
|
/* @__PURE__ */ e("div", { className: f(t.content), children: /* @__PURE__ */ m("div", { className: t.text, children: [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
r && !!r.length && /* @__PURE__ */ e("div", { className: t.ctas, ref:
|
|
45
|
-
/* @__PURE__ */ e("div", { className: t.details, ref:
|
|
43
|
+
i && /* @__PURE__ */ e("h2", { ref: y, children: i }),
|
|
44
|
+
n && /* @__PURE__ */ e("div", { ref: g, children: j(n) }),
|
|
45
|
+
r && !!r.length && /* @__PURE__ */ e("div", { className: t.ctas, ref: w, children: r.map((o, c) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(N, { ...o }) }, c)) }),
|
|
46
|
+
/* @__PURE__ */ e("div", { className: t.details, ref: x, children: l && l.map((o, c) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(F, { ...o }) }, c)) })
|
|
46
47
|
] }) }),
|
|
47
|
-
/* @__PURE__ */ e("div", { className: t.image, ref:
|
|
48
|
+
/* @__PURE__ */ e("div", { className: t.image, ref: h, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: u } }) })
|
|
48
49
|
]
|
|
49
50
|
}
|
|
50
51
|
);
|
|
51
52
|
};
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
Q as default
|
|
54
55
|
};
|
|
@@ -1,30 +1,60 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import u from "../../utils/parse.js";
|
|
4
4
|
import "../../index-B2JRaoNz.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
5
|
+
import w from "../ButtonGroup/ButtonGroup.js";
|
|
6
|
+
import b from "../../hooks/useResize.js";
|
|
7
|
+
import { useRef as a, useEffect as v } from "react";
|
|
8
|
+
import { g as o } from "../../index-BmTo-IS6.js";
|
|
9
|
+
import { S as N } from "../../ScrollTrigger-6HnikosL.js";
|
|
10
|
+
import '../../assets/FloatingWordsHero.css';const k = "_hero_ug1ep_1", x = "_buttonGroup_ug1ep_28", B = "_heroBg_ug1ep_32", C = "_content_ug1ep_40", R = "_title_ug1ep_48", G = "_subtitle_ug1ep_62", S = "_arrow_ug1ep_80", y = "_arrowCircle_ug1ep_91", r = {
|
|
11
|
+
hero: k,
|
|
12
|
+
buttonGroup: x,
|
|
13
|
+
heroBg: B,
|
|
14
|
+
content: C,
|
|
15
|
+
title: R,
|
|
16
|
+
subtitle: G,
|
|
17
|
+
arrow: S,
|
|
18
|
+
arrowCircle: y
|
|
19
|
+
};
|
|
20
|
+
o.registerPlugin(N);
|
|
21
|
+
const $ = ({ image: d, pos: p, eyebrow: n, title: g, subtitle: s, cta: W, contentPos: j, ctas: c, scrollToId: m }) => {
|
|
22
|
+
const { innerWidth: I, innerHeight: P } = b(), t = a(null), i = a(null), h = () => {
|
|
23
|
+
document.getElementById(m).scrollIntoView({ behavior: "smooth" });
|
|
24
|
+
};
|
|
25
|
+
return v(() => {
|
|
26
|
+
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
|
27
|
+
const f = o.context(() => {
|
|
28
|
+
o.to(i.current, {
|
|
29
|
+
y: "15%",
|
|
30
|
+
ease: "none",
|
|
31
|
+
scrollTrigger: {
|
|
32
|
+
trigger: t.current,
|
|
33
|
+
start: "top top",
|
|
34
|
+
end: "bottom top",
|
|
35
|
+
scrub: !0
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}, t);
|
|
39
|
+
return () => f.revert();
|
|
40
|
+
}, []), /* @__PURE__ */ l("div", { ref: t, className: r.hero, children: [
|
|
41
|
+
/* @__PURE__ */ e(
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
ref: i,
|
|
45
|
+
className: r.heroBg,
|
|
46
|
+
style: { backgroundImage: `url(${d})`, backgroundPosition: p }
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ l("div", { className: r.content, children: [
|
|
50
|
+
n && /* @__PURE__ */ e("p", { className: r.eyebrow, children: n }),
|
|
51
|
+
/* @__PURE__ */ e("h1", { className: r.title, children: u(g) }),
|
|
52
|
+
s && /* @__PURE__ */ e("div", { className: r.subtitle, children: u(s) }),
|
|
53
|
+
c && /* @__PURE__ */ e(w, { ctas: c, className: r.buttonGroup })
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ e("div", { className: r.arrow, onClick: h, children: /* @__PURE__ */ e("div", { className: r.arrowCircle, children: /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" }) }) }) })
|
|
56
|
+
] });
|
|
27
57
|
};
|
|
28
58
|
export {
|
|
29
|
-
|
|
59
|
+
$ as default
|
|
30
60
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import '../../assets/Footer.css';const a = "
|
|
3
|
+
import '../../assets/Footer.css';const a = "_footer_141jj_2", c = "_image_141jj_58", m = "_text_141jj_63", t = {
|
|
4
4
|
footer: a,
|
|
5
5
|
image: c,
|
|
6
|
-
text:
|
|
7
|
-
},
|
|
8
|
-
/* @__PURE__ */ e("img", { src:
|
|
9
|
-
/* @__PURE__ */ e("p", { className: t.text, children:
|
|
6
|
+
text: m
|
|
7
|
+
}, i = ({ logo: o, logoText: s }) => /* @__PURE__ */ r("footer", { className: t.footer, children: [
|
|
8
|
+
/* @__PURE__ */ e("img", { src: o, className: t.image }),
|
|
9
|
+
/* @__PURE__ */ e("p", { className: t.text, children: s })
|
|
10
10
|
] });
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
i as default
|
|
13
13
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import '../../assets/GenericOverlay.css';const i = "
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import a from "../../utils/parse.js";
|
|
4
|
+
import s from "../Button/Button.js";
|
|
5
|
+
import '../../assets/GenericOverlay.css';const i = "_overlay_oltvp_2", v = "_content_oltvp_61", d = "_ctas_oltvp_150", e = {
|
|
6
6
|
overlay: i,
|
|
7
|
-
content:
|
|
8
|
-
ctas:
|
|
9
|
-
},
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */ n("div", { className:
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */ n("div", { className:
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
content: v,
|
|
8
|
+
ctas: d
|
|
9
|
+
}, p = ({ header: r, body: l, primaryCta: o, secondaryCta: c }) => /* @__PURE__ */ t("div", { className: e.overlay, children: /* @__PURE__ */ n("div", { className: e.innerContainer, children: [
|
|
10
|
+
/* @__PURE__ */ t("h2", { children: r }),
|
|
11
|
+
/* @__PURE__ */ n("div", { className: e.content, children: [
|
|
12
|
+
/* @__PURE__ */ t("div", { children: a(l) }),
|
|
13
|
+
/* @__PURE__ */ n("div", { className: e.ctas, children: [
|
|
14
|
+
o && /* @__PURE__ */ t(s, { ...o }),
|
|
15
|
+
c && /* @__PURE__ */ t(s, { ...c })
|
|
16
16
|
] })
|
|
17
17
|
] })
|
|
18
18
|
] }) });
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
p as default
|
|
21
21
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import o from "../../utils/parse.js";
|
|
4
4
|
import { c } from "../../index-B2JRaoNz.js";
|
|
5
|
-
import '../../assets/IconDetail.css';const
|
|
6
|
-
detail:
|
|
7
|
-
label:
|
|
5
|
+
import '../../assets/IconDetail.css';const r = "_detail_1iupq_1", n = "_label_1iupq_57", a = {
|
|
6
|
+
detail: r,
|
|
7
|
+
label: n
|
|
8
8
|
}, b = ({ icon: s, text: e, href: t }) => /* @__PURE__ */ i(t ? "a" : "div", { className: a.detail, children: [
|
|
9
9
|
/* @__PURE__ */ l("span", { className: c(a.icon, "material-symbols-outlined"), children: s }),
|
|
10
10
|
/* @__PURE__ */ l("div", { className: a.label, children: o(e) })
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as e, jsxs as
|
|
2
|
+
import { jsx as e, jsxs as s, Fragment as v } from "react/jsx-runtime";
|
|
3
3
|
import i from "../Button/Button.js";
|
|
4
|
-
import { c as
|
|
4
|
+
import { c as f } from "../../index-B2JRaoNz.js";
|
|
5
5
|
import "../../hooks/useFadeIn.js";
|
|
6
|
-
import
|
|
7
|
-
import { Children as
|
|
8
|
-
import { appleReveal as
|
|
9
|
-
import { useReveal as
|
|
10
|
-
import
|
|
11
|
-
|
|
6
|
+
import p from "../../utils/parse.js";
|
|
7
|
+
import { Children as g } from "react";
|
|
8
|
+
import { appleReveal as b } from "../../presets/animations.js";
|
|
9
|
+
import { useReveal as w } from "../../hooks/useReveal.js";
|
|
10
|
+
import { useImageReveal as N } from "../../hooks/useImageReveal.js";
|
|
11
|
+
import '../../assets/ImageTextBlock.css';const u = "_container_7w6eh_1", k = "_reverse_7w6eh_7", R = "_content_7w6eh_11", x = "_header_7w6eh_16", y = "_body_7w6eh_64", j = "_ctas_7w6eh_116", I = "_image_7w6eh_120", B = "_block_7w6eh_180", o = {
|
|
12
12
|
container: u,
|
|
13
|
-
reverse:
|
|
14
|
-
content:
|
|
15
|
-
header:
|
|
16
|
-
body:
|
|
17
|
-
ctas:
|
|
18
|
-
image: I
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
reverse: k,
|
|
14
|
+
content: R,
|
|
15
|
+
header: x,
|
|
16
|
+
body: y,
|
|
17
|
+
ctas: j,
|
|
18
|
+
image: I,
|
|
19
|
+
block: B
|
|
20
|
+
}, G = ({ image: m, header: t, body: c, primaryCta: r, secondaryCta: a, reverse: l, children: n, imagePos: _ }) => {
|
|
21
|
+
const d = N(), h = w({ ...b, delay: 0.2 });
|
|
22
|
+
return /* @__PURE__ */ e("div", { className: f(o.block, l && o.reverse), children: /* @__PURE__ */ s("div", { className: o.container, children: [
|
|
23
|
+
/* @__PURE__ */ e("div", { className: o.image, ref: d, children: /* @__PURE__ */ e("img", { src: m, style: { objectPosition: _ } }) }),
|
|
24
|
+
/* @__PURE__ */ s("div", { className: o.content, ref: h, children: [
|
|
25
|
+
t && /* @__PURE__ */ e("h2", { className: o.header, children: t }),
|
|
26
|
+
c && /* @__PURE__ */ e("div", { className: o.body, children: p(c) }),
|
|
27
|
+
g.count(n) > 0 ? n : /* @__PURE__ */ e(v, { children: /* @__PURE__ */ s("div", { className: o.ctas, children: [
|
|
27
28
|
r && /* @__PURE__ */ e(i, { ...r }),
|
|
28
29
|
a && /* @__PURE__ */ e(i, { ...a })
|
|
29
30
|
] }) })
|
|
@@ -31,5 +32,5 @@ import '../../assets/ImageTextBlock.css';const k = "_block_js557_1", u = "_conta
|
|
|
31
32
|
] }) });
|
|
32
33
|
};
|
|
33
34
|
export {
|
|
34
|
-
|
|
35
|
+
G as default
|
|
35
36
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import '../../assets/List.css';const r = "
|
|
2
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import n from "../Icon/Icon.js";
|
|
4
|
+
import '../../assets/List.css';const r = "_item_7te51_1", d = "_emphasis_7te51_56", l = "_body_7te51_104", s = {
|
|
5
5
|
item: r,
|
|
6
6
|
emphasis: d,
|
|
7
7
|
body: l
|
|
8
|
-
},
|
|
9
|
-
/* @__PURE__ */ e("h2", { children:
|
|
10
|
-
|
|
11
|
-
/* @__PURE__ */ e(
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */ e("p", { className: s.emphasis, children:
|
|
14
|
-
/* @__PURE__ */ e("p", { className: s.body, children:
|
|
8
|
+
}, _ = ({ icon: a, items: c, header: m }) => (new URL((/* @__PURE__ */ Object.assign({}))[`./assets/icons/${a}.svg`], import.meta.url).href, /* @__PURE__ */ t("div", { className: s.list, children: [
|
|
9
|
+
/* @__PURE__ */ e("h2", { children: m }),
|
|
10
|
+
c.map((i, o) => /* @__PURE__ */ t("div", { className: s.item, children: [
|
|
11
|
+
/* @__PURE__ */ e(n, { type: "checkmark" }),
|
|
12
|
+
/* @__PURE__ */ t("div", { className: s.content, children: [
|
|
13
|
+
/* @__PURE__ */ e("p", { className: s.emphasis, children: i.header }),
|
|
14
|
+
/* @__PURE__ */ e("p", { className: s.body, children: i.body })
|
|
15
15
|
] })
|
|
16
|
-
] }, `item-${
|
|
16
|
+
] }, `item-${o}`))
|
|
17
17
|
] }));
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
_ as default
|
|
20
20
|
};
|
|
@@ -1,41 +1,43 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { A as _, M as
|
|
2
|
+
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
3
|
+
import { A as _, M as m, a as d } from "../../index.modern-DPbS1w7M.js";
|
|
4
4
|
import { c as b } from "../../index-B2JRaoNz.js";
|
|
5
|
-
import
|
|
6
|
-
import '../../assets/Map.css';const
|
|
7
|
-
container:
|
|
8
|
-
button:
|
|
9
|
-
map:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
import f from "../Button/Button.js";
|
|
6
|
+
import '../../assets/Map.css';const u = "_container_p2z63_1", z = "_button_p2z63_7", v = "_map_p2z63_12", N = "_fade_p2z63_18", h = "_marker_p2z63_26", M = "_pin_p2z63_26", g = "_above_p2z63_35", w = "_below_p2z63_52", a = {
|
|
7
|
+
container: u,
|
|
8
|
+
button: z,
|
|
9
|
+
map: v,
|
|
10
|
+
fade: N,
|
|
11
|
+
marker: h,
|
|
12
|
+
pin: M,
|
|
13
|
+
above: g,
|
|
14
|
+
below: w
|
|
15
|
+
}, j = ({ apiKey: n, mapId: s, defaultZoom: t, defaultCenter: r, markers: l, cta: c }) => /* @__PURE__ */ p("div", { className: a.container, children: [
|
|
16
|
+
/* @__PURE__ */ o(_, { apiKey: n, children: /* @__PURE__ */ o(
|
|
17
|
+
m,
|
|
17
18
|
{
|
|
18
|
-
className:
|
|
19
|
+
className: a.map,
|
|
19
20
|
defaultZoom: t,
|
|
20
21
|
mapId: s,
|
|
21
22
|
gestureHandling: "none",
|
|
22
|
-
defaultCenter:
|
|
23
|
+
defaultCenter: r,
|
|
23
24
|
zoomControl: !1,
|
|
24
25
|
panControl: !1,
|
|
25
26
|
disableDefaultUI: !0,
|
|
26
|
-
children:
|
|
27
|
+
children: l.map((e, i) => /* @__PURE__ */ o(
|
|
27
28
|
d,
|
|
28
29
|
{
|
|
29
|
-
position:
|
|
30
|
-
className: b(
|
|
31
|
-
children: /* @__PURE__ */
|
|
30
|
+
position: e.position,
|
|
31
|
+
className: b(a.marker, a[e.dialogPos]),
|
|
32
|
+
children: /* @__PURE__ */ o("div", { className: a.pin, children: e.label })
|
|
32
33
|
},
|
|
33
|
-
`${
|
|
34
|
+
`${i}-${e.label}`
|
|
34
35
|
))
|
|
35
36
|
}
|
|
36
37
|
) }),
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ o("div", { className: a.fade }),
|
|
39
|
+
/* @__PURE__ */ o(f, { ...c, className: a.button })
|
|
38
40
|
] });
|
|
39
41
|
export {
|
|
40
|
-
|
|
42
|
+
j as default
|
|
41
43
|
};
|