@zenpatient-org/healthspan-marketing-ui 0.1.71 → 0.1.73

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.
Files changed (25) hide show
  1. package/dist/healthspan-marketing-ui.css +1 -1
  2. package/dist/modules/HowItWorks/HowItWorks.cjs.js +1 -1
  3. package/dist/modules/HowItWorks/HowItWorks.d.ts +2 -1
  4. package/dist/modules/HowItWorks/HowItWorks.es.js +48 -14
  5. package/dist/modules/HowItWorks/components/Content/Content.cjs.js +1 -1
  6. package/dist/modules/HowItWorks/components/Content/Content.d.ts +5 -1
  7. package/dist/modules/HowItWorks/components/Content/Content.es.js +50 -42
  8. package/dist/modules/HowItWorks/howItWorks.module.css.cjs.js +1 -1
  9. package/dist/modules/HowItWorks/howItWorks.module.css.es.js +10 -6
  10. package/dist/modules/ProgramsDetailsHero/ProgramsDetailsHero.cjs.js +1 -0
  11. package/dist/modules/ProgramsDetailsHero/ProgramsDetailsHero.d.ts +10 -0
  12. package/dist/modules/ProgramsDetailsHero/ProgramsDetailsHero.es.js +33 -0
  13. package/dist/modules/ProgramsDetailsHero/index.d.ts +1 -0
  14. package/dist/modules/ProgramsDetailsHero/programsDetailsHero.module.css.cjs.js +1 -0
  15. package/dist/modules/ProgramsDetailsHero/programsDetailsHero.module.css.es.js +21 -0
  16. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.cjs.js +1 -1
  17. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +5 -1
  18. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.es.js +48 -21
  19. package/dist/pageComponents/StillHaveQuestions/assets/joinOurTeam.jpg.cjs.js +1 -0
  20. package/dist/pageComponents/StillHaveQuestions/assets/joinOurTeam.jpg.es.js +4 -0
  21. package/dist/pageComponents/StillHaveQuestions/assets/stillHaveQuestions.jpg.cjs.js +1 -0
  22. package/dist/pageComponents/StillHaveQuestions/assets/stillHaveQuestions.jpg.es.js +4 -0
  23. package/dist/pageComponents/StillHaveQuestions/stillHaveQuestions.module.css.cjs.js +1 -1
  24. package/dist/pageComponents/StillHaveQuestions/stillHaveQuestions.module.css.es.js +4 -8
  25. package/package.json +6 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../components/Button/Button.cjs.js"),n=require("../../components/Typography/Typography.cjs.js"),i=require("./components/Content/Content.cjs.js"),t=require("./howItWorks.module.css.cjs.js"),l=({title:o,getStartedLink:s,items:a})=>e.jsxs("section",{className:t.default.root,children:[e.jsxs("div",{className:t.default.headerContainer,children:[e.jsx(n.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingXl",children:o}),s&&e.jsx("div",{className:t.default.desktop,children:e.jsx(r.Button,{as:"a",href:s,variant:"muted",size:"lg",children:"Get started"})}),s&&e.jsx("div",{className:t.default.mobile,children:e.jsx(r.Button,{as:"a",href:s,variant:"muted",size:"sm",children:"Get started"})})]}),e.jsx(i.Content,{items:a})]});exports.HowItWorks=l;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../components/Button/Button.cjs.js"),o=require("../../components/ProgressButton/ProgressButton.cjs.js"),u=require("../../components/Typography/Typography.cjs.js"),c=require("./components/Content/Content.cjs.js"),t=require("./howItWorks.module.css.cjs.js"),h=require("../../utils/useSwiper/useSwiper.cjs.js"),p=({title:l,getStartedLink:i,items:d,colorScheme:n="light"})=>{const s=h.useSwiper(),r=n==="dark"?"muted-invert":"muted";return e.jsxs("section",{className:t.default.root,"data-color-scheme":n,children:[e.jsxs("div",{className:t.default.headerContainer,children:[e.jsx(u.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingXl",children:l}),i&&e.jsx("div",{className:t.default.desktop,children:e.jsx(a.Button,{as:"a",href:i,variant:r,size:"lg",children:"Get started"})}),i&&e.jsx("div",{className:t.default.mobile,children:e.jsx(a.Button,{as:"a",href:i,variant:r,size:"sm",children:"Get started"})}),!i&&e.jsx("div",{className:t.default.navigation,children:e.jsx(o.ProgressButton,{invert:n==="dark",left:{disabled:s.isBeginning,onClick:s.handlePrevClick},right:{disabled:s.isEnd,onClick:s.handleNextClick}})})]}),e.jsx(c.Content,{items:d,colorScheme:n,swiper:s,showBottomNav:!!i}),!i&&e.jsx("div",{className:t.default.mobileNavigation,children:e.jsx(o.ProgressButton,{invert:n==="dark",left:{disabled:s.isBeginning,onClick:s.handlePrevClick},right:{disabled:s.isEnd,onClick:s.handleNextClick}})})]})};exports.HowItWorks=p;
