@zenpatient-org/healthspan-marketing-ui 0.1.100 → 0.1.102
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/Callback/Callback.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../utils/cn/cn.cjs.js"),n=require("./components/ProtocolTags/ProtocolTags.cjs.js"),t=require("./yourProtocol.module.css.cjs.js"),d=({title:i,image:r,tags:s,callbackView:o})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.content,children:[e.jsx(a.HighlightedTitle,{title:i,className:t.default.title,defaultVariant:"displaySm",mobileVariant:"headingXl"}),e.jsx(n.ProtocolTags,{tags:s}),o&&e.jsx("div",{className:t.default.callback,children:e.jsx(l.Callback,{title:o.title,description:o.description??"",price:o.price??"",image:o.image,button:{href:o.signupUrl??""},size:"sm"})})]}),e.jsx("img",{src:r,alt:"Your Protocol",className:c.cn(t.default.image,t.default.desktop),width:481
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../components/Callback/Callback.cjs.js"),a=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../utils/cn/cn.cjs.js"),n=require("./components/ProtocolTags/ProtocolTags.cjs.js"),t=require("./yourProtocol.module.css.cjs.js"),d=({title:i,image:r,tags:s,callbackView:o})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsxs("div",{className:t.default.content,children:[e.jsx(a.HighlightedTitle,{title:i,className:t.default.title,defaultVariant:"displaySm",mobileVariant:"headingXl"}),e.jsx(n.ProtocolTags,{tags:s}),o&&e.jsx("div",{className:t.default.callback,children:e.jsx(l.Callback,{title:o.title,description:o.description??"",price:o.price??"",image:o.image,button:{href:o.signupUrl??""},size:"sm"})})]}),e.jsx("img",{src:r,alt:"Your Protocol",className:c.cn(t.default.image,t.default.desktop),width:481})]})});exports.YourProtocol=d;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { Callback as a } from "../../components/Callback/Callback.es.js";
|
|
3
3
|
import { HighlightedTitle as l } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
4
4
|
import { cn as n } from "../../utils/cn/cn.es.js";
|
|
5
5
|
import { ProtocolTags as c } from "./components/ProtocolTags/ProtocolTags.es.js";
|
|
6
6
|
import t from "./yourProtocol.module.css.es.js";
|
|
7
|
-
const N = ({ title: e, image: s, tags: m, callbackView:
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
7
|
+
const N = ({ title: e, image: s, tags: m, callbackView: o }) => /* @__PURE__ */ r("section", { className: t.root, children: /* @__PURE__ */ i("div", { className: t.container, children: [
|
|
8
|
+
/* @__PURE__ */ i("div", { className: t.content, children: [
|
|
9
|
+
/* @__PURE__ */ r(
|
|
10
10
|
l,
|
|
11
11
|
{
|
|
12
12
|
title: e,
|
|
@@ -15,31 +15,22 @@ const N = ({ title: e, image: s, tags: m, callbackView: i }) => /* @__PURE__ */
|
|
|
15
15
|
mobileVariant: "headingXl"
|
|
16
16
|
}
|
|
17
17
|
),
|
|
18
|
-
/* @__PURE__ */
|
|
19
|
-
|
|
18
|
+
/* @__PURE__ */ r(c, { tags: m }),
|
|
19
|
+
o && /* @__PURE__ */ r("div", { className: t.callback, children: /* @__PURE__ */ r(
|
|
20
20
|
a,
|
|
21
21
|
{
|
|
22
|
-
title:
|
|
23
|
-
description:
|
|
24
|
-
price:
|
|
25
|
-
image:
|
|
22
|
+
title: o.title,
|
|
23
|
+
description: o.description ?? "",
|
|
24
|
+
price: o.price ?? "",
|
|
25
|
+
image: o.image,
|
|
26
26
|
button: {
|
|
27
|
-
href:
|
|
27
|
+
href: o.signupUrl ?? ""
|
|
28
28
|
},
|
|
29
29
|
size: "sm"
|
|
30
30
|
}
|
|
31
31
|
) })
|
|
32
32
|
] }),
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
"img",
|
|
35
|
-
{
|
|
36
|
-
src: s,
|
|
37
|
-
alt: "Your Protocol",
|
|
38
|
-
className: n(t.image, t.desktop),
|
|
39
|
-
width: 481,
|
|
40
|
-
height: 640
|
|
41
|
-
}
|
|
42
|
-
)
|
|
33
|
+
/* @__PURE__ */ r("img", { src: s, alt: "Your Protocol", className: n(t.image, t.desktop), width: 481 })
|
|
43
34
|
] }) });
|
|
44
35
|
export {
|
|
45
36
|
N as YourProtocol
|