cortex-react-components 3.0.6 → 3.0.8
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/{chunk-FP7MLBPR.mjs → chunk-2S3O5TYH.mjs} +1 -1
- package/dist/{chunk-A45K7TLD.mjs → chunk-2ZSH4X75.mjs} +1 -1
- package/dist/{chunk-2QYYHKCF.mjs → chunk-354MPNDV.mjs} +1 -1
- package/dist/{chunk-GWAHXLXW.mjs → chunk-3YAZKLH3.mjs} +1 -1
- package/dist/{chunk-6X55BFTD.mjs → chunk-44F47U5Y.mjs} +1 -1
- package/dist/{chunk-TCSJWGPP.mjs → chunk-4BRK5CBG.mjs} +2 -2
- package/dist/{chunk-NV67QFQM.mjs → chunk-4HFMA57F.mjs} +7 -4
- package/dist/{chunk-7H3IRT7K.mjs → chunk-5CQITTLV.mjs} +1 -1
- package/dist/{chunk-MAQCJ7GT.mjs → chunk-5KOAYGTO.mjs} +5 -5
- package/dist/{chunk-DAQOEDAR.mjs → chunk-5NGZXIP7.mjs} +1 -1
- package/dist/{chunk-GNZFIBT4.mjs → chunk-5Q43DAAS.mjs} +8 -8
- package/dist/{chunk-URDEWGQC.mjs → chunk-6I3O6TVG.mjs} +1 -1
- package/dist/{chunk-E3ALXLNH.mjs → chunk-6QSVFSOJ.mjs} +1 -1
- package/dist/{chunk-ZDRZ4OQ6.mjs → chunk-B3UYSM32.mjs} +4 -4
- package/dist/{chunk-EG32GIHZ.mjs → chunk-BPAZFILP.mjs} +1 -1
- package/dist/{chunk-DHDEGEML.mjs → chunk-CKBIYWPM.mjs} +3 -3
- package/dist/{chunk-SP6YBXB2.mjs → chunk-COHYOWMB.mjs} +1 -1
- package/dist/{chunk-IRNGNLSK.mjs → chunk-DWGG6JKH.mjs} +4 -4
- package/dist/{chunk-OS5X3ADZ.mjs → chunk-E5LGE3IW.mjs} +1 -1
- package/dist/{chunk-PAXCURFR.mjs → chunk-EGZL4DVZ.mjs} +1 -1
- package/dist/{chunk-ITLPZK2Y.mjs → chunk-EUAQNPRU.mjs} +1 -1
- package/dist/chunk-F4LCVFZK.mjs +19 -0
- package/dist/{chunk-352XMFIA.mjs → chunk-F563CDDJ.mjs} +2 -2
- package/dist/{chunk-N2T6V3NP.mjs → chunk-G7WAPCKX.mjs} +1 -1
- package/dist/{chunk-QOPCGZNQ.mjs → chunk-HGDLIXPQ.mjs} +1 -1
- package/dist/{chunk-J67TVZKA.mjs → chunk-HJLIEMLX.mjs} +2 -2
- package/dist/{chunk-3R2LCGLI.mjs → chunk-HLEMFDTD.mjs} +1 -1
- package/dist/{chunk-R2LCV7J4.mjs → chunk-HXPXJ26M.mjs} +1 -1
- package/dist/{chunk-IMWMWTDR.mjs → chunk-IXQESSPI.mjs} +1 -1
- package/dist/{chunk-6GO5N6ZP.mjs → chunk-KIZUBPPQ.mjs} +1 -1
- package/dist/{chunk-OQ62XQNJ.mjs → chunk-L34WYFSB.mjs} +1 -1
- package/dist/{chunk-3IV2X2TP.mjs → chunk-MSAH6P5O.mjs} +1 -1
- package/dist/{chunk-NPH4VQCE.mjs → chunk-OFES4YYV.mjs} +6 -6
- package/dist/chunk-PE44IHZN.mjs +97 -0
- package/dist/{chunk-L3Z7RRWC.mjs → chunk-PE7KJR4A.mjs} +1 -1
- package/dist/{chunk-5OGDBGXG.mjs → chunk-PJZ5PWKP.mjs} +1 -1
- package/dist/{chunk-MBF6CBFG.mjs → chunk-QPPQNK6O.mjs} +2 -2
- package/dist/{chunk-OUPOGRNP.mjs → chunk-QRC3VJEY.mjs} +1 -1
- package/dist/{chunk-TPZCEPBQ.mjs → chunk-R242HNC3.mjs} +1 -1
- package/dist/{chunk-7RKAC2XY.mjs → chunk-RJRQ3SY5.mjs} +2 -2
- package/dist/{chunk-PBJRNOV6.mjs → chunk-SHHLY2QV.mjs} +1 -1
- package/dist/{chunk-5L5NXMN2.mjs → chunk-SNNQIUJH.mjs} +5 -5
- package/dist/{chunk-SGP3VC6H.mjs → chunk-TMVCGF2B.mjs} +1 -1
- package/dist/{chunk-O3CANERK.mjs → chunk-TZDVVQBQ.mjs} +1 -1
- package/dist/{chunk-JBFNSEIJ.mjs → chunk-UETTBM3J.mjs} +1 -1
- package/dist/{chunk-FLPPUI7L.mjs → chunk-ULYN63F3.mjs} +3 -3
- package/dist/{chunk-RYINW7OG.mjs → chunk-USE5WY4U.mjs} +1 -1
- package/dist/{chunk-3WWKFK6O.mjs → chunk-X2KTMYOD.mjs} +1 -1
- package/dist/{chunk-OU7KRO3L.mjs → chunk-X6PPZZ2E.mjs} +13 -13
- package/dist/{chunk-DPVVX4ZT.mjs → chunk-XWYGGWIF.mjs} +4 -4
- package/dist/{chunk-PSU7NVB6.mjs → chunk-YI6FLZOK.mjs} +1 -1
- package/dist/{chunk-VNLOFYZP.mjs → chunk-YJIB2FYD.mjs} +2 -2
- package/dist/{chunk-UGGMHEBS.mjs → chunk-ZMITLXFT.mjs} +1 -1
- package/dist/components/AdvancedComponents/index.mjs +11 -11
- package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +5 -5
- package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +2 -2
- package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +4 -4
- package/dist/components/AdvancedComponents/org-chart-component/index.mjs +8 -8
- package/dist/components/Blocks/Banner.js +17 -1
- package/dist/components/Blocks/Banner.mjs +9 -7
- package/dist/components/Blocks/CallToAction.js +17 -1
- package/dist/components/Blocks/CallToAction.mjs +9 -7
- package/dist/components/Blocks/CollapsibleArea.js +17 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +10 -8
- package/dist/components/Blocks/Content.js +17 -1
- package/dist/components/Blocks/Content.mjs +10 -8
- package/dist/components/Blocks/FeaturesBlock.js +17 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +9 -7
- package/dist/components/Blocks/ImageBlock.mjs +3 -3
- package/dist/components/Blocks/MediaBlock.mjs +3 -3
- package/dist/components/Blocks/RelatedPosts.js +17 -1
- package/dist/components/Blocks/RelatedPosts.mjs +11 -9
- package/dist/components/Blocks/RenderBlocks.js +17 -1
- package/dist/components/Blocks/RenderBlocks.mjs +12 -10
- package/dist/components/Blocks/ReusableContentBlock.js +17 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +12 -10
- package/dist/components/Blocks/index.js +17 -1
- package/dist/components/Blocks/index.mjs +16 -14
- package/dist/components/CRM/CogeBoard.js +1 -1
- package/dist/components/CRM/CogeBoard.mjs +2 -2
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +2 -2
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.js +2 -2
- package/dist/components/CRM/index.mjs +7 -7
- package/dist/components/CRM/mockData.js +6 -6
- package/dist/components/CRM/mockData.mjs +6 -6
- package/dist/components/Cards/ContentCard.js +17 -1
- package/dist/components/Cards/ContentCard.mjs +9 -7
- package/dist/components/Cards/FeatureCard.js +17 -1
- package/dist/components/Cards/FeatureCard.mjs +9 -7
- package/dist/components/Cards/ImageProxy.css +917 -0
- package/dist/components/Cards/ImageProxy.d.ts +4 -0
- package/dist/components/Cards/ImageProxy.js +2667 -0
- package/dist/components/Cards/ImageProxy.mjs +15 -0
- package/dist/components/Cards/index.d.ts +1 -0
- package/dist/components/Cards/index.js +158 -57
- package/dist/components/Cards/index.mjs +14 -9
- package/dist/components/Chat/ChatInterface.mjs +7 -7
- package/dist/components/Chat/CopilotInterface.mjs +8 -8
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +5 -5
- package/dist/components/Chat/PartTypes/index.mjs +13 -13
- package/dist/components/Chat/demo-long-messages.mjs +8 -8
- package/dist/components/Chat/demo-tests.mjs +8 -8
- package/dist/components/Chat/demo.mjs +8 -8
- package/dist/components/Chat/example-usage.mjs +9 -9
- package/dist/components/Chat/example-with-vercel-ai.mjs +8 -8
- package/dist/components/Chat/index.mjs +13 -13
- package/dist/components/DigitalColleagues/MainPage.mjs +8 -8
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +9 -9
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -2
- package/dist/components/DigitalColleagues/Views/index.mjs +22 -22
- package/dist/components/DigitalColleagues/index.mjs +42 -42
- package/dist/components/Foundary/MainPage.mjs +8 -8
- package/dist/components/Foundary/Pages/dashboardpage.mjs +14 -14
- package/dist/components/Foundary/RichText/index.mjs +5 -5
- package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +4 -4
- package/dist/components/Foundary/Views/KnowledgeView.mjs +9 -9
- package/dist/components/Foundary/Views/index.mjs +26 -26
- package/dist/components/Foundary/document-edit.mjs +6 -6
- package/dist/components/Foundary/document-preview-examples.mjs +7 -7
- package/dist/components/Foundary/document-preview.mjs +7 -7
- package/dist/components/Foundary/file-edit.mjs +6 -6
- package/dist/components/Foundary/index.mjs +50 -50
- package/dist/components/Foundary/knowledge-browser.mjs +8 -8
- package/dist/components/HeaderFooter/Header.mjs +2 -2
- package/dist/components/HeaderFooter/SectionHeading.js +17 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +10 -8
- package/dist/components/HeaderFooter/index.mjs +14 -14
- package/dist/components/Heros/HighImpact/index.js +17 -1
- package/dist/components/Heros/HighImpact/index.mjs +10 -8
- package/dist/components/Heros/LowImpact/index.js +17 -1
- package/dist/components/Heros/LowImpact/index.mjs +10 -8
- package/dist/components/Heros/MediumImpact/index.js +17 -1
- package/dist/components/Heros/MediumImpact/index.mjs +10 -8
- package/dist/components/Heros/RenderHero.js +17 -1
- package/dist/components/Heros/RenderHero.mjs +13 -11
- package/dist/components/Heros/index.js +17 -1
- package/dist/components/Heros/index.mjs +15 -13
- package/dist/components/Layouts/OutputHeaderFooter.js +17 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +12 -10
- package/dist/components/Layouts/Print.js +17 -1
- package/dist/components/Layouts/Print.mjs +16 -14
- package/dist/components/Layouts/SlideShow.js +17 -1
- package/dist/components/Layouts/SlideShow.mjs +17 -15
- package/dist/components/Layouts/index.js +17 -1
- package/dist/components/Layouts/index.mjs +26 -24
- package/dist/components/Menus/SidebarLeftMulti.js +1 -1
- package/dist/components/Menus/SidebarLeftMulti.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
- package/dist/components/Payload/Media/index.mjs +2 -2
- package/dist/components/Payload/PayloadCard/index.mjs +3 -3
- package/dist/components/Payload/RichText/index.js +17 -1
- package/dist/components/Payload/RichText/index.mjs +9 -7
- package/dist/components/Payload/RichText/serialize.js +17 -1
- package/dist/components/Payload/RichText/serialize.mjs +9 -7
- package/dist/components/Payload/index.js +17 -1
- package/dist/components/Payload/index.mjs +13 -11
- package/dist/components/Projects/EpicsView.mjs +2 -2
- package/dist/components/Projects/FileView.mjs +9 -9
- package/dist/components/Projects/KanbanBoardView.mjs +12 -12
- package/dist/components/Projects/ProjectPage.mjs +16 -16
- package/dist/components/Projects/ProjectView.mjs +16 -16
- package/dist/components/Projects/TaskDetailsModal.mjs +10 -10
- package/dist/components/Projects/file-list.mjs +7 -7
- package/dist/components/Projects/index.mjs +16 -16
- package/dist/components/dc-temp/index.mjs +10 -10
- package/dist/components/index.js +4188 -4087
- package/dist/components/index.mjs +144 -139
- package/dist/decorators/Intranet.mjs +83 -81
- package/dist/index.js +4429 -4328
- package/dist/index.mjs +157 -152
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +17 -1
- package/dist/pages/Blog.mjs +18 -16
- package/dist/pages/Documentation.mjs +7 -7
- package/dist/pages/IndexPage.mjs +21 -19
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.js +17 -1
- package/dist/pages/LandingPage.mjs +93 -91
- package/dist/pages/Page.js +17 -1
- package/dist/pages/Page.mjs +21 -19
- package/dist/pages/Publish.js +17 -1
- package/dist/pages/Publish.mjs +84 -82
- package/dist/pages/Website.js +17 -1
- package/dist/pages/Website.mjs +25 -23
- package/dist/payload-types.d.ts +1 -1
- package/dist/sections/AboutSection.js +17 -1
- package/dist/sections/AboutSection.mjs +11 -9
- package/dist/sections/BlogDetail.js +17 -1
- package/dist/sections/BlogDetail.mjs +10 -8
- package/dist/sections/BlogList.js +17 -1
- package/dist/sections/BlogList.mjs +11 -9
- package/dist/sections/BlogListSection.mjs +2 -2
- package/dist/sections/ContactSection.js +17 -1
- package/dist/sections/ContactSection.mjs +11 -9
- package/dist/sections/PageSections.js +17 -1
- package/dist/sections/PageSections.mjs +93 -91
- package/dist/sections/PricingSection.js +17 -1
- package/dist/sections/PricingSection.mjs +11 -9
- package/dist/sections/ServiceDetail.js +17 -1
- package/dist/sections/ServiceDetail.mjs +10 -8
- package/dist/sections/ServiceDetailSection.js +17 -1
- package/dist/sections/ServiceDetailSection.mjs +10 -8
- package/dist/sections/ServiceSection.js +17 -1
- package/dist/sections/ServiceSection.mjs +84 -82
- package/dist/sections/index.js +17 -1
- package/dist/sections/index.mjs +95 -93
- package/dist/utils/getLinkHref.d.ts +12 -0
- package/dist/utils/getLinkHref.js +43 -0
- package/dist/utils/getLinkHref.mjs +7 -0
- package/package.json +1 -1
- package/dist/{chunk-6TVRFATY.mjs → chunk-25OSLP2V.mjs} +3 -3
- package/dist/{chunk-NKRBXAPF.mjs → chunk-2YHN7ZCJ.mjs} +3 -3
- package/dist/{chunk-EUAUP52U.mjs → chunk-7UMFQPR5.mjs} +3 -3
- package/dist/{chunk-PYAVZEWJ.mjs → chunk-FZMTC5ID.mjs} +3 -3
- package/dist/{chunk-57INGMKK.mjs → chunk-M5XPU4JK.mjs} +6 -6
- package/dist/{chunk-ECWGCKWS.mjs → chunk-PXB2ICFA.mjs} +6 -6
- package/dist/{chunk-6OFY4WMY.mjs → chunk-RWZ36G7W.mjs} +3 -3
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../../chunk-CADDCSIP.mjs";
|
|
2
|
-
import {
|
|
3
|
-
RelatedPagesMenu
|
|
4
|
-
} from "../../chunk-5LGYESOI.mjs";
|
|
5
|
-
import {
|
|
6
|
-
SimpleHeader
|
|
7
|
-
} from "../../chunk-XBNKHFH3.mjs";
|
|
8
1
|
import {
|
|
9
2
|
VideoHeader
|
|
10
3
|
} from "../../chunk-BLA5A5K3.mjs";
|
|
11
4
|
import "../../chunk-QX5S5NN2.mjs";
|
|
12
5
|
import "../../chunk-5MASROPH.mjs";
|
|
13
|
-
import "../../chunk-LSYJZD45.mjs";
|
|
14
|
-
import {
|
|
15
|
-
Footer
|
|
16
|
-
} from "../../chunk-APQYZUMH.mjs";
|
|
17
6
|
import {
|
|
18
7
|
Header
|
|
19
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-FZMTC5ID.mjs";
|
|
9
|
+
import {
|
|
10
|
+
HeaderDesktop
|
|
11
|
+
} from "../../chunk-FHZHQDXV.mjs";
|
|
12
|
+
import "../../chunk-CADDCSIP.mjs";
|
|
20
13
|
import {
|
|
21
14
|
HeaderMobile
|
|
22
15
|
} from "../../chunk-OXZJ5MRS.mjs";
|
|
23
16
|
import {
|
|
24
|
-
|
|
25
|
-
} from "../../chunk-
|
|
17
|
+
RelatedPagesMenu
|
|
18
|
+
} from "../../chunk-5LGYESOI.mjs";
|
|
19
|
+
import {
|
|
20
|
+
SimpleHeader
|
|
21
|
+
} from "../../chunk-XBNKHFH3.mjs";
|
|
26
22
|
import "../../chunk-XCRMFUEI.mjs";
|
|
23
|
+
import "../../chunk-LSYJZD45.mjs";
|
|
24
|
+
import {
|
|
25
|
+
Footer
|
|
26
|
+
} from "../../chunk-APQYZUMH.mjs";
|
|
27
27
|
import {
|
|
28
28
|
BrandLogo
|
|
29
29
|
} from "../../chunk-T4QSHL2W.mjs";
|
|
@@ -3132,6 +3132,22 @@ var ImageBlock = (props) => {
|
|
|
3132
3132
|
);
|
|
3133
3133
|
};
|
|
3134
3134
|
|
|
3135
|
+
// src/utils/getLinkHref.ts
|
|
3136
|
+
function getLinkHref(link) {
|
|
3137
|
+
if (!link) return "#";
|
|
3138
|
+
if (link.url) return link.url;
|
|
3139
|
+
if (link.reference?.value) {
|
|
3140
|
+
const { relationTo, value } = link.reference;
|
|
3141
|
+
const slug = value?.slug;
|
|
3142
|
+
if (!slug) return "#";
|
|
3143
|
+
if (relationTo === "pages") {
|
|
3144
|
+
return `/${slug}`;
|
|
3145
|
+
}
|
|
3146
|
+
return `/${relationTo}/${slug}`;
|
|
3147
|
+
}
|
|
3148
|
+
return "#";
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3135
3151
|
// src/components/Images/DynamicIcon.tsx
|
|
3136
3152
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3137
3153
|
var DynamicIcon = ({
|
|
@@ -3181,7 +3197,7 @@ function FeatureCard({
|
|
|
3181
3197
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3182
3198
|
"a",
|
|
3183
3199
|
{
|
|
3184
|
-
href: link
|
|
3200
|
+
href: getLinkHref(link),
|
|
3185
3201
|
className: cn(
|
|
3186
3202
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3187
3203
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -2,27 +2,29 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
HighImpactHero
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-F563CDDJ.mjs";
|
|
6
|
+
import "../../../chunk-4HFMA57F.mjs";
|
|
7
7
|
import "../../../chunk-YLULVMZ7.mjs";
|
|
8
8
|
import "../../../chunk-2NXKZY7U.mjs";
|
|
9
9
|
import "../../../chunk-GSG52WU5.mjs";
|
|
10
10
|
import "../../../chunk-US72SCH3.mjs";
|
|
11
11
|
import "../../../chunk-G6EC37S7.mjs";
|
|
12
12
|
import "../../../chunk-LTOFCHXU.mjs";
|
|
13
|
+
import "../../../chunk-LIJ2ES4B.mjs";
|
|
13
14
|
import "../../../chunk-GTHNG3Q7.mjs";
|
|
15
|
+
import "../../../chunk-PE44IHZN.mjs";
|
|
14
16
|
import "../../../chunk-4GLXI5J3.mjs";
|
|
15
17
|
import "../../../chunk-2X45TVQS.mjs";
|
|
16
18
|
import "../../../chunk-DTQ2W22B.mjs";
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-
|
|
19
|
-
import "../../../chunk-
|
|
20
|
-
import "../../../chunk-3R2LCGLI.mjs";
|
|
21
|
-
import "../../../chunk-NKRBXAPF.mjs";
|
|
22
|
-
import "../../../chunk-MW5UCIIC.mjs";
|
|
19
|
+
import "../../../chunk-HLEMFDTD.mjs";
|
|
20
|
+
import "../../../chunk-KIZUBPPQ.mjs";
|
|
21
|
+
import "../../../chunk-2YHN7ZCJ.mjs";
|
|
23
22
|
import "../../../chunk-ZYKYDIOF.mjs";
|
|
23
|
+
import "../../../chunk-MW5UCIIC.mjs";
|
|
24
|
+
import "../../../chunk-WPX6MOFB.mjs";
|
|
24
25
|
import "../../../chunk-R57RJLFQ.mjs";
|
|
25
26
|
import "../../../chunk-GIHP74M4.mjs";
|
|
27
|
+
import "../../../chunk-F4LCVFZK.mjs";
|
|
26
28
|
import "../../../chunk-3BYULUMU.mjs";
|
|
27
29
|
import "../../../chunk-RZRMW2DZ.mjs";
|
|
28
30
|
import "../../../chunk-GUHOQLS3.mjs";
|
|
@@ -3130,6 +3130,22 @@ var ImageBlock = (props) => {
|
|
|
3130
3130
|
);
|
|
3131
3131
|
};
|
|
3132
3132
|
|
|
3133
|
+
// src/utils/getLinkHref.ts
|
|
3134
|
+
function getLinkHref(link) {
|
|
3135
|
+
if (!link) return "#";
|
|
3136
|
+
if (link.url) return link.url;
|
|
3137
|
+
if (link.reference?.value) {
|
|
3138
|
+
const { relationTo, value } = link.reference;
|
|
3139
|
+
const slug = value?.slug;
|
|
3140
|
+
if (!slug) return "#";
|
|
3141
|
+
if (relationTo === "pages") {
|
|
3142
|
+
return `/${slug}`;
|
|
3143
|
+
}
|
|
3144
|
+
return `/${relationTo}/${slug}`;
|
|
3145
|
+
}
|
|
3146
|
+
return "#";
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3133
3149
|
// src/components/Images/DynamicIcon.tsx
|
|
3134
3150
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3135
3151
|
var DynamicIcon = ({
|
|
@@ -3179,7 +3195,7 @@ function FeatureCard({
|
|
|
3179
3195
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3180
3196
|
"a",
|
|
3181
3197
|
{
|
|
3182
|
-
href: link
|
|
3198
|
+
href: getLinkHref(link),
|
|
3183
3199
|
className: cn(
|
|
3184
3200
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3185
3201
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LowImpactHero
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-USE5WY4U.mjs";
|
|
4
|
+
import "../../../chunk-4HFMA57F.mjs";
|
|
5
5
|
import "../../../chunk-YLULVMZ7.mjs";
|
|
6
6
|
import "../../../chunk-2NXKZY7U.mjs";
|
|
7
7
|
import "../../../chunk-GSG52WU5.mjs";
|
|
8
8
|
import "../../../chunk-US72SCH3.mjs";
|
|
9
9
|
import "../../../chunk-G6EC37S7.mjs";
|
|
10
10
|
import "../../../chunk-LTOFCHXU.mjs";
|
|
11
|
+
import "../../../chunk-LIJ2ES4B.mjs";
|
|
11
12
|
import "../../../chunk-GTHNG3Q7.mjs";
|
|
13
|
+
import "../../../chunk-PE44IHZN.mjs";
|
|
12
14
|
import "../../../chunk-4GLXI5J3.mjs";
|
|
13
15
|
import "../../../chunk-2X45TVQS.mjs";
|
|
14
16
|
import "../../../chunk-DTQ2W22B.mjs";
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-3R2LCGLI.mjs";
|
|
19
|
-
import "../../../chunk-NKRBXAPF.mjs";
|
|
20
|
-
import "../../../chunk-MW5UCIIC.mjs";
|
|
17
|
+
import "../../../chunk-HLEMFDTD.mjs";
|
|
18
|
+
import "../../../chunk-KIZUBPPQ.mjs";
|
|
19
|
+
import "../../../chunk-2YHN7ZCJ.mjs";
|
|
21
20
|
import "../../../chunk-ZYKYDIOF.mjs";
|
|
21
|
+
import "../../../chunk-MW5UCIIC.mjs";
|
|
22
|
+
import "../../../chunk-WPX6MOFB.mjs";
|
|
22
23
|
import "../../../chunk-R57RJLFQ.mjs";
|
|
23
24
|
import "../../../chunk-GIHP74M4.mjs";
|
|
25
|
+
import "../../../chunk-F4LCVFZK.mjs";
|
|
24
26
|
import "../../../chunk-3BYULUMU.mjs";
|
|
25
27
|
import "../../../chunk-RZRMW2DZ.mjs";
|
|
26
28
|
import "../../../chunk-GUHOQLS3.mjs";
|
|
@@ -3131,6 +3131,22 @@ var ImageBlock = (props) => {
|
|
|
3131
3131
|
);
|
|
3132
3132
|
};
|
|
3133
3133
|
|
|
3134
|
+
// src/utils/getLinkHref.ts
|
|
3135
|
+
function getLinkHref(link) {
|
|
3136
|
+
if (!link) return "#";
|
|
3137
|
+
if (link.url) return link.url;
|
|
3138
|
+
if (link.reference?.value) {
|
|
3139
|
+
const { relationTo, value } = link.reference;
|
|
3140
|
+
const slug = value?.slug;
|
|
3141
|
+
if (!slug) return "#";
|
|
3142
|
+
if (relationTo === "pages") {
|
|
3143
|
+
return `/${slug}`;
|
|
3144
|
+
}
|
|
3145
|
+
return `/${relationTo}/${slug}`;
|
|
3146
|
+
}
|
|
3147
|
+
return "#";
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3134
3150
|
// src/components/Images/DynamicIcon.tsx
|
|
3135
3151
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3136
3152
|
var DynamicIcon = ({
|
|
@@ -3180,7 +3196,7 @@ function FeatureCard({
|
|
|
3180
3196
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3181
3197
|
"a",
|
|
3182
3198
|
{
|
|
3183
|
-
href: link
|
|
3199
|
+
href: getLinkHref(link),
|
|
3184
3200
|
className: cn(
|
|
3185
3201
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3186
3202
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MediumImpactHero
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-TZDVVQBQ.mjs";
|
|
4
|
+
import "../../../chunk-4HFMA57F.mjs";
|
|
5
5
|
import "../../../chunk-YLULVMZ7.mjs";
|
|
6
6
|
import "../../../chunk-2NXKZY7U.mjs";
|
|
7
7
|
import "../../../chunk-GSG52WU5.mjs";
|
|
8
8
|
import "../../../chunk-US72SCH3.mjs";
|
|
9
9
|
import "../../../chunk-G6EC37S7.mjs";
|
|
10
10
|
import "../../../chunk-LTOFCHXU.mjs";
|
|
11
|
+
import "../../../chunk-LIJ2ES4B.mjs";
|
|
11
12
|
import "../../../chunk-GTHNG3Q7.mjs";
|
|
13
|
+
import "../../../chunk-PE44IHZN.mjs";
|
|
12
14
|
import "../../../chunk-4GLXI5J3.mjs";
|
|
13
15
|
import "../../../chunk-2X45TVQS.mjs";
|
|
14
16
|
import "../../../chunk-DTQ2W22B.mjs";
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
17
|
-
import "../../../chunk-
|
|
18
|
-
import "../../../chunk-3R2LCGLI.mjs";
|
|
19
|
-
import "../../../chunk-NKRBXAPF.mjs";
|
|
20
|
-
import "../../../chunk-MW5UCIIC.mjs";
|
|
17
|
+
import "../../../chunk-HLEMFDTD.mjs";
|
|
18
|
+
import "../../../chunk-KIZUBPPQ.mjs";
|
|
19
|
+
import "../../../chunk-2YHN7ZCJ.mjs";
|
|
21
20
|
import "../../../chunk-ZYKYDIOF.mjs";
|
|
21
|
+
import "../../../chunk-MW5UCIIC.mjs";
|
|
22
|
+
import "../../../chunk-WPX6MOFB.mjs";
|
|
22
23
|
import "../../../chunk-R57RJLFQ.mjs";
|
|
23
24
|
import "../../../chunk-GIHP74M4.mjs";
|
|
25
|
+
import "../../../chunk-F4LCVFZK.mjs";
|
|
24
26
|
import "../../../chunk-3BYULUMU.mjs";
|
|
25
27
|
import "../../../chunk-RZRMW2DZ.mjs";
|
|
26
28
|
import "../../../chunk-GUHOQLS3.mjs";
|
|
@@ -3135,6 +3135,22 @@ var ImageBlock = (props) => {
|
|
|
3135
3135
|
);
|
|
3136
3136
|
};
|
|
3137
3137
|
|
|
3138
|
+
// src/utils/getLinkHref.ts
|
|
3139
|
+
function getLinkHref(link) {
|
|
3140
|
+
if (!link) return "#";
|
|
3141
|
+
if (link.url) return link.url;
|
|
3142
|
+
if (link.reference?.value) {
|
|
3143
|
+
const { relationTo, value } = link.reference;
|
|
3144
|
+
const slug = value?.slug;
|
|
3145
|
+
if (!slug) return "#";
|
|
3146
|
+
if (relationTo === "pages") {
|
|
3147
|
+
return `/${slug}`;
|
|
3148
|
+
}
|
|
3149
|
+
return `/${relationTo}/${slug}`;
|
|
3150
|
+
}
|
|
3151
|
+
return "#";
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3138
3154
|
// src/components/Images/DynamicIcon.tsx
|
|
3139
3155
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3140
3156
|
var DynamicIcon = ({
|
|
@@ -3184,7 +3200,7 @@ function FeatureCard({
|
|
|
3184
3200
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3185
3201
|
"a",
|
|
3186
3202
|
{
|
|
3187
|
-
href: link
|
|
3203
|
+
href: getLinkHref(link),
|
|
3188
3204
|
className: cn(
|
|
3189
3205
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3190
3206
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Breadcrumbs,
|
|
3
3
|
RenderHero
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-SNNQIUJH.mjs";
|
|
5
5
|
import "../../chunk-N77BYZ6A.mjs";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-TZDVVQBQ.mjs";
|
|
7
|
+
import "../../chunk-F563CDDJ.mjs";
|
|
8
|
+
import "../../chunk-USE5WY4U.mjs";
|
|
9
|
+
import "../../chunk-4HFMA57F.mjs";
|
|
10
10
|
import "../../chunk-YLULVMZ7.mjs";
|
|
11
11
|
import "../../chunk-2NXKZY7U.mjs";
|
|
12
12
|
import "../../chunk-GSG52WU5.mjs";
|
|
13
13
|
import "../../chunk-US72SCH3.mjs";
|
|
14
14
|
import "../../chunk-G6EC37S7.mjs";
|
|
15
15
|
import "../../chunk-LTOFCHXU.mjs";
|
|
16
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
16
17
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
18
|
+
import "../../chunk-PE44IHZN.mjs";
|
|
17
19
|
import "../../chunk-4GLXI5J3.mjs";
|
|
18
20
|
import "../../chunk-2X45TVQS.mjs";
|
|
19
21
|
import "../../chunk-DTQ2W22B.mjs";
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-3R2LCGLI.mjs";
|
|
24
|
-
import "../../chunk-NKRBXAPF.mjs";
|
|
25
|
-
import "../../chunk-MW5UCIIC.mjs";
|
|
22
|
+
import "../../chunk-HLEMFDTD.mjs";
|
|
23
|
+
import "../../chunk-KIZUBPPQ.mjs";
|
|
24
|
+
import "../../chunk-2YHN7ZCJ.mjs";
|
|
26
25
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
26
|
+
import "../../chunk-MW5UCIIC.mjs";
|
|
27
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
27
28
|
import "../../chunk-R57RJLFQ.mjs";
|
|
28
29
|
import "../../chunk-GIHP74M4.mjs";
|
|
30
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
29
31
|
import "../../chunk-3BYULUMU.mjs";
|
|
30
32
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
31
33
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -3141,6 +3141,22 @@ var ImageBlock = (props) => {
|
|
|
3141
3141
|
);
|
|
3142
3142
|
};
|
|
3143
3143
|
|
|
3144
|
+
// src/utils/getLinkHref.ts
|
|
3145
|
+
function getLinkHref(link) {
|
|
3146
|
+
if (!link) return "#";
|
|
3147
|
+
if (link.url) return link.url;
|
|
3148
|
+
if (link.reference?.value) {
|
|
3149
|
+
const { relationTo, value } = link.reference;
|
|
3150
|
+
const slug = value?.slug;
|
|
3151
|
+
if (!slug) return "#";
|
|
3152
|
+
if (relationTo === "pages") {
|
|
3153
|
+
return `/${slug}`;
|
|
3154
|
+
}
|
|
3155
|
+
return `/${relationTo}/${slug}`;
|
|
3156
|
+
}
|
|
3157
|
+
return "#";
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3144
3160
|
// src/components/Images/DynamicIcon.tsx
|
|
3145
3161
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3146
3162
|
var DynamicIcon = ({
|
|
@@ -3190,7 +3206,7 @@ function FeatureCard({
|
|
|
3190
3206
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3191
3207
|
"a",
|
|
3192
3208
|
{
|
|
3193
|
-
href: link
|
|
3209
|
+
href: getLinkHref(link),
|
|
3194
3210
|
className: cn(
|
|
3195
3211
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3196
3212
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Breadcrumbs,
|
|
6
6
|
RenderHero
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-SNNQIUJH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
SectionHero
|
|
10
10
|
} from "../../chunk-N77BYZ6A.mjs";
|
|
11
|
+
import {
|
|
12
|
+
MediumImpactHero
|
|
13
|
+
} from "../../chunk-TZDVVQBQ.mjs";
|
|
11
14
|
import {
|
|
12
15
|
HighImpactHero
|
|
13
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-F563CDDJ.mjs";
|
|
14
17
|
import {
|
|
15
18
|
LowImpactHero
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import {
|
|
18
|
-
MediumImpactHero
|
|
19
|
-
} from "../../chunk-O3CANERK.mjs";
|
|
19
|
+
} from "../../chunk-USE5WY4U.mjs";
|
|
20
20
|
import {
|
|
21
21
|
PostHero
|
|
22
22
|
} from "../../chunk-R3LWKUWD.mjs";
|
|
@@ -36,26 +36,28 @@ import "../../chunk-4UJUWE3A.mjs";
|
|
|
36
36
|
import "../../chunk-7CVOGGH6.mjs";
|
|
37
37
|
import "../../chunk-RFP2KGUZ.mjs";
|
|
38
38
|
import "../../chunk-W5ROY7BH.mjs";
|
|
39
|
-
import "../../chunk-
|
|
39
|
+
import "../../chunk-4HFMA57F.mjs";
|
|
40
40
|
import "../../chunk-YLULVMZ7.mjs";
|
|
41
41
|
import "../../chunk-2NXKZY7U.mjs";
|
|
42
42
|
import "../../chunk-GSG52WU5.mjs";
|
|
43
43
|
import "../../chunk-US72SCH3.mjs";
|
|
44
44
|
import "../../chunk-G6EC37S7.mjs";
|
|
45
45
|
import "../../chunk-LTOFCHXU.mjs";
|
|
46
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
46
47
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
48
|
+
import "../../chunk-PE44IHZN.mjs";
|
|
47
49
|
import "../../chunk-4GLXI5J3.mjs";
|
|
48
50
|
import "../../chunk-2X45TVQS.mjs";
|
|
49
51
|
import "../../chunk-DTQ2W22B.mjs";
|
|
50
|
-
import "../../chunk-
|
|
51
|
-
import "../../chunk-
|
|
52
|
-
import "../../chunk-
|
|
53
|
-
import "../../chunk-3R2LCGLI.mjs";
|
|
54
|
-
import "../../chunk-NKRBXAPF.mjs";
|
|
55
|
-
import "../../chunk-MW5UCIIC.mjs";
|
|
52
|
+
import "../../chunk-HLEMFDTD.mjs";
|
|
53
|
+
import "../../chunk-KIZUBPPQ.mjs";
|
|
54
|
+
import "../../chunk-2YHN7ZCJ.mjs";
|
|
56
55
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
56
|
+
import "../../chunk-MW5UCIIC.mjs";
|
|
57
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
57
58
|
import "../../chunk-R57RJLFQ.mjs";
|
|
58
59
|
import "../../chunk-GIHP74M4.mjs";
|
|
60
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
59
61
|
import "../../chunk-3BYULUMU.mjs";
|
|
60
62
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
61
63
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -3132,6 +3132,22 @@ var ImageBlock = (props) => {
|
|
|
3132
3132
|
);
|
|
3133
3133
|
};
|
|
3134
3134
|
|
|
3135
|
+
// src/utils/getLinkHref.ts
|
|
3136
|
+
function getLinkHref(link) {
|
|
3137
|
+
if (!link) return "#";
|
|
3138
|
+
if (link.url) return link.url;
|
|
3139
|
+
if (link.reference?.value) {
|
|
3140
|
+
const { relationTo, value } = link.reference;
|
|
3141
|
+
const slug = value?.slug;
|
|
3142
|
+
if (!slug) return "#";
|
|
3143
|
+
if (relationTo === "pages") {
|
|
3144
|
+
return `/${slug}`;
|
|
3145
|
+
}
|
|
3146
|
+
return `/${relationTo}/${slug}`;
|
|
3147
|
+
}
|
|
3148
|
+
return "#";
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3135
3151
|
// src/components/Images/DynamicIcon.tsx
|
|
3136
3152
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3137
3153
|
var DynamicIcon = ({
|
|
@@ -3181,7 +3197,7 @@ function FeatureCard({
|
|
|
3181
3197
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3182
3198
|
"a",
|
|
3183
3199
|
{
|
|
3184
|
-
href: link
|
|
3200
|
+
href: getLinkHref(link),
|
|
3185
3201
|
className: cn(
|
|
3186
3202
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3187
3203
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -2,34 +2,36 @@ import {
|
|
|
2
2
|
Footer,
|
|
3
3
|
HeaderTop,
|
|
4
4
|
TitleSlide
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-5OGDBGXG.mjs";
|
|
5
|
+
} from "../../chunk-COHYOWMB.mjs";
|
|
7
6
|
import "../../chunk-NR6HSUH7.mjs";
|
|
8
7
|
import "../../chunk-N42O5NIO.mjs";
|
|
8
|
+
import "../../chunk-PJZ5PWKP.mjs";
|
|
9
9
|
import "../../chunk-ZTCAYEGT.mjs";
|
|
10
10
|
import "../../chunk-HKVESRML.mjs";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-EGZL4DVZ.mjs";
|
|
12
12
|
import "../../chunk-4Z4X2GG7.mjs";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-4HFMA57F.mjs";
|
|
14
14
|
import "../../chunk-YLULVMZ7.mjs";
|
|
15
15
|
import "../../chunk-2NXKZY7U.mjs";
|
|
16
16
|
import "../../chunk-GSG52WU5.mjs";
|
|
17
17
|
import "../../chunk-US72SCH3.mjs";
|
|
18
18
|
import "../../chunk-G6EC37S7.mjs";
|
|
19
19
|
import "../../chunk-LTOFCHXU.mjs";
|
|
20
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
20
21
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
22
|
+
import "../../chunk-PE44IHZN.mjs";
|
|
21
23
|
import "../../chunk-4GLXI5J3.mjs";
|
|
22
24
|
import "../../chunk-2X45TVQS.mjs";
|
|
23
25
|
import "../../chunk-DTQ2W22B.mjs";
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-3R2LCGLI.mjs";
|
|
28
|
-
import "../../chunk-NKRBXAPF.mjs";
|
|
29
|
-
import "../../chunk-MW5UCIIC.mjs";
|
|
26
|
+
import "../../chunk-HLEMFDTD.mjs";
|
|
27
|
+
import "../../chunk-KIZUBPPQ.mjs";
|
|
28
|
+
import "../../chunk-2YHN7ZCJ.mjs";
|
|
30
29
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
30
|
+
import "../../chunk-MW5UCIIC.mjs";
|
|
31
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
31
32
|
import "../../chunk-R57RJLFQ.mjs";
|
|
32
33
|
import "../../chunk-GIHP74M4.mjs";
|
|
34
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
33
35
|
import "../../chunk-3BYULUMU.mjs";
|
|
34
36
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
35
37
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -2887,6 +2887,22 @@ var ImageBlock = (props) => {
|
|
|
2887
2887
|
);
|
|
2888
2888
|
};
|
|
2889
2889
|
|
|
2890
|
+
// src/utils/getLinkHref.ts
|
|
2891
|
+
function getLinkHref(link) {
|
|
2892
|
+
if (!link) return "#";
|
|
2893
|
+
if (link.url) return link.url;
|
|
2894
|
+
if (link.reference?.value) {
|
|
2895
|
+
const { relationTo, value } = link.reference;
|
|
2896
|
+
const slug = value?.slug;
|
|
2897
|
+
if (!slug) return "#";
|
|
2898
|
+
if (relationTo === "pages") {
|
|
2899
|
+
return `/${slug}`;
|
|
2900
|
+
}
|
|
2901
|
+
return `/${relationTo}/${slug}`;
|
|
2902
|
+
}
|
|
2903
|
+
return "#";
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2890
2906
|
// src/components/Images/DynamicIcon.tsx
|
|
2891
2907
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
2892
2908
|
var DynamicIcon = ({
|
|
@@ -2936,7 +2952,7 @@ function FeatureCard({
|
|
|
2936
2952
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
2937
2953
|
"a",
|
|
2938
2954
|
{
|
|
2939
|
-
href: link
|
|
2955
|
+
href: getLinkHref(link),
|
|
2940
2956
|
className: cn(
|
|
2941
2957
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
2942
2958
|
image ? "p-0" : "p-6 md:p-8",
|
|
@@ -4,38 +4,40 @@ import {
|
|
|
4
4
|
FlowPrintable,
|
|
5
5
|
PagePrintable,
|
|
6
6
|
Printable
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-5OGDBGXG.mjs";
|
|
7
|
+
} from "../../chunk-QPPQNK6O.mjs";
|
|
8
|
+
import "../../chunk-COHYOWMB.mjs";
|
|
10
9
|
import "../../chunk-NR6HSUH7.mjs";
|
|
11
10
|
import "../../chunk-N42O5NIO.mjs";
|
|
11
|
+
import "../../chunk-PJZ5PWKP.mjs";
|
|
12
12
|
import "../../chunk-ZTCAYEGT.mjs";
|
|
13
13
|
import "../../chunk-HKVESRML.mjs";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-EGZL4DVZ.mjs";
|
|
15
15
|
import "../../chunk-4Z4X2GG7.mjs";
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-B3UYSM32.mjs";
|
|
17
|
+
import "../../chunk-HGDLIXPQ.mjs";
|
|
18
|
+
import "../../chunk-IXQESSPI.mjs";
|
|
19
|
+
import "../../chunk-4HFMA57F.mjs";
|
|
20
20
|
import "../../chunk-YLULVMZ7.mjs";
|
|
21
21
|
import "../../chunk-2NXKZY7U.mjs";
|
|
22
22
|
import "../../chunk-GSG52WU5.mjs";
|
|
23
23
|
import "../../chunk-US72SCH3.mjs";
|
|
24
24
|
import "../../chunk-G6EC37S7.mjs";
|
|
25
25
|
import "../../chunk-LTOFCHXU.mjs";
|
|
26
|
+
import "../../chunk-LIJ2ES4B.mjs";
|
|
26
27
|
import "../../chunk-GTHNG3Q7.mjs";
|
|
28
|
+
import "../../chunk-PE44IHZN.mjs";
|
|
27
29
|
import "../../chunk-4GLXI5J3.mjs";
|
|
28
30
|
import "../../chunk-2X45TVQS.mjs";
|
|
29
31
|
import "../../chunk-DTQ2W22B.mjs";
|
|
30
|
-
import "../../chunk-
|
|
31
|
-
import "../../chunk-
|
|
32
|
-
import "../../chunk-
|
|
33
|
-
import "../../chunk-3R2LCGLI.mjs";
|
|
34
|
-
import "../../chunk-NKRBXAPF.mjs";
|
|
35
|
-
import "../../chunk-MW5UCIIC.mjs";
|
|
32
|
+
import "../../chunk-HLEMFDTD.mjs";
|
|
33
|
+
import "../../chunk-KIZUBPPQ.mjs";
|
|
34
|
+
import "../../chunk-2YHN7ZCJ.mjs";
|
|
36
35
|
import "../../chunk-ZYKYDIOF.mjs";
|
|
36
|
+
import "../../chunk-MW5UCIIC.mjs";
|
|
37
|
+
import "../../chunk-WPX6MOFB.mjs";
|
|
37
38
|
import "../../chunk-R57RJLFQ.mjs";
|
|
38
39
|
import "../../chunk-GIHP74M4.mjs";
|
|
40
|
+
import "../../chunk-F4LCVFZK.mjs";
|
|
39
41
|
import "../../chunk-3BYULUMU.mjs";
|
|
40
42
|
import "../../chunk-RZRMW2DZ.mjs";
|
|
41
43
|
import "../../chunk-GUHOQLS3.mjs";
|
|
@@ -3147,6 +3147,22 @@ var ImageBlock = (props) => {
|
|
|
3147
3147
|
);
|
|
3148
3148
|
};
|
|
3149
3149
|
|
|
3150
|
+
// src/utils/getLinkHref.ts
|
|
3151
|
+
function getLinkHref(link) {
|
|
3152
|
+
if (!link) return "#";
|
|
3153
|
+
if (link.url) return link.url;
|
|
3154
|
+
if (link.reference?.value) {
|
|
3155
|
+
const { relationTo, value } = link.reference;
|
|
3156
|
+
const slug = value?.slug;
|
|
3157
|
+
if (!slug) return "#";
|
|
3158
|
+
if (relationTo === "pages") {
|
|
3159
|
+
return `/${slug}`;
|
|
3160
|
+
}
|
|
3161
|
+
return `/${relationTo}/${slug}`;
|
|
3162
|
+
}
|
|
3163
|
+
return "#";
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3150
3166
|
// src/components/Cards/FeatureCard.tsx
|
|
3151
3167
|
var import_image2 = __toESM(require("next/image"));
|
|
3152
3168
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
@@ -3181,7 +3197,7 @@ function FeatureCard({
|
|
|
3181
3197
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
3182
3198
|
"a",
|
|
3183
3199
|
{
|
|
3184
|
-
href: link
|
|
3200
|
+
href: getLinkHref(link),
|
|
3185
3201
|
className: cn(
|
|
3186
3202
|
"min-w-56 max-w-xl h-full flex flex-col group bg-background",
|
|
3187
3203
|
image ? "p-0" : "p-6 md:p-8",
|