@@ -6,6 +6,7 @@ type HowItWorksProps = {
6
6
  image: string;
7
7
  }>;
8
8
  getStartedLink?: string;
9
+ colorScheme?: 'light' | 'dark';
9
10
  };
10
- export declare const HowItWorks: ({ title, getStartedLink, items }: HowItWorksProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const HowItWorks: ({ title, getStartedLink, items, colorScheme }: HowItWorksProps) => import("react/jsx-runtime").JSX.Element;
11
12
  export {};
@@ -1,16 +1,50 @@
1
- import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- import { Button as i } from "../../components/Button/Button.es.js";
3
- import { Typography as m } from "../../components/Typography/Typography.es.js";
4
- import { Content as l } from "./components/Content/Content.es.js";
5
- import a from "./howItWorks.module.css.es.js";
6
- const f = ({ title: o, getStartedLink: e, items: t }) => /* @__PURE__ */ s("section", { className: a.root, children: [
7
- /* @__PURE__ */ s("div", { className: a.headerContainer, children: [
8
- /* @__PURE__ */ r(m, { as: "h2", defaultVariant: "displayMd", mobileVariant: "headingXl", children: o }),
9
- e && /* @__PURE__ */ r("div", { className: a.desktop, children: /* @__PURE__ */ r(i, { as: "a", href: e, variant: "muted", size: "lg", children: "Get started" }) }),
10
- e && /* @__PURE__ */ r("div", { className: a.mobile, children: /* @__PURE__ */ r(i, { as: "a", href: e, variant: "muted", size: "sm", children: "Get started" }) })
11
- ] }),
12
- /* @__PURE__ */ r(l, { items: t })
13
- ] });
1
+ "use client";
2
+ import { jsxs as l, jsx as i } from "react/jsx-runtime";
3
+ import { Button as t } from "../../components/Button/Button.es.js";
4
+ import { ProgressButton as o } from "../../components/ProgressButton/ProgressButton.es.js";
5
+ import { Typography as c } from "../../components/Typography/Typography.es.js";
6
+ import { Content as h } from "./components/Content/Content.es.js";
7
+ import e from "./howItWorks.module.css.es.js";
8
+ import { useSwiper as v } from "../../utils/useSwiper/useSwiper.es.js";
9
+ const k = ({ title: d, getStartedLink: s, items: m, colorScheme: r = "light" }) => {
10
+ const a = v(), n = r === "dark" ? "muted-invert" : "muted";
11
+ return /* @__PURE__ */ l("section", { className: e.root, "data-color-scheme": r, children: [
12
+ /* @__PURE__ */ l("div", { className: e.headerContainer, children: [
13
+ /* @__PURE__ */ i(c, { as: "h2", defaultVariant: "displayMd", mobileVariant: "headingXl", children: d }),
14
+ s && /* @__PURE__ */ i("div", { className: e.desktop, children: /* @__PURE__ */ i(t, { as: "a", href: s, variant: n, size: "lg", children: "Get started" }) }),
15
+ s && /* @__PURE__ */ i("div", { className: e.mobile, children: /* @__PURE__ */ i(t, { as: "a", href: s, variant: n, size: "sm", children: "Get started" }) }),
16
+ !s && /* @__PURE__ */ i("div", { className: e.navigation, children: /* @__PURE__ */ i(
17
+ o,
18
+ {
19
+ invert: r === "dark",
20
+ left: {
21
+ disabled: a.isBeginning,
22
+ onClick: a.handlePrevClick
23
+ },
24
+ right: {
25
+ disabled: a.isEnd,
26
+ onClick: a.handleNextClick
27
+ }
28
+ }
29
+ ) })
30
+ ] }),
31
+ /* @__PURE__ */ i(h, { items: m, colorScheme: r, swiper: a, showBottomNav: !!s }),
32
+ !s && /* @__PURE__ */ i("div", { className: e.mobileNavigation, children: /* @__PURE__ */ i(
33
+ o,
34
+ {
35
+ invert: r === "dark",
36
+ left: {
37
+ disabled: a.isBeginning,
38
+ onClick: a.handlePrevClick
39
+ },
40
+ right: {
41
+ disabled: a.isEnd,
42
+ onClick: a.handleNextClick
43
+ }
44
+ }
45
+ ) })
46
+ ] });
47
+ };
14
48
  export {
15
- f as HowItWorks
49
+ k as HowItWorks
16
50
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),w=require("../../../../node_modules/swiper/modules/navigation.cjs.js"),r=require("../../../../node_modules/swiper/swiper-react.cjs.js"),j=require("../../../../components/ProgressButton/ProgressButton.cjs.js"),s=require("../../../../components/Typography/Typography.cjs.js"),y=require("../../../../utils/useSwiper/useSwiper.cjs.js");;/* empty css */;/* empty css */;/* empty css */const i=require("./content.module.css.cjs.js"),q=[w.default],x=({items:l})=>{const{isEnd:t,isBeginning:d,hideNav:o,handleSlideChange:c,handlePrevClick:u,handleNextClick:h,onSwiperInit:g,handleSwiperResize:p,handleReachEnd:S,handleReachBeginning:m,handleSlideTo:f}=y.useSwiper();return e.jsxs("div",{className:i.default.root,children:[e.jsx("div",{className:i.default.carouselArea,children:e.jsx(r.Swiper,{onSwiper:g,onResize:p,onSlideChange:c,onReachEnd:S,onReachBeginning:m,modules:q,spaceBetween:0,slidesPerView:"auto",className:i.default.swiper,children:l.map((a,n)=>e.jsx(r.SwiperSlide,{className:i.default.swiperSlide,children:e.jsxs("div",{className:i.default.card,onClick:()=>f(n),children:[e.jsxs("div",{className:i.default.cardHeader,children:[e.jsx("img",{src:a.image,className:i.default.cardImage,alt:a.title}),e.jsx(s.Typography,{as:"h3",defaultVariant:"headingLg",mobileVariant:"headingXs",children:a.title})]}),e.jsx(s.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",children:a.description})]})},`${a.title}_${n}`))})}),!o&&e.jsx("div",{className:i.default.navigation,children:e.jsx(j.ProgressButton,{left:{disabled:d,onClick:u},right:{disabled:t,onClick:h}})})]})};exports.Content=x;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),x=require("../../../../node_modules/swiper/modules/navigation.cjs.js"),s=require("../../../../node_modules/swiper/swiper-react.cjs.js"),q=require("../../../../components/ProgressButton/ProgressButton.cjs.js"),t=require("../../../../components/Typography/Typography.cjs.js");;/* empty css */;/* empty css */;/* empty css */const a=require("./content.module.css.cjs.js"),w=[x.default],N=({items:l,colorScheme:n,showBottomNav:d,swiper:o})=>{const{isEnd:c,isBeginning:u,hideNav:h,handleSlideChange:g,handlePrevClick:p,handleNextClick:m,onSwiperInit:f,handleSwiperResize:S,handleReachEnd:j,handleReachBeginning:y,handleSlideTo:v}=o;return e.jsxs("div",{className:a.default.root,children:[e.jsx("div",{className:a.default.carouselArea,"data-color-scheme":n,children:e.jsx(s.Swiper,{onSwiper:f,onResize:S,onSlideChange:g,onReachEnd:j,onReachBeginning:y,modules:w,spaceBetween:0,slidesPerView:"auto",className:a.default.swiper,children:l.map((i,r)=>e.jsx(s.SwiperSlide,{className:a.default.swiperSlide,"data-color-scheme":n,children:e.jsxs("div",{className:a.default.card,onClick:()=>v(r),children:[e.jsxs("div",{className:a.default.cardHeader,children:[e.jsx("img",{src:i.image,className:a.default.cardImage,alt:i.title}),e.jsx(t.Typography,{as:"h3",defaultVariant:"headingLg",mobileVariant:"headingXs",children:i.title})]}),e.jsx(t.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",children:i.description})]})},`${i.title}_${r}`))})}),!h&&d&&e.jsx("div",{className:a.default.navigation,children:e.jsx(q.ProgressButton,{invert:n==="dark",left:{disabled:u,onClick:p},right:{disabled:c,onClick:m}})})]})};exports.Content=N;
@@ -1,3 +1,4 @@
1
+ import { UseSwiperReturnProps } from '../../../../lib/useSwiper';
1
2
 
