@treely/strapi-slices 8.1.0 → 8.2.0
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/components/SliceRenderer/SliceRenderer.d.ts.map +1 -1
- package/dist/index.cjs +206 -78
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +232 -95
- package/dist/index.js.map +4 -4
- package/dist/slices/Facts/Facts.d.ts +26 -0
- package/dist/slices/Facts/Facts.d.ts.map +1 -1
- package/dist/slices/FactsWithProjectsMap/FactsWithProjectsMap.d.ts +26 -0
- package/dist/slices/FactsWithProjectsMap/FactsWithProjectsMap.d.ts.map +1 -0
- package/dist/slices/FactsWithProjectsMap/index.d.ts +3 -0
- package/dist/slices/FactsWithProjectsMap/index.d.ts.map +1 -0
- package/dist/slices/ProjectsMap/ProjectsMap.d.ts +6 -0
- package/dist/slices/ProjectsMap/ProjectsMap.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4202,10 +4202,10 @@ var ProjectGridCardV2 = ({
|
|
|
4202
4202
|
)
|
|
4203
4203
|
] }),
|
|
4204
4204
|
/* @__PURE__ */ jsxs28(Box23, { padding: "6", backgroundColor: "white", children: [
|
|
4205
|
-
/* @__PURE__ */ jsx32(Heading11, { size: "
|
|
4205
|
+
/* @__PURE__ */ jsx32(Heading11, { size: "xl", color: "primary.700", mb: "2", children: project.friendlyName || project.title }),
|
|
4206
4206
|
/* @__PURE__ */ jsxs28(Flex14, { flexDir: "column", gap: "2", children: [
|
|
4207
4207
|
/* @__PURE__ */ jsxs28(Flex14, { alignItems: "center", gap: "3", children: [
|
|
4208
|
-
/* @__PURE__ */ jsx32(MapPinIcon, { size: 20, color: "var(--boemly-colors-gray-
|
|
4208
|
+
/* @__PURE__ */ jsx32(MapPinIcon, { size: 20, color: "var(--boemly-colors-gray-500)" }),
|
|
4209
4209
|
/* @__PURE__ */ jsxs28(Text12, { fontSize: "lg", color: "gray.500", children: [
|
|
4210
4210
|
project.location,
|
|
4211
4211
|
" ",
|
|
@@ -4213,7 +4213,7 @@ var ProjectGridCardV2 = ({
|
|
|
4213
4213
|
] })
|
|
4214
4214
|
] }),
|
|
4215
4215
|
/* @__PURE__ */ jsxs28(Flex14, { alignItems: "center", gap: "3", children: [
|
|
4216
|
-
/* @__PURE__ */ jsx32(ArrowsOutIcon, { size: 20, color: "var(--boemly-colors-gray-
|
|
4216
|
+
/* @__PURE__ */ jsx32(ArrowsOutIcon, { size: 20, color: "var(--boemly-colors-gray-500)" }),
|
|
4217
4217
|
/* @__PURE__ */ jsx32(Text12, { fontSize: "lg", color: "gray.500", children: formatNumber(
|
|
4218
4218
|
(project.area || 0) / 1e4,
|
|
4219
4219
|
FORMAT_AS_HECTARE_CONFIG
|
|
@@ -5025,7 +5025,9 @@ var projectPinImage = "https://cdn.jsdelivr.net/npm/@phosphor-icons/core@2.0.2/a
|
|
|
5025
5025
|
mapboxgl.accessToken = MAPBOX_TOKEN;
|
|
5026
5026
|
var FALLBACK_BBOX = "-1.9950830850086163,44.4464186384987,21.995083085002875,54.12644342419196";
|
|
5027
5027
|
var ProjectsMap = ({
|
|
5028
|
-
slice
|
|
5028
|
+
slice,
|
|
5029
|
+
embedded = false,
|
|
5030
|
+
embeddedHeight = "md"
|
|
5029
5031
|
}) => {
|
|
5030
5032
|
const { locale, formatMessage } = useContext13(IntlContext);
|
|
5031
5033
|
const mapContainer = useRef4(null);
|
|
@@ -5344,7 +5346,8 @@ var ProjectsMap = ({
|
|
|
5344
5346
|
style: "mapbox://styles/mapbox/streets-v12",
|
|
5345
5347
|
center: initialCenter,
|
|
5346
5348
|
zoom: initialZoom,
|
|
5347
|
-
maxZoom: MAPBOX_MAX_ZOOM
|
|
5349
|
+
maxZoom: MAPBOX_MAX_ZOOM,
|
|
5350
|
+
minZoom: slice.minZoomLevel
|
|
5348
5351
|
});
|
|
5349
5352
|
map.current.addControl(new mapboxgl.NavigationControl(), "top-right");
|
|
5350
5353
|
map.current.on("load", () => {
|
|
@@ -5372,6 +5375,7 @@ var ProjectsMap = ({
|
|
|
5372
5375
|
}, [
|
|
5373
5376
|
slice.defaultCenterCoordinates,
|
|
5374
5377
|
slice.defaultZoomLevel,
|
|
5378
|
+
slice.minZoomLevel,
|
|
5375
5379
|
debouncedUpdateBbox
|
|
5376
5380
|
]);
|
|
5377
5381
|
useEffect4(() => {
|
|
@@ -5390,7 +5394,7 @@ var ProjectsMap = ({
|
|
|
5390
5394
|
const bbox = `${longitude - buffer},${latitude - buffer},${longitude + buffer},${latitude + buffer}`;
|
|
5391
5395
|
initialBboxRef.current = bbox;
|
|
5392
5396
|
fetchProjectsData(bbox);
|
|
5393
|
-
} else if (navigator.geolocation) {
|
|
5397
|
+
} else if (navigator.geolocation && !slice.disableUserLocationZoom) {
|
|
5394
5398
|
initialBboxRef.current = FALLBACK_BBOX;
|
|
5395
5399
|
fetchProjectsData(FALLBACK_BBOX);
|
|
5396
5400
|
navigator.geolocation.getCurrentPosition(
|
|
@@ -5421,6 +5425,7 @@ var ProjectsMap = ({
|
|
|
5421
5425
|
}, [
|
|
5422
5426
|
slice.defaultCenterCoordinates,
|
|
5423
5427
|
slice.defaultZoomLevel,
|
|
5428
|
+
slice.disableUserLocationZoom,
|
|
5424
5429
|
fetchProjectsData
|
|
5425
5430
|
]);
|
|
5426
5431
|
useEffect4(() => {
|
|
@@ -5428,10 +5433,24 @@ var ProjectsMap = ({
|
|
|
5428
5433
|
addProjectsLayer();
|
|
5429
5434
|
}
|
|
5430
5435
|
}, [isMapReady, featureCollection, addProjectsLayer]);
|
|
5436
|
+
if (embedded) {
|
|
5437
|
+
return /* @__PURE__ */ jsxs29(Fragment17, { children: [
|
|
5438
|
+
/* @__PURE__ */ jsx34(Global2, { styles: mapboxStyle_default }),
|
|
5439
|
+
/* @__PURE__ */ jsx34(
|
|
5440
|
+
Box25,
|
|
5441
|
+
{
|
|
5442
|
+
height: embeddedHeight,
|
|
5443
|
+
ref: mapContainer,
|
|
5444
|
+
borderRadius: "xl",
|
|
5445
|
+
overflow: "hidden"
|
|
5446
|
+
}
|
|
5447
|
+
)
|
|
5448
|
+
] });
|
|
5449
|
+
}
|
|
5431
5450
|
return /* @__PURE__ */ jsxs29(DefaultSectionContainer17, { children: [
|
|
5432
5451
|
/* @__PURE__ */ jsx34(Global2, { styles: mapboxStyle_default }),
|
|
5433
5452
|
/* @__PURE__ */ jsxs29(Wrapper22, { children: [
|
|
5434
|
-
slice.title
|
|
5453
|
+
slice.title && /* @__PURE__ */ jsxs29(Fragment17, { children: [
|
|
5435
5454
|
/* @__PURE__ */ jsx34(
|
|
5436
5455
|
DefaultSectionHeader16,
|
|
5437
5456
|
{
|
|
@@ -5452,7 +5471,7 @@ var ProjectsMap = ({
|
|
|
5452
5471
|
}
|
|
5453
5472
|
),
|
|
5454
5473
|
/* @__PURE__ */ jsx34(Box25, { height: "16" })
|
|
5455
|
-
] })
|
|
5474
|
+
] }),
|
|
5456
5475
|
/* @__PURE__ */ jsx34(
|
|
5457
5476
|
Box25,
|
|
5458
5477
|
{
|
|
@@ -5463,7 +5482,7 @@ var ProjectsMap = ({
|
|
|
5463
5482
|
boxShadow: ["md", null, null, "none"]
|
|
5464
5483
|
}
|
|
5465
5484
|
),
|
|
5466
|
-
|
|
5485
|
+
isLoading && /* @__PURE__ */ jsx34(Box25, { children: "Loading projects..." })
|
|
5467
5486
|
] })
|
|
5468
5487
|
] });
|
|
5469
5488
|
};
|
|
@@ -6527,10 +6546,11 @@ import {
|
|
|
6527
6546
|
Flex as Flex19,
|
|
6528
6547
|
Heading as Heading13,
|
|
6529
6548
|
Spacer as Spacer8,
|
|
6530
|
-
Text as Text18
|
|
6549
|
+
Text as Text18,
|
|
6550
|
+
Wrapper as Wrapper30
|
|
6531
6551
|
} from "boemly";
|
|
6532
6552
|
import { Fragment as Fragment20, jsx as jsx43, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6533
|
-
var
|
|
6553
|
+
var FACTS_COLOR_VARIANTS = {
|
|
6534
6554
|
gray: {
|
|
6535
6555
|
backgroundColor: "primary.50",
|
|
6536
6556
|
tagLineColor: "primary.500",
|
|
@@ -6559,14 +6579,13 @@ var VARIANTS3 = {
|
|
|
6559
6579
|
var Facts = ({ slice }) => /* @__PURE__ */ jsx43(
|
|
6560
6580
|
DefaultSectionContainer26,
|
|
6561
6581
|
{
|
|
6562
|
-
backgroundColor:
|
|
6582
|
+
backgroundColor: FACTS_COLOR_VARIANTS[slice.variant].backgroundColor,
|
|
6563
6583
|
flexDir: "column",
|
|
6564
6584
|
textAlign: "center",
|
|
6565
6585
|
justifyContent: "space-between",
|
|
6566
|
-
paddingX: ["6", null, "8"],
|
|
6567
6586
|
title: slice.title,
|
|
6568
6587
|
paddingY: "12",
|
|
6569
|
-
children: /* @__PURE__ */ jsxs36(
|
|
6588
|
+
children: /* @__PURE__ */ jsxs36(Wrapper30, { children: [
|
|
6570
6589
|
slice.title && /* @__PURE__ */ jsxs36(Fragment20, { children: [
|
|
6571
6590
|
/* @__PURE__ */ jsx43(
|
|
6572
6591
|
DefaultSectionHeader19,
|
|
@@ -6575,17 +6594,17 @@ var Facts = ({ slice }) => /* @__PURE__ */ jsx43(
|
|
|
6575
6594
|
text: slice.subTitle,
|
|
6576
6595
|
title: slice.title,
|
|
6577
6596
|
taglineProps: {
|
|
6578
|
-
color:
|
|
6597
|
+
color: FACTS_COLOR_VARIANTS[slice.variant].tagLineColor,
|
|
6579
6598
|
textAlign: "center"
|
|
6580
6599
|
},
|
|
6581
6600
|
titleProps: {
|
|
6582
|
-
color:
|
|
6601
|
+
color: FACTS_COLOR_VARIANTS[slice.variant].titleColor,
|
|
6583
6602
|
textAlign: "center",
|
|
6584
6603
|
maxW: "6xl",
|
|
6585
6604
|
marginX: "auto"
|
|
6586
6605
|
},
|
|
6587
6606
|
textProps: {
|
|
6588
|
-
color:
|
|
6607
|
+
color: FACTS_COLOR_VARIANTS[slice.variant].subTitleColor,
|
|
6589
6608
|
textAlign: "center",
|
|
6590
6609
|
maxW: "3xl",
|
|
6591
6610
|
marginX: "auto"
|
|
@@ -6600,7 +6619,6 @@ var Facts = ({ slice }) => /* @__PURE__ */ jsx43(
|
|
|
6600
6619
|
justifyContent: slice.facts.length < 3 ? "center" : "flex-start",
|
|
6601
6620
|
alignItems: "center",
|
|
6602
6621
|
flexWrap: "wrap",
|
|
6603
|
-
mx: [null, null, null, "22", "28"],
|
|
6604
6622
|
flexDir: ["column", null, null, "row"],
|
|
6605
6623
|
children: slice.facts.map((fact) => /* @__PURE__ */ jsxs36(
|
|
6606
6624
|
Flex19,
|
|
@@ -6616,7 +6634,7 @@ var Facts = ({ slice }) => /* @__PURE__ */ jsx43(
|
|
|
6616
6634
|
fontFamily: "display",
|
|
6617
6635
|
lineHeight: "10",
|
|
6618
6636
|
fontWeight: "700",
|
|
6619
|
-
color:
|
|
6637
|
+
color: FACTS_COLOR_VARIANTS[slice.variant].factValueColor,
|
|
6620
6638
|
mb: "2",
|
|
6621
6639
|
as: "p",
|
|
6622
6640
|
children: fact.value
|
|
@@ -6626,7 +6644,7 @@ var Facts = ({ slice }) => /* @__PURE__ */ jsx43(
|
|
|
6626
6644
|
Text18,
|
|
6627
6645
|
{
|
|
6628
6646
|
size: "mdLowNormal",
|
|
6629
|
-
color:
|
|
6647
|
+
color: FACTS_COLOR_VARIANTS[slice.variant].factKeyColor,
|
|
6630
6648
|
children: fact.key
|
|
6631
6649
|
}
|
|
6632
6650
|
)
|
|
@@ -6664,7 +6682,7 @@ import {
|
|
|
6664
6682
|
DatePersonPair as DatePersonPair2,
|
|
6665
6683
|
DefaultSectionHeader as DefaultSectionHeader20,
|
|
6666
6684
|
DefaultSectionContainer as DefaultSectionContainer27,
|
|
6667
|
-
Wrapper as
|
|
6685
|
+
Wrapper as Wrapper31,
|
|
6668
6686
|
SimpleGrid as SimpleGrid15,
|
|
6669
6687
|
Box as Box34,
|
|
6670
6688
|
Flex as Flex20,
|
|
@@ -6675,7 +6693,7 @@ import Image25 from "next/image.js";
|
|
|
6675
6693
|
import Link7 from "next/link.js";
|
|
6676
6694
|
import { CaretRightIcon as CaretRightIcon6 } from "@phosphor-icons/react";
|
|
6677
6695
|
import { Fragment as Fragment21, jsx as jsx44, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6678
|
-
var
|
|
6696
|
+
var VARIANTS3 = {
|
|
6679
6697
|
white: {
|
|
6680
6698
|
backgroundColor: "white"
|
|
6681
6699
|
},
|
|
@@ -6704,9 +6722,9 @@ var BlogCards = ({
|
|
|
6704
6722
|
return /* @__PURE__ */ jsx44(
|
|
6705
6723
|
DefaultSectionContainer27,
|
|
6706
6724
|
{
|
|
6707
|
-
backgroundColor:
|
|
6725
|
+
backgroundColor: VARIANTS3[slice.variant].backgroundColor,
|
|
6708
6726
|
title: slice.title,
|
|
6709
|
-
children: /* @__PURE__ */ jsxs37(
|
|
6727
|
+
children: /* @__PURE__ */ jsxs37(Wrapper31, { children: [
|
|
6710
6728
|
mobile || !slice.button ? /* @__PURE__ */ jsx44(
|
|
6711
6729
|
DefaultSectionHeader20,
|
|
6712
6730
|
{
|
|
@@ -6817,7 +6835,7 @@ var BlogCards_default = BlogCards;
|
|
|
6817
6835
|
|
|
6818
6836
|
// src/slices/ProjectFacts/ProjectFacts.tsx
|
|
6819
6837
|
import { useEffect as useEffect5, useState as useState8 } from "react";
|
|
6820
|
-
import { DefaultSectionContainer as DefaultSectionContainer28, Flex as Flex25, Wrapper as
|
|
6838
|
+
import { DefaultSectionContainer as DefaultSectionContainer28, Flex as Flex25, Wrapper as Wrapper32 } from "boemly";
|
|
6821
6839
|
|
|
6822
6840
|
// src/components/portfolio/SmallCheckout/SmallCheckout.tsx
|
|
6823
6841
|
import { useCallback as useCallback4, useContext as useContext18 } from "react";
|
|
@@ -7452,9 +7470,9 @@ var ProjectFacts = ({
|
|
|
7452
7470
|
return /* @__PURE__ */ jsx49(Fragment24, { children: "Invalid configuration, check if a project this id exists in the FPM" });
|
|
7453
7471
|
}
|
|
7454
7472
|
if (isLoading) {
|
|
7455
|
-
return /* @__PURE__ */ jsx49(DefaultSectionContainer28, { children: /* @__PURE__ */ jsx49(
|
|
7473
|
+
return /* @__PURE__ */ jsx49(DefaultSectionContainer28, { children: /* @__PURE__ */ jsx49(Wrapper32, { children: /* @__PURE__ */ jsx49("div", { children: "Loading project data..." }) }) });
|
|
7456
7474
|
}
|
|
7457
|
-
return /* @__PURE__ */ jsx49(DefaultSectionContainer28, { children: /* @__PURE__ */ jsx49(
|
|
7475
|
+
return /* @__PURE__ */ jsx49(DefaultSectionContainer28, { children: /* @__PURE__ */ jsx49(Wrapper32, { children: /* @__PURE__ */ jsxs42(Flex25, { flexDir: ["column", null, null, "row"], gap: "4", width: "full", children: [
|
|
7458
7476
|
/* @__PURE__ */ jsx49(ProjectInfo_default, { project: enhancedProject, subtitles: slice }),
|
|
7459
7477
|
/* @__PURE__ */ jsxs42(Flex25, { flexDir: "column", gap: "4", width: "full", children: [
|
|
7460
7478
|
slice.documentUrls && slice.documentUrls.length > 0 && /* @__PURE__ */ jsx49(DocumentsDownloadList_default, { documentUrls: slice.documentUrls }),
|
|
@@ -7488,7 +7506,7 @@ var ProjectFacts = ({
|
|
|
7488
7506
|
var ProjectFacts_default = ProjectFacts;
|
|
7489
7507
|
|
|
7490
7508
|
// src/slices/CustomerStories/CustomerStories.tsx
|
|
7491
|
-
import { Box as Box41, DefaultSectionContainer as DefaultSectionContainer29, SimpleGrid as SimpleGrid17, Wrapper as
|
|
7509
|
+
import { Box as Box41, DefaultSectionContainer as DefaultSectionContainer29, SimpleGrid as SimpleGrid17, Wrapper as Wrapper33 } from "boemly";
|
|
7492
7510
|
|
|
7493
7511
|
// src/components/CustomerCard/CustomerCard.tsx
|
|
7494
7512
|
import { Container as Container7, Center as Center4, Heading as Heading18, Button as Button4, Box as Box38, Text as Text23, Flex as Flex26 } from "boemly";
|
|
@@ -7600,7 +7618,7 @@ var CustomerStories = ({
|
|
|
7600
7618
|
slice,
|
|
7601
7619
|
customerStories
|
|
7602
7620
|
}) => {
|
|
7603
|
-
return /* @__PURE__ */ jsx53(DefaultSectionContainer29, { children: /* @__PURE__ */ jsx53(
|
|
7621
|
+
return /* @__PURE__ */ jsx53(DefaultSectionContainer29, { children: /* @__PURE__ */ jsx53(Wrapper33, { children: /* @__PURE__ */ jsx53(SimpleGrid17, { columns: [1, null, null, 2, 3], gap: "6", children: slice.customer_stories.map((customerStoryRef, index) => {
|
|
7604
7622
|
const customerStory = customerStories.find(
|
|
7605
7623
|
(cs) => cs.attributes.slug === customerStoryRef.attributes.slug
|
|
7606
7624
|
);
|
|
@@ -7624,7 +7642,7 @@ import {
|
|
|
7624
7642
|
Container as Container10,
|
|
7625
7643
|
DefaultSectionContainer as DefaultSectionContainer30,
|
|
7626
7644
|
DefaultSectionHeader as DefaultSectionHeader21,
|
|
7627
|
-
Wrapper as
|
|
7645
|
+
Wrapper as Wrapper34,
|
|
7628
7646
|
Text as Text25,
|
|
7629
7647
|
Flex as Flex28,
|
|
7630
7648
|
Box as Box43,
|
|
@@ -7669,7 +7687,7 @@ var Icon = ({ variant, icon }) => {
|
|
|
7669
7687
|
|
|
7670
7688
|
// src/slices/Comparison/Comparison.tsx
|
|
7671
7689
|
import { Fragment as Fragment27, jsx as jsx55, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7672
|
-
var
|
|
7690
|
+
var VARIANTS4 = {
|
|
7673
7691
|
gray: {
|
|
7674
7692
|
backgroundColor: "primary.50",
|
|
7675
7693
|
textColor: "black",
|
|
@@ -7696,7 +7714,7 @@ var Comparison = ({
|
|
|
7696
7714
|
slice
|
|
7697
7715
|
}) => {
|
|
7698
7716
|
const { formatMessage } = useContext23(IntlContext);
|
|
7699
|
-
return /* @__PURE__ */ jsx55(DefaultSectionContainer30, { children: /* @__PURE__ */ jsxs46(
|
|
7717
|
+
return /* @__PURE__ */ jsx55(DefaultSectionContainer30, { children: /* @__PURE__ */ jsxs46(Wrapper34, { children: [
|
|
7700
7718
|
slice.title ? /* @__PURE__ */ jsxs46(Fragment27, { children: [
|
|
7701
7719
|
/* @__PURE__ */ jsx55(Flex28, { alignItems: "center", flexDirection: "column", children: /* @__PURE__ */ jsx55(
|
|
7702
7720
|
DefaultSectionHeader21,
|
|
@@ -7728,7 +7746,7 @@ var Comparison = ({
|
|
|
7728
7746
|
position: "relative",
|
|
7729
7747
|
elevation: "none",
|
|
7730
7748
|
p: "3",
|
|
7731
|
-
backgroundColor:
|
|
7749
|
+
backgroundColor: VARIANTS4[comparisonCard.variant].backgroundColor,
|
|
7732
7750
|
children: [
|
|
7733
7751
|
comparisonCard.variant === "green" ? /* @__PURE__ */ jsx55(
|
|
7734
7752
|
Box43,
|
|
@@ -7772,7 +7790,7 @@ var Comparison = ({
|
|
|
7772
7790
|
Heading20,
|
|
7773
7791
|
{
|
|
7774
7792
|
size: "xl",
|
|
7775
|
-
color:
|
|
7793
|
+
color: VARIANTS4[comparisonCard.variant].textColor,
|
|
7776
7794
|
whiteSpace: "pre-line",
|
|
7777
7795
|
children: comparisonCard.title
|
|
7778
7796
|
}
|
|
@@ -7793,7 +7811,7 @@ var Comparison = ({
|
|
|
7793
7811
|
Text25,
|
|
7794
7812
|
{
|
|
7795
7813
|
size: "smRegularNormal",
|
|
7796
|
-
color:
|
|
7814
|
+
color: VARIANTS4[comparisonCard.variant].subTitleColor,
|
|
7797
7815
|
children: comparisonCard.subTitle
|
|
7798
7816
|
}
|
|
7799
7817
|
),
|
|
@@ -7804,7 +7822,7 @@ var Comparison = ({
|
|
|
7804
7822
|
/* @__PURE__ */ jsx55(
|
|
7805
7823
|
Text25,
|
|
7806
7824
|
{
|
|
7807
|
-
color:
|
|
7825
|
+
color: VARIANTS4[comparisonCard.variant].factColor,
|
|
7808
7826
|
size: "lgMonoNormal",
|
|
7809
7827
|
children: comparisonCard.factTitle
|
|
7810
7828
|
}
|
|
@@ -7812,7 +7830,7 @@ var Comparison = ({
|
|
|
7812
7830
|
/* @__PURE__ */ jsx55(
|
|
7813
7831
|
Text25,
|
|
7814
7832
|
{
|
|
7815
|
-
color:
|
|
7833
|
+
color: VARIANTS4[comparisonCard.variant].factColor,
|
|
7816
7834
|
size: "smLowNormal",
|
|
7817
7835
|
children: comparisonCard.factSubtitle
|
|
7818
7836
|
}
|
|
@@ -7836,14 +7854,14 @@ var Comparison = ({
|
|
|
7836
7854
|
Separator5,
|
|
7837
7855
|
{
|
|
7838
7856
|
my: "8",
|
|
7839
|
-
color:
|
|
7857
|
+
color: VARIANTS4[comparisonCard.variant].dividerColor
|
|
7840
7858
|
}
|
|
7841
7859
|
),
|
|
7842
7860
|
/* @__PURE__ */ jsx55(
|
|
7843
7861
|
Text25,
|
|
7844
7862
|
{
|
|
7845
7863
|
size: "smLowBold",
|
|
7846
|
-
color:
|
|
7864
|
+
color: VARIANTS4[comparisonCard.variant].textColor,
|
|
7847
7865
|
children: list.title
|
|
7848
7866
|
}
|
|
7849
7867
|
),
|
|
@@ -7861,7 +7879,7 @@ var Comparison = ({
|
|
|
7861
7879
|
Text25,
|
|
7862
7880
|
{
|
|
7863
7881
|
size: "smLowNormal",
|
|
7864
|
-
color:
|
|
7882
|
+
color: VARIANTS4[comparisonCard.variant].textColor,
|
|
7865
7883
|
children: item.text
|
|
7866
7884
|
}
|
|
7867
7885
|
)
|
|
@@ -8080,7 +8098,7 @@ import {
|
|
|
8080
8098
|
SimpleGrid as SimpleGrid19,
|
|
8081
8099
|
Spacer as Spacer15,
|
|
8082
8100
|
Text as Text26,
|
|
8083
|
-
Wrapper as
|
|
8101
|
+
Wrapper as Wrapper35,
|
|
8084
8102
|
useMediaQuery as useMediaQuery8,
|
|
8085
8103
|
BoemlyTag as BoemlyTag6
|
|
8086
8104
|
} from "boemly";
|
|
@@ -8095,7 +8113,7 @@ var Timeline = ({ slice }) => {
|
|
|
8095
8113
|
const showMoreItems = () => {
|
|
8096
8114
|
setVisibleItems((prevVisibleItems) => prevVisibleItems + 3);
|
|
8097
8115
|
};
|
|
8098
|
-
return /* @__PURE__ */ jsx57(DefaultSectionContainer32, { children: /* @__PURE__ */ jsx57(
|
|
8116
|
+
return /* @__PURE__ */ jsx57(DefaultSectionContainer32, { children: /* @__PURE__ */ jsx57(Wrapper35, { children: /* @__PURE__ */ jsxs48(Flex30, { flexDir: ["column", null, "row"], children: [
|
|
8099
8117
|
/* @__PURE__ */ jsxs48(
|
|
8100
8118
|
Box45,
|
|
8101
8119
|
{
|
|
@@ -8390,7 +8408,7 @@ var Timeline_default = Timeline;
|
|
|
8390
8408
|
// src/slices/Events/Events.tsx
|
|
8391
8409
|
import {
|
|
8392
8410
|
DefaultSectionContainer as DefaultSectionContainer33,
|
|
8393
|
-
Wrapper as
|
|
8411
|
+
Wrapper as Wrapper36,
|
|
8394
8412
|
Spacer as Spacer16,
|
|
8395
8413
|
DefaultSectionHeader as DefaultSectionHeader23,
|
|
8396
8414
|
SimpleGrid as SimpleGrid20,
|
|
@@ -8885,7 +8903,7 @@ var Events = ({ slice }) => {
|
|
|
8885
8903
|
mutate(getUpcomingKey);
|
|
8886
8904
|
}, [eventTypeFilter, languageFilter, sort]);
|
|
8887
8905
|
return /* @__PURE__ */ jsxs50(DefaultSectionContainer33, { children: [
|
|
8888
|
-
/* @__PURE__ */ jsxs50(
|
|
8906
|
+
/* @__PURE__ */ jsxs50(Wrapper36, { children: [
|
|
8889
8907
|
slice.upcomingTitle ? /* @__PURE__ */ jsxs50(Fragment31, { children: [
|
|
8890
8908
|
/* @__PURE__ */ jsx59(
|
|
8891
8909
|
DefaultSectionHeader23,
|
|
@@ -9058,7 +9076,7 @@ var Events = ({ slice }) => {
|
|
|
9058
9076
|
) })
|
|
9059
9077
|
] }),
|
|
9060
9078
|
/* @__PURE__ */ jsx59(Spacer16, { height: ["10", null, null, "28"] }),
|
|
9061
|
-
/* @__PURE__ */ jsx59(Box47, { background: "primary.50", pt: ["8", null, null, "24"], children: /* @__PURE__ */ jsxs50(
|
|
9079
|
+
/* @__PURE__ */ jsx59(Box47, { background: "primary.50", pt: ["8", null, null, "24"], children: /* @__PURE__ */ jsxs50(Wrapper36, { children: [
|
|
9062
9080
|
/* @__PURE__ */ jsx59(
|
|
9063
9081
|
DefaultSectionHeader23,
|
|
9064
9082
|
{
|
|
@@ -9107,7 +9125,7 @@ var Events = ({ slice }) => {
|
|
|
9107
9125
|
var Events_default = Events;
|
|
9108
9126
|
|
|
9109
9127
|
// src/slices/HeroWithHighlights/HeroWithHighlights.tsx
|
|
9110
|
-
import { Box as Box48, DefaultSectionContainer as DefaultSectionContainer34, Heading as Heading24, Text as Text29, Wrapper as
|
|
9128
|
+
import { Box as Box48, DefaultSectionContainer as DefaultSectionContainer34, Heading as Heading24, Text as Text29, Wrapper as Wrapper37 } from "boemly";
|
|
9111
9129
|
import { jsx as jsx60, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
9112
9130
|
var parseTitle = (title) => {
|
|
9113
9131
|
const parts = [];
|
|
@@ -9118,7 +9136,7 @@ var parseTitle = (title) => {
|
|
|
9118
9136
|
}
|
|
9119
9137
|
return parts;
|
|
9120
9138
|
};
|
|
9121
|
-
var
|
|
9139
|
+
var VARIANTS5 = {
|
|
9122
9140
|
white: { backgroundColor: "white", titleColor: "black" },
|
|
9123
9141
|
gray: { backgroundColor: "primary.50", titleColor: "black" }
|
|
9124
9142
|
};
|
|
@@ -9131,15 +9149,15 @@ var HeroWithHighlights = ({
|
|
|
9131
9149
|
return /* @__PURE__ */ jsx60(
|
|
9132
9150
|
DefaultSectionContainer34,
|
|
9133
9151
|
{
|
|
9134
|
-
backgroundColor:
|
|
9152
|
+
backgroundColor: VARIANTS5[variant].backgroundColor,
|
|
9135
9153
|
paddingY: ["10", null, "16"],
|
|
9136
|
-
children: /* @__PURE__ */ jsxs51(
|
|
9154
|
+
children: /* @__PURE__ */ jsxs51(Wrapper37, { children: [
|
|
9137
9155
|
/* @__PURE__ */ jsx60(
|
|
9138
9156
|
Heading24,
|
|
9139
9157
|
{
|
|
9140
9158
|
as: slice.headingLevel || "h1",
|
|
9141
9159
|
size: [slice.headingSize || "3xl"],
|
|
9142
|
-
color:
|
|
9160
|
+
color: VARIANTS5[variant].titleColor,
|
|
9143
9161
|
lineHeight: "1.3",
|
|
9144
9162
|
fontWeight: "600",
|
|
9145
9163
|
textAlign,
|
|
@@ -9206,8 +9224,125 @@ var Redirect = ({ slice }) => {
|
|
|
9206
9224
|
// src/slices/Redirect/index.ts
|
|
9207
9225
|
var Redirect_default = Redirect;
|
|
9208
9226
|
|
|
9227
|
+
// src/slices/FactsWithProjectsMap/FactsWithProjectsMap.tsx
|
|
9228
|
+
import {
|
|
9229
|
+
Box as Box49,
|
|
9230
|
+
DefaultSectionContainer as DefaultSectionContainer35,
|
|
9231
|
+
DefaultSectionHeader as DefaultSectionHeader24,
|
|
9232
|
+
Flex as Flex33,
|
|
9233
|
+
Heading as Heading25,
|
|
9234
|
+
Text as Text30,
|
|
9235
|
+
Wrapper as Wrapper38
|
|
9236
|
+
} from "boemly";
|
|
9237
|
+
import { jsx as jsx62, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
9238
|
+
var FactsWithProjectsMap = ({
|
|
9239
|
+
slice
|
|
9240
|
+
}) => {
|
|
9241
|
+
const colorVariant = FACTS_COLOR_VARIANTS[slice.variant] || FACTS_COLOR_VARIANTS.green;
|
|
9242
|
+
const alignFacts = slice.alignFacts || "center";
|
|
9243
|
+
return /* @__PURE__ */ jsx62(
|
|
9244
|
+
DefaultSectionContainer35,
|
|
9245
|
+
{
|
|
9246
|
+
backgroundColor: colorVariant.backgroundColor,
|
|
9247
|
+
title: slice.title,
|
|
9248
|
+
paddingY: "8",
|
|
9249
|
+
children: /* @__PURE__ */ jsxs52(Wrapper38, { children: [
|
|
9250
|
+
slice.title && /* @__PURE__ */ jsx62(
|
|
9251
|
+
DefaultSectionHeader24,
|
|
9252
|
+
{
|
|
9253
|
+
tagline: slice.tagline,
|
|
9254
|
+
text: slice.subTitle,
|
|
9255
|
+
title: slice.title,
|
|
9256
|
+
taglineProps: {
|
|
9257
|
+
color: colorVariant.tagLineColor,
|
|
9258
|
+
textAlign: "center"
|
|
9259
|
+
},
|
|
9260
|
+
titleProps: {
|
|
9261
|
+
color: colorVariant.titleColor,
|
|
9262
|
+
textAlign: "center",
|
|
9263
|
+
maxW: "6xl",
|
|
9264
|
+
marginX: "auto"
|
|
9265
|
+
},
|
|
9266
|
+
textProps: {
|
|
9267
|
+
color: colorVariant.subTitleColor,
|
|
9268
|
+
textAlign: "center",
|
|
9269
|
+
maxW: "3xl",
|
|
9270
|
+
marginX: "auto"
|
|
9271
|
+
}
|
|
9272
|
+
}
|
|
9273
|
+
),
|
|
9274
|
+
/* @__PURE__ */ jsxs52(
|
|
9275
|
+
Flex33,
|
|
9276
|
+
{
|
|
9277
|
+
flexDir: ["column", null, null, "row"],
|
|
9278
|
+
alignItems: "center",
|
|
9279
|
+
padding: "8",
|
|
9280
|
+
gap: "8",
|
|
9281
|
+
children: [
|
|
9282
|
+
/* @__PURE__ */ jsx62(
|
|
9283
|
+
Flex33,
|
|
9284
|
+
{
|
|
9285
|
+
flexDir: ["column", "column", "row", "column"],
|
|
9286
|
+
flex: "1",
|
|
9287
|
+
flexShrink: "1",
|
|
9288
|
+
gap: "6",
|
|
9289
|
+
mb: ["8", "8", "8", "0"],
|
|
9290
|
+
w: ["100%", "100%", "100%", "auto"],
|
|
9291
|
+
justifyContent: ["flex-start", "center", "center", "flex-start"],
|
|
9292
|
+
children: slice.facts.map((fact) => /* @__PURE__ */ jsxs52(Flex33, { flexDir: "column", textAlign: ["center", "center", "center", alignFacts], children: [
|
|
9293
|
+
/* @__PURE__ */ jsx62(
|
|
9294
|
+
Heading25,
|
|
9295
|
+
{
|
|
9296
|
+
textAlign: ["center", "center", "center", alignFacts],
|
|
9297
|
+
fontSize: "5xl",
|
|
9298
|
+
fontFamily: "display",
|
|
9299
|
+
lineHeight: "1.1",
|
|
9300
|
+
fontWeight: "700",
|
|
9301
|
+
color: colorVariant.factValueColor,
|
|
9302
|
+
mb: "1",
|
|
9303
|
+
as: "p",
|
|
9304
|
+
children: fact.value
|
|
9305
|
+
}
|
|
9306
|
+
),
|
|
9307
|
+
/* @__PURE__ */ jsx62(Text30, { size: "mdLowNormal", color: colorVariant.factKeyColor, textAlign: ["center", "center", "center", alignFacts], children: fact.key })
|
|
9308
|
+
] }, fact.key))
|
|
9309
|
+
}
|
|
9310
|
+
),
|
|
9311
|
+
/* @__PURE__ */ jsx62(Box49, { flex: "2", minW: ["100%", null, null, "500px"], children: /* @__PURE__ */ jsx62(
|
|
9312
|
+
ProjectsMap_default,
|
|
9313
|
+
{
|
|
9314
|
+
slice: {
|
|
9315
|
+
defaultCenterCoordinates: slice.defaultCenterCoordinates,
|
|
9316
|
+
defaultZoomLevel: slice.defaultZoomLevel,
|
|
9317
|
+
minZoomLevel: slice.minZoomLevel,
|
|
9318
|
+
disableUserLocationZoom: slice.disableUserLocationZoom
|
|
9319
|
+
},
|
|
9320
|
+
embedded: true,
|
|
9321
|
+
embeddedHeight: "sm"
|
|
9322
|
+
}
|
|
9323
|
+
) })
|
|
9324
|
+
]
|
|
9325
|
+
}
|
|
9326
|
+
),
|
|
9327
|
+
slice.button && /* @__PURE__ */ jsx62(Flex33, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ jsx62(
|
|
9328
|
+
StrapiLinkButton_default,
|
|
9329
|
+
{
|
|
9330
|
+
link: slice.button,
|
|
9331
|
+
size: "md",
|
|
9332
|
+
variant: "outline",
|
|
9333
|
+
component: "FactsWithProjectsMap"
|
|
9334
|
+
}
|
|
9335
|
+
) })
|
|
9336
|
+
] })
|
|
9337
|
+
}
|
|
9338
|
+
);
|
|
9339
|
+
};
|
|
9340
|
+
|
|
9341
|
+
// src/slices/FactsWithProjectsMap/index.ts
|
|
9342
|
+
var FactsWithProjectsMap_default = FactsWithProjectsMap;
|
|
9343
|
+
|
|
9209
9344
|
// src/components/SliceRenderer/SliceRenderer.tsx
|
|
9210
|
-
import { jsx as
|
|
9345
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
9211
9346
|
var SliceRenderer = ({
|
|
9212
9347
|
slices,
|
|
9213
9348
|
blogPosts,
|
|
@@ -9218,7 +9353,7 @@ var SliceRenderer = ({
|
|
|
9218
9353
|
fonts,
|
|
9219
9354
|
CustomSlice,
|
|
9220
9355
|
analyticsFunction
|
|
9221
|
-
}) => /* @__PURE__ */
|
|
9356
|
+
}) => /* @__PURE__ */ jsx63(
|
|
9222
9357
|
ContextProvider,
|
|
9223
9358
|
{
|
|
9224
9359
|
locale,
|
|
@@ -9228,11 +9363,11 @@ var SliceRenderer = ({
|
|
|
9228
9363
|
children: slices.map((slice) => {
|
|
9229
9364
|
switch (slice.__component) {
|
|
9230
9365
|
case "sections.hero":
|
|
9231
|
-
return /* @__PURE__ */
|
|
9366
|
+
return /* @__PURE__ */ jsx63(Hero_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9232
9367
|
case "sections.map-hero":
|
|
9233
|
-
return /* @__PURE__ */
|
|
9368
|
+
return /* @__PURE__ */ jsx63(MapHero_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9234
9369
|
case "sections.rich-text":
|
|
9235
|
-
return /* @__PURE__ */
|
|
9370
|
+
return /* @__PURE__ */ jsx63(
|
|
9236
9371
|
RichTextSection_default,
|
|
9237
9372
|
{
|
|
9238
9373
|
slice
|
|
@@ -9240,7 +9375,7 @@ var SliceRenderer = ({
|
|
|
9240
9375
|
`${slice.__component}-${slice.id}`
|
|
9241
9376
|
);
|
|
9242
9377
|
case "sections.left-text-right-card":
|
|
9243
|
-
return /* @__PURE__ */
|
|
9378
|
+
return /* @__PURE__ */ jsx63(
|
|
9244
9379
|
LeftTextRightCard_default,
|
|
9245
9380
|
{
|
|
9246
9381
|
slice
|
|
@@ -9248,7 +9383,7 @@ var SliceRenderer = ({
|
|
|
9248
9383
|
`${slice.__component}-${slice.id}`
|
|
9249
9384
|
);
|
|
9250
9385
|
case "sections.text-with-card":
|
|
9251
|
-
return /* @__PURE__ */
|
|
9386
|
+
return /* @__PURE__ */ jsx63(
|
|
9252
9387
|
TextWithCard_default,
|
|
9253
9388
|
{
|
|
9254
9389
|
slice,
|
|
@@ -9257,7 +9392,7 @@ var SliceRenderer = ({
|
|
|
9257
9392
|
`${slice.__component}-${slice.id}`
|
|
9258
9393
|
);
|
|
9259
9394
|
case "sections.logo-grid-with-text":
|
|
9260
|
-
return /* @__PURE__ */
|
|
9395
|
+
return /* @__PURE__ */ jsx63(
|
|
9261
9396
|
LogoGridWithText_default,
|
|
9262
9397
|
{
|
|
9263
9398
|
slice
|
|
@@ -9265,7 +9400,7 @@ var SliceRenderer = ({
|
|
|
9265
9400
|
`${slice.__component}-${slice.id}`
|
|
9266
9401
|
);
|
|
9267
9402
|
case "sections.quote-cards":
|
|
9268
|
-
return /* @__PURE__ */
|
|
9403
|
+
return /* @__PURE__ */ jsx63(
|
|
9269
9404
|
QuoteCards_default,
|
|
9270
9405
|
{
|
|
9271
9406
|
slice
|
|
@@ -9273,11 +9408,11 @@ var SliceRenderer = ({
|
|
|
9273
9408
|
`${slice.__component}-${slice.id}`
|
|
9274
9409
|
);
|
|
9275
9410
|
case "sections.q-and-a":
|
|
9276
|
-
return /* @__PURE__ */
|
|
9411
|
+
return /* @__PURE__ */ jsx63(QAndA_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9277
9412
|
case "sections.image-grid":
|
|
9278
|
-
return /* @__PURE__ */
|
|
9413
|
+
return /* @__PURE__ */ jsx63(ImageGrid_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9279
9414
|
case "sections.full-width-image":
|
|
9280
|
-
return /* @__PURE__ */
|
|
9415
|
+
return /* @__PURE__ */ jsx63(
|
|
9281
9416
|
FullWidthImage_default,
|
|
9282
9417
|
{
|
|
9283
9418
|
slice
|
|
@@ -9285,7 +9420,7 @@ var SliceRenderer = ({
|
|
|
9285
9420
|
`${slice.__component}-${slice.id}`
|
|
9286
9421
|
);
|
|
9287
9422
|
case "sections.text-with-text-cards":
|
|
9288
|
-
return /* @__PURE__ */
|
|
9423
|
+
return /* @__PURE__ */ jsx63(
|
|
9289
9424
|
TextWithTextCards_default,
|
|
9290
9425
|
{
|
|
9291
9426
|
slice
|
|
@@ -9293,7 +9428,7 @@ var SliceRenderer = ({
|
|
|
9293
9428
|
`${slice.__component}-${slice.id}`
|
|
9294
9429
|
);
|
|
9295
9430
|
case "sections.text-card-grid":
|
|
9296
|
-
return /* @__PURE__ */
|
|
9431
|
+
return /* @__PURE__ */ jsx63(
|
|
9297
9432
|
TextCardGrid_default,
|
|
9298
9433
|
{
|
|
9299
9434
|
slice
|
|
@@ -9301,9 +9436,9 @@ var SliceRenderer = ({
|
|
|
9301
9436
|
`${slice.__component}-${slice.id}`
|
|
9302
9437
|
);
|
|
9303
9438
|
case "sections.icon-grid":
|
|
9304
|
-
return /* @__PURE__ */
|
|
9439
|
+
return /* @__PURE__ */ jsx63(IconGrid_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9305
9440
|
case "sections.image-text-sequence":
|
|
9306
|
-
return /* @__PURE__ */
|
|
9441
|
+
return /* @__PURE__ */ jsx63(
|
|
9307
9442
|
ImageTextSequence_default,
|
|
9308
9443
|
{
|
|
9309
9444
|
slice
|
|
@@ -9311,9 +9446,9 @@ var SliceRenderer = ({
|
|
|
9311
9446
|
`${slice.__component}-${slice.id}`
|
|
9312
9447
|
);
|
|
9313
9448
|
case "sections.steps":
|
|
9314
|
-
return /* @__PURE__ */
|
|
9449
|
+
return /* @__PURE__ */ jsx63(Steps_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9315
9450
|
case "sections.text-carousel":
|
|
9316
|
-
return /* @__PURE__ */
|
|
9451
|
+
return /* @__PURE__ */ jsx63(
|
|
9317
9452
|
TextCarousel_default,
|
|
9318
9453
|
{
|
|
9319
9454
|
slice
|
|
@@ -9321,7 +9456,7 @@ var SliceRenderer = ({
|
|
|
9321
9456
|
`${slice.__component}-${slice.id}`
|
|
9322
9457
|
);
|
|
9323
9458
|
case "sections.link-cards-grid":
|
|
9324
|
-
return /* @__PURE__ */
|
|
9459
|
+
return /* @__PURE__ */ jsx63(
|
|
9325
9460
|
LinkCardsGrid_default,
|
|
9326
9461
|
{
|
|
9327
9462
|
slice
|
|
@@ -9329,7 +9464,7 @@ var SliceRenderer = ({
|
|
|
9329
9464
|
`${slice.__component}-${slice.id}`
|
|
9330
9465
|
);
|
|
9331
9466
|
case "sections.small-hero":
|
|
9332
|
-
return /* @__PURE__ */
|
|
9467
|
+
return /* @__PURE__ */ jsx63(
|
|
9333
9468
|
SmallHero_default,
|
|
9334
9469
|
{
|
|
9335
9470
|
slice,
|
|
@@ -9338,7 +9473,7 @@ var SliceRenderer = ({
|
|
|
9338
9473
|
`${slice.__component}-${slice.id}`
|
|
9339
9474
|
);
|
|
9340
9475
|
case "sections.small-hero-light":
|
|
9341
|
-
return /* @__PURE__ */
|
|
9476
|
+
return /* @__PURE__ */ jsx63(
|
|
9342
9477
|
SmallHero_default,
|
|
9343
9478
|
{
|
|
9344
9479
|
slice,
|
|
@@ -9347,7 +9482,7 @@ var SliceRenderer = ({
|
|
|
9347
9482
|
`${slice.__component}-${slice.id}`
|
|
9348
9483
|
);
|
|
9349
9484
|
case "sections.project-facts":
|
|
9350
|
-
return /* @__PURE__ */
|
|
9485
|
+
return /* @__PURE__ */ jsx63(
|
|
9351
9486
|
ProjectFacts_default,
|
|
9352
9487
|
{
|
|
9353
9488
|
slice,
|
|
@@ -9356,7 +9491,7 @@ var SliceRenderer = ({
|
|
|
9356
9491
|
`${slice.__component}-${slice.id}`
|
|
9357
9492
|
);
|
|
9358
9493
|
case "sections.projects-grid":
|
|
9359
|
-
return /* @__PURE__ */
|
|
9494
|
+
return /* @__PURE__ */ jsx63(
|
|
9360
9495
|
ProjectsGrid_default,
|
|
9361
9496
|
{
|
|
9362
9497
|
slice,
|
|
@@ -9365,7 +9500,7 @@ var SliceRenderer = ({
|
|
|
9365
9500
|
`${slice.__component}-${slice.id}`
|
|
9366
9501
|
);
|
|
9367
9502
|
case "sections.projects-grid-v2":
|
|
9368
|
-
return /* @__PURE__ */
|
|
9503
|
+
return /* @__PURE__ */ jsx63(
|
|
9369
9504
|
ProjectsGridV2_default,
|
|
9370
9505
|
{
|
|
9371
9506
|
slice,
|
|
@@ -9374,7 +9509,7 @@ var SliceRenderer = ({
|
|
|
9374
9509
|
`${slice.__component}-${slice.id}`
|
|
9375
9510
|
);
|
|
9376
9511
|
case "sections.projects-map":
|
|
9377
|
-
return /* @__PURE__ */
|
|
9512
|
+
return /* @__PURE__ */ jsx63(
|
|
9378
9513
|
ProjectsMap_default,
|
|
9379
9514
|
{
|
|
9380
9515
|
slice
|
|
@@ -9382,9 +9517,9 @@ var SliceRenderer = ({
|
|
|
9382
9517
|
`${slice.__component}-${slice.id}`
|
|
9383
9518
|
);
|
|
9384
9519
|
case "sections.video":
|
|
9385
|
-
return /* @__PURE__ */
|
|
9520
|
+
return /* @__PURE__ */ jsx63(Video_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9386
9521
|
case "sections.full-width-highlight-quote":
|
|
9387
|
-
return /* @__PURE__ */
|
|
9522
|
+
return /* @__PURE__ */ jsx63(
|
|
9388
9523
|
FullWidthHighlightQuote_default,
|
|
9389
9524
|
{
|
|
9390
9525
|
slice
|
|
@@ -9392,7 +9527,7 @@ var SliceRenderer = ({
|
|
|
9392
9527
|
`${slice.__component}-${slice.id}`
|
|
9393
9528
|
);
|
|
9394
9529
|
case "sections.full-width-image-slider":
|
|
9395
|
-
return /* @__PURE__ */
|
|
9530
|
+
return /* @__PURE__ */ jsx63(
|
|
9396
9531
|
FullWidthImageSlider_default,
|
|
9397
9532
|
{
|
|
9398
9533
|
slice
|
|
@@ -9400,7 +9535,7 @@ var SliceRenderer = ({
|
|
|
9400
9535
|
`${slice.__component}-${slice.id}`
|
|
9401
9536
|
);
|
|
9402
9537
|
case "sections.side-by-side-images":
|
|
9403
|
-
return /* @__PURE__ */
|
|
9538
|
+
return /* @__PURE__ */ jsx63(
|
|
9404
9539
|
SideBySideImages_default,
|
|
9405
9540
|
{
|
|
9406
9541
|
slice
|
|
@@ -9408,11 +9543,11 @@ var SliceRenderer = ({
|
|
|
9408
9543
|
`${slice.__component}-${slice.id}`
|
|
9409
9544
|
);
|
|
9410
9545
|
case "sections.cta-only":
|
|
9411
|
-
return /* @__PURE__ */
|
|
9546
|
+
return /* @__PURE__ */ jsx63(CtaOnly_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9412
9547
|
case "sections.cta":
|
|
9413
|
-
return /* @__PURE__ */
|
|
9548
|
+
return /* @__PURE__ */ jsx63(Cta_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9414
9549
|
case "sections.shop-checkout":
|
|
9415
|
-
return /* @__PURE__ */
|
|
9550
|
+
return /* @__PURE__ */ jsx63(
|
|
9416
9551
|
ShopCheckout_default,
|
|
9417
9552
|
{
|
|
9418
9553
|
slice
|
|
@@ -9420,9 +9555,9 @@ var SliceRenderer = ({
|
|
|
9420
9555
|
`${slice.__component}-${slice.id}`
|
|
9421
9556
|
);
|
|
9422
9557
|
case "sections.facts":
|
|
9423
|
-
return /* @__PURE__ */
|
|
9558
|
+
return /* @__PURE__ */ jsx63(Facts_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9424
9559
|
case "sections.blog-cards":
|
|
9425
|
-
return /* @__PURE__ */
|
|
9560
|
+
return /* @__PURE__ */ jsx63(
|
|
9426
9561
|
BlogCards_default,
|
|
9427
9562
|
{
|
|
9428
9563
|
slice,
|
|
@@ -9431,7 +9566,7 @@ var SliceRenderer = ({
|
|
|
9431
9566
|
`${slice.__component}-${slice.id}`
|
|
9432
9567
|
);
|
|
9433
9568
|
case "sections.blog":
|
|
9434
|
-
return /* @__PURE__ */
|
|
9569
|
+
return /* @__PURE__ */ jsx63(
|
|
9435
9570
|
Blog_default,
|
|
9436
9571
|
{
|
|
9437
9572
|
slice: {
|
|
@@ -9443,7 +9578,7 @@ var SliceRenderer = ({
|
|
|
9443
9578
|
`${slice.__component}-${slice.id}`
|
|
9444
9579
|
);
|
|
9445
9580
|
case "sections.glossary":
|
|
9446
|
-
return /* @__PURE__ */
|
|
9581
|
+
return /* @__PURE__ */ jsx63(
|
|
9447
9582
|
Glossary_default,
|
|
9448
9583
|
{
|
|
9449
9584
|
slice: {
|
|
@@ -9454,7 +9589,7 @@ var SliceRenderer = ({
|
|
|
9454
9589
|
`${slice.__component}-${slice.id}`
|
|
9455
9590
|
);
|
|
9456
9591
|
case "sections.customer-stories":
|
|
9457
|
-
return /* @__PURE__ */
|
|
9592
|
+
return /* @__PURE__ */ jsx63(
|
|
9458
9593
|
CustomerStories_default,
|
|
9459
9594
|
{
|
|
9460
9595
|
slice: {
|
|
@@ -9466,7 +9601,7 @@ var SliceRenderer = ({
|
|
|
9466
9601
|
`${slice.__component}-${slice.id}`
|
|
9467
9602
|
);
|
|
9468
9603
|
case "sections.comparison":
|
|
9469
|
-
return /* @__PURE__ */
|
|
9604
|
+
return /* @__PURE__ */ jsx63(
|
|
9470
9605
|
Comparison_default,
|
|
9471
9606
|
{
|
|
9472
9607
|
slice
|
|
@@ -9474,9 +9609,9 @@ var SliceRenderer = ({
|
|
|
9474
9609
|
`${slice.__component}-${slice.id}`
|
|
9475
9610
|
);
|
|
9476
9611
|
case "sections.timeline":
|
|
9477
|
-
return /* @__PURE__ */
|
|
9612
|
+
return /* @__PURE__ */ jsx63(Timeline_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9478
9613
|
case "sections.carousel-marquee-banner":
|
|
9479
|
-
return /* @__PURE__ */
|
|
9614
|
+
return /* @__PURE__ */ jsx63(
|
|
9480
9615
|
CarouselMarqueeBanner_default,
|
|
9481
9616
|
{
|
|
9482
9617
|
slice
|
|
@@ -9484,20 +9619,22 @@ var SliceRenderer = ({
|
|
|
9484
9619
|
`${slice.__component}-${slice.id}`
|
|
9485
9620
|
);
|
|
9486
9621
|
case "sections.events":
|
|
9487
|
-
return /* @__PURE__ */
|
|
9622
|
+
return /* @__PURE__ */ jsx63(Events_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9488
9623
|
case "sections.redirect":
|
|
9489
|
-
return /* @__PURE__ */
|
|
9624
|
+
return /* @__PURE__ */ jsx63(Redirect_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9490
9625
|
case "sections.hero-with-highlights":
|
|
9491
|
-
return /* @__PURE__ */
|
|
9626
|
+
return /* @__PURE__ */ jsx63(
|
|
9492
9627
|
HeroWithHighlights_default,
|
|
9493
9628
|
{
|
|
9494
9629
|
slice
|
|
9495
9630
|
},
|
|
9496
9631
|
`${slice.__component}-${slice.id}`
|
|
9497
9632
|
);
|
|
9633
|
+
case "sections.facts-with-projects-map":
|
|
9634
|
+
return /* @__PURE__ */ jsx63(FactsWithProjectsMap_default, { slice }, `${slice.__component}-${slice.id}`);
|
|
9498
9635
|
default:
|
|
9499
9636
|
if (CustomSlice) {
|
|
9500
|
-
return /* @__PURE__ */
|
|
9637
|
+
return /* @__PURE__ */ jsx63(
|
|
9501
9638
|
CustomSlice,
|
|
9502
9639
|
{
|
|
9503
9640
|
id: slice.__component,
|
|
@@ -9506,7 +9643,7 @@ var SliceRenderer = ({
|
|
|
9506
9643
|
`${slice.__component}-${slice.id}`
|
|
9507
9644
|
);
|
|
9508
9645
|
}
|
|
9509
|
-
return /* @__PURE__ */
|
|
9646
|
+
return /* @__PURE__ */ jsx63("div", { children: "Slice component not supported" }, `${slice.__component}-${slice.id}`);
|
|
9510
9647
|
}
|
|
9511
9648
|
})
|
|
9512
9649
|
}
|