@zenpatient-org/healthspan-marketing-ui 0.1.66 → 0.1.68
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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../../components/Icon/Icon.cjs.js");const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../../components/Icon/Icon.cjs.js");const o=require("../../components/Icon/constants.cjs.js"),s=require("../../components/IconButton/IconButton.cjs.js"),u=require("./components/FooterAbout/FooterAbout.cjs.js"),m=require("./components/FooterLinksBlock/FooterLinksBlock.cjs.js"),c=require("./components/NewsLetter/NewsLetter.cjs.js");require("react");require("../../components/Button/Button.cjs.js");const f=require("./components/TopTreatmentsSlider/TopTreatmentsSlider.cjs.js"),i=require("./components/LinksColumn/LinksColumn.cjs.js"),h=require("./assets/CompanyName.svg.cjs.js"),r=require("./footer.module.css.cjs.js"),l={title:"Treatments",content:[{title:"All Treatments",href:"/all"},{title:"Personalized Protocols",href:"/personalized"},{title:"Labs",href:"/labs"},{title:"Medications",href:"/medications"},{title:"Supplements",href:"/supplements"}]},j=({socialMedia:t,products:n})=>e.jsx("footer",{className:r.default.root,children:e.jsxs("div",{className:r.default.container,children:[e.jsxs("div",{className:r.default.content,children:[e.jsx("div",{className:r.default.footerLeft,children:e.jsx(c.NewsLetter,{})}),e.jsxs("div",{className:r.default.footerRight,children:[e.jsxs("div",{className:r.default.columns,children:[e.jsx(i.LinksColumn,{title:l.title,links:l.content},l.title),n&&(n==null?void 0:n.length)>0&&e.jsx(f.TopTreatmentsSlider,{title:"Top Treatments",products:n})]}),e.jsx("div",{className:r.default.footerLinks,children:e.jsx(m.FooterLinksBlock,{})}),e.jsxs("div",{className:r.default.about,children:[e.jsx(u.FooterAbout,{}),e.jsxs("div",{className:r.default.socials,children:[(t==null?void 0:t.facebook)&&e.jsx("a",{href:t==null?void 0:t.facebook,target:"_blank",rel:"noopener noreferrer",children:e.jsx(s.IconButton,{iconName:o.EIconName.FACEBOOK,variant:"muted-invert",size:"lg"})}),(t==null?void 0:t.instagram)&&e.jsx("a",{href:t==null?void 0:t.instagram,target:"_blank",rel:"noopener noreferrer",children:e.jsx(s.IconButton,{iconName:o.EIconName.INSTAGRAM,variant:"muted-invert",size:"lg"})}),(t==null?void 0:t.twitter)&&e.jsx("a",{href:t==null?void 0:t.twitter,target:"_blank",rel:"noopener noreferrer",children:e.jsx(s.IconButton,{iconName:o.EIconName.X,variant:"muted-invert",size:"lg"})})]})]})]})]}),e.jsx("div",{className:r.default.img,children:e.jsx(h.default,{width:"100%",height:"100%",preserveAspectRatio:"xMidYMid meet"})})]})});exports.Footer=j;
|
|
@@ -10,8 +10,8 @@ type TSocialMedia = {
|
|
|
10
10
|
twitter: string;
|
|
11
11
|
};
|
|
12
12
|
export type TFooterProps = {
|
|
13
|
-
socialMedia
|
|
14
|
-
products
|
|
13
|
+
socialMedia?: TSocialMedia;
|
|
14
|
+
products?: Array<TProducts>;
|
|
15
15
|
};
|
|
16
16
|
export declare const Footer: ({ socialMedia, products }: TFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
import "../../components/Icon/Icon.es.js";
|
|
4
|
-
import { EIconName as
|
|
5
|
-
import { IconButton as
|
|
6
|
-
import { FooterAbout as
|
|
7
|
-
import { FooterLinksBlock as
|
|
8
|
-
import { NewsLetter as
|
|
4
|
+
import { EIconName as o } from "../../components/Icon/constants.es.js";
|
|
5
|
+
import { IconButton as l } from "../../components/IconButton/IconButton.es.js";
|
|
6
|
+
import { FooterAbout as h } from "./components/FooterAbout/FooterAbout.es.js";
|
|
7
|
+
import { FooterLinksBlock as i } from "./components/FooterLinksBlock/FooterLinksBlock.es.js";
|
|
8
|
+
import { NewsLetter as s } from "./components/NewsLetter/NewsLetter.es.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import "../../components/Button/Button.es.js";
|
|
11
|
-
import { TopTreatmentsSlider as
|
|
12
|
-
import { LinksColumn as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const
|
|
11
|
+
import { TopTreatmentsSlider as p } from "./components/TopTreatmentsSlider/TopTreatmentsSlider.es.js";
|
|
12
|
+
import { LinksColumn as v } from "./components/LinksColumn/LinksColumn.es.js";
|
|
13
|
+
import N from "./assets/CompanyName.svg.es.js";
|
|
14
|
+
import r from "./footer.module.css.es.js";
|
|
15
|
+
const f = {
|
|
16
16
|
title: "Treatments",
|
|
17
17
|
content: [
|
|
18
18
|
{ title: "All Treatments", href: "/all" },
|
|
@@ -21,26 +21,26 @@ const l = {
|
|
|
21
21
|
{ title: "Medications", href: "/medications" },
|
|
22
22
|
{ title: "Supplements", href: "/supplements" }
|
|
23
23
|
]
|
|
24
|
-
}, S = ({ socialMedia:
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
|
|
24
|
+
}, S = ({ socialMedia: e, products: m }) => /* @__PURE__ */ t("footer", { className: r.root, children: /* @__PURE__ */ n("div", { className: r.container, children: [
|
|
25
|
+
/* @__PURE__ */ n("div", { className: r.content, children: [
|
|
26
|
+
/* @__PURE__ */ t("div", { className: r.footerLeft, children: /* @__PURE__ */ t(s, {}) }),
|
|
27
|
+
/* @__PURE__ */ n("div", { className: r.footerRight, children: [
|
|
28
|
+
/* @__PURE__ */ n("div", { className: r.columns, children: [
|
|
29
|
+
/* @__PURE__ */ t(v, { title: f.title, links: f.content }, f.title),
|
|
30
|
+
m && (m == null ? void 0 : m.length) > 0 && /* @__PURE__ */ t(p, { title: "Top Treatments", products: m })
|
|
31
31
|
] }),
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ t("div", { className: r.footerLinks, children: /* @__PURE__ */ t(i, {}) }),
|
|
33
|
+
/* @__PURE__ */ n("div", { className: r.about, children: [
|
|
34
|
+
/* @__PURE__ */ t(h, {}),
|
|
35
|
+
/* @__PURE__ */ n("div", { className: r.socials, children: [
|
|
36
|
+
(e == null ? void 0 : e.facebook) && /* @__PURE__ */ t("a", { href: e == null ? void 0 : e.facebook, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ t(l, { iconName: o.FACEBOOK, variant: "muted-invert", size: "lg" }) }),
|
|
37
|
+
(e == null ? void 0 : e.instagram) && /* @__PURE__ */ t("a", { href: e == null ? void 0 : e.instagram, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ t(l, { iconName: o.INSTAGRAM, variant: "muted-invert", size: "lg" }) }),
|
|
38
|
+
(e == null ? void 0 : e.twitter) && /* @__PURE__ */ t("a", { href: e == null ? void 0 : e.twitter, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ t(l, { iconName: o.X, variant: "muted-invert", size: "lg" }) })
|
|
39
39
|
] })
|
|
40
40
|
] })
|
|
41
41
|
] })
|
|
42
42
|
] }),
|
|
43
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ t("div", { className: r.img, children: /* @__PURE__ */ t(N, { width: "100%", height: "100%", preserveAspectRatio: "xMidYMid meet" }) })
|
|
44
44
|
] }) });
|
|
45
45
|
export {
|
|
46
46
|
S as Footer
|