2
3
  type ContentProps = {
3
4
  items: Array<{
@@ -5,6 +6,9 @@ type ContentProps = {
5
6
  description: string;
6
7
  image: string;
7
8
  }>;
9
+ colorScheme: 'light' | 'dark';
10
+ showBottomNav: boolean;
11
+ swiper: UseSwiperReturnProps;
8
12
  };
9
- export declare const Content: ({ items }: ContentProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Content: ({ items, colorScheme, showBottomNav, swiper }: ContentProps) => import("react/jsx-runtime").JSX.Element;
10
14
  export {};
@@ -1,65 +1,73 @@
1
1
  "use client";
2
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
3
- import w from "../../../../node_modules/swiper/modules/navigation.es.js";
4
- import { Swiper as u, SwiperSlide as v } from "../../../../node_modules/swiper/swiper-react.es.js";
5
- import { ProgressButton as C } from "../../../../components/ProgressButton/ProgressButton.es.js";
6
- import { Typography as l } from "../../../../components/Typography/Typography.es.js";
7
- import { useSwiper as R } from "../../../../utils/useSwiper/useSwiper.es.js";
2
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
+ import C from "../../../../node_modules/swiper/modules/navigation.es.js";
4
+ import { Swiper as R, SwiperSlide as b } from "../../../../node_modules/swiper/swiper-react.es.js";
5
+ import { ProgressButton as k } from "../../../../components/ProgressButton/ProgressButton.es.js";
6
+ import { Typography as d } from "../../../../components/Typography/Typography.es.js";
8
7
  /* empty css */
9
8
  /* empty css */
10
9
  /* empty css */
11
10
  import i from "./content.module.css.es.js";
12
- const b = [w], z = ({ items: o }) => {
11
+ const y = [C], T = ({ items: s, colorScheme: n, showBottomNav: o, swiper: t }) => {
13
12
  const {
14
- isEnd: d,
15
- isBeginning: s,
16
- hideNav: t,
17
- handleSlideChange: c,
18
- handlePrevClick: m,
19
- handleNextClick: h,
20
- onSwiperInit: p,
21
- handleSwiperResize: g,
22
- handleReachEnd: S,
23
- handleReachBeginning: N,
24
- handleSlideTo: f
25
- } = R();
26
- return /* @__PURE__ */ n("div", { className: i.root, children: [
27
- /* @__PURE__ */ e("div", { className: i.carouselArea, children: /* @__PURE__ */ e(
28
- u,
13
+ isEnd: c,
14
+ isBeginning: h,
15
+ hideNav: m,
16
+ handleSlideChange: p,
17
+ handlePrevClick: g,
18
+ handleNextClick: N,
19
+ onSwiperInit: S,
20
+ handleSwiperResize: v,
21
+ handleReachEnd: f,
22
+ handleReachBeginning: w,
23
+ handleSlideTo: u
24
+ } = t;
25
+ return /* @__PURE__ */ r("div", { className: i.root, children: [
26
+ /* @__PURE__ */ e("div", { className: i.carouselArea, "data-color-scheme": n, children: /* @__PURE__ */ e(
27
+ R,
29
28
  {
30
- onSwiper: p,
31
- onResize: g,
32
- onSlideChange: c,
33
- onReachEnd: S,
34
- onReachBeginning: N,
35
- modules: b,
29
+ onSwiper: S,
30
+ onResize: v,
31
+ onSlideChange: p,
32
+ onReachEnd: f,
33
+ onReachBeginning: w,
34
+ modules: y,
36
35
  spaceBetween: 0,
37
36
  slidesPerView: "auto",
38
37
  className: i.swiper,
39
- children: o.map((a, r) => /* @__PURE__ */ e(v, { className: i.swiperSlide, children: /* @__PURE__ */ n("div", { className: i.card, onClick: () => f(r), children: [
40
- /* @__PURE__ */ n("div", { className: i.cardHeader, children: [
41
- /* @__PURE__ */ e("img", { src: a.image, className: i.cardImage, alt: a.title }),
42
- /* @__PURE__ */ e(l, { as: "h3", defaultVariant: "headingLg", mobileVariant: "headingXs", children: a.title })
43
- ] }),
44
- /* @__PURE__ */ e(l, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", children: a.description })
45
- ] }) }, `${a.title}_${r}`))
38
+ children: s.map((a, l) => /* @__PURE__ */ e(
39
+ b,
40
+ {
41
+ className: i.swiperSlide,
42
+ "data-color-scheme": n,
43
+ children: /* @__PURE__ */ r("div", { className: i.card, onClick: () => u(l), children: [
44
+ /* @__PURE__ */ r("div", { className: i.cardHeader, children: [
45
+ /* @__PURE__ */ e("img", { src: a.image, className: i.cardImage, alt: a.title }),
46
+ /* @__PURE__ */ e(d, { as: "h3", defaultVariant: "headingLg", mobileVariant: "headingXs", children: a.title })
47
+ ] }),
48
+ /* @__PURE__ */ e(d, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", children: a.description })
49
+ ] })
50
+ },
51
+ `${a.title}_${l}`
52
+ ))
46
53
  }
47
54
  ) }),
48
- !t && /* @__PURE__ */ e("div", { className: i.navigation, children: /* @__PURE__ */ e(
49
- C,
55
+ !m && o && /* @__PURE__ */ e("div", { className: i.navigation, children: /* @__PURE__ */ e(
56
+ k,
50
57
  {
58
+ invert: n === "dark",
51
59
  left: {
52
- disabled: s,
53
- onClick: m
60
+ disabled: h,
61
+ onClick: g
54
62
  },
55
63
  right: {
56
- disabled: d,
57
- onClick: h
64
+ disabled: c,
65
+ onClick: N
58
66
  }
59
67
  }
60
68
  ) })
61
69
  ] });
62
70
  };
63
71
  export {
64
- z as Content
72
+ T as Content
65
73
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="howItWorks-module__root___tgV6H",e="howItWorks-module__headerContainer___iw1t-",t="howItWorks-module__mobile___c4I-i",_="howItWorks-module__desktop___bZESp",r={root:o,headerContainer:e,mobile:t,desktop:_};exports.default=r;exports.desktop=_;exports.headerContainer=e;exports.mobile=t;exports.root=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="howItWorks-module__root___tgV6H",e="howItWorks-module__headerContainer___iw1t-",t="howItWorks-module__mobile___c4I-i",i="howItWorks-module__mobileNavigation___LPVHa",_="howItWorks-module__navigation___S0qCk",a="howItWorks-module__desktop___bZESp",n={root:o,headerContainer:e,mobile:t,mobileNavigation:i,navigation:_,desktop:a};exports.default=n;exports.desktop=a;exports.headerContainer=e;exports.mobile=t;exports.mobileNavigation=i;exports.navigation=_;exports.root=o;
@@ -1,13 +1,17 @@
1
- const o = "howItWorks-module__root___tgV6H", t = "howItWorks-module__headerContainer___iw1t-", e = "howItWorks-module__mobile___c4I-i", _ = "howItWorks-module__desktop___bZESp", s = {
1
+ const o = "howItWorks-module__root___tgV6H", t = "howItWorks-module__headerContainer___iw1t-", _ = "howItWorks-module__mobile___c4I-i", e = "howItWorks-module__mobileNavigation___LPVHa", i = "howItWorks-module__navigation___S0qCk", n = "howItWorks-module__desktop___bZESp", a = {
2
2
  root: o,
3
3
  headerContainer: t,
4
- mobile: e,
5
- desktop: _
4
+ mobile: _,
5
+ mobileNavigation: e,
6
+ navigation: i,
7
+ desktop: n
6
8
  };
7
9
  export {
8
- s as default,
9
- _ as desktop,
10
+ a as default,
11
+ n as desktop,
10
12
  t as headerContainer,
11
- e as mobile,
13
+ _ as mobile,
14
+ e as mobileNavigation,
15
+ i as navigation,
12
16
  o as root
13
17
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../components/Typography/Typography.cjs.js"),d=require("../../components/Button/Button.cjs.js"),a=require("./programsDetailsHero.module.css.cjs.js"),n=({title:t,description:i,button:r,backgroundImage:l})=>e.jsx("section",{className:a.default.root,"data-type":"hero",style:{backgroundImage:`url(${l})`},children:e.jsx("div",{className:a.default.container,children:e.jsxs("div",{className:a.default.headline,children:[e.jsx("div",{className:a.default.headlineContainer,children:e.jsx(s.Typography,{className:a.default.title,as:"h2",defaultVariant:"displayMd",mobileVariant:"headingXl",children:t})}),e.jsx("div",{className:a.default.midBorder}),e.jsx("div",{className:a.default.headlineContainer,children:e.jsxs("div",{className:a.default.infoBox,children:[e.jsx(s.Typography,{className:a.default.description,as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",children:i}),e.jsx(d.Button,{as:"a",href:r.link,variant:"secondary",size:"md",children:r.text})]})})]})})});exports.ProgramsDetailsHero=n;
@@ -0,0 +1,10 @@
1
+ export type ProgramsProps = {
2
+ title: string;
3
+ description: string;
4
+ button: {
5
+ text: string;
6
+ link: string;
7
+ };
8
+ backgroundImage: string;
9
+ };
10
+ export declare const ProgramsDetailsHero: ({ title, description, button, backgroundImage }: ProgramsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,33 @@
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import { Typography as s } from "../../components/Typography/Typography.es.js";
3
+ import { Button as o } from "../../components/Button/Button.es.js";
4
+ import a from "./programsDetailsHero.module.css.es.js";
5
+ const p = ({ title: d, description: l, button: i, backgroundImage: n }) => /* @__PURE__ */ e("section", { className: a.root, "data-type": "hero", style: { backgroundImage: `url(${n})` }, children: /* @__PURE__ */ e("div", { className: a.container, children: /* @__PURE__ */ r("div", { className: a.headline, children: [
6
+ /* @__PURE__ */ e("div", { className: a.headlineContainer, children: /* @__PURE__ */ e(
7
+ s,
8
+ {
9
+ className: a.title,
10
+ as: "h2",
11
+ defaultVariant: "displayMd",
12
+ mobileVariant: "headingXl",
13
+ children: d
14
+ }
15
+ ) }),
16
+ /* @__PURE__ */ e("div", { className: a.midBorder }),
17
+ /* @__PURE__ */ e("div", { className: a.headlineContainer, children: /* @__PURE__ */ r("div", { className: a.infoBox, children: [
18
+ /* @__PURE__ */ e(
19
+ s,
20
+ {
21
+ className: a.description,
22
+ as: "p",
23
+ defaultVariant: "bodyMd",
24
+ mobileVariant: "bodySm",
25
+ children: l
26
+ }
27
+ ),
28
+ /* @__PURE__ */ e(o, { as: "a", href: i.link, variant: "secondary", size: "md", children: i.text })
29
+ ] }) })
30
+ ] }) }) });
31
+ export {
32
+ p as ProgramsDetailsHero
33
+ };
@@ -0,0 +1 @@
1
+ export { ProgramsDetailsHero } from './ProgramsDetailsHero';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="programsDetailsHero-module__root___tDtrT",o="programsDetailsHero-module__container___5dH1m",r="programsDetailsHero-module__headline___Y-4jv",t="programsDetailsHero-module__headlineContainer___-gYgz",i="programsDetailsHero-module__title___xHkWk",n="programsDetailsHero-module__midBorder___aleDm",_="programsDetailsHero-module__infoBox___xvieB",a="programsDetailsHero-module__description___ac7Pb",l={root:e,container:o,headline:r,headlineContainer:t,title:i,midBorder:n,infoBox:_,description:a};exports.container=o;exports.default=l;exports.description=a;exports.headline=r;exports.headlineContainer=t;exports.infoBox=_;exports.midBorder=n;exports.root=e;exports.title=i;
@@ -0,0 +1,21 @@
1
+ const o = "programsDetailsHero-module__root___tDtrT", e = "programsDetailsHero-module__container___5dH1m", r = "programsDetailsHero-module__headline___Y-4jv", t = "programsDetailsHero-module__headlineContainer___-gYgz", _ = "programsDetailsHero-module__title___xHkWk", i = "programsDetailsHero-module__midBorder___aleDm", n = "programsDetailsHero-module__infoBox___xvieB", a = "programsDetailsHero-module__description___ac7Pb", s = {
2
+ root: o,
3
+ container: e,
4
+ headline: r,
5
+ headlineContainer: t,
6
+ title: _,
7
+ midBorder: i,
8
+ infoBox: n,
9
+ description: a
10
+ };
11
+ export {
12
+ e as container,
13
+ s as default,
14
+ a as description,
15
+ r as headline,
16
+ t as headlineContainer,
17
+ n as infoBox,
18
+ i as midBorder,
19
+ o as root,
20
+ _ as title
21
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Button/Button.cjs.js"),n=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),a=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),t=require("./stillHaveQuestions.module.css.cjs.js");function l(){return e.jsx("section",{className:t.default.root,children:e.jsx("div",{className:t.default.imageWrapper,children:e.jsxs("div",{className:t.default.contentBox,children:[e.jsx(n.HighlightedTitle,{colorScheme:"dark",title:e.jsxs(a.Typography,{defaultVariant:"displayMd",mobileVariant:"headingXl",children:["Still have ",e.jsx("b",{children:"questions?"})]})}),e.jsx("div",{className:s.cn(t.default.actions,t.default.desktop),children:e.jsx(i.Button,{as:"a",href:"/contact",variant:"secondary",size:"lg",children:"Contact Us"})}),e.jsx("div",{className:s.cn(t.default.actions,t.default.mobile),children:e.jsx(i.Button,{as:"a",href:"/contact",variant:"secondary",size:"md",children:"Contact Us"})})]})})})}exports.StillHaveQuestions=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),u=require("../../components/Button/Button.cjs.js"),c=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),d=require("../../components/Typography/Typography.cjs.js"),n=require("../../utils/cn/cn.cjs.js"),t=require("./stillHaveQuestions.module.css.cjs.js"),m=require("./assets/stillHaveQuestions.jpg.cjs.js"),h=require("./assets/joinOurTeam.jpg.cjs.js"),g=({variant:i="StillHaveQuestions"})=>{const s={StillHaveQuestions:{title:e.jsxs(e.Fragment,{children:["Still Have ",e.jsx("b",{children:"questions?"})]}),buttonText:"Contact Us",buttonLink:"/contact-us",image:m.default},JoinOurTeam:{title:e.jsxs(e.Fragment,{children:["Have a passion for ",e.jsx("b",{children:"longevity science?"})]}),buttonText:"Join Our Team",buttonLink:"https://careers.gethealthspan.com/",image:h.default}},{title:o,buttonText:a,buttonLink:l,image:r}=s[i];return e.jsx("section",{className:t.default.root,children:e.jsx("div",{className:n.cn(t.default.imageWrapper,{[t.default.joinOurTeam]:i==="JoinOurTeam"}),style:{backgroundImage:`url(${r})`},children:e.jsxs("div",{className:n.cn(t.default.contentBox,{[t.default.joinOurTeam]:i==="JoinOurTeam"}),children:[e.jsx(c.HighlightedTitle,{colorScheme:"dark",title:e.jsx(d.Typography,{as:"p",defaultVariant:"displayMd",mobileVariant:"displayXs",children:o})}),e.jsx("div",{className:t.default.actions,children:e.jsx(u.Button,{as:"a",href:l,variant:"secondary",size:"lg",children:a})})]})})})};exports.StillHaveQuestions=g;
@@ -1 +1,5 @@
1
- export declare function StillHaveQuestions(): import("react/jsx-runtime").JSX.Element;
1
+ export interface StillHaveQuestionsProps {
2
+ variant?: StillHaveQuestionsVariant;
3
+ }
4
+ export type StillHaveQuestionsVariant = 'StillHaveQuestions' | 'JoinOurTeam';
5
+ export declare const StillHaveQuestions: ({ variant }: StillHaveQuestionsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,25 +1,52 @@
1
- import { jsx as i, jsxs as t } from "react/jsx-runtime";
2
- import { Button as a } from "../../components/Button/Button.es.js";
3
- import { HighlightedTitle as o } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
4
- import { Typography as n } from "../../components/Typography/Typography.es.js";
1
+ import { jsxs as o, jsx as t, Fragment as n } from "react/jsx-runtime";
2
+ import { Button as u } from "../../components/Button/Button.es.js";
3
+ import { HighlightedTitle as d } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
4
+ import { Typography as p } from "../../components/Typography/Typography.es.js";
5
5
  import { cn as r } from "../../utils/cn/cn.es.js";
6
6
  import e from "./stillHaveQuestions.module.css.es.js";
7
- function p() {
8
- return /* @__PURE__ */ i("section", { className: e.root, children: /* @__PURE__ */ i("div", { className: e.imageWrapper, children: /* @__PURE__ */ t("div", { className: e.contentBox, children: [
9
- /* @__PURE__ */ i(
10
- o,
11
- {
12
- colorScheme: "dark",
13
- title: /* @__PURE__ */ t(n, { defaultVariant: "displayMd", mobileVariant: "headingXl", children: [
14
- "Still have ",
15
- /* @__PURE__ */ i("b", { children: "questions?" })
16
- ] })
17
- }
18
- ),
19
- /* @__PURE__ */ i("div", { className: r(e.actions, e.desktop), children: /* @__PURE__ */ i(a, { as: "a", href: "/contact", variant: "secondary", size: "lg", children: "Contact Us" }) }),
20
- /* @__PURE__ */ i("div", { className: r(e.actions, e.mobile), children: /* @__PURE__ */ i(a, { as: "a", href: "/contact", variant: "secondary", size: "md", children: "Contact Us" }) })
21
- ] }) }) });
22
- }
7
+ import h from "./assets/stillHaveQuestions.jpg.es.js";
8
+ import g from "./assets/joinOurTeam.jpg.es.js";
9
+ const O = ({ variant: i = "StillHaveQuestions" }) => {
10
+ const a = {
11
+ StillHaveQuestions: {
12
+ title: /* @__PURE__ */ o(n, { children: [
13
+ "Still Have ",
14
+ /* @__PURE__ */ t("b", { children: "questions?" })
15
+ ] }),
16
+ buttonText: "Contact Us",
17
+ buttonLink: "/contact-us",
18
+ image: h
19
+ },
20
+ JoinOurTeam: {
21
+ title: /* @__PURE__ */ o(n, { children: [
22
+ "Have a passion for ",
23
+ /* @__PURE__ */ t("b", { children: "longevity science?" })
24
+ ] }),
25
+ buttonText: "Join Our Team",
26
+ buttonLink: "https://careers.gethealthspan.com/",
27
+ image: g
28
+ }
29
+ }, { title: s, buttonText: l, buttonLink: m, image: c } = a[i];
30
+ return /* @__PURE__ */ t("section", { className: e.root, children: /* @__PURE__ */ t(
31
+ "div",
32
+ {
33
+ className: r(e.imageWrapper, { [e.joinOurTeam]: i === "JoinOurTeam" }),
34
+ style: {
35
+ backgroundImage: `url(${c})`
36
+ },
37
+ children: /* @__PURE__ */ o("div", { className: r(e.contentBox, { [e.joinOurTeam]: i === "JoinOurTeam" }), children: [
38
+ /* @__PURE__ */ t(
39
+ d,
40
+ {
41
+ colorScheme: "dark",
42
+ title: /* @__PURE__ */ t(p, { as: "p", defaultVariant: "displayMd", mobileVariant: "displayXs", children: s })
43
+ }
44
+ ),
45
+ /* @__PURE__ */ t("div", { className: e.actions, children: /* @__PURE__ */ t(u, { as: "a", href: m, variant: "secondary", size: "lg", children: l }) })
46
+ ] })
47
+ }
48
+ ) });
49
+ };
23
50
  export {
24
- p as StillHaveQuestions
51
+ O as StillHaveQuestions
25
52
  };