@enyxs/wikex-components 0.8.14 → 0.8.15
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/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +917 -157
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +917 -157
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56,6 +56,7 @@ var import_Button = __toESM(require("@mui/material/Button"));
|
|
|
56
56
|
var import_Typography = __toESM(require("@mui/material/Typography"));
|
|
57
57
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
58
58
|
function EditableText({
|
|
59
|
+
className,
|
|
59
60
|
field,
|
|
60
61
|
value: value6,
|
|
61
62
|
editable,
|
|
@@ -67,6 +68,7 @@ function EditableText({
|
|
|
67
68
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
68
69
|
import_Typography.default,
|
|
69
70
|
{
|
|
71
|
+
className,
|
|
70
72
|
component: component ?? "div",
|
|
71
73
|
variant,
|
|
72
74
|
contentEditable: editable,
|
|
@@ -94,42 +96,87 @@ function EditableImage({
|
|
|
94
96
|
alt,
|
|
95
97
|
editable,
|
|
96
98
|
onImageRequest,
|
|
97
|
-
sx
|
|
99
|
+
sx,
|
|
100
|
+
imageSx,
|
|
101
|
+
actionSx
|
|
98
102
|
}) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
103
|
+
const normalizedSrc = src.trim();
|
|
104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
105
|
+
import_Box.default,
|
|
106
|
+
{
|
|
107
|
+
sx: {
|
|
108
|
+
position: "relative",
|
|
109
|
+
overflow: "hidden",
|
|
110
|
+
bgcolor: normalizedSrc ? "transparent" : "grey.200",
|
|
111
|
+
...sx
|
|
112
|
+
},
|
|
113
|
+
children: [
|
|
114
|
+
normalizedSrc ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
115
|
+
import_Box.default,
|
|
116
|
+
{
|
|
117
|
+
component: "img",
|
|
118
|
+
src: normalizedSrc,
|
|
119
|
+
alt,
|
|
120
|
+
sx: { display: "block", width: 1, height: 1, objectFit: "cover", ...imageSx }
|
|
121
|
+
}
|
|
122
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
123
|
+
import_Box.default,
|
|
124
|
+
{
|
|
125
|
+
role: "img",
|
|
126
|
+
"aria-label": alt || "Ch\u01B0a c\xF3 \u1EA3nh",
|
|
127
|
+
sx: {
|
|
128
|
+
width: 1,
|
|
129
|
+
height: 1,
|
|
130
|
+
display: "grid",
|
|
131
|
+
placeItems: "center",
|
|
132
|
+
color: "text.disabled",
|
|
133
|
+
fontSize: 12
|
|
134
|
+
},
|
|
135
|
+
children: "Ch\u01B0a c\xF3 \u1EA3nh"
|
|
136
|
+
}
|
|
137
|
+
),
|
|
138
|
+
editable && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
139
|
+
import_Button.default,
|
|
140
|
+
{
|
|
141
|
+
className: "wikex-editable-image-action",
|
|
142
|
+
size: "small",
|
|
143
|
+
variant: "contained",
|
|
144
|
+
onPointerDown: (event) => event.stopPropagation(),
|
|
145
|
+
onMouseDown: (event) => event.stopPropagation(),
|
|
146
|
+
onClick: (event) => {
|
|
147
|
+
event.stopPropagation();
|
|
148
|
+
onImageRequest?.(field);
|
|
149
|
+
},
|
|
150
|
+
sx: {
|
|
151
|
+
position: "absolute",
|
|
152
|
+
zIndex: 10,
|
|
153
|
+
right: 12,
|
|
154
|
+
bottom: 12,
|
|
155
|
+
pointerEvents: "auto",
|
|
156
|
+
border: "1px solid rgba(255,255,255,.72)",
|
|
157
|
+
bgcolor: "rgba(255,255,255,.92)",
|
|
158
|
+
color: "grey.900",
|
|
159
|
+
boxShadow: "0 6px 18px rgba(15,23,42,.18)",
|
|
160
|
+
backdropFilter: "blur(8px)",
|
|
161
|
+
transition: "opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), background-color 160ms ease, box-shadow 160ms ease",
|
|
162
|
+
"&:hover": {
|
|
163
|
+
bgcolor: "common.white",
|
|
164
|
+
boxShadow: "0 8px 24px rgba(15,23,42,.24)",
|
|
165
|
+
transform: "translateY(-1px)"
|
|
166
|
+
},
|
|
167
|
+
"&:active": {
|
|
168
|
+
boxShadow: "0 3px 10px rgba(15,23,42,.18)",
|
|
169
|
+
transform: "translateY(0) scale(.97)"
|
|
170
|
+
},
|
|
171
|
+
"@media (prefers-reduced-motion: reduce)": { transition: "none" },
|
|
172
|
+
...actionSx
|
|
173
|
+
},
|
|
174
|
+
children: "Thay \u1EA3nh"
|
|
175
|
+
}
|
|
176
|
+
)
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
);
|
|
133
180
|
}
|
|
134
181
|
|
|
135
182
|
// src/minimal-ui/blocks.tsx
|
|
@@ -2758,6 +2805,9 @@ var playfair_display_latin_default = "data:font/woff2;base64,d09GMgABAAAAAJY8ABI
|
|
|
2758
2805
|
// src/estate/assets/playfair-display-vietnamese.woff2
|
|
2759
2806
|
var playfair_display_vietnamese_default = "data:font/woff2;base64,d09GMgABAAAAACNgABIAAAAAU/wAACL1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoIlG59sHIJAP0hWQVKEcgZgP1NUQVSBDgCDBC9gEQgKtGisB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xnbg92eaFU6XjH5+vyf28aeYDfy4NJ0dKF/4L2e81omxWg/A4TamEbhA47Qm1GgNVF5vapxrGfkXvqu3slnM78/etQr/Mj8=";
|
|
2760
2807
|
|
|
2808
|
+
// src/estate/assets/wikex-estates-logo.svg
|
|
2809
|
+
var wikex_estates_logo_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 40" role="img" aria-label="Wikex Estates">%0A <text%0A x="2"%0A y="29"%0A fill="%23F3EFE6"%0A font-family="Arial, Helvetica, sans-serif"%0A font-size="24"%0A font-weight="800"%0A letter-spacing="3.6"%0A >WIKEX ESTATES</text>%0A</svg>%0A';
|
|
2810
|
+
|
|
2761
2811
|
// src/estate/blocks.tsx
|
|
2762
2812
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
2763
2813
|
var palette = {
|
|
@@ -2788,7 +2838,8 @@ function Text({
|
|
|
2788
2838
|
fallback,
|
|
2789
2839
|
children,
|
|
2790
2840
|
sx,
|
|
2791
|
-
component
|
|
2841
|
+
component,
|
|
2842
|
+
className
|
|
2792
2843
|
}) {
|
|
2793
2844
|
return children(
|
|
2794
2845
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
@@ -2796,6 +2847,7 @@ function Text({
|
|
|
2796
2847
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
2797
2848
|
EditableText,
|
|
2798
2849
|
{
|
|
2850
|
+
className,
|
|
2799
2851
|
field,
|
|
2800
2852
|
value: value4(props.content, field, fallback),
|
|
2801
2853
|
editable: isEditable(props, field),
|
|
@@ -2828,6 +2880,56 @@ function Image({ props, field, fallback, alt }) {
|
|
|
2828
2880
|
}
|
|
2829
2881
|
);
|
|
2830
2882
|
}
|
|
2883
|
+
function EstateLogo({ props, fallback }) {
|
|
2884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
2885
|
+
EditableImage,
|
|
2886
|
+
{
|
|
2887
|
+
field: "logo",
|
|
2888
|
+
src: String(value4(props.content, "logo", fallback)),
|
|
2889
|
+
alt: "Wikex Estates",
|
|
2890
|
+
editable: isEditable(props, "logo"),
|
|
2891
|
+
onImageRequest: props.onImageRequest,
|
|
2892
|
+
sx: {
|
|
2893
|
+
flexShrink: 0,
|
|
2894
|
+
width: { xs: 148, md: 176 },
|
|
2895
|
+
height: 36,
|
|
2896
|
+
bgcolor: "transparent",
|
|
2897
|
+
"& .wikex-editable-image-action": {
|
|
2898
|
+
opacity: 0,
|
|
2899
|
+
pointerEvents: "none",
|
|
2900
|
+
transform: "translateY(5px) scale(.96)"
|
|
2901
|
+
},
|
|
2902
|
+
"&:hover .wikex-editable-image-action, &:focus-within .wikex-editable-image-action": {
|
|
2903
|
+
opacity: 1,
|
|
2904
|
+
pointerEvents: "auto",
|
|
2905
|
+
transform: "translateY(0) scale(1)"
|
|
2906
|
+
},
|
|
2907
|
+
"@media (hover: none)": {
|
|
2908
|
+
"& .wikex-editable-image-action": {
|
|
2909
|
+
opacity: 1,
|
|
2910
|
+
pointerEvents: "auto",
|
|
2911
|
+
transform: "none"
|
|
2912
|
+
}
|
|
2913
|
+
},
|
|
2914
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
2915
|
+
"& .wikex-editable-image-action": { transform: "none" }
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
imageSx: {
|
|
2919
|
+
objectFit: "contain",
|
|
2920
|
+
objectPosition: "left center"
|
|
2921
|
+
},
|
|
2922
|
+
actionSx: {
|
|
2923
|
+
right: 4,
|
|
2924
|
+
bottom: 4,
|
|
2925
|
+
minWidth: 0,
|
|
2926
|
+
px: 0.75,
|
|
2927
|
+
py: 0.25,
|
|
2928
|
+
fontSize: 10
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
);
|
|
2932
|
+
}
|
|
2831
2933
|
var eyebrowSx = {
|
|
2832
2934
|
color: palette.gold,
|
|
2833
2935
|
fontSize: 11,
|
|
@@ -2844,6 +2946,71 @@ var headingSx = {
|
|
|
2844
2946
|
lineHeight: 0.98
|
|
2845
2947
|
};
|
|
2846
2948
|
var sectionSx = { px: { xs: 2, md: 4 }, py: { xs: 8, md: 14 } };
|
|
2949
|
+
var estateResponsiveSx = {
|
|
2950
|
+
containerType: "inline-size",
|
|
2951
|
+
minWidth: 0,
|
|
2952
|
+
overflowX: "clip",
|
|
2953
|
+
"& .estate-container, & .estate-split, & .estate-card-grid, & .estate-card, & .estate-process-row": {
|
|
2954
|
+
minWidth: 0
|
|
2955
|
+
},
|
|
2956
|
+
"& .estate-display-xl, & .estate-display-lg, & .estate-display-md, & .estate-card-title": {
|
|
2957
|
+
overflowWrap: "anywhere"
|
|
2958
|
+
},
|
|
2959
|
+
"@container (max-width: 899px)": {
|
|
2960
|
+
"& .estate-split": { gridTemplateColumns: "minmax(0, 1fr)" },
|
|
2961
|
+
"& .estate-flex-split": {
|
|
2962
|
+
alignItems: "flex-start",
|
|
2963
|
+
flexDirection: "column"
|
|
2964
|
+
},
|
|
2965
|
+
"& .estate-card-grid-3, & .estate-card-grid-4": {
|
|
2966
|
+
gridTemplateColumns: "repeat(2, minmax(0, 1fr))"
|
|
2967
|
+
},
|
|
2968
|
+
"& .estate-featured-grid": { gridTemplateColumns: "minmax(0, 1fr)" },
|
|
2969
|
+
"& .estate-featured-card": {
|
|
2970
|
+
gridColumn: "auto",
|
|
2971
|
+
minHeight: 460
|
|
2972
|
+
},
|
|
2973
|
+
"& .estate-process-row": {
|
|
2974
|
+
gridTemplateColumns: "40px minmax(0, 1fr)"
|
|
2975
|
+
},
|
|
2976
|
+
"& .estate-process-copy": { gridColumn: 2 },
|
|
2977
|
+
"& .estate-media": { minHeight: 420 },
|
|
2978
|
+
"& .estate-hero-location": {
|
|
2979
|
+
right: 16,
|
|
2980
|
+
left: 16,
|
|
2981
|
+
width: "auto",
|
|
2982
|
+
maxWidth: "calc(100% - 32px)",
|
|
2983
|
+
textAlign: "center"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"@container (max-width: 599px)": {
|
|
2987
|
+
"& .estate-container": { px: 2 },
|
|
2988
|
+
"& .estate-display-xl": { fontSize: 48, lineHeight: 0.92 },
|
|
2989
|
+
"& .estate-display-lg": { fontSize: 40, lineHeight: 0.98 },
|
|
2990
|
+
"& .estate-display-md": { fontSize: 36, lineHeight: 1 },
|
|
2991
|
+
"& .estate-card-title": { fontSize: 30, lineHeight: 1.04 },
|
|
2992
|
+
"& .estate-card-grid-2, & .estate-card-grid-3, & .estate-card-grid-4": {
|
|
2993
|
+
gridTemplateColumns: "minmax(0, 1fr)"
|
|
2994
|
+
},
|
|
2995
|
+
"& .estate-featured-card": { minHeight: 390 },
|
|
2996
|
+
"& .estate-media": { minHeight: 300 },
|
|
2997
|
+
"& .estate-actions": { width: "100%", flexDirection: "column" },
|
|
2998
|
+
"& .estate-actions > *": { width: "100%" },
|
|
2999
|
+
"& .estate-hero-content": { justifyContent: "center" },
|
|
3000
|
+
"& .estate-hero-content-row": { gap: 2.5 },
|
|
3001
|
+
"& .estate-hero-location": {
|
|
3002
|
+
px: 1.5,
|
|
3003
|
+
py: 1.25,
|
|
3004
|
+
borderWidth: "1px 1px 0",
|
|
3005
|
+
fontSize: 11,
|
|
3006
|
+
whiteSpace: "normal"
|
|
3007
|
+
},
|
|
3008
|
+
"& .estate-footer-links": { gridTemplateColumns: "minmax(0, 1fr)" },
|
|
3009
|
+
"& .estate-stat-card, & .estate-service-card, & .estate-article-card, & .estate-amenity-card, & .estate-testimonial-card": {
|
|
3010
|
+
minHeight: "auto"
|
|
3011
|
+
}
|
|
3012
|
+
}
|
|
3013
|
+
};
|
|
2847
3014
|
var displayFont = "'Wikex Playfair', Georgia, serif";
|
|
2848
3015
|
var outlinedEyebrowSx = {
|
|
2849
3016
|
...eyebrowSx,
|
|
@@ -2903,11 +3070,11 @@ var introDefaults = {
|
|
|
2903
3070
|
};
|
|
2904
3071
|
function EstateIntroRenderer(props) {
|
|
2905
3072
|
const imageRight = value4(props.content, "imagePosition", introDefaults.imagePosition) === "right";
|
|
2906
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", maxWidth: 1376, mx: "auto", gap: { xs: 4, md: 9 }, gridTemplateColumns: { xs: "1fr", md: "1.05fr .95fr" } }, children: [
|
|
2907
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { order: { md: imageRight ? 2 : 1 }, minHeight: { xs: 400, md: 620 } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Image, { props, field: "image", fallback: introDefaults.image, alt: "Kh\xF4ng gian b\u1EA5t \u0111\u1ED9ng s\u1EA3n" }) }),
|
|
3073
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container estate-split", sx: { display: "grid", maxWidth: 1376, mx: "auto", gap: { xs: 4, md: 9 }, gridTemplateColumns: { xs: "1fr", md: "1.05fr .95fr" } }, children: [
|
|
3074
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-media", sx: { order: { md: imageRight ? 2 : 1 }, minHeight: { xs: 400, md: 620 } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Image, { props, field: "image", fallback: introDefaults.image, alt: "Kh\xF4ng gian b\u1EA5t \u0111\u1ED9ng s\u1EA3n" }) }),
|
|
2908
3075
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { sx: { order: { md: imageRight ? 1 : 2 }, justifyContent: "center", alignItems: "flex-start" }, spacing: 3, children: [
|
|
2909
3076
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: introDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: eyebrowSx, children: node }) }),
|
|
2910
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: introDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: headingSx, children: node }) }),
|
|
3077
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: introDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", component: "h2", sx: headingSx, children: node }) }),
|
|
2911
3078
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "body", fallback: introDefaults.body, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { color: palette.muted, fontSize: 17, lineHeight: 1.8 }, children: node }) }),
|
|
2912
3079
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Button5.default, { endIcon: "\u2197", href: String(value4(props.content, "ctaUrl", introDefaults.ctaUrl)), sx: { color: "#795B2D", borderBottom: "1px solid", borderRadius: 0, px: 0, fontSize: 11, letterSpacing: ".13em", fontWeight: 700 }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "ctaLabel", fallback: introDefaults.ctaLabel, children: (node) => node }) })
|
|
2913
3080
|
] })
|
|
@@ -2937,16 +3104,16 @@ var heroDefaults = {
|
|
|
2937
3104
|
location: "Vi\u1EC7t Nam \xB7 T\u01B0 v\u1EA5n tr\xEAn to\xE0n qu\u1ED1c"
|
|
2938
3105
|
};
|
|
2939
3106
|
function EstateHeroRenderer(props) {
|
|
2940
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { component: "section", sx: { position: "relative", isolation: "isolate", minHeight: { xs: 700, md: 900 }, overflow: "hidden", bgcolor: palette.dark, color: "white" }, children: [
|
|
3107
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, position: "relative", isolation: "isolate", minHeight: { xs: 700, md: 900 }, overflow: "hidden", bgcolor: palette.dark, color: "white" }, children: [
|
|
2941
3108
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(EstateFontFaces, {}),
|
|
2942
3109
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { position: "absolute", inset: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Image, { props, field: "image", fallback: heroDefaults.image, alt: "Bi\u1EC7t th\u1EF1 nhi\u1EC7t \u0111\u1EDBi cao c\u1EA5p" }) }),
|
|
2943
3110
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { position: "absolute", inset: 0, zIndex: 1, pointerEvents: "none", background: "linear-gradient(90deg, rgba(15,21,17,.94) 0%, rgba(15,21,17,.67) 43%, rgba(15,21,17,.08) 82%), linear-gradient(0deg, rgba(15,21,17,.55), transparent 52%)" } }),
|
|
2944
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { sx: { position: "relative", zIndex: 2, minHeight: { xs: 700, md: 900 }, maxWidth: 1376, mx: "auto", px: { xs: 2, md: 4 }, pt: { xs: 16, md: 23 }, pb: { xs: 7, md: 12 }, justifyContent: "flex-end", alignItems: "flex-start" }, spacing: { xs: 3, md: 4 }, children: [
|
|
3111
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { className: "estate-container estate-hero-content", sx: { position: "relative", zIndex: 2, minHeight: { xs: 700, md: 900 }, maxWidth: 1376, mx: "auto", px: { xs: 2, md: 4 }, pt: { xs: 16, md: 23 }, pb: { xs: 7, md: 12 }, justifyContent: "flex-end", alignItems: "flex-start" }, spacing: { xs: 3, md: 4 }, children: [
|
|
2945
3112
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: heroDefaults.eyebrow, sx: { ...outlinedEyebrowSx, color: "#DDC696", fontFamily: "'Wikex Inter', Arial, sans-serif" }, children: (node) => node }),
|
|
2946
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: heroDefaults.heading, component: "h1", sx: { maxWidth: 1060, m: 0, fontFamily: displayFont, fontSize: { xs: 58, sm: 74, md: 132 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.86, textWrap: "balance" }, children: (node) => node }),
|
|
2947
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", width: "min(100%, 930px)", pt: 3, borderTop: "1px solid rgba(255,255,255,.26)", gap: 3, gridTemplateColumns: { xs: "1fr", md: "1fr auto" }, alignItems: "end" }, children: [
|
|
3113
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { className: "estate-display-xl", props, field: "heading", fallback: heroDefaults.heading, component: "h1", sx: { maxWidth: 1060, m: 0, fontFamily: displayFont, fontSize: { xs: 58, sm: 74, md: 132 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.86, textWrap: "balance" }, children: (node) => node }),
|
|
3114
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-split estate-hero-content-row", sx: { display: "grid", width: "min(100%, 930px)", pt: 3, borderTop: "1px solid rgba(255,255,255,.26)", gap: 3, gridTemplateColumns: { xs: "1fr", md: "1fr auto" }, alignItems: "end" }, children: [
|
|
2948
3115
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "body", fallback: heroDefaults.body, sx: { maxWidth: 590, color: "rgba(255,255,255,.74)", fontFamily: "'Wikex Inter', Arial, sans-serif", fontSize: { xs: 16, md: 18 }, lineHeight: 1.75 }, children: (node) => node }),
|
|
2949
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { direction: { xs: "column", sm: "row" }, spacing: 1.25, children: [
|
|
3116
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { className: "estate-actions", direction: { xs: "column", sm: "row" }, spacing: 1.25, children: [
|
|
2950
3117
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Button5.default, { component: "a", href: String(value4(props.content, "primaryUrl", heroDefaults.primaryUrl)), sx: { minHeight: 50, bgcolor: "#C2A268", color: palette.ink, borderRadius: 99, px: 2.5, fontSize: 11, fontWeight: 800, letterSpacing: ".1em", "&:hover": { bgcolor: "#E1C997" } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "primaryLabel", fallback: heroDefaults.primaryLabel, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
2951
3118
|
node,
|
|
2952
3119
|
" \u2197"
|
|
@@ -2955,7 +3122,7 @@ function EstateHeroRenderer(props) {
|
|
|
2955
3122
|
] })
|
|
2956
3123
|
] })
|
|
2957
3124
|
] }),
|
|
2958
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "location", fallback: heroDefaults.location, sx: { position: "absolute", zIndex: 2, right: 0, bottom: 0, px: { xs: 2, md: 3 }, py: 1.5, border: "1px solid rgba(255,255,255,.2)", borderWidth: "1px 0 0 1px", bgcolor: "rgba(23,32,25,.78)", color: "rgba(255,255,255,.76)", fontFamily: "'Wikex Inter', Arial, sans-serif", fontSize: 12, backdropFilter: "blur(12px)" }, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
3125
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { className: "estate-hero-location", props, field: "location", fallback: heroDefaults.location, sx: { position: "absolute", zIndex: 2, right: 0, bottom: 0, px: { xs: 2, md: 3 }, py: 1.5, border: "1px solid rgba(255,255,255,.2)", borderWidth: "1px 0 0 1px", bgcolor: "rgba(23,32,25,.78)", color: "rgba(255,255,255,.76)", fontFamily: "'Wikex Inter', Arial, sans-serif", fontSize: 12, backdropFilter: "blur(12px)" }, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
2959
3126
|
"\u2316 \xA0",
|
|
2960
3127
|
node
|
|
2961
3128
|
] }) })
|
|
@@ -2987,9 +3154,9 @@ var statsDefaults = {
|
|
|
2987
3154
|
stat4Label: "T\u1EC9nh th\xE0nh tri\u1EC3n khai"
|
|
2988
3155
|
};
|
|
2989
3156
|
function EstateStatsRenderer(props) {
|
|
2990
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.pale, color: palette.ink, borderBlock: `1px solid ${palette.line}` }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.pale, color: palette.ink, borderBlock: `1px solid ${palette.line}` }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
2991
3158
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: statsDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { ...eyebrowSx, mb: 3 }, children: node }) }),
|
|
2992
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "grid", gridTemplateColumns: { xs: "1fr 1fr", md: "repeat(4, 1fr)" }, borderTop: `1px solid ${palette.line}`, borderLeft: `1px solid ${palette.line}` }, children: [1, 2, 3, 4].map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { minHeight: { xs: 180, md: 220 }, p: { xs: 2, md: 3 }, borderRight: `1px solid ${palette.line}`, borderBottom: `1px solid ${palette.line}` }, children: [
|
|
3159
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-card-grid-4", sx: { display: "grid", gridTemplateColumns: { xs: "1fr 1fr", md: "repeat(4, 1fr)" }, borderTop: `1px solid ${palette.line}`, borderLeft: `1px solid ${palette.line}` }, children: [1, 2, 3, 4].map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-stat-card", sx: { minHeight: { xs: 180, md: 220 }, p: { xs: 2, md: 3 }, borderRight: `1px solid ${palette.line}`, borderBottom: `1px solid ${palette.line}` }, children: [
|
|
2993
3160
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `stat${index}Value`, fallback: statsDefaults[`stat${index}Value`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { fontFamily: displayFont, fontSize: { xs: 42, md: 68 }, letterSpacing: "-.055em", lineHeight: 1 }, children: node }) }),
|
|
2994
3161
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `stat${index}Label`, fallback: statsDefaults[`stat${index}Label`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { mt: 2, color: palette.muted, fontSize: 11, fontWeight: 700, letterSpacing: ".11em", textTransform: "uppercase" }, children: node }) })
|
|
2995
3162
|
] }, index)) })
|
|
@@ -3025,15 +3192,15 @@ var projectDefaults = {
|
|
|
3025
3192
|
};
|
|
3026
3193
|
function FeaturedProjectsRenderer(props) {
|
|
3027
3194
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 4 }, () => ({}))).map((_, index) => index + 1);
|
|
3028
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3029
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "flex", alignItems: { xs: "flex-start", md: "flex-end" }, justifyContent: "space-between", flexDirection: { xs: "column", md: "row" }, gap: 3, mb: 6 }, children: [
|
|
3195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3196
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-flex-split", sx: { display: "flex", alignItems: { xs: "flex-start", md: "flex-end" }, justifyContent: "space-between", flexDirection: { xs: "column", md: "row" }, gap: 3, mb: 6 }, children: [
|
|
3030
3197
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2, children: [
|
|
3031
3198
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: projectDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: outlinedEyebrowSx, children: node }) }),
|
|
3032
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: projectDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: headingSx, children: node }) })
|
|
3199
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: projectDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", component: "h2", sx: headingSx, children: node }) })
|
|
3033
3200
|
] }),
|
|
3034
3201
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "intro", fallback: projectDefaults.intro, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { maxWidth: 420, color: palette.muted, fontSize: 16, lineHeight: 1.8 }, children: node }) })
|
|
3035
3202
|
] }),
|
|
3036
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "repeat(12, 1fr)" }, gap: 2 }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { position: "relative", minHeight: { xs: 390, md: index < 3 ? 600 : 430 }, overflow: "hidden", bgcolor: "#59665C", color: "white", gridColumn: { xs: "1", md: index === 1 ? "span 7" : index === 2 ? "span 5" : "span 6" } }, children: [
|
|
3203
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-featured-grid", sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "repeat(12, 1fr)" }, gap: 2 }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-featured-card", sx: { position: "relative", minHeight: { xs: 390, md: index < 3 ? 600 : 430 }, overflow: "hidden", bgcolor: "#59665C", color: "white", gridColumn: { xs: "1", md: index === 1 ? "span 7" : index === 2 ? "span 5" : "span 6" } }, children: [
|
|
3037
3204
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Image, { props, field: `project${index}Image`, fallback: projectDefaults[`project${index}Image`], alt: "D\u1EF1 \xE1n n\u1ED5i b\u1EADt" }),
|
|
3038
3205
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { position: "absolute", inset: 0, zIndex: 1, pointerEvents: "none", background: "linear-gradient(0deg, rgba(17,24,18,.88), transparent 64%)" } }),
|
|
3039
3206
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { position: "absolute", zIndex: 2, pointerEvents: "none", top: 20, right: 20, display: "grid", width: 44, height: 44, placeItems: "center", border: "1px solid rgba(255,255,255,.38)", borderRadius: "50%", bgcolor: "rgba(0,0,0,.12)", fontSize: 20 }, children: "\u2197" }),
|
|
@@ -3042,7 +3209,7 @@ function FeaturedProjectsRenderer(props) {
|
|
|
3042
3209
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { children: "\u2316" }),
|
|
3043
3210
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `project${index}Location`, fallback: projectDefaults[`project${index}Location`], children: (node) => node })
|
|
3044
3211
|
] }),
|
|
3045
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `project${index}Title`, fallback: projectDefaults[`project${index}Title`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h3", sx: { m: 0, fontFamily: displayFont, fontSize: { xs: 34, md: index < 3 ? 52 : 40 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 0.98 }, children: node }) }),
|
|
3212
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `project${index}Title`, fallback: projectDefaults[`project${index}Title`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-card-title", component: "h3", sx: { m: 0, fontFamily: displayFont, fontSize: { xs: 34, md: index < 3 ? 52 : 40 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 0.98 }, children: node }) }),
|
|
3046
3213
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `project${index}Type`, fallback: projectDefaults[`project${index}Type`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { border: "1px solid rgba(255,255,255,.3)", px: 1, py: 0.6, color: "rgba(255,255,255,.8)", fontSize: 10, fontWeight: 700, letterSpacing: ".08em", textTransform: "uppercase" }, children: node }) })
|
|
3047
3214
|
] })
|
|
3048
3215
|
] }, index)) })
|
|
@@ -3072,19 +3239,19 @@ var processDefaults = {
|
|
|
3072
3239
|
};
|
|
3073
3240
|
function EstateProcessRenderer(props) {
|
|
3074
3241
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 4 }, () => ({}))).map((_, index) => index + 1);
|
|
3075
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, borderBlock: `1px solid ${palette.line}`, bgcolor: palette.pale, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", maxWidth: 1376, mx: "auto", gap: { xs: 5, md: 10 }, gridTemplateColumns: { xs: "1fr", md: ".75fr 1.25fr" } }, children: [
|
|
3242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, borderBlock: `1px solid ${palette.line}`, bgcolor: palette.pale, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container estate-split", sx: { display: "grid", maxWidth: 1376, mx: "auto", gap: { xs: 5, md: 10 }, gridTemplateColumns: { xs: "1fr", md: ".75fr 1.25fr" } }, children: [
|
|
3076
3243
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2.5, sx: { alignItems: "flex-start" }, children: [
|
|
3077
3244
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: processDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: outlinedEyebrowSx, children: node }) }),
|
|
3078
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: processDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: { ...headingSx, fontSize: { xs: 48, md: 78 } }, children: node }) }),
|
|
3245
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: processDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-lg", component: "h2", sx: { ...headingSx, fontSize: { xs: 48, md: 78 } }, children: node }) }),
|
|
3079
3246
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "body", fallback: processDefaults.body, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { maxWidth: 450, color: palette.muted, fontSize: 16, lineHeight: 1.85 }, children: node }) })
|
|
3080
3247
|
] }),
|
|
3081
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Stack3.default, { component: "ol", sx: { m: 0, p: 0, listStyle: "none", borderTop: `1px solid ${palette.line}` }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { component: "li", sx: { display: "grid", py: 3, gap: { xs: 1, md: 2 }, borderBottom: `1px solid ${palette.line}`, gridTemplateColumns: { xs: "36px 1fr", md: "56px 1fr 1fr" } }, children: [
|
|
3248
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Stack3.default, { component: "ol", sx: { m: 0, p: 0, listStyle: "none", borderTop: `1px solid ${palette.line}` }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-process-row", component: "li", sx: { display: "grid", py: 3, gap: { xs: 1, md: 2 }, borderBottom: `1px solid ${palette.line}`, gridTemplateColumns: { xs: "36px 1fr", md: "56px 1fr 1fr" } }, children: [
|
|
3082
3249
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { color: palette.gold, fontFamily: "monospace", fontSize: 12, pt: 0.5 }, children: [
|
|
3083
3250
|
"0",
|
|
3084
3251
|
index
|
|
3085
3252
|
] }),
|
|
3086
3253
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `step${index}Title`, fallback: processDefaults[`step${index}Title`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h3", sx: { m: 0, fontFamily: displayFont, fontSize: { xs: 24, md: 27 }, fontWeight: 400, letterSpacing: "-.03em", lineHeight: 1.1 }, children: node }) }),
|
|
3087
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `step${index}Description`, fallback: processDefaults[`step${index}Description`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { color: palette.muted, fontSize: 14, lineHeight: 1.7 }, children: node }) })
|
|
3254
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { className: "estate-process-copy", props, field: `step${index}Description`, fallback: processDefaults[`step${index}Description`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { color: palette.muted, fontSize: 14, lineHeight: 1.7 }, children: node }) })
|
|
3088
3255
|
] }, index)) })
|
|
3089
3256
|
] }) });
|
|
3090
3257
|
}
|
|
@@ -3120,15 +3287,15 @@ var servicesDefaults = {
|
|
|
3120
3287
|
};
|
|
3121
3288
|
function EstateServicesRenderer(props) {
|
|
3122
3289
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 4 }, () => ({}))).map((_, index) => index + 1);
|
|
3123
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.dark, color: "white" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3124
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", gap: 4, gridTemplateColumns: { xs: "1fr", md: "1.1fr .9fr" }, alignItems: "end", mb: 6 }, children: [
|
|
3290
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.dark, color: "white" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3291
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-split", sx: { display: "grid", gap: 4, gridTemplateColumns: { xs: "1fr", md: "1.1fr .9fr" }, alignItems: "end", mb: 6 }, children: [
|
|
3125
3292
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2.5, children: [
|
|
3126
3293
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: servicesDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { ...outlinedEyebrowSx, color: "#DDC696" }, children: node }) }),
|
|
3127
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: servicesDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: { ...headingSx, color: "white", fontSize: { xs: 48, md: 86 } }, children: node }) })
|
|
3294
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: servicesDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-lg", component: "h2", sx: { ...headingSx, color: "white", fontSize: { xs: 48, md: 86 } }, children: node }) })
|
|
3128
3295
|
] }),
|
|
3129
3296
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "intro", fallback: servicesDefaults.intro, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { maxWidth: 480, justifySelf: { md: "end" }, color: "rgba(255,255,255,.58)", fontSize: 16, lineHeight: 1.85 }, children: node }) })
|
|
3130
3297
|
] }),
|
|
3131
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "1fr 1fr" }, borderTop: "1px solid rgba(255,255,255,.14)", borderLeft: "1px solid rgba(255,255,255,.14)" }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { sx: { minHeight: { xs: 300, md: 370 }, p: { xs: 2.5, md: 4 }, borderRight: "1px solid rgba(255,255,255,.14)", borderBottom: "1px solid rgba(255,255,255,.14)", transition: "background .25s ease", "&:hover": { bgcolor: "#C2A268", color: palette.ink }, "&:hover .service-description": { color: "rgba(23,32,25,.72)" } }, children: [
|
|
3298
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-card-grid-2", sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "1fr 1fr" }, borderTop: "1px solid rgba(255,255,255,.14)", borderLeft: "1px solid rgba(255,255,255,.14)" }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { className: "estate-service-card", sx: { minHeight: { xs: 300, md: 370 }, p: { xs: 2.5, md: 4 }, borderRight: "1px solid rgba(255,255,255,.14)", borderBottom: "1px solid rgba(255,255,255,.14)", transition: "background .25s ease", "&:hover": { bgcolor: "#C2A268", color: palette.ink }, "&:hover .service-description": { color: "rgba(23,32,25,.72)" } }, children: [
|
|
3132
3299
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "flex", justifyContent: "space-between", color: "#D8BD8A", fontFamily: "monospace", fontSize: 11 }, children: [
|
|
3133
3300
|
"0",
|
|
3134
3301
|
index,
|
|
@@ -3175,12 +3342,12 @@ var articlesDefaults = {
|
|
|
3175
3342
|
};
|
|
3176
3343
|
function EstateArticlesRenderer(props) {
|
|
3177
3344
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 3 }, () => ({}))).map((_, index) => index + 1);
|
|
3178
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: "#DED7CA", color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3345
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: "#DED7CA", color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3179
3346
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2.5, sx: { mb: 6 }, children: [
|
|
3180
3347
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: articlesDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: outlinedEyebrowSx, children: node }) }),
|
|
3181
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: articlesDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: headingSx, children: node }) })
|
|
3348
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: articlesDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", component: "h2", sx: headingSx, children: node }) })
|
|
3182
3349
|
] }),
|
|
3183
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "repeat(3, 1fr)" }, gap: "1px", bgcolor: palette.line }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { sx: { minHeight: 390, p: { xs: 2.5, md: 4 }, bgcolor: palette.cream, transition: "background .2s ease", "&:hover": { bgcolor: palette.pale } }, children: [
|
|
3350
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-card-grid-3", sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "repeat(3, 1fr)" }, gap: "1px", bgcolor: palette.line }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { className: "estate-article-card", sx: { minHeight: 390, p: { xs: 2.5, md: 4 }, bgcolor: palette.cream, transition: "background .2s ease", "&:hover": { bgcolor: palette.pale } }, children: [
|
|
3184
3351
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `article${index}Meta`, fallback: articlesDefaults[`article${index}Meta`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { color: palette.gold, fontSize: 11, fontWeight: 800, letterSpacing: ".13em", textTransform: "uppercase" }, children: node }) }),
|
|
3185
3352
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `article${index}Title`, fallback: articlesDefaults[`article${index}Title`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h3", sx: { mt: 5, fontFamily: displayFont, fontSize: { xs: 31, md: 36 }, fontWeight: 400, letterSpacing: "-.04em", lineHeight: 1.06 }, children: node }) }),
|
|
3186
3353
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `article${index}Excerpt`, fallback: articlesDefaults[`article${index}Excerpt`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { mt: 2, color: palette.muted, fontSize: 14, lineHeight: 1.75 }, children: node }) }),
|
|
@@ -3213,12 +3380,12 @@ var galleryDefaults = {
|
|
|
3213
3380
|
};
|
|
3214
3381
|
function PropertyGalleryRenderer(props) {
|
|
3215
3382
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 4 }, () => ({}))).map((_, index) => index + 1);
|
|
3216
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3217
3384
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2, sx: { mb: 6 }, children: [
|
|
3218
3385
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: galleryDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: eyebrowSx, children: node }) }),
|
|
3219
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: galleryDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: headingSx, children: node }) })
|
|
3386
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: galleryDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", component: "h2", sx: headingSx, children: node }) })
|
|
3220
3387
|
] }),
|
|
3221
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "grid", gridTemplateColumns: { xs: "1fr", sm: "1fr 1fr", md: "repeat(3, 1fr)" }, gap: 2 }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { children: [
|
|
3388
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-card-grid-3", sx: { display: "grid", gridTemplateColumns: { xs: "1fr", sm: "1fr 1fr", md: "repeat(3, 1fr)" }, gap: 2 }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { children: [
|
|
3222
3389
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { aspectRatio: "4 / 3" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Image, { props, field: `image${index}`, fallback: galleryDefaults[`image${index}`], alt: "B\u1ED9 s\u01B0u t\u1EADp b\u1EA5t \u0111\u1ED9ng s\u1EA3n" }) }),
|
|
3223
3390
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `caption${index}`, fallback: galleryDefaults[`caption${index}`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { pt: 1, color: palette.muted, fontSize: 12 }, children: node }) })
|
|
3224
3391
|
] }, index)) })
|
|
@@ -3250,12 +3417,12 @@ var amenitiesDefaults = {
|
|
|
3250
3417
|
};
|
|
3251
3418
|
function AmenitiesRenderer(props) {
|
|
3252
3419
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 6 }, () => ({}))).map((_, index) => index + 1);
|
|
3253
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.dark, color: "#F7F2E8" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3420
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.dark, color: "#F7F2E8" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3254
3421
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2, sx: { mb: 6 }, children: [
|
|
3255
3422
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: amenitiesDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { ...eyebrowSx, color: "#D5B77E" }, children: node }) }),
|
|
3256
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: amenitiesDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: { ...headingSx, color: "#F7F2E8" }, children: node }) })
|
|
3423
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: amenitiesDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", component: "h2", sx: { ...headingSx, color: "#F7F2E8" }, children: node }) })
|
|
3257
3424
|
] }),
|
|
3258
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "grid", gridTemplateColumns: { xs: "1fr", sm: "1fr 1fr", md: "repeat(3, 1fr)" }, borderTop: "1px solid rgba(255,255,255,.16)", borderLeft: "1px solid rgba(255,255,255,.16)" }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { sx: { minHeight: 320, p: { xs: 2.5, md: 3.5 }, borderRight: "1px solid rgba(255,255,255,.16)", borderBottom: "1px solid rgba(255,255,255,.16)" }, children: [
|
|
3425
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-card-grid-3", sx: { display: "grid", gridTemplateColumns: { xs: "1fr", sm: "1fr 1fr", md: "repeat(3, 1fr)" }, borderTop: "1px solid rgba(255,255,255,.16)", borderLeft: "1px solid rgba(255,255,255,.16)" }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { className: "estate-amenity-card", sx: { minHeight: 320, p: { xs: 2.5, md: 3.5 }, borderRight: "1px solid rgba(255,255,255,.16)", borderBottom: "1px solid rgba(255,255,255,.16)" }, children: [
|
|
3259
3426
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { direction: "row", justifyContent: "space-between", children: [
|
|
3260
3427
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { color: "#C9AA72", fontFamily: "monospace", fontSize: 11 }, children: [
|
|
3261
3428
|
"0",
|
|
@@ -3293,12 +3460,12 @@ var testimonialsDefaults = {
|
|
|
3293
3460
|
};
|
|
3294
3461
|
function TestimonialsRenderer(props) {
|
|
3295
3462
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 3 }, () => ({}))).map((_, index) => index + 1);
|
|
3296
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.pale, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3463
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.pale, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto" }, children: [
|
|
3297
3464
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2, sx: { mb: 6 }, children: [
|
|
3298
3465
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: testimonialsDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: eyebrowSx, children: node }) }),
|
|
3299
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: testimonialsDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: headingSx, children: node }) })
|
|
3466
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: testimonialsDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", component: "h2", sx: headingSx, children: node }) })
|
|
3300
3467
|
] }),
|
|
3301
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "repeat(3, 1fr)" }, gap: 2 }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { sx: { minHeight: 340, p: 3, bgcolor: palette.cream, border: `1px solid ${palette.line}` }, children: [
|
|
3468
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-card-grid-3", sx: { display: "grid", gridTemplateColumns: { xs: "1fr", md: "repeat(3, 1fr)" }, gap: 2 }, children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { className: "estate-testimonial-card", sx: { minHeight: 340, p: 3, bgcolor: palette.cream, border: `1px solid ${palette.line}` }, children: [
|
|
3302
3469
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { color: "#A17C43", fontFamily: displayFont, fontSize: 40, lineHeight: 0.6 }, children: "\u201C" }),
|
|
3303
3470
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `quote${index}`, fallback: testimonialsDefaults[`quote${index}`], children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { mt: 3, fontFamily: displayFont, fontSize: 25, letterSpacing: "-.025em", lineHeight: 1.3 }, children: node }) }),
|
|
3304
3471
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { mt: "auto", pt: 3 }, children: [
|
|
@@ -3330,10 +3497,10 @@ var faqDefaults = {
|
|
|
3330
3497
|
};
|
|
3331
3498
|
function FAQRenderer(props) {
|
|
3332
3499
|
const listIndexes = cmsListItems(props.content, Array.from({ length: 4 }, () => ({}))).map((_, index) => index + 1);
|
|
3333
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", maxWidth: 1376, mx: "auto", gap: { xs: 4, md: 10 }, gridTemplateColumns: { xs: "1fr", md: ".72fr 1.28fr" } }, children: [
|
|
3500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, ...sectionSx, bgcolor: palette.cream, color: palette.ink }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container estate-split", sx: { display: "grid", maxWidth: 1376, mx: "auto", gap: { xs: 4, md: 10 }, gridTemplateColumns: { xs: "1fr", md: ".72fr 1.28fr" } }, children: [
|
|
3334
3501
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { spacing: 2, children: [
|
|
3335
3502
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: faqDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: eyebrowSx, children: node }) }),
|
|
3336
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: faqDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: { ...headingSx, fontSize: { xs: 38, md: 56 } }, children: node }) })
|
|
3503
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: faqDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", component: "h2", sx: { ...headingSx, fontSize: { xs: 38, md: 56 } }, children: node }) })
|
|
3337
3504
|
] }),
|
|
3338
3505
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { children: listIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { py: 2.5, borderTop: `1px solid ${palette.line}`, ...index === listIndexes.length && { borderBottom: `1px solid ${palette.line}` } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { direction: "row", spacing: 2, children: [
|
|
3339
3506
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { color: palette.gold, fontFamily: "monospace", fontSize: 11, pt: 0.5 }, children: [
|
|
@@ -3365,14 +3532,14 @@ var contactDefaults = {
|
|
|
3365
3532
|
secondaryUrl: "tel:+842873002288"
|
|
3366
3533
|
};
|
|
3367
3534
|
function EstateContactRenderer(props) {
|
|
3368
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { component: "section", sx: { position: "relative", overflow: "hidden", px: { xs: 2, md: 4 }, py: { xs: 9, md: 14 }, bgcolor: "#9A7945", color: palette.ink }, children: [
|
|
3535
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { component: "section", sx: { ...estateResponsiveSx, position: "relative", overflow: "hidden", px: { xs: 2, md: 4 }, py: { xs: 9, md: 14 }, bgcolor: "#9A7945", color: palette.ink }, children: [
|
|
3369
3536
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { position: "absolute", inset: "0 0 0 auto", width: "68%", opacity: 0.35, background: "repeating-radial-gradient(circle at 85% 50%, transparent 0 48px, rgba(23,32,27,.25) 49px 50px)" } }),
|
|
3370
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { position: "relative", maxWidth: 1376, mx: "auto" }, children: [
|
|
3537
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { position: "relative", maxWidth: 1376, mx: "auto" }, children: [
|
|
3371
3538
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "eyebrow", fallback: contactDefaults.eyebrow, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { ...outlinedEyebrowSx, color: "rgba(23,32,25,.78)" }, children: node }) }),
|
|
3372
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: contactDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "h2", sx: { maxWidth: 1160, mt: 3, fontFamily: displayFont, fontSize: { xs: 54, md: 112 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.88, textWrap: "balance" }, children: node }) }),
|
|
3373
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", maxWidth: 980, mt: 4, pt: 3, borderTop: "1px solid rgba(23,32,25,.28)", gap: 3, gridTemplateColumns: { xs: "1fr", md: "1fr auto" }, alignItems: "end" }, children: [
|
|
3539
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "heading", fallback: contactDefaults.heading, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-xl", component: "h2", sx: { maxWidth: 1160, mt: 3, fontFamily: displayFont, fontSize: { xs: 54, md: 112 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.88, textWrap: "balance" }, children: node }) }),
|
|
3540
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-split", sx: { display: "grid", maxWidth: 980, mt: 4, pt: 3, borderTop: "1px solid rgba(23,32,25,.28)", gap: 3, gridTemplateColumns: { xs: "1fr", md: "1fr auto" }, alignItems: "end" }, children: [
|
|
3374
3541
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "body", fallback: contactDefaults.body, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { maxWidth: 600, color: "rgba(23,32,25,.76)", fontSize: 16, lineHeight: 1.75 }, children: node }) }),
|
|
3375
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { direction: { xs: "column", sm: "row" }, spacing: 1.25, children: [
|
|
3542
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { className: "estate-actions", direction: { xs: "column", sm: "row" }, spacing: 1.25, children: [
|
|
3376
3543
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Button5.default, { component: "a", href: String(value4(props.content, "primaryUrl", contactDefaults.primaryUrl)), sx: { minHeight: 50, borderRadius: 99, px: 2.5, bgcolor: palette.ink, color: "white", fontSize: 11, fontWeight: 800, letterSpacing: ".1em", "&:hover": { bgcolor: palette.pale, color: palette.ink } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "primaryLabel", fallback: contactDefaults.primaryLabel, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
3377
3544
|
node,
|
|
3378
3545
|
" \u2197"
|
|
@@ -3396,7 +3563,7 @@ var estateContactBlock = {
|
|
|
3396
3563
|
Renderer: EstateContactRenderer
|
|
3397
3564
|
};
|
|
3398
3565
|
var headerDefaults = {
|
|
3399
|
-
|
|
3566
|
+
logo: wikex_estates_logo_default,
|
|
3400
3567
|
nav1Label: "V\u1EC1 Wikex Estates",
|
|
3401
3568
|
nav1Url: "#gioi-thieu",
|
|
3402
3569
|
nav2Label: "D\u1ECBch v\u1EE5",
|
|
@@ -3409,8 +3576,8 @@ var headerDefaults = {
|
|
|
3409
3576
|
ctaUrl: "#lien-he"
|
|
3410
3577
|
};
|
|
3411
3578
|
function EstateHeaderRenderer(props) {
|
|
3412
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "header", sx: {
|
|
3413
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
3579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { component: "header", sx: { ...estateResponsiveSx, position: "relative", zIndex: 10, borderBottom: "1px solid rgba(255,255,255,.16)", bgcolor: palette.dark, color: "white", px: { xs: 2, md: 4 } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-container", sx: { display: "flex", minHeight: { xs: 76, md: 96 }, maxWidth: 1376, mx: "auto", alignItems: "center", justifyContent: "space-between", gap: 2 }, children: [
|
|
3580
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(EstateLogo, { props, fallback: headerDefaults.logo }),
|
|
3414
3581
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { component: "nav", direction: "row", spacing: { md: 3, lg: 4 }, sx: { alignItems: "center", "@container (max-width: 767px)": { display: "none" } }, children: [
|
|
3415
3582
|
[1, 2, 3, 4].map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Button5.default, { component: "a", href: String(value4(props.content, `nav${index}Url`, headerDefaults[`nav${index}Url`])), sx: { minWidth: 0, p: 0, color: "inherit", fontSize: 12, fontWeight: 600, textTransform: "none", "&:hover": { bgcolor: "transparent", opacity: 0.6 } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `nav${index}Label`, fallback: headerDefaults[`nav${index}Label`], children: (node) => node }) }, index)),
|
|
3416
3583
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Button5.default, { component: "a", href: String(value4(props.content, "ctaUrl", headerDefaults.ctaUrl)), sx: { minHeight: 42, borderRadius: 99, px: 2, bgcolor: "#C2A268", color: palette.ink, fontSize: 11, fontWeight: 800, letterSpacing: ".08em" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "ctaLabel", fallback: headerDefaults.ctaLabel, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
@@ -3423,7 +3590,7 @@ function EstateHeaderRenderer(props) {
|
|
|
3423
3590
|
}
|
|
3424
3591
|
var estateHeaderBlock = {
|
|
3425
3592
|
definition: definition("estate-header", "Header Wikex Estates", "Thanh \u0111i\u1EC1u h\u01B0\u1EDBng t\u1ED1i, CTA v\xE0ng cho landing page b\u1EA5t \u0111\u1ED9ng s\u1EA3n.", "menu", fields(
|
|
3426
|
-
|
|
3593
|
+
imageField("logo", "Logo th\u01B0\u01A1ng hi\u1EC7u"),
|
|
3427
3594
|
...[1, 2, 3, 4].flatMap((index) => [textField(`nav${index}Label`, "Nh\xE3n menu", `\u0110i\u1EC1u h\u01B0\u1EDBng ${index}`), textField(`nav${index}Url`, "\u0110\u01B0\u1EDDng d\u1EABn", `\u0110i\u1EC1u h\u01B0\u1EDBng ${index}`)]),
|
|
3428
3595
|
textField("ctaLabel", "Nh\xE3n CTA", "Li\xEAn k\u1EBFt"),
|
|
3429
3596
|
textField("ctaUrl", "\u0110\u01B0\u1EDDng d\u1EABn CTA", "Li\xEAn k\u1EBFt")
|
|
@@ -3431,7 +3598,7 @@ var estateHeaderBlock = {
|
|
|
3431
3598
|
Renderer: EstateHeaderRenderer
|
|
3432
3599
|
};
|
|
3433
3600
|
var footerDefaults = {
|
|
3434
|
-
|
|
3601
|
+
logo: wikex_estates_logo_default,
|
|
3435
3602
|
statement: "Ki\u1EBFn t\u1EA1o n\u01A1i ch\u1ED1n mang d\u1EA5u \u1EA5n ri\xEAng v\xE0 gi\xE1 tr\u1ECB b\u1EC1n v\u1EEFng theo th\u1EDDi gian.",
|
|
3436
3603
|
email: "hello@wikex.vn",
|
|
3437
3604
|
nav1Label: "V\u1EC1 Wikex Estates",
|
|
@@ -3447,17 +3614,17 @@ var footerDefaults = {
|
|
|
3447
3614
|
copyright: "\xA9 2026 Wikex Estates. B\u1EA3o l\u01B0u m\u1ECDi quy\u1EC1n."
|
|
3448
3615
|
};
|
|
3449
3616
|
function EstateFooterRenderer(props) {
|
|
3450
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { component: "footer", sx: { px: { xs: 2, md: 4 }, bgcolor: palette.dark, color: "#F3EFE6" }, children: [
|
|
3451
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { maxWidth: 1376, mx: "auto", py: { xs: 8, md: 12 } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", gap: { xs: 6, md: 8 }, gridTemplateColumns: { xs: "1fr", md: "1.3fr .7fr" } }, children: [
|
|
3617
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { component: "footer", sx: { ...estateResponsiveSx, px: { xs: 2, md: 4 }, bgcolor: palette.dark, color: "#F3EFE6" }, children: [
|
|
3618
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-container", sx: { maxWidth: 1376, mx: "auto", py: { xs: 8, md: 12 } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-split", sx: { display: "grid", gap: { xs: 6, md: 8 }, gridTemplateColumns: { xs: "1fr", md: "1.3fr .7fr" } }, children: [
|
|
3452
3619
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { alignItems: "flex-start", spacing: 3, children: [
|
|
3453
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
3454
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "statement", fallback: footerDefaults.statement, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { maxWidth: 680, fontFamily: displayFont, fontSize: { xs: 36, md: 52 }, letterSpacing: "-.04em", lineHeight: 1.08 }, children: node }) }),
|
|
3620
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(EstateLogo, { props, fallback: footerDefaults.logo }),
|
|
3621
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "statement", fallback: footerDefaults.statement, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-display-md", sx: { maxWidth: 680, fontFamily: displayFont, fontSize: { xs: 36, md: 52 }, letterSpacing: "-.04em", lineHeight: 1.08 }, children: node }) }),
|
|
3455
3622
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Button5.default, { component: "a", href: `mailto:${String(value4(props.content, "email", footerDefaults.email))}`, sx: { p: 0, borderBottom: "1px solid rgba(185,149,88,.62)", borderRadius: 0, color: "#D7BD8A", fontSize: 13, textTransform: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "email", fallback: footerDefaults.email, children: (node) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
3456
3623
|
node,
|
|
3457
3624
|
" \u2197"
|
|
3458
3625
|
] }) }) })
|
|
3459
3626
|
] }),
|
|
3460
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { sx: { display: "grid", gap: 4, gridTemplateColumns: "1fr 1fr" }, children: [
|
|
3627
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Box5.default, { className: "estate-footer-links", sx: { display: "grid", gap: 4, gridTemplateColumns: "1fr 1fr" }, children: [
|
|
3461
3628
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_Stack3.default, { component: "nav", alignItems: "flex-start", spacing: 1.2, children: [
|
|
3462
3629
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { mb: 1, color: "#D7BD8A", fontSize: 10, fontWeight: 800, letterSpacing: ".2em" }, children: "KH\xC1M PH\xC1" }),
|
|
3463
3630
|
[1, 2, 3, 4].map((index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Button5.default, { component: "a", href: String(value4(props.content, `nav${index}Url`, footerDefaults[`nav${index}Url`])), sx: { minWidth: 0, p: 0, color: "rgba(255,255,255,.66)", fontSize: 13, textTransform: "none", "&:hover": { bgcolor: "transparent", color: "#D7BD8A" } }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: `nav${index}Label`, fallback: footerDefaults[`nav${index}Label`], children: (node) => node }) }, index))
|
|
@@ -3469,12 +3636,12 @@ function EstateFooterRenderer(props) {
|
|
|
3469
3636
|
] })
|
|
3470
3637
|
] })
|
|
3471
3638
|
] }) }),
|
|
3472
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { sx: { display: "flex", maxWidth: 1376, mx: "auto", py: 2.25, borderTop: "1px solid rgba(255,255,255,.1)", color: "rgba(255,255,255,.45)", fontSize: 10, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "copyright", fallback: footerDefaults.copyright, children: (node) => node }) })
|
|
3639
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_Box5.default, { className: "estate-container", sx: { display: "flex", maxWidth: 1376, mx: "auto", py: 2.25, borderTop: "1px solid rgba(255,255,255,.1)", color: "rgba(255,255,255,.45)", fontSize: 10, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Text, { props, field: "copyright", fallback: footerDefaults.copyright, children: (node) => node }) })
|
|
3473
3640
|
] });
|
|
3474
3641
|
}
|
|
3475
3642
|
var estateFooterBlock = {
|
|
3476
3643
|
definition: definition("estate-footer", "Footer Wikex Estates", "Footer t\u1ED1i v\u1EDBi gi\u1EDBi thi\u1EC7u th\u01B0\u01A1ng hi\u1EC7u, li\xEAn h\u1EC7 v\xE0 \u0111i\u1EC1u h\u01B0\u1EDBng.", "footer", fields(
|
|
3477
|
-
|
|
3644
|
+
imageField("logo", "Logo th\u01B0\u01A1ng hi\u1EC7u"),
|
|
3478
3645
|
paragraphField("statement", "Th\xF4ng \u0111i\u1EC7p"),
|
|
3479
3646
|
textField("email", "Email"),
|
|
3480
3647
|
...[1, 2, 3, 4].flatMap((index) => [textField(`nav${index}Label`, "Nh\xE3n menu", `\u0110i\u1EC1u h\u01B0\u1EDBng ${index}`), textField(`nav${index}Url`, "\u0110\u01B0\u1EDDng d\u1EABn", `\u0110i\u1EC1u h\u01B0\u1EDBng ${index}`)]),
|
|
@@ -3505,7 +3672,6 @@ var estateBlocks = [
|
|
|
3505
3672
|
var import_react5 = require("react");
|
|
3506
3673
|
var import_Box6 = __toESM(require("@mui/material/Box"));
|
|
3507
3674
|
var import_Button6 = __toESM(require("@mui/material/Button"));
|
|
3508
|
-
var import_Chip2 = __toESM(require("@mui/material/Chip"));
|
|
3509
3675
|
var import_GlobalStyles2 = __toESM(require("@mui/material/GlobalStyles"));
|
|
3510
3676
|
var import_Stack4 = __toESM(require("@mui/material/Stack"));
|
|
3511
3677
|
var import_TextField2 = __toESM(require("@mui/material/TextField"));
|
|
@@ -3521,6 +3687,54 @@ var palette2 = {
|
|
|
3521
3687
|
};
|
|
3522
3688
|
var displayFont2 = "'Wikex Playfair', Georgia, serif";
|
|
3523
3689
|
var containerSx = { maxWidth: 1376, mx: "auto", px: { xs: 2, md: 4 } };
|
|
3690
|
+
var estateResponsiveSx2 = {
|
|
3691
|
+
containerType: "inline-size",
|
|
3692
|
+
minWidth: 0,
|
|
3693
|
+
overflowX: "clip",
|
|
3694
|
+
"& .estate-container, & .estate-split, & .estate-card-grid, & .estate-feature-card, & .estate-filter-layout, & .estate-list-row": {
|
|
3695
|
+
minWidth: 0
|
|
3696
|
+
},
|
|
3697
|
+
"& .estate-display-xl, & .estate-display-lg, & .estate-display-md, & .estate-card-title, & .estate-list-title": {
|
|
3698
|
+
overflowWrap: "anywhere"
|
|
3699
|
+
},
|
|
3700
|
+
"@container (max-width: 899px)": {
|
|
3701
|
+
"& .estate-split, & .estate-card-grid, & .estate-filter-layout": {
|
|
3702
|
+
gridTemplateColumns: "minmax(0, 1fr)"
|
|
3703
|
+
},
|
|
3704
|
+
"& .estate-feature-card": {
|
|
3705
|
+
gridColumn: "auto",
|
|
3706
|
+
gridTemplateColumns: "minmax(0, 1fr)"
|
|
3707
|
+
},
|
|
3708
|
+
"& .estate-card-image": { height: 360 },
|
|
3709
|
+
"& .estate-detail-hero, & .estate-detail-hero-content": { minHeight: 700 },
|
|
3710
|
+
"& .estate-gallery-image": { order: 1, minHeight: 400 },
|
|
3711
|
+
"& .estate-gallery-copy": { order: 2 },
|
|
3712
|
+
"& .estate-list-row": {
|
|
3713
|
+
gap: "12px",
|
|
3714
|
+
gridTemplateColumns: "30px 96px minmax(0, 1fr)"
|
|
3715
|
+
},
|
|
3716
|
+
"& .estate-desktop-meta": { display: "none" }
|
|
3717
|
+
},
|
|
3718
|
+
"@container (max-width: 599px)": {
|
|
3719
|
+
"& .estate-container": { px: 2 },
|
|
3720
|
+
"& .estate-display-xl": { fontSize: 46, lineHeight: 0.92 },
|
|
3721
|
+
"& .estate-display-lg": { fontSize: 40, lineHeight: 0.96 },
|
|
3722
|
+
"& .estate-display-md": { fontSize: 36, lineHeight: 1 },
|
|
3723
|
+
"& .estate-card-title": { fontSize: 34, lineHeight: 1 },
|
|
3724
|
+
"& .estate-card-image": { height: 280 },
|
|
3725
|
+
"& .estate-detail-hero, & .estate-detail-hero-content": { minHeight: 620 },
|
|
3726
|
+
"& .estate-detail-hero-content": { pt: 12, pb: 6 },
|
|
3727
|
+
"& .estate-gallery-image": { minHeight: 280 },
|
|
3728
|
+
"& .estate-filter-options > button": { flex: "1 1 calc(50% - 6px)", px: 1 },
|
|
3729
|
+
"& .estate-list-row": {
|
|
3730
|
+
gap: "8px",
|
|
3731
|
+
gridTemplateColumns: "24px 68px minmax(0, 1fr)"
|
|
3732
|
+
},
|
|
3733
|
+
"& .estate-list-title": { fontSize: 20, lineHeight: 1.05 },
|
|
3734
|
+
"& .estate-meta-grid": { gridTemplateColumns: "minmax(0, 1fr)" },
|
|
3735
|
+
"& .estate-action-button": { width: "100%" }
|
|
3736
|
+
}
|
|
3737
|
+
};
|
|
3524
3738
|
function EstateProjectFonts() {
|
|
3525
3739
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3526
3740
|
import_GlobalStyles2.default,
|
|
@@ -3547,11 +3761,13 @@ function Text2({
|
|
|
3547
3761
|
field,
|
|
3548
3762
|
fallback,
|
|
3549
3763
|
sx,
|
|
3550
|
-
component
|
|
3764
|
+
component,
|
|
3765
|
+
className
|
|
3551
3766
|
}) {
|
|
3552
3767
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3553
3768
|
EditableText,
|
|
3554
3769
|
{
|
|
3770
|
+
className,
|
|
3555
3771
|
component,
|
|
3556
3772
|
editable: isEditable2(props, field),
|
|
3557
3773
|
field,
|
|
@@ -3645,6 +3861,41 @@ function archiveProjects(props) {
|
|
|
3645
3861
|
}));
|
|
3646
3862
|
return cmsListItems(props.content, legacy);
|
|
3647
3863
|
}
|
|
3864
|
+
function AddProjectButton({ onAdd }) {
|
|
3865
|
+
if (!onAdd) return null;
|
|
3866
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3867
|
+
import_Button6.default,
|
|
3868
|
+
{
|
|
3869
|
+
type: "button",
|
|
3870
|
+
size: "small",
|
|
3871
|
+
variant: "contained",
|
|
3872
|
+
onClick: (event) => {
|
|
3873
|
+
event.preventDefault();
|
|
3874
|
+
event.stopPropagation();
|
|
3875
|
+
onAdd();
|
|
3876
|
+
},
|
|
3877
|
+
sx: {
|
|
3878
|
+
minHeight: 38,
|
|
3879
|
+
px: 2,
|
|
3880
|
+
border: `1px solid ${palette2.dark}`,
|
|
3881
|
+
borderRadius: 0,
|
|
3882
|
+
bgcolor: palette2.dark,
|
|
3883
|
+
color: "#F8F5EF",
|
|
3884
|
+
boxShadow: "none",
|
|
3885
|
+
fontSize: 10,
|
|
3886
|
+
fontWeight: 800,
|
|
3887
|
+
letterSpacing: ".08em",
|
|
3888
|
+
textTransform: "uppercase",
|
|
3889
|
+
"&:hover": { borderColor: "#28372C", bgcolor: "#28372C", boxShadow: "none" },
|
|
3890
|
+
"&.Mui-focusVisible": {
|
|
3891
|
+
outline: `2px solid ${palette2.gold}`,
|
|
3892
|
+
outlineOffset: 2
|
|
3893
|
+
}
|
|
3894
|
+
},
|
|
3895
|
+
children: "+ Th\xEAm d\u1EF1 \xE1n"
|
|
3896
|
+
}
|
|
3897
|
+
);
|
|
3898
|
+
}
|
|
3648
3899
|
function EstateProjectsArchiveRenderer(props) {
|
|
3649
3900
|
const [query, setQuery] = (0, import_react5.useState)("");
|
|
3650
3901
|
const [filter, setFilter] = (0, import_react5.useState)("T\u1EA5t c\u1EA3");
|
|
@@ -3654,25 +3905,25 @@ function EstateProjectsArchiveRenderer(props) {
|
|
|
3654
3905
|
const search = query.trim().toLocaleLowerCase("vi");
|
|
3655
3906
|
return projects.filter((project) => (filter === "T\u1EA5t c\u1EA3" || project.type === filter) && (!search || [project.title, project.location, project.client, project.scope].join(" ").toLocaleLowerCase("vi").includes(search)));
|
|
3656
3907
|
}, [filter, projects, query]);
|
|
3657
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { bgcolor: palette2.cream, color: palette2.ink }, children: [
|
|
3908
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...estateResponsiveSx2, bgcolor: palette2.cream, color: palette2.ink }, children: [
|
|
3658
3909
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
3659
3910
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { position: "relative", overflow: "hidden", py: { xs: 12, md: 18 }, bgcolor: palette2.dark, color: "#F8F5EF" }, children: [
|
|
3660
3911
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { position: "absolute", inset: 0, opacity: 0.14, backgroundImage: "linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px)", backgroundSize: "25% 100%, 100% 25%" } }),
|
|
3661
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...containerSx, position: "relative", display: "grid", gap: { xs: 4, md: 8 }, alignItems: "end", gridTemplateColumns: { xs: "1fr", md: "1.35fr .65fr" } }, children: [
|
|
3912
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container estate-split", sx: { ...containerSx, position: "relative", display: "grid", gap: { xs: 4, md: 8 }, alignItems: "end", gridTemplateColumns: { xs: "1fr", md: "1.35fr .65fr" } }, children: [
|
|
3662
3913
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { children: [
|
|
3663
3914
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "eyebrow", fallback: archiveDefaults.eyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
3664
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "heading", fallback: archiveDefaults.heading, component: "h1", sx: { maxWidth: 940, mt: 3, fontFamily: displayFont2, fontSize: { xs: 56, md: 112 }, fontWeight: 400, letterSpacing: "-.065em", lineHeight: 0.9, textWrap: "balance" } })
|
|
3915
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-xl", props, field: "heading", fallback: archiveDefaults.heading, component: "h1", sx: { maxWidth: 940, mt: 3, fontFamily: displayFont2, fontSize: { xs: 56, md: 112 }, fontWeight: 400, letterSpacing: "-.065em", lineHeight: 0.9, textWrap: "balance" } })
|
|
3665
3916
|
] }),
|
|
3666
3917
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "intro", fallback: archiveDefaults.intro, sx: { m: 0, pt: 2, borderTop: "1px solid rgba(255,255,255,.22)", color: "rgba(255,255,255,.68)", fontFamily: "'Wikex Inter', Arial, sans-serif", fontSize: 16, lineHeight: 1.75 } })
|
|
3667
3918
|
] })
|
|
3668
3919
|
] }),
|
|
3669
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...containerSx, py: { xs: 6, md: 9 } }, children: [
|
|
3920
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", className: "estate-container", sx: { ...containerSx, py: { xs: 6, md: 9 } }, children: [
|
|
3670
3921
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "flex", justifyContent: "space-between", alignItems: { xs: "flex-start", md: "flex-end" }, flexDirection: { xs: "column", md: "row" }, gap: 2, mb: { xs: 3, md: 4 } }, children: [
|
|
3671
3922
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "catalogEyebrow", fallback: archiveDefaults.catalogEyebrow, sx: eyebrowSx2 }),
|
|
3672
3923
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "catalogIntro", fallback: archiveDefaults.catalogIntro, sx: { maxWidth: 470, color: palette2.muted, fontSize: 15, lineHeight: 1.7 } })
|
|
3673
3924
|
] }),
|
|
3674
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { display: "grid", gap: 2, gridTemplateColumns: { xs: "1fr", md: "repeat(2, minmax(0, 1fr))" } }, children: projects.map((project, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "grid", overflow: "hidden", border: `1px solid ${palette2.line}`, bgcolor: palette2.pale, gridColumn: { md: index === 0 ? "1 / -1" : "auto" }, gridTemplateColumns: { xs: "1fr", md: index === 0 ? "1.1fr .9fr" : "1fr" } }, children: [
|
|
3675
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { position: "relative",
|
|
3925
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-card-grid", sx: { display: "grid", gap: 2, gridTemplateColumns: { xs: "1fr", md: "repeat(2, minmax(0, 1fr))" } }, children: projects.map((project, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-feature-card", sx: { display: "grid", overflow: "hidden", border: `1px solid ${palette2.line}`, bgcolor: palette2.pale, gridColumn: { md: index === 0 ? "1 / -1" : "auto" }, gridTemplateColumns: { xs: "1fr", md: index === 0 ? "1.1fr .9fr" : "1fr" } }, children: [
|
|
3926
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-card-image", sx: { position: "relative", height: { xs: 300, sm: 380, md: index === 0 ? 540 : 360 } }, children: [
|
|
3676
3927
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: `project${index + 1}Image`, fallback: project.image, alt: project.title }),
|
|
3677
3928
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { position: "absolute", top: 18, left: 18, px: 1, py: 0.65, border: "1px solid rgba(255,255,255,.44)", bgcolor: "rgba(23,32,25,.45)", color: "white", fontFamily: "monospace", fontSize: 11 }, children: [
|
|
3678
3929
|
"0",
|
|
@@ -3682,9 +3933,9 @@ function EstateProjectsArchiveRenderer(props) {
|
|
|
3682
3933
|
] }),
|
|
3683
3934
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { sx: { p: { xs: 2.5, md: index === 0 ? 5 : 3 }, alignItems: "flex-start" }, spacing: 2, children: [
|
|
3684
3935
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Type`, fallback: project.type, sx: { color: palette2.gold, fontSize: 10, fontWeight: 700, letterSpacing: ".15em", textTransform: "uppercase" } }),
|
|
3685
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Title`, fallback: project.title, component: "h2", sx: { fontFamily: displayFont2, fontSize: { xs: 36, md: index === 0 ? 68 : 44 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 0.98 } }),
|
|
3936
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-card-title", props, field: `project${index + 1}Title`, fallback: project.title, component: "h2", sx: { fontFamily: displayFont2, fontSize: { xs: 36, md: index === 0 ? 68 : 44 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 0.98 } }),
|
|
3686
3937
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Summary`, fallback: project.summary, sx: { color: palette2.muted, fontSize: 14, lineHeight: 1.72 } }),
|
|
3687
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { width: 1, pt: 1.5, borderTop: `1px solid ${palette2.line}`, display: "grid", gap: 1, gridTemplateColumns: "1fr 1fr" }, children: [
|
|
3938
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-meta-grid", sx: { width: 1, pt: 1.5, borderTop: `1px solid ${palette2.line}`, display: "grid", gap: 1, gridTemplateColumns: "1fr 1fr" }, children: [
|
|
3688
3939
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { spacing: 0.4, children: [
|
|
3689
3940
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { color: palette2.muted, fontSize: 9, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: "\u0110\u1ECBa \u0111i\u1EC3m" }),
|
|
3690
3941
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Location`, fallback: project.location, sx: { fontSize: 12, fontWeight: 700 } })
|
|
@@ -3696,49 +3947,284 @@ function EstateProjectsArchiveRenderer(props) {
|
|
|
3696
3947
|
] }),
|
|
3697
3948
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Button6.default, { endIcon: "\u2197", sx: { mt: "auto", px: 0, color: "#795B2D", fontSize: 11, fontWeight: 800, letterSpacing: ".11em" }, children: "XEM H\u1ED2 S\u01A0" })
|
|
3698
3949
|
] })
|
|
3699
|
-
] }, project.title)) })
|
|
3950
|
+
] }, project.title)) }),
|
|
3951
|
+
props.editable && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { display: "flex", justifyContent: "flex-end", mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AddProjectButton, { onAdd: props.onAddListItem }) })
|
|
3700
3952
|
] }),
|
|
3701
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "section", sx: { py: { xs: 8, md: 12 }, borderTop: `1px solid ${palette2.line}`, bgcolor: palette2.pale }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: containerSx, children: [
|
|
3702
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "grid", gap: { xs: 3, md: 7 }, alignItems: "end", gridTemplateColumns: { xs: "1fr", md: "1.25fr .75fr" } }, children: [
|
|
3953
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "section", sx: { py: { xs: 8, md: 12 }, borderTop: `1px solid ${palette2.line}`, bgcolor: palette2.pale }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container", sx: containerSx, children: [
|
|
3954
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-split", sx: { display: "grid", gap: { xs: 3, md: 7 }, alignItems: "end", gridTemplateColumns: { xs: "1fr", md: "1.25fr .75fr" } }, children: [
|
|
3703
3955
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { children: [
|
|
3704
3956
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "explorerEyebrow", fallback: archiveDefaults.explorerEyebrow, sx: eyebrowSx2 }),
|
|
3705
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "explorerHeading", fallback: archiveDefaults.explorerHeading, component: "h2", sx: { maxWidth: 760, mt: 3, fontFamily: displayFont2, fontSize: { xs: 44, md: 78 }, fontWeight: 400, letterSpacing: "-.055em", lineHeight: 0.94 } })
|
|
3957
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "explorerHeading", fallback: archiveDefaults.explorerHeading, component: "h2", sx: { maxWidth: 760, mt: 3, fontFamily: displayFont2, fontSize: { xs: 44, md: 78 }, fontWeight: 400, letterSpacing: "-.055em", lineHeight: 0.94 } })
|
|
3706
3958
|
] }),
|
|
3707
3959
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "explorerIntro", fallback: archiveDefaults.explorerIntro, sx: { color: palette2.muted, fontSize: 15, lineHeight: 1.75 } })
|
|
3708
3960
|
] }),
|
|
3709
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
3710
|
-
|
|
3711
|
-
|
|
3961
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
3962
|
+
import_Box6.default,
|
|
3963
|
+
{
|
|
3964
|
+
className: "estate-filter-layout",
|
|
3965
|
+
sx: {
|
|
3966
|
+
display: "grid",
|
|
3967
|
+
mt: { xs: 4, md: 6 },
|
|
3968
|
+
gap: 1.5,
|
|
3969
|
+
gridTemplateColumns: { xs: "1fr", md: "minmax(260px, .6fr) 1.4fr" }
|
|
3970
|
+
},
|
|
3971
|
+
children: [
|
|
3972
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3973
|
+
import_TextField2.default,
|
|
3974
|
+
{
|
|
3975
|
+
size: "small",
|
|
3976
|
+
value: query,
|
|
3977
|
+
onChange: (event) => setQuery(event.target.value),
|
|
3978
|
+
placeholder: "T\xECm theo t\xEAn, \u0111\u1ECBa \u0111i\u1EC3m...",
|
|
3979
|
+
InputProps: {
|
|
3980
|
+
startAdornment: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { mr: 1, color: palette2.gold, fontSize: 20, lineHeight: 1 }, children: "\u2315" }),
|
|
3981
|
+
sx: {
|
|
3982
|
+
height: 40,
|
|
3983
|
+
borderRadius: 0,
|
|
3984
|
+
bgcolor: palette2.cream,
|
|
3985
|
+
fontSize: 13,
|
|
3986
|
+
"& fieldset": { borderColor: palette2.line },
|
|
3987
|
+
"&:hover fieldset": { borderColor: palette2.gold }
|
|
3988
|
+
}
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
),
|
|
3992
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
3993
|
+
import_Stack4.default,
|
|
3994
|
+
{
|
|
3995
|
+
className: "estate-filter-options",
|
|
3996
|
+
direction: "row",
|
|
3997
|
+
spacing: 0.75,
|
|
3998
|
+
useFlexGap: true,
|
|
3999
|
+
sx: { flexWrap: "wrap", alignItems: "center" },
|
|
4000
|
+
children: filters.map((item) => {
|
|
4001
|
+
const active = filter === item;
|
|
4002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
4003
|
+
import_Box6.default,
|
|
4004
|
+
{
|
|
4005
|
+
component: "button",
|
|
4006
|
+
type: "button",
|
|
4007
|
+
"aria-pressed": active,
|
|
4008
|
+
onClick: () => setFilter(item),
|
|
4009
|
+
sx: {
|
|
4010
|
+
appearance: "none",
|
|
4011
|
+
cursor: "pointer",
|
|
4012
|
+
minWidth: 0,
|
|
4013
|
+
minHeight: 40,
|
|
4014
|
+
px: 1.5,
|
|
4015
|
+
border: `1px solid ${active ? palette2.dark : palette2.line}`,
|
|
4016
|
+
borderRadius: 0,
|
|
4017
|
+
bgcolor: active ? palette2.dark : "transparent",
|
|
4018
|
+
color: active ? "#F8F5EF" : palette2.muted,
|
|
4019
|
+
fontFamily: "inherit",
|
|
4020
|
+
fontSize: 10,
|
|
4021
|
+
fontWeight: 700,
|
|
4022
|
+
letterSpacing: ".08em",
|
|
4023
|
+
lineHeight: 1.2,
|
|
4024
|
+
whiteSpace: "nowrap",
|
|
4025
|
+
textTransform: "uppercase",
|
|
4026
|
+
"&:hover": {
|
|
4027
|
+
borderColor: active ? palette2.dark : palette2.gold,
|
|
4028
|
+
bgcolor: active ? "#28372C" : "rgba(150, 115, 61, 0.08)"
|
|
4029
|
+
},
|
|
4030
|
+
"&.Mui-focusVisible": {
|
|
4031
|
+
outline: `2px solid ${palette2.gold}`,
|
|
4032
|
+
outlineOffset: 2
|
|
4033
|
+
}
|
|
4034
|
+
},
|
|
4035
|
+
children: item
|
|
4036
|
+
},
|
|
4037
|
+
item
|
|
4038
|
+
);
|
|
4039
|
+
})
|
|
4040
|
+
}
|
|
4041
|
+
)
|
|
4042
|
+
]
|
|
4043
|
+
}
|
|
4044
|
+
),
|
|
4045
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4046
|
+
import_Box6.default,
|
|
4047
|
+
{
|
|
4048
|
+
sx: {
|
|
4049
|
+
display: "flex",
|
|
4050
|
+
alignItems: "center",
|
|
4051
|
+
justifyContent: "space-between",
|
|
4052
|
+
flexWrap: "wrap",
|
|
4053
|
+
gap: 1.5,
|
|
4054
|
+
mt: 3,
|
|
4055
|
+
pb: 1.25,
|
|
4056
|
+
borderBottom: `1px solid ${palette2.line}`
|
|
4057
|
+
},
|
|
4058
|
+
children: [
|
|
4059
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4060
|
+
import_Box6.default,
|
|
4061
|
+
{
|
|
4062
|
+
sx: {
|
|
4063
|
+
color: palette2.muted,
|
|
4064
|
+
fontSize: 10,
|
|
4065
|
+
fontWeight: 700,
|
|
4066
|
+
letterSpacing: ".12em",
|
|
4067
|
+
textTransform: "uppercase"
|
|
4068
|
+
},
|
|
4069
|
+
children: [
|
|
4070
|
+
String(filtered.length).padStart(2, "0"),
|
|
4071
|
+
" c\xF4ng tr\xECnh \u0111\u01B0\u1EE3c t\xECm th\u1EA5y"
|
|
4072
|
+
]
|
|
4073
|
+
}
|
|
4074
|
+
),
|
|
4075
|
+
filter !== "T\u1EA5t c\u1EA3" && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4076
|
+
import_Box6.default,
|
|
4077
|
+
{
|
|
4078
|
+
sx: {
|
|
4079
|
+
color: palette2.muted,
|
|
4080
|
+
fontSize: 10,
|
|
4081
|
+
fontWeight: 700,
|
|
4082
|
+
letterSpacing: ".1em",
|
|
4083
|
+
textTransform: "uppercase"
|
|
4084
|
+
},
|
|
4085
|
+
children: [
|
|
4086
|
+
"\u0110ang xem: ",
|
|
4087
|
+
filter
|
|
4088
|
+
]
|
|
4089
|
+
}
|
|
4090
|
+
)
|
|
4091
|
+
]
|
|
4092
|
+
}
|
|
4093
|
+
),
|
|
4094
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { children: filtered.map((project, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-list-row", sx: { display: "grid", alignItems: "center", py: 1.5, borderBottom: `1px solid ${palette2.line}`, gap: { xs: 1, md: 2 }, gridTemplateColumns: { xs: "30px 72px minmax(0, 1fr)", md: "40px 120px minmax(200px, 1.35fr) minmax(150px, .65fr) 24px" } }, children: [
|
|
4095
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { color: palette2.gold, fontFamily: "monospace", fontSize: 11 }, children: [
|
|
4096
|
+
"0",
|
|
4097
|
+
index + 1
|
|
4098
|
+
] }),
|
|
4099
|
+
project.image ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "img", src: project.image, alt: "", sx: { width: 1, height: { xs: 58, md: 74 }, objectFit: "cover" } }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { width: 1, height: { xs: 58, md: 74 }, bgcolor: "rgba(32, 40, 32, 0.08)" } }),
|
|
4100
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { minWidth: 0 }, children: [
|
|
4101
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { color: palette2.gold, fontSize: 10, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: project.type }),
|
|
4102
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-list-title", sx: { mt: 0.5, fontFamily: displayFont2, fontSize: { xs: 22, md: 28 }, letterSpacing: "-.035em" }, children: project.title })
|
|
4103
|
+
] }),
|
|
4104
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-desktop-meta", sx: { display: { xs: "none", md: "block" }, color: palette2.muted, fontSize: 12 }, children: [
|
|
4105
|
+
project.location,
|
|
4106
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("br", {}),
|
|
4107
|
+
project.year
|
|
4108
|
+
] }),
|
|
4109
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-desktop-meta", sx: { display: { xs: "none", md: "block" }, color: palette2.gold, fontSize: 20 }, children: "\u2197" })
|
|
4110
|
+
] }, project.title)) }),
|
|
4111
|
+
props.editable && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { display: "flex", justifyContent: "flex-end", mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AddProjectButton, { onAdd: props.onAddListItem }) })
|
|
4112
|
+
] }) })
|
|
4113
|
+
] });
|
|
4114
|
+
}
|
|
4115
|
+
function EstateProjectsArchiveHeroRenderer(props) {
|
|
4116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...estateResponsiveSx2, bgcolor: palette2.dark, color: "#F8F5EF" }, children: [
|
|
4117
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4118
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { position: "relative", overflow: "hidden", py: { xs: 12, md: 18 } }, children: [
|
|
4119
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { position: "absolute", inset: 0, opacity: 0.14, backgroundImage: "linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px)", backgroundSize: "25% 100%, 100% 25%" } }),
|
|
4120
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container estate-split", sx: { ...containerSx, position: "relative", display: "grid", gap: { xs: 4, md: 8 }, alignItems: "end", gridTemplateColumns: { xs: "1fr", md: "1.35fr .65fr" } }, children: [
|
|
4121
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { children: [
|
|
4122
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "eyebrow", fallback: archiveDefaults.eyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
4123
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-xl", props, field: "heading", fallback: archiveDefaults.heading, component: "h1", sx: { maxWidth: 940, mt: 3, fontFamily: displayFont2, fontSize: { xs: 56, md: 112 }, fontWeight: 400, letterSpacing: "-.065em", lineHeight: 0.9, textWrap: "balance" } })
|
|
4124
|
+
] }),
|
|
4125
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "intro", fallback: archiveDefaults.intro, sx: { m: 0, pt: 2, borderTop: "1px solid rgba(255,255,255,.22)", color: "rgba(255,255,255,.68)", fontFamily: "'Wikex Inter', Arial, sans-serif", fontSize: 16, lineHeight: 1.75 } })
|
|
4126
|
+
] })
|
|
4127
|
+
] })
|
|
4128
|
+
] });
|
|
4129
|
+
}
|
|
4130
|
+
function EstateProjectCatalogRenderer(props) {
|
|
4131
|
+
const projects = archiveProjects(props);
|
|
4132
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...estateResponsiveSx2, bgcolor: palette2.cream, color: palette2.ink }, children: [
|
|
4133
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4134
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", className: "estate-container", sx: { ...containerSx, py: { xs: 6, md: 9 } }, children: [
|
|
4135
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "flex", justifyContent: "space-between", alignItems: { xs: "flex-start", md: "flex-end" }, flexDirection: { xs: "column", md: "row" }, gap: 2, mb: { xs: 3, md: 4 } }, children: [
|
|
4136
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "catalogEyebrow", fallback: archiveDefaults.catalogEyebrow, sx: eyebrowSx2 }),
|
|
4137
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "catalogIntro", fallback: archiveDefaults.catalogIntro, sx: { maxWidth: 470, color: palette2.muted, fontSize: 15, lineHeight: 1.7 } })
|
|
3712
4138
|
] }),
|
|
3713
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.
|
|
4139
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-card-grid", sx: { display: "grid", gap: 2, gridTemplateColumns: { xs: "1fr", md: "repeat(2, minmax(0, 1fr))" } }, children: projects.map((project, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-feature-card", sx: { display: "grid", overflow: "hidden", border: `1px solid ${palette2.line}`, bgcolor: palette2.pale, gridColumn: { md: index === 0 ? "1 / -1" : "auto" }, gridTemplateColumns: { xs: "1fr", md: index === 0 ? "1.1fr .9fr" : "1fr" } }, children: [
|
|
4140
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-card-image", sx: { position: "relative", height: { xs: 300, sm: 380, md: index === 0 ? 540 : 360 } }, children: [
|
|
4141
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: `project${index + 1}Image`, fallback: project.image, alt: project.title }),
|
|
4142
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { position: "absolute", top: 18, left: 18, px: 1, py: 0.65, border: "1px solid rgba(255,255,255,.44)", bgcolor: "rgba(23,32,25,.45)", color: "white", fontFamily: "monospace", fontSize: 11 }, children: [
|
|
4143
|
+
"0",
|
|
4144
|
+
index + 1
|
|
4145
|
+
] }),
|
|
4146
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { position: "absolute", top: 18, right: 18, px: 1, py: 0.65, border: "1px solid rgba(255,255,255,.44)", bgcolor: "rgba(23,32,25,.45)", color: "white", fontFamily: "monospace", fontSize: 11 }, children: project.year })
|
|
4147
|
+
] }),
|
|
4148
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { sx: { p: { xs: 2.5, md: index === 0 ? 5 : 3 }, alignItems: "flex-start" }, spacing: 2, children: [
|
|
4149
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Type`, fallback: project.type, sx: { color: palette2.gold, fontSize: 10, fontWeight: 700, letterSpacing: ".15em", textTransform: "uppercase" } }),
|
|
4150
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-card-title", props, field: `project${index + 1}Title`, fallback: project.title, component: "h2", sx: { fontFamily: displayFont2, fontSize: { xs: 36, md: index === 0 ? 68 : 44 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 0.98 } }),
|
|
4151
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Summary`, fallback: project.summary, sx: { color: palette2.muted, fontSize: 14, lineHeight: 1.72 } }),
|
|
4152
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-meta-grid", sx: { width: 1, pt: 1.5, borderTop: `1px solid ${palette2.line}`, display: "grid", gap: 1, gridTemplateColumns: "1fr 1fr" }, children: [
|
|
4153
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { spacing: 0.4, children: [
|
|
4154
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { color: palette2.muted, fontSize: 9, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: "\u0110\u1ECBa \u0111i\u1EC3m" }),
|
|
4155
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Location`, fallback: project.location, sx: { fontSize: 12, fontWeight: 700 } })
|
|
4156
|
+
] }),
|
|
4157
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { spacing: 0.4, children: [
|
|
4158
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { color: palette2.muted, fontSize: 9, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: "Ph\u1EA1m vi" }),
|
|
4159
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `project${index + 1}Scope`, fallback: project.scope, sx: { fontSize: 12, fontWeight: 700 } })
|
|
4160
|
+
] })
|
|
4161
|
+
] }),
|
|
4162
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Button6.default, { endIcon: "\u2197", sx: { mt: "auto", px: 0, color: "#795B2D", fontSize: 11, fontWeight: 800, letterSpacing: ".11em" }, children: "XEM H\u1ED2 S\u01A0" })
|
|
4163
|
+
] })
|
|
4164
|
+
] }, `${project.title}-${index}`)) }),
|
|
4165
|
+
props.editable && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { display: "flex", justifyContent: "flex-end", mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AddProjectButton, { onAdd: props.onAddListItem }) })
|
|
4166
|
+
] })
|
|
4167
|
+
] });
|
|
4168
|
+
}
|
|
4169
|
+
function EstateProjectExplorerRenderer(props) {
|
|
4170
|
+
const [query, setQuery] = (0, import_react5.useState)("");
|
|
4171
|
+
const [filter, setFilter] = (0, import_react5.useState)("T\u1EA5t c\u1EA3");
|
|
4172
|
+
const projects = archiveProjects(props);
|
|
4173
|
+
const filters = ["T\u1EA5t c\u1EA3", ...Array.from(new Set(projects.map((project) => project.type)))];
|
|
4174
|
+
const filtered = (0, import_react5.useMemo)(() => {
|
|
4175
|
+
const search = query.trim().toLocaleLowerCase("vi");
|
|
4176
|
+
return projects.filter((project) => (filter === "T\u1EA5t c\u1EA3" || project.type === filter) && (!search || [project.title, project.location, project.client, project.scope].join(" ").toLocaleLowerCase("vi").includes(search)));
|
|
4177
|
+
}, [filter, projects, query]);
|
|
4178
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...estateResponsiveSx2, py: { xs: 8, md: 12 }, borderTop: `1px solid ${palette2.line}`, bgcolor: palette2.pale, color: palette2.ink }, children: [
|
|
4179
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4180
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container", sx: containerSx, children: [
|
|
4181
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-split", sx: { display: "grid", gap: { xs: 3, md: 7 }, alignItems: "end", gridTemplateColumns: { xs: "1fr", md: "1.25fr .75fr" } }, children: [
|
|
3714
4182
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { children: [
|
|
4183
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "explorerEyebrow", fallback: archiveDefaults.explorerEyebrow, sx: eyebrowSx2 }),
|
|
4184
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "explorerHeading", fallback: archiveDefaults.explorerHeading, component: "h2", sx: { maxWidth: 760, mt: 3, fontFamily: displayFont2, fontSize: { xs: 44, md: 78 }, fontWeight: 400, letterSpacing: "-.055em", lineHeight: 0.94 } })
|
|
4185
|
+
] }),
|
|
4186
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "explorerIntro", fallback: archiveDefaults.explorerIntro, sx: { color: palette2.muted, fontSize: 15, lineHeight: 1.75 } })
|
|
4187
|
+
] }),
|
|
4188
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-filter-layout", sx: { display: "grid", mt: { xs: 4, md: 6 }, gap: 1.5, gridTemplateColumns: { xs: "1fr", md: "minmax(260px, .6fr) 1.4fr" } }, children: [
|
|
4189
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_TextField2.default, { size: "small", value: query, onChange: (event) => setQuery(event.target.value), placeholder: "T\xECm theo t\xEAn, \u0111\u1ECBa \u0111i\u1EC3m...", InputProps: { startAdornment: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { mr: 1, color: palette2.gold, fontSize: 20, lineHeight: 1 }, children: "\u2315" }), sx: { height: 40, borderRadius: 0, bgcolor: palette2.cream, fontSize: 13, "& fieldset": { borderColor: palette2.line }, "&:hover fieldset": { borderColor: palette2.gold } } } }),
|
|
4190
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Stack4.default, { className: "estate-filter-options", direction: "row", spacing: 0.75, useFlexGap: true, sx: { flexWrap: "wrap", alignItems: "center" }, children: filters.map((item) => {
|
|
4191
|
+
const active = filter === item;
|
|
4192
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "button", type: "button", "aria-pressed": active, onClick: () => setFilter(item), sx: { appearance: "none", cursor: "pointer", minWidth: 0, minHeight: 40, px: 1.5, border: `1px solid ${active ? palette2.dark : palette2.line}`, borderRadius: 0, bgcolor: active ? palette2.dark : "transparent", color: active ? "#F8F5EF" : palette2.muted, fontFamily: "inherit", fontSize: 10, fontWeight: 700, letterSpacing: ".08em", lineHeight: 1.2, whiteSpace: "nowrap", textTransform: "uppercase", "&:hover": { borderColor: active ? palette2.dark : palette2.gold, bgcolor: active ? "#28372C" : "rgba(150, 115, 61, 0.08)" } }, children: item }, item);
|
|
4193
|
+
}) })
|
|
4194
|
+
] }),
|
|
4195
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", flexWrap: "wrap", gap: 1.5, mt: 3, pb: 1.25, borderBottom: `1px solid ${palette2.line}` }, children: [
|
|
4196
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { color: palette2.muted, fontSize: 10, fontWeight: 700, letterSpacing: ".12em", textTransform: "uppercase" }, children: [
|
|
3715
4197
|
String(filtered.length).padStart(2, "0"),
|
|
3716
4198
|
" c\xF4ng tr\xECnh \u0111\u01B0\u1EE3c t\xECm th\u1EA5y"
|
|
3717
4199
|
] }),
|
|
3718
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.
|
|
4200
|
+
filter !== "T\u1EA5t c\u1EA3" && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { color: palette2.muted, fontSize: 10, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: [
|
|
4201
|
+
"\u0110ang xem: ",
|
|
4202
|
+
filter
|
|
4203
|
+
] })
|
|
3719
4204
|
] }),
|
|
3720
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { children: filtered.map((project, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "grid", alignItems: "center", py: 1.5, borderBottom: `1px solid ${palette2.line}`, gap: { xs: 1, md: 2 }, gridTemplateColumns: { xs: "30px 72px minmax(0, 1fr)", md: "40px 120px minmax(200px, 1.35fr) minmax(150px, .65fr) 24px" } }, children: [
|
|
4205
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { children: filtered.map((project, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-list-row", sx: { display: "grid", alignItems: "center", py: 1.5, borderBottom: `1px solid ${palette2.line}`, gap: { xs: 1, md: 2 }, gridTemplateColumns: { xs: "30px 72px minmax(0, 1fr)", md: "40px 120px minmax(200px, 1.35fr) minmax(150px, .65fr) 24px" } }, children: [
|
|
3721
4206
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { color: palette2.gold, fontFamily: "monospace", fontSize: 11 }, children: [
|
|
3722
4207
|
"0",
|
|
3723
4208
|
index + 1
|
|
3724
4209
|
] }),
|
|
3725
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "img", src: project.image, alt: "", sx: { width: 1, height: { xs: 58, md: 74 }, objectFit: "cover" } }),
|
|
3726
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { children: [
|
|
4210
|
+
project.image ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "img", src: project.image, alt: "", sx: { width: 1, height: { xs: 58, md: 74 }, objectFit: "cover" } }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { width: 1, height: { xs: 58, md: 74 }, bgcolor: "rgba(32, 40, 32, 0.08)" } }),
|
|
4211
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { minWidth: 0 }, children: [
|
|
3727
4212
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { color: palette2.gold, fontSize: 10, fontWeight: 700, letterSpacing: ".1em", textTransform: "uppercase" }, children: project.type }),
|
|
3728
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { mt: 0.5, fontFamily: displayFont2, fontSize: { xs: 22, md: 28 }, letterSpacing: "-.035em" }, children: project.title })
|
|
4213
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-list-title", sx: { mt: 0.5, fontFamily: displayFont2, fontSize: { xs: 22, md: 28 }, letterSpacing: "-.035em" }, children: project.title })
|
|
3729
4214
|
] }),
|
|
3730
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: { xs: "none", md: "block" }, color: palette2.muted, fontSize: 12 }, children: [
|
|
4215
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-desktop-meta", sx: { display: { xs: "none", md: "block" }, color: palette2.muted, fontSize: 12 }, children: [
|
|
3731
4216
|
project.location,
|
|
3732
4217
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("br", {}),
|
|
3733
4218
|
project.year
|
|
3734
4219
|
] }),
|
|
3735
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { display: { xs: "none", md: "block" }, color: palette2.gold, fontSize: 20 }, children: "\u2197" })
|
|
3736
|
-
] }, project.title)) })
|
|
3737
|
-
|
|
4220
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-desktop-meta", sx: { display: { xs: "none", md: "block" }, color: palette2.gold, fontSize: 20 }, children: "\u2197" })
|
|
4221
|
+
] }, `${project.title}-${index}`)) }),
|
|
4222
|
+
props.editable && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { display: "flex", justifyContent: "flex-end", mt: 2 }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AddProjectButton, { onAdd: props.onAddListItem }) })
|
|
4223
|
+
] })
|
|
3738
4224
|
] });
|
|
3739
4225
|
}
|
|
3740
4226
|
var estateProjectsArchiveBlock = {
|
|
3741
|
-
definition: estateDefinition("estate-projects-archive", "Trang danh s\xE1ch d\u1EF1 \xE1n", "Trang archive d\u1EF1 \xE1n c\xF3 hero, cards chi ti\u1EBFt v\xE0 b\u1ED9 l\u1ECDc/t\xECm ki\u1EBFm.", "apartment", [
|
|
4227
|
+
definition: { ...estateDefinition("estate-projects-archive", "Trang danh s\xE1ch d\u1EF1 \xE1n", "Trang archive d\u1EF1 \xE1n c\xF3 hero, cards chi ti\u1EBFt v\xE0 b\u1ED9 l\u1ECDc/t\xECm ki\u1EBFm.", "apartment", [
|
|
3742
4228
|
textField2("eyebrow", "Nh\xE3n hero", "Hero"),
|
|
3743
4229
|
textField2("heading", "Ti\xEAu \u0111\u1EC1 hero", "Hero"),
|
|
3744
4230
|
paragraphField2("intro", "M\xF4 t\u1EA3 hero", "Hero"),
|
|
@@ -3748,9 +4234,22 @@ var estateProjectsArchiveBlock = {
|
|
|
3748
4234
|
textField2("explorerHeading", "Ti\xEAu \u0111\u1EC1 t\xECm ki\u1EBFm", "T\xECm ki\u1EBFm"),
|
|
3749
4235
|
paragraphField2("explorerIntro", "M\xF4 t\u1EA3 t\xECm ki\u1EBFm", "T\xECm ki\u1EBFm"),
|
|
3750
4236
|
...[1, 2, 3].flatMap((index) => [imageField2(`project${index}Image`, "H\xECnh \u1EA3nh", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Type`, "Lo\u1EA1i h\xECnh", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Title`, "T\xEAn d\u1EF1 \xE1n", `D\u1EF1 \xE1n ${index}`), paragraphField2(`project${index}Summary`, "M\xF4 t\u1EA3", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Location`, "\u0110\u1ECBa \u0111i\u1EC3m", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Client`, "Ch\u1EE7 \u0111\u1EA7u t\u01B0", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Scope`, "Ph\u1EA1m vi", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Year`, "N\u0103m", `D\u1EF1 \xE1n ${index}`)])
|
|
3751
|
-
], archiveDefaults),
|
|
4237
|
+
], archiveDefaults), hidden: true },
|
|
3752
4238
|
Renderer: EstateProjectsArchiveRenderer
|
|
3753
4239
|
};
|
|
4240
|
+
var archiveProjectFields = [1, 2, 3].flatMap((index) => [imageField2(`project${index}Image`, "H\xECnh \u1EA3nh", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Type`, "Lo\u1EA1i h\xECnh", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Title`, "T\xEAn d\u1EF1 \xE1n", `D\u1EF1 \xE1n ${index}`), paragraphField2(`project${index}Summary`, "M\xF4 t\u1EA3", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Location`, "\u0110\u1ECBa \u0111i\u1EC3m", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Client`, "Ch\u1EE7 \u0111\u1EA7u t\u01B0", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Scope`, "Ph\u1EA1m vi", `D\u1EF1 \xE1n ${index}`), textField2(`project${index}Year`, "N\u0103m", `D\u1EF1 \xE1n ${index}`)]);
|
|
4241
|
+
var estateProjectsArchiveHeroBlock = {
|
|
4242
|
+
definition: estateDefinition("estate-projects-archive-hero", "Hero danh s\xE1ch d\u1EF1 \xE1n", "Hero m\u1EDF \u0111\u1EA7u d\xE0nh cho trang danh s\xE1ch d\u1EF1 \xE1n.", "view_quilt", [textField2("eyebrow", "Nh\xE3n hero"), textField2("heading", "Ti\xEAu \u0111\u1EC1 hero"), paragraphField2("intro", "M\xF4 t\u1EA3 hero")], archiveDefaults),
|
|
4243
|
+
Renderer: EstateProjectsArchiveHeroRenderer
|
|
4244
|
+
};
|
|
4245
|
+
var estateProjectCatalogBlock = {
|
|
4246
|
+
definition: estateDefinition("estate-project-catalog", "Danh m\u1EE5c d\u1EF1 \xE1n n\u1ED5i b\u1EADt", "L\u01B0\u1EDBi d\u1EF1 \xE1n n\u1ED5i b\u1EADt v\u1EDBi \u1EA3nh, m\xF4 t\u1EA3 v\xE0 th\xF4ng tin ch\xEDnh.", "grid_view", [textField2("catalogEyebrow", "Nh\xE3n danh m\u1EE5c"), paragraphField2("catalogIntro", "M\xF4 t\u1EA3 danh m\u1EE5c"), ...archiveProjectFields], archiveDefaults),
|
|
4247
|
+
Renderer: EstateProjectCatalogRenderer
|
|
4248
|
+
};
|
|
4249
|
+
var estateProjectExplorerBlock = {
|
|
4250
|
+
definition: estateDefinition("estate-project-explorer", "B\u1ED9 l\u1ECDc & danh s\xE1ch d\u1EF1 \xE1n", "T\xECm ki\u1EBFm, l\u1ECDc lo\u1EA1i h\xECnh v\xE0 hi\u1EC3n th\u1ECB danh s\xE1ch d\u1EF1 \xE1n.", "manage_search", [textField2("explorerEyebrow", "Nh\xE3n t\xECm ki\u1EBFm"), textField2("explorerHeading", "Ti\xEAu \u0111\u1EC1 t\xECm ki\u1EBFm"), paragraphField2("explorerIntro", "M\xF4 t\u1EA3 t\xECm ki\u1EBFm"), ...archiveProjectFields], archiveDefaults),
|
|
4251
|
+
Renderer: EstateProjectExplorerRenderer
|
|
4252
|
+
};
|
|
3754
4253
|
var detailDefaults = {
|
|
3755
4254
|
eyebrow: "Bi\u1EC7t th\u1EF1 s\xE2n trong \xB7 2026",
|
|
3756
4255
|
title: "Th\u1EA3o \u0110i\u1EC1n Courtyard Residence",
|
|
@@ -3789,18 +4288,18 @@ function EstateProjectDetailRenderer(props) {
|
|
|
3789
4288
|
{ label: "Di\u1EC7n t\xEDch", value: String(props.content.area ?? detailDefaults.area) },
|
|
3790
4289
|
{ label: "Quy m\xF4", value: String(props.content.floors ?? detailDefaults.floors) }
|
|
3791
4290
|
], "information");
|
|
3792
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { bgcolor: palette2.cream, color: palette2.ink }, children: [
|
|
4291
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...estateResponsiveSx2, bgcolor: palette2.cream, color: palette2.ink }, children: [
|
|
3793
4292
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
3794
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { position: "relative", isolation: "isolate", minHeight: { xs: 650, md: 900 }, overflow: "hidden", bgcolor: palette2.dark, color: "#F8F5EF" }, children: [
|
|
4293
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-detail-hero", component: "section", sx: { position: "relative", isolation: "isolate", minHeight: { xs: 650, md: 900 }, overflow: "hidden", bgcolor: palette2.dark, color: "#F8F5EF" }, children: [
|
|
3795
4294
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { position: "absolute", inset: 0, zIndex: -2 }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: "heroImage", fallback: detailDefaults.heroImage, alt: "\u1EA2nh d\u1EF1 \xE1n" }) }),
|
|
3796
4295
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { position: "absolute", inset: 0, zIndex: -1, background: "linear-gradient(90deg, rgba(13,20,16,.9), rgba(13,20,16,.55) 52%, rgba(13,20,16,.18)), linear-gradient(0deg, rgba(13,20,16,.72), transparent 60%)" } }),
|
|
3797
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { sx: { ...containerSx, minHeight: { xs: 650, md: 900 }, pt: { xs: 15, md: 21 }, pb: { xs: 6, md: 9 }, justifyContent: "flex-end", alignItems: "flex-start" }, spacing: 3, children: [
|
|
4296
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { className: "estate-container estate-detail-hero-content", sx: { ...containerSx, minHeight: { xs: 650, md: 900 }, pt: { xs: 15, md: 21 }, pb: { xs: 6, md: 9 }, justifyContent: "flex-end", alignItems: "flex-start" }, spacing: 3, children: [
|
|
3798
4297
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "eyebrow", fallback: detailDefaults.eyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
3799
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "title", fallback: detailDefaults.title, component: "h1", sx: { maxWidth: 1100, fontFamily: displayFont2, fontSize: { xs: 58, md: 124 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.86, textWrap: "balance" } }),
|
|
4298
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-xl", props, field: "title", fallback: detailDefaults.title, component: "h1", sx: { maxWidth: 1100, fontFamily: displayFont2, fontSize: { xs: 58, md: 124 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.86, textWrap: "balance" } }),
|
|
3800
4299
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "summary", fallback: detailDefaults.summary, sx: { maxWidth: 650, pt: 3, borderTop: "1px solid rgba(255,255,255,.25)", color: "rgba(255,255,255,.74)", fontSize: { xs: 16, md: 18 }, lineHeight: 1.75 } })
|
|
3801
4300
|
] })
|
|
3802
4301
|
] }),
|
|
3803
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...containerSx, display: "grid", py: { xs: 7, md: 12 }, gap: { xs: 5, md: 12 }, gridTemplateColumns: { xs: "1fr", md: ".68fr 1.32fr" } }, children: [
|
|
4302
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container estate-split", component: "section", sx: { ...containerSx, display: "grid", py: { xs: 7, md: 12 }, gap: { xs: 5, md: 12 }, gridTemplateColumns: { xs: "1fr", md: ".68fr 1.32fr" } }, children: [
|
|
3804
4303
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { children: [
|
|
3805
4304
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: eyebrowSx2, children: "Th\xF4ng tin d\u1EF1 \xE1n" }),
|
|
3806
4305
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { mt: 3, borderTop: `1px solid ${palette2.line}` }, children: projectInformation.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "flex", justifyContent: "space-between", gap: 2, py: 1.2, borderBottom: `1px solid ${palette2.line}` }, children: [
|
|
@@ -3810,23 +4309,23 @@ function EstateProjectDetailRenderer(props) {
|
|
|
3810
4309
|
] }),
|
|
3811
4310
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { spacing: 3, sx: { alignItems: "flex-start" }, children: [
|
|
3812
4311
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "storyEyebrow", fallback: detailDefaults.storyEyebrow, sx: eyebrowSx2 }),
|
|
3813
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "storyHeading", fallback: detailDefaults.storyHeading, component: "h2", sx: { maxWidth: 810, fontFamily: displayFont2, fontSize: { xs: 40, md: 64 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 1.05 } }),
|
|
4312
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-md", props, field: "storyHeading", fallback: detailDefaults.storyHeading, component: "h2", sx: { maxWidth: 810, fontFamily: displayFont2, fontSize: { xs: 40, md: 64 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 1.05 } }),
|
|
3814
4313
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "storyBody", fallback: detailDefaults.storyBody, sx: { maxWidth: 700, color: palette2.muted, fontSize: 17, lineHeight: 1.85 } })
|
|
3815
4314
|
] })
|
|
3816
4315
|
] }),
|
|
3817
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "section", sx: { bgcolor: palette2.dark, color: "#F8F5EF", py: { xs: 8, md: 12 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...containerSx, display: "grid", alignItems: "center", gap: { xs: 4, md: 10 }, gridTemplateColumns: { xs: "1fr", md: ".95fr 1.05fr" } }, children: [
|
|
4316
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "section", sx: { bgcolor: palette2.dark, color: "#F8F5EF", py: { xs: 8, md: 12 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container estate-split", sx: { ...containerSx, display: "grid", alignItems: "center", gap: { xs: 4, md: 10 }, gridTemplateColumns: { xs: "1fr", md: ".95fr 1.05fr" } }, children: [
|
|
3818
4317
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { spacing: 2.5, sx: { alignItems: "flex-start" }, children: [
|
|
3819
4318
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "conceptEyebrow", fallback: detailDefaults.conceptEyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
3820
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "conceptHeading", fallback: detailDefaults.conceptHeading, component: "h2", sx: { fontFamily: displayFont2, fontSize: { xs: 44, md: 72 }, fontWeight: 400, letterSpacing: "-.06em", lineHeight: 0.94 } }),
|
|
4319
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "conceptHeading", fallback: detailDefaults.conceptHeading, component: "h2", sx: { fontFamily: displayFont2, fontSize: { xs: 44, md: 72 }, fontWeight: 400, letterSpacing: "-.06em", lineHeight: 0.94 } }),
|
|
3821
4320
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "conceptBody", fallback: detailDefaults.conceptBody, sx: { color: "rgba(255,255,255,.62)", fontSize: 16, lineHeight: 1.8 } })
|
|
3822
4321
|
] }),
|
|
3823
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { minHeight: { xs: 360, md: 560 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: "conceptImage", fallback: detailDefaults.conceptImage, alt: "\xDD ni\u1EC7m thi\u1EBFt k\u1EBF" }) })
|
|
4322
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-gallery-image", sx: { minHeight: { xs: 360, md: 560 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: "conceptImage", fallback: detailDefaults.conceptImage, alt: "\xDD ni\u1EC7m thi\u1EBFt k\u1EBF" }) })
|
|
3824
4323
|
] }) }),
|
|
3825
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...containerSx, py: { xs: 8, md: 13 } }, children: [
|
|
3826
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "galleryHeading", fallback: detailDefaults.galleryHeading, component: "h2", sx: { maxWidth: 760, fontFamily: displayFont2, fontSize: { xs: 46, md: 76 }, fontWeight: 400, letterSpacing: "-.06em", lineHeight: 0.94 } }),
|
|
3827
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Stack4.default, { spacing: { xs: 5, md: 10 }, sx: { mt: { xs: 5, md: 8 } }, children: galleryIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "grid", alignItems: "center", gap: { xs: 2, md: 8 }, gridTemplateColumns: { xs: "1fr", md: index % 2 ? "1.45fr .55fr" : ".55fr 1.45fr" } }, children: [
|
|
3828
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { order: { md: index % 2 ? 1 : 2 }, minHeight: { xs: 330, md: index === 2 ? 520 : 430 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: `gallery${index}Image`, fallback: detailDefaults[`gallery${index}Image`], alt: "H\xECnh \u1EA3nh d\u1EF1 \xE1n" }) }),
|
|
3829
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { sx: { order: { md: index % 2 ? 2 : 1 }, alignItems: "flex-start", borderTop: `1px solid ${palette2.line}`, pt: 2 }, spacing: 1.5, children: [
|
|
4324
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container", component: "section", sx: { ...containerSx, py: { xs: 8, md: 13 } }, children: [
|
|
4325
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "galleryHeading", fallback: detailDefaults.galleryHeading, component: "h2", sx: { maxWidth: 760, fontFamily: displayFont2, fontSize: { xs: 46, md: 76 }, fontWeight: 400, letterSpacing: "-.06em", lineHeight: 0.94 } }),
|
|
4326
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Stack4.default, { spacing: { xs: 5, md: 10 }, sx: { mt: { xs: 5, md: 8 } }, children: galleryIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-split", sx: { display: "grid", alignItems: "center", gap: { xs: 2, md: 8 }, gridTemplateColumns: { xs: "1fr", md: index % 2 ? "1.45fr .55fr" : ".55fr 1.45fr" } }, children: [
|
|
4327
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-gallery-image", sx: { order: { md: index % 2 ? 1 : 2 }, minHeight: { xs: 330, md: index === 2 ? 520 : 430 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: `gallery${index}Image`, fallback: detailDefaults[`gallery${index}Image`], alt: "H\xECnh \u1EA3nh d\u1EF1 \xE1n" }) }),
|
|
4328
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { className: "estate-gallery-copy", sx: { order: { md: index % 2 ? 2 : 1 }, alignItems: "flex-start", borderTop: `1px solid ${palette2.line}`, pt: 2 }, spacing: 1.5, children: [
|
|
3830
4329
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { color: palette2.gold, fontFamily: "monospace", fontSize: 11 }, children: [
|
|
3831
4330
|
"0",
|
|
3832
4331
|
index,
|
|
@@ -3838,15 +4337,102 @@ function EstateProjectDetailRenderer(props) {
|
|
|
3838
4337
|
] })
|
|
3839
4338
|
] }, index)) })
|
|
3840
4339
|
] }),
|
|
3841
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "section", sx: { position: "relative", overflow: "hidden", py: { xs: 9, md: 13 }, bgcolor: palette2.dark, color: "#F8F5EF" }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...containerSx }, children: [
|
|
4340
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { component: "section", sx: { position: "relative", overflow: "hidden", py: { xs: 9, md: 13 }, bgcolor: palette2.dark, color: "#F8F5EF" }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container", sx: { ...containerSx }, children: [
|
|
3842
4341
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "ctaEyebrow", fallback: detailDefaults.ctaEyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
3843
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "ctaHeading", fallback: detailDefaults.ctaHeading, component: "h2", sx: { maxWidth: 1050, mt: 3, fontFamily: displayFont2, fontSize: { xs: 48, md: 92 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.89 } }),
|
|
3844
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Button6.default, { variant: "contained", endIcon: "\u2197", sx: { mt: 4, minHeight: 48, borderRadius: 0, bgcolor: "#D8BD8A", color: palette2.ink, fontSize: 11, fontWeight: 800, letterSpacing: ".1em", "&:hover": { bgcolor: "#F3D89D" } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "ctaLabel", fallback: detailDefaults.ctaLabel }) })
|
|
4342
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "ctaHeading", fallback: detailDefaults.ctaHeading, component: "h2", sx: { maxWidth: 1050, mt: 3, fontFamily: displayFont2, fontSize: { xs: 48, md: 92 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.89 } }),
|
|
4343
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Button6.default, { className: "estate-action-button", variant: "contained", endIcon: "\u2197", sx: { mt: 4, minHeight: 48, borderRadius: 0, bgcolor: "#D8BD8A", color: palette2.ink, fontSize: 11, fontWeight: 800, letterSpacing: ".1em", "&:hover": { bgcolor: "#F3D89D" } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "ctaLabel", fallback: detailDefaults.ctaLabel }) })
|
|
3845
4344
|
] }) })
|
|
3846
4345
|
] });
|
|
3847
4346
|
}
|
|
4347
|
+
function EstateProjectDetailHeroRenderer(props) {
|
|
4348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { ...estateResponsiveSx2, bgcolor: palette2.dark, color: "#F8F5EF" }, children: [
|
|
4349
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4350
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-detail-hero", component: "section", sx: { position: "relative", isolation: "isolate", minHeight: { xs: 650, md: 900 }, overflow: "hidden" }, children: [
|
|
4351
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { position: "absolute", inset: 0, zIndex: -2 }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: "heroImage", fallback: detailDefaults.heroImage, alt: "\u1EA2nh d\u1EF1 \xE1n" }) }),
|
|
4352
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { position: "absolute", inset: 0, zIndex: -1, background: "linear-gradient(90deg, rgba(13,20,16,.9), rgba(13,20,16,.55) 52%, rgba(13,20,16,.18)), linear-gradient(0deg, rgba(13,20,16,.72), transparent 60%)" } }),
|
|
4353
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { className: "estate-container estate-detail-hero-content", sx: { ...containerSx, minHeight: { xs: 650, md: 900 }, pt: { xs: 15, md: 21 }, pb: { xs: 6, md: 9 }, justifyContent: "flex-end", alignItems: "flex-start" }, spacing: 3, children: [
|
|
4354
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "eyebrow", fallback: detailDefaults.eyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
4355
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-xl", props, field: "title", fallback: detailDefaults.title, component: "h1", sx: { maxWidth: 1100, fontFamily: displayFont2, fontSize: { xs: 58, md: 124 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.86, textWrap: "balance" } }),
|
|
4356
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "summary", fallback: detailDefaults.summary, sx: { maxWidth: 650, pt: 3, borderTop: "1px solid rgba(255,255,255,.25)", color: "rgba(255,255,255,.74)", fontSize: { xs: 16, md: 18 }, lineHeight: 1.75 } })
|
|
4357
|
+
] })
|
|
4358
|
+
] })
|
|
4359
|
+
] });
|
|
4360
|
+
}
|
|
4361
|
+
function EstateProjectInformationRenderer(props) {
|
|
4362
|
+
const information = cmsListItems(props.content, [
|
|
4363
|
+
{ label: "\u0110\u1ECBa \u0111i\u1EC3m", value: detailDefaults.location },
|
|
4364
|
+
{ label: "Ch\u1EE7 \u0111\u1EA7u t\u01B0", value: detailDefaults.client },
|
|
4365
|
+
{ label: "Di\u1EC7n t\xEDch", value: detailDefaults.area },
|
|
4366
|
+
{ label: "Quy m\xF4", value: detailDefaults.floors }
|
|
4367
|
+
]);
|
|
4368
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...estateResponsiveSx2, bgcolor: palette2.cream, color: palette2.ink }, children: [
|
|
4369
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4370
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container", sx: { ...containerSx, py: { xs: 7, md: 10 } }, children: [
|
|
4371
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "informationEyebrow", fallback: "Th\xF4ng tin d\u1EF1 \xE1n", sx: eyebrowSx2 }),
|
|
4372
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { maxWidth: 820, mt: 3, borderTop: `1px solid ${palette2.line}` }, children: information.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { display: "flex", justifyContent: "space-between", gap: 2, py: 1.5, borderBottom: `1px solid ${palette2.line}` }, children: [
|
|
4373
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { color: palette2.muted, fontSize: 12 }, children: item.label || "M\u1EE5c m\u1EDBi" }),
|
|
4374
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { sx: { fontSize: 12, fontWeight: 700, textAlign: "right" }, children: item.value })
|
|
4375
|
+
] }, `${item.label}-${index}`)) })
|
|
4376
|
+
] })
|
|
4377
|
+
] });
|
|
4378
|
+
}
|
|
4379
|
+
function EstateProjectStoryRenderer(props) {
|
|
4380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...estateResponsiveSx2, bgcolor: palette2.pale, color: palette2.ink }, children: [
|
|
4381
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4382
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { className: "estate-container", spacing: 3, sx: { ...containerSx, py: { xs: 8, md: 12 }, alignItems: "flex-start" }, children: [
|
|
4383
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "storyEyebrow", fallback: detailDefaults.storyEyebrow, sx: eyebrowSx2 }),
|
|
4384
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-md", props, field: "storyHeading", fallback: detailDefaults.storyHeading, component: "h2", sx: { maxWidth: 920, fontFamily: displayFont2, fontSize: { xs: 40, md: 64 }, fontWeight: 400, letterSpacing: "-.05em", lineHeight: 1.05 } }),
|
|
4385
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "storyBody", fallback: detailDefaults.storyBody, sx: { maxWidth: 720, color: palette2.muted, fontSize: 17, lineHeight: 1.85 } })
|
|
4386
|
+
] })
|
|
4387
|
+
] });
|
|
4388
|
+
}
|
|
4389
|
+
function EstateProjectConceptRenderer(props) {
|
|
4390
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...estateResponsiveSx2, bgcolor: palette2.dark, color: "#F8F5EF", py: { xs: 8, md: 12 } }, children: [
|
|
4391
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4392
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container estate-split", sx: { ...containerSx, display: "grid", alignItems: "center", gap: { xs: 4, md: 10 }, gridTemplateColumns: { xs: "1fr", md: ".95fr 1.05fr" } }, children: [
|
|
4393
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { spacing: 2.5, sx: { alignItems: "flex-start" }, children: [
|
|
4394
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "conceptEyebrow", fallback: detailDefaults.conceptEyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
4395
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "conceptHeading", fallback: detailDefaults.conceptHeading, component: "h2", sx: { fontFamily: displayFont2, fontSize: { xs: 44, md: 72 }, fontWeight: 400, letterSpacing: "-.06em", lineHeight: 0.94 } }),
|
|
4396
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "conceptBody", fallback: detailDefaults.conceptBody, sx: { color: "rgba(255,255,255,.62)", fontSize: 16, lineHeight: 1.8 } })
|
|
4397
|
+
] }),
|
|
4398
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-gallery-image", sx: { minHeight: { xs: 360, md: 560 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: "conceptImage", fallback: detailDefaults.conceptImage, alt: "\xDD ni\u1EC7m thi\u1EBFt k\u1EBF" }) })
|
|
4399
|
+
] })
|
|
4400
|
+
] });
|
|
4401
|
+
}
|
|
4402
|
+
function EstateProjectGalleryRenderer(props) {
|
|
4403
|
+
const galleryIndexes = cmsListItems(props.content, Array.from({ length: 3 }, () => ({}))).map((_, index) => index + 1);
|
|
4404
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...estateResponsiveSx2, bgcolor: palette2.cream, color: palette2.ink }, children: [
|
|
4405
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4406
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container", sx: { ...containerSx, py: { xs: 8, md: 13 } }, children: [
|
|
4407
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "galleryHeading", fallback: detailDefaults.galleryHeading, component: "h2", sx: { maxWidth: 760, fontFamily: displayFont2, fontSize: { xs: 46, md: 76 }, fontWeight: 400, letterSpacing: "-.06em", lineHeight: 0.94 } }),
|
|
4408
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Stack4.default, { spacing: { xs: 5, md: 10 }, sx: { mt: { xs: 5, md: 8 } }, children: galleryIndexes.map((index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-split", sx: { display: "grid", alignItems: "center", gap: { xs: 2, md: 8 }, gridTemplateColumns: { xs: "1fr", md: index % 2 ? "1.45fr .55fr" : ".55fr 1.45fr" } }, children: [
|
|
4409
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Box6.default, { className: "estate-gallery-image", sx: { order: { md: index % 2 ? 1 : 2 }, minHeight: { xs: 330, md: index === 2 ? 520 : 430 } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Image2, { props, field: `gallery${index}Image`, fallback: detailDefaults[`gallery${index}Image`], alt: "H\xECnh \u1EA3nh d\u1EF1 \xE1n" }) }),
|
|
4410
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Stack4.default, { className: "estate-gallery-copy", sx: { order: { md: index % 2 ? 2 : 1 }, alignItems: "flex-start", borderTop: `1px solid ${palette2.line}`, pt: 2 }, spacing: 1.5, children: [
|
|
4411
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { sx: { color: palette2.gold, fontFamily: "monospace", fontSize: 11 }, children: [
|
|
4412
|
+
"0",
|
|
4413
|
+
index,
|
|
4414
|
+
" / ",
|
|
4415
|
+
String(galleryIndexes.length).padStart(2, "0")
|
|
4416
|
+
] }),
|
|
4417
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `gallery${index}Caption`, fallback: detailDefaults[`gallery${index}Caption`], sx: { fontFamily: displayFont2, fontSize: { xs: 24, md: 30 }, letterSpacing: "-.035em", lineHeight: 1.18 } }),
|
|
4418
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: `gallery${index}Note`, fallback: detailDefaults[`gallery${index}Note`], sx: { color: palette2.muted, fontSize: 14, lineHeight: 1.72 } })
|
|
4419
|
+
] })
|
|
4420
|
+
] }, index)) })
|
|
4421
|
+
] })
|
|
4422
|
+
] });
|
|
4423
|
+
}
|
|
4424
|
+
function EstateProjectCtaRenderer(props) {
|
|
4425
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { component: "section", sx: { ...estateResponsiveSx2, position: "relative", overflow: "hidden", py: { xs: 9, md: 13 }, bgcolor: palette2.dark, color: "#F8F5EF" }, children: [
|
|
4426
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(EstateProjectFonts, {}),
|
|
4427
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_Box6.default, { className: "estate-container", sx: { ...containerSx }, children: [
|
|
4428
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "ctaEyebrow", fallback: detailDefaults.ctaEyebrow, sx: { ...eyebrowSx2, color: "#D8BD8A" } }),
|
|
4429
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { className: "estate-display-lg", props, field: "ctaHeading", fallback: detailDefaults.ctaHeading, component: "h2", sx: { maxWidth: 1050, mt: 3, fontFamily: displayFont2, fontSize: { xs: 48, md: 92 }, fontWeight: 400, letterSpacing: "-.07em", lineHeight: 0.89 } }),
|
|
4430
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Button6.default, { className: "estate-action-button", variant: "contained", endIcon: "\u2197", sx: { mt: 4, minHeight: 48, borderRadius: 0, bgcolor: "#D8BD8A", color: palette2.ink, fontSize: 11, fontWeight: 800, letterSpacing: ".1em", "&:hover": { bgcolor: "#F3D89D" } }, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text2, { props, field: "ctaLabel", fallback: detailDefaults.ctaLabel }) })
|
|
4431
|
+
] })
|
|
4432
|
+
] });
|
|
4433
|
+
}
|
|
3848
4434
|
var estateProjectDetailBlock = {
|
|
3849
|
-
definition: estateDefinition("estate-project-detail", "Trang chi ti\u1EBFt d\u1EF1 \xE1n", "Case study d\u1EF1 \xE1n g\u1ED3m hero \u1EA3nh, th\xF4ng tin, \xFD ni\u1EC7m, photo story v\xE0 CTA.", "home_work", [
|
|
4435
|
+
definition: { ...estateDefinition("estate-project-detail", "Trang chi ti\u1EBFt d\u1EF1 \xE1n", "Case study d\u1EF1 \xE1n g\u1ED3m hero \u1EA3nh, th\xF4ng tin, \xFD ni\u1EC7m, photo story v\xE0 CTA.", "home_work", [
|
|
3850
4436
|
textField2("eyebrow", "Nh\xE3n hero", "Hero"),
|
|
3851
4437
|
textField2("title", "T\xEAn d\u1EF1 \xE1n", "Hero"),
|
|
3852
4438
|
paragraphField2("summary", "M\xF4 t\u1EA3 hero", "Hero"),
|
|
@@ -3867,10 +4453,46 @@ var estateProjectDetailBlock = {
|
|
|
3867
4453
|
textField2("ctaEyebrow", "Nh\xE3n CTA", "CTA"),
|
|
3868
4454
|
textField2("ctaHeading", "Ti\xEAu \u0111\u1EC1 CTA", "CTA"),
|
|
3869
4455
|
textField2("ctaLabel", "Nh\xE3n n\xFAt CTA", "CTA")
|
|
3870
|
-
], detailDefaults),
|
|
4456
|
+
], detailDefaults), hidden: true },
|
|
3871
4457
|
Renderer: EstateProjectDetailRenderer
|
|
3872
4458
|
};
|
|
3873
|
-
var
|
|
4459
|
+
var estateProjectDetailHeroBlock = {
|
|
4460
|
+
definition: estateDefinition("estate-project-detail-hero", "Hero chi ti\u1EBFt d\u1EF1 \xE1n", "Hero \u1EA3nh to\xE0n m\xE0n h\xECnh cho trang chi ti\u1EBFt d\u1EF1 \xE1n.", "panorama", [textField2("eyebrow", "Nh\xE3n hero"), textField2("title", "T\xEAn d\u1EF1 \xE1n"), paragraphField2("summary", "M\xF4 t\u1EA3 hero"), imageField2("heroImage", "\u1EA2nh hero")], detailDefaults),
|
|
4461
|
+
Renderer: EstateProjectDetailHeroRenderer
|
|
4462
|
+
};
|
|
4463
|
+
var estateProjectInformationBlock = {
|
|
4464
|
+
definition: estateDefinition("estate-project-detail-information", "Th\xF4ng tin d\u1EF1 \xE1n", "Danh s\xE1ch th\xF4ng tin c\u01A1 b\u1EA3n c\u1EE7a d\u1EF1 \xE1n.", "info", [textField2("informationEyebrow", "Nh\xE3n th\xF4ng tin"), ...[1, 2, 3, 4].flatMap((index) => [textField2(`item${index}Label`, "Nh\xE3n", `Th\xF4ng tin ${index}`), textField2(`item${index}Value`, "Gi\xE1 tr\u1ECB", `Th\xF4ng tin ${index}`)])], { ...detailDefaults, informationEyebrow: "Th\xF4ng tin d\u1EF1 \xE1n", item1Label: "\u0110\u1ECBa \u0111i\u1EC3m", item1Value: detailDefaults.location, item2Label: "Ch\u1EE7 \u0111\u1EA7u t\u01B0", item2Value: detailDefaults.client, item3Label: "Di\u1EC7n t\xEDch", item3Value: detailDefaults.area, item4Label: "Quy m\xF4", item4Value: detailDefaults.floors }),
|
|
4465
|
+
Renderer: EstateProjectInformationRenderer
|
|
4466
|
+
};
|
|
4467
|
+
var estateProjectStoryBlock = {
|
|
4468
|
+
definition: estateDefinition("estate-project-detail-story", "C\xE2u chuy\u1EC7n d\u1EF1 \xE1n", "N\u1ED9i dung k\u1EC3 c\xE2u chuy\u1EC7n v\xE0 \u0111\u1ECBnh h\u01B0\u1EDBng kh\xF4ng gian.", "auto_stories", [textField2("storyEyebrow", "Nh\xE3n c\xE2u chuy\u1EC7n"), textField2("storyHeading", "Ti\xEAu \u0111\u1EC1 c\xE2u chuy\u1EC7n"), paragraphField2("storyBody", "N\u1ED9i dung c\xE2u chuy\u1EC7n")], detailDefaults),
|
|
4469
|
+
Renderer: EstateProjectStoryRenderer
|
|
4470
|
+
};
|
|
4471
|
+
var estateProjectConceptBlock = {
|
|
4472
|
+
definition: estateDefinition("estate-project-detail-concept", "\xDD ni\u1EC7m thi\u1EBFt k\u1EBF", "Kh\u1ED1i n\u1ED9i dung v\xE0 h\xECnh \u1EA3nh tr\xECnh b\xE0y \xFD ni\u1EC7m thi\u1EBFt k\u1EBF.", "architecture", [textField2("conceptEyebrow", "Nh\xE3n \xFD ni\u1EC7m"), textField2("conceptHeading", "Ti\xEAu \u0111\u1EC1 \xFD ni\u1EC7m"), paragraphField2("conceptBody", "N\u1ED9i dung \xFD ni\u1EC7m"), imageField2("conceptImage", "H\xECnh \u1EA3nh \xFD ni\u1EC7m")], detailDefaults),
|
|
4473
|
+
Renderer: EstateProjectConceptRenderer
|
|
4474
|
+
};
|
|
4475
|
+
var estateProjectGalleryBlock = {
|
|
4476
|
+
definition: estateDefinition("estate-project-detail-gallery", "Photo story d\u1EF1 \xE1n", "B\u1ED9 \u1EA3nh d\u1EF1 \xE1n k\xE8m caption v\xE0 ghi ch\xFA.", "photo_library", [textField2("galleryHeading", "Ti\xEAu \u0111\u1EC1 photo story"), ...[1, 2, 3].flatMap((index) => [imageField2(`gallery${index}Image`, "H\xECnh \u1EA3nh", `Photo story ${index}`), textField2(`gallery${index}Caption`, "Caption", `Photo story ${index}`), paragraphField2(`gallery${index}Note`, "Ghi ch\xFA", `Photo story ${index}`)])], detailDefaults),
|
|
4477
|
+
Renderer: EstateProjectGalleryRenderer
|
|
4478
|
+
};
|
|
4479
|
+
var estateProjectCtaBlock = {
|
|
4480
|
+
definition: estateDefinition("estate-project-detail-cta", "CTA d\u1EF1 \xE1n", "L\u1EDDi k\xEAu g\u1ECDi h\xE0nh \u0111\u1ED9ng \u1EDF cu\u1ED1i trang d\u1EF1 \xE1n.", "campaign", [textField2("ctaEyebrow", "Nh\xE3n CTA"), textField2("ctaHeading", "Ti\xEAu \u0111\u1EC1 CTA"), textField2("ctaLabel", "Nh\xE3n n\xFAt CTA")], detailDefaults),
|
|
4481
|
+
Renderer: EstateProjectCtaRenderer
|
|
4482
|
+
};
|
|
4483
|
+
var estateProjectPageBlocks = [
|
|
4484
|
+
estateProjectsArchiveBlock,
|
|
4485
|
+
estateProjectDetailBlock,
|
|
4486
|
+
estateProjectsArchiveHeroBlock,
|
|
4487
|
+
estateProjectCatalogBlock,
|
|
4488
|
+
estateProjectExplorerBlock,
|
|
4489
|
+
estateProjectDetailHeroBlock,
|
|
4490
|
+
estateProjectInformationBlock,
|
|
4491
|
+
estateProjectStoryBlock,
|
|
4492
|
+
estateProjectConceptBlock,
|
|
4493
|
+
estateProjectGalleryBlock,
|
|
4494
|
+
estateProjectCtaBlock
|
|
4495
|
+
];
|
|
3874
4496
|
|
|
3875
4497
|
// src/dynamic-list-blocks.tsx
|
|
3876
4498
|
var import_Box7 = __toESM(require("@mui/material/Box"));
|
|
@@ -3879,25 +4501,76 @@ var import_Stack5 = __toESM(require("@mui/material/Stack"));
|
|
|
3879
4501
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
3880
4502
|
var allBlocks = [...estateBlocks, ...estateProjectPageBlocks, ...minimalMarketingBlocks];
|
|
3881
4503
|
var stringValue = (content, key) => String(content[key] ?? "");
|
|
4504
|
+
var sampleImage = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23E8E3D8'/%3E%3Cpath d='M0 650 320 360l210 190 170-150 500 400H0Z' fill='%23B8B09F'/%3E%3Ccircle cx='880' cy='220' r='90' fill='%23D2A85F'/%3E%3C/svg%3E";
|
|
4505
|
+
var uniqueSampleFields = /* @__PURE__ */ new Set(["label", "name", "question", "title"]);
|
|
3882
4506
|
function fields2(...items) {
|
|
3883
4507
|
return items.map(([key, label, type]) => ({ key, label, type, required: key === "title" || key === "question" }));
|
|
3884
4508
|
}
|
|
3885
4509
|
function indexed(prefix, names) {
|
|
3886
4510
|
return (content, items) => ({
|
|
3887
4511
|
...content,
|
|
3888
|
-
...Object.fromEntries(items.
|
|
4512
|
+
...Object.fromEntries(items.flatMap((item, index) => names.map((name) => [indexedKey(prefix, index, name), item[name] ?? ""])))
|
|
3889
4513
|
});
|
|
3890
4514
|
}
|
|
4515
|
+
function indexedKey(prefix, index, name) {
|
|
4516
|
+
return prefix ? `${prefix}${index + 1}${name[0].toUpperCase()}${name.slice(1)}` : `${name}${index + 1}`;
|
|
4517
|
+
}
|
|
3891
4518
|
function listConfig(type, count, fixedField, itemFields, prefix, names) {
|
|
3892
4519
|
return {
|
|
3893
4520
|
type,
|
|
3894
4521
|
count,
|
|
3895
4522
|
fixedField,
|
|
3896
4523
|
fields: itemFields,
|
|
3897
|
-
|
|
4524
|
+
prefix,
|
|
4525
|
+
names,
|
|
4526
|
+
legacy: (content) => Array.from({ length: count }, (_, index) => Object.fromEntries(names.map((name) => [name, stringValue(content, indexedKey(prefix, index, name))]))),
|
|
3898
4527
|
apply: indexed(prefix, names)
|
|
3899
4528
|
};
|
|
3900
4529
|
}
|
|
4530
|
+
function fallbackSampleValue(field, index) {
|
|
4531
|
+
if (field.type === "image") return sampleImage;
|
|
4532
|
+
if (field.type === "link") return "#";
|
|
4533
|
+
if (field.type === "textarea" || field.type === "richText") {
|
|
4534
|
+
return `N\u1ED9i dung m\u1EABu cho ${field.label.toLocaleLowerCase("vi")}.`;
|
|
4535
|
+
}
|
|
4536
|
+
const values = {
|
|
4537
|
+
author: "Kh\xE1ch h\xE0ng m\u1EABu",
|
|
4538
|
+
client: "Kh\xE1ch h\xE0ng m\u1EABu",
|
|
4539
|
+
location: "\u0110\u1ECBa \u0111i\u1EC3m m\u1EABu",
|
|
4540
|
+
meta: "Th\xF4ng tin m\u1EABu",
|
|
4541
|
+
role: "Vai tr\xF2 m\u1EABu",
|
|
4542
|
+
scope: "Thi\u1EBFt k\u1EBF & thi c\xF4ng",
|
|
4543
|
+
type: "Lo\u1EA1i h\xECnh m\u1EABu",
|
|
4544
|
+
value: "Gi\xE1 tr\u1ECB m\u1EABu",
|
|
4545
|
+
year: "2026"
|
|
4546
|
+
};
|
|
4547
|
+
return values[field.key] ?? `${field.label} m\u1EABu ${index + 1}`;
|
|
4548
|
+
}
|
|
4549
|
+
function sampleItem(templates, itemFields, index) {
|
|
4550
|
+
const template = templates[index % Math.max(templates.length, 1)] ?? {};
|
|
4551
|
+
const repeatedTemplate = templates.length > 0 && index >= templates.length;
|
|
4552
|
+
return Object.fromEntries(
|
|
4553
|
+
itemFields.map((field) => {
|
|
4554
|
+
const templateValue = String(
|
|
4555
|
+
template[field.key] ?? templates.find((item) => item[field.key]?.trim())?.[field.key] ?? ""
|
|
4556
|
+
).trim();
|
|
4557
|
+
const value6 = templateValue || fallbackSampleValue(field, index);
|
|
4558
|
+
const uniqueValue = repeatedTemplate && uniqueSampleFields.has(field.key) ? `${value6} ${index + 1}` : value6;
|
|
4559
|
+
return [field.key, uniqueValue];
|
|
4560
|
+
})
|
|
4561
|
+
);
|
|
4562
|
+
}
|
|
4563
|
+
function restoreEmptyItems(items, templates, itemFields) {
|
|
4564
|
+
return items.map((item, index) => {
|
|
4565
|
+
const sample = sampleItem(templates, itemFields, index);
|
|
4566
|
+
return Object.fromEntries(
|
|
4567
|
+
itemFields.map((field) => {
|
|
4568
|
+
const currentValue = item[field.key]?.trim();
|
|
4569
|
+
return [field.key, currentValue || sample[field.key] || fallbackSampleValue(field, index)];
|
|
4570
|
+
})
|
|
4571
|
+
);
|
|
4572
|
+
});
|
|
4573
|
+
}
|
|
3901
4574
|
var configs = [
|
|
3902
4575
|
listConfig("faq", 4, /^(question|answer)\d+$/, fields2(["question", "C\xE2u h\u1ECFi", "text"], ["answer", "Tr\u1EA3 l\u1EDDi", "textarea"]), "", ["question", "answer"]),
|
|
3903
4576
|
listConfig("testimonials", 3, /^(quote|author|role)\d+$/, fields2(["quote", "C\u1EA3m nh\u1EADn", "textarea"], ["author", "Kh\xE1ch h\xE0ng", "text"], ["role", "Ch\u1EE9c danh", "text"]), "", ["quote", "author", "role"]),
|
|
@@ -3909,34 +4582,117 @@ var configs = [
|
|
|
3909
4582
|
listConfig("featured-projects", 4, /^project\d+(Image|Type|Title|Location)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["type", "Lo\u1EA1i d\u1EF1 \xE1n", "text"], ["title", "T\xEAn d\u1EF1 \xE1n", "text"], ["location", "\u0110\u1ECBa \u0111i\u1EC3m", "text"]), "project", ["image", "type", "title", "location"]),
|
|
3910
4583
|
listConfig("estate-projects-archive", 3, /^project\d+(Image|Type|Title|Summary|Location|Client|Scope|Year)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["type", "Lo\u1EA1i d\u1EF1 \xE1n", "text"], ["title", "T\xEAn d\u1EF1 \xE1n", "text"], ["summary", "M\xF4 t\u1EA3", "textarea"], ["location", "\u0110\u1ECBa \u0111i\u1EC3m", "text"], ["client", "Ch\u1EE7 \u0111\u1EA7u t\u01B0", "text"], ["scope", "Ph\u1EA1m vi", "text"], ["year", "N\u0103m", "text"]), "project", ["image", "type", "title", "summary", "location", "client", "scope", "year"]),
|
|
3911
4584
|
listConfig("estate-project-detail", 3, /^gallery\d+(Image|Caption|Note)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["caption", "Caption", "text"], ["note", "Ghi ch\xFA", "textarea"]), "gallery", ["image", "caption", "note"]),
|
|
4585
|
+
listConfig("estate-project-catalog", 3, /^project\d+(Image|Type|Title|Summary|Location|Client|Scope|Year)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["type", "Lo\u1EA1i d\u1EF1 \xE1n", "text"], ["title", "T\xEAn d\u1EF1 \xE1n", "text"], ["summary", "M\xF4 t\u1EA3", "textarea"], ["location", "\u0110\u1ECBa \u0111i\u1EC3m", "text"], ["client", "Ch\u1EE7 \u0111\u1EA7u t\u01B0", "text"], ["scope", "Ph\u1EA1m vi", "text"], ["year", "N\u0103m", "text"]), "project", ["image", "type", "title", "summary", "location", "client", "scope", "year"]),
|
|
4586
|
+
listConfig("estate-project-explorer", 3, /^project\d+(Image|Type|Title|Summary|Location|Client|Scope|Year)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["type", "Lo\u1EA1i d\u1EF1 \xE1n", "text"], ["title", "T\xEAn d\u1EF1 \xE1n", "text"], ["summary", "M\xF4 t\u1EA3", "textarea"], ["location", "\u0110\u1ECBa \u0111i\u1EC3m", "text"], ["client", "Ch\u1EE7 \u0111\u1EA7u t\u01B0", "text"], ["scope", "Ph\u1EA1m vi", "text"], ["year", "N\u0103m", "text"]), "project", ["image", "type", "title", "summary", "location", "client", "scope", "year"]),
|
|
4587
|
+
listConfig("estate-project-detail-information", 4, /^item\d+(Label|Value)$/, fields2(["label", "Nh\xE3n", "text"], ["value", "Gi\xE1 tr\u1ECB", "text"]), "item", ["label", "value"]),
|
|
4588
|
+
listConfig("estate-project-detail-gallery", 3, /^gallery\d+(Image|Caption|Note)$/, fields2(["image", "H\xECnh \u1EA3nh", "image"], ["caption", "Caption", "text"], ["note", "Ghi ch\xFA", "textarea"]), "gallery", ["image", "caption", "note"]),
|
|
3912
4589
|
listConfig("testimonial-grid", 3, /^item\d+(Quote|Name|Role)$/, fields2(["quote", "C\u1EA3m nh\u1EADn", "textarea"], ["name", "Kh\xE1ch h\xE0ng", "text"], ["role", "Ch\u1EE9c danh", "text"]), "item", ["quote", "name", "role"]),
|
|
3913
4590
|
listConfig("faq-section", 3, /^item\d+(Question|Answer)$/, fields2(["question", "C\xE2u h\u1ECFi", "text"], ["answer", "Tr\u1EA3 l\u1EDDi", "textarea"]), "item", ["question", "answer"])
|
|
3914
4591
|
];
|
|
3915
4592
|
function DynamicListRenderer({ base, config, ...props }) {
|
|
3916
|
-
const
|
|
3917
|
-
const
|
|
4593
|
+
const itemTemplates = config.legacy(base.definition.defaults);
|
|
4594
|
+
const items = restoreEmptyItems(
|
|
4595
|
+
cmsListItems(props.content, config.legacy(props.content)),
|
|
4596
|
+
itemTemplates,
|
|
4597
|
+
config.fields
|
|
4598
|
+
);
|
|
4599
|
+
const informationFields = fields2(["label", "Nh\xE3n", "text"], ["value", "Gi\xE1 tr\u1ECB", "text"]);
|
|
4600
|
+
const informationTemplates = [
|
|
3918
4601
|
{ label: "\u0110\u1ECBa \u0111i\u1EC3m", value: stringValue(props.content, "location") },
|
|
3919
4602
|
{ label: "Ch\u1EE7 \u0111\u1EA7u t\u01B0", value: stringValue(props.content, "client") },
|
|
3920
4603
|
{ label: "Di\u1EC7n t\xEDch", value: stringValue(props.content, "area") },
|
|
3921
4604
|
{ label: "Quy m\xF4", value: stringValue(props.content, "floors") }
|
|
3922
|
-
]
|
|
4605
|
+
];
|
|
4606
|
+
const information = config.type === "estate-project-detail" ? restoreEmptyItems(
|
|
4607
|
+
cmsListItems(props.content, informationTemplates, "information"),
|
|
4608
|
+
informationTemplates,
|
|
4609
|
+
informationFields
|
|
4610
|
+
) : [];
|
|
3923
4611
|
const BaseRenderer = base.Renderer;
|
|
3924
4612
|
const content = {
|
|
3925
4613
|
...config.apply({ ...props.content, ...information.length ? { location: information[0]?.value ?? "", client: information[1]?.value ?? "", area: information[2]?.value ?? "", floors: information[3]?.value ?? "" } : {} }, items),
|
|
3926
4614
|
items: JSON.stringify(items),
|
|
3927
4615
|
...config.type === "estate-project-detail" ? { information: JSON.stringify(information) } : {}
|
|
3928
4616
|
};
|
|
3929
|
-
const
|
|
4617
|
+
const append = (field, list, itemFields, templates) => {
|
|
4618
|
+
props.onChange?.(
|
|
4619
|
+
field,
|
|
4620
|
+
JSON.stringify([...list, sampleItem(templates, itemFields, list.length)])
|
|
4621
|
+
);
|
|
4622
|
+
};
|
|
4623
|
+
const handleClick = (field, list, itemFields, templates) => (event) => {
|
|
3930
4624
|
event.preventDefault();
|
|
3931
4625
|
event.stopPropagation();
|
|
3932
|
-
|
|
4626
|
+
append(field, list, itemFields, templates);
|
|
4627
|
+
};
|
|
4628
|
+
const hasInlineAddAction = [
|
|
4629
|
+
"estate-projects-archive",
|
|
4630
|
+
"estate-project-catalog",
|
|
4631
|
+
"estate-project-explorer"
|
|
4632
|
+
].includes(config.type);
|
|
4633
|
+
const handleImageRequest = (field) => {
|
|
4634
|
+
const imageField3 = config.fields.find((itemField) => itemField.type === "image");
|
|
4635
|
+
const itemIndex = imageField3 ? items.findIndex((_, index) => indexedKey(config.prefix, index, imageField3.key) === field) : -1;
|
|
4636
|
+
if (imageField3 && itemIndex >= 0) {
|
|
4637
|
+
props.onImageRequest?.("items", { index: itemIndex, key: imageField3.key });
|
|
4638
|
+
return;
|
|
4639
|
+
}
|
|
4640
|
+
props.onImageRequest?.(field);
|
|
3933
4641
|
};
|
|
3934
4642
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
|
|
3935
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
4643
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4644
|
+
BaseRenderer,
|
|
4645
|
+
{
|
|
4646
|
+
...props,
|
|
4647
|
+
content,
|
|
4648
|
+
onImageRequest: handleImageRequest,
|
|
4649
|
+
onAddListItem: props.editable && hasInlineAddAction ? () => append("items", items, config.fields, itemTemplates) : void 0
|
|
4650
|
+
}
|
|
4651
|
+
),
|
|
4652
|
+
props.editable && !hasInlineAddAction && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4653
|
+
import_Box7.default,
|
|
4654
|
+
{
|
|
4655
|
+
sx: {
|
|
4656
|
+
px: { xs: 2, md: 4 },
|
|
4657
|
+
py: 2,
|
|
4658
|
+
borderTop: "1px solid rgba(32, 40, 32, 0.12)",
|
|
4659
|
+
bgcolor: "#FAF8F3"
|
|
4660
|
+
},
|
|
4661
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_Stack5.default, { direction: "row", spacing: 1, justifyContent: "flex-end", flexWrap: "wrap", useFlexGap: true, children: [
|
|
4662
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4663
|
+
import_Button7.default,
|
|
4664
|
+
{
|
|
4665
|
+
size: "small",
|
|
4666
|
+
variant: "contained",
|
|
4667
|
+
onClick: handleClick("items", items, config.fields, itemTemplates),
|
|
4668
|
+
sx: {
|
|
4669
|
+
borderRadius: 0,
|
|
4670
|
+
bgcolor: "#172019",
|
|
4671
|
+
color: "#F8F5EF",
|
|
4672
|
+
boxShadow: "none",
|
|
4673
|
+
"&:hover": { bgcolor: "#28372C", boxShadow: "none" }
|
|
4674
|
+
},
|
|
4675
|
+
children: "+ Th\xEAm m\u1EE5c"
|
|
4676
|
+
}
|
|
4677
|
+
),
|
|
4678
|
+
config.type === "estate-project-detail" && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4679
|
+
import_Button7.default,
|
|
4680
|
+
{
|
|
4681
|
+
size: "small",
|
|
4682
|
+
variant: "outlined",
|
|
4683
|
+
onClick: handleClick(
|
|
4684
|
+
"information",
|
|
4685
|
+
information,
|
|
4686
|
+
informationFields,
|
|
4687
|
+
informationTemplates
|
|
4688
|
+
),
|
|
4689
|
+
sx: { borderRadius: 0 },
|
|
4690
|
+
children: "+ Th\xEAm th\xF4ng tin"
|
|
4691
|
+
}
|
|
4692
|
+
)
|
|
4693
|
+
] })
|
|
4694
|
+
}
|
|
4695
|
+
)
|
|
3940
4696
|
] });
|
|
3941
4697
|
}
|
|
3942
4698
|
function createBlock(config) {
|
|
@@ -4315,13 +5071,17 @@ var minimalUiComponents = [
|
|
|
4315
5071
|
];
|
|
4316
5072
|
var wikexComponents = [downloadSectionBlock];
|
|
4317
5073
|
var estateComponents = [...estateBlocks, ...estateProjectPageBlocks];
|
|
4318
|
-
var
|
|
5074
|
+
var dynamicListBlockByType = new Map(
|
|
5075
|
+
dynamicListBlocks.map((block) => [block.definition.type, block])
|
|
5076
|
+
);
|
|
5077
|
+
var sourceCmsBlocks = [
|
|
4319
5078
|
...wikexComponents,
|
|
4320
|
-
...
|
|
4321
|
-
|
|
4322
|
-
),
|
|
4323
|
-
...dynamicListBlocks
|
|
5079
|
+
...estateComponents,
|
|
5080
|
+
...minimalUiComponents
|
|
4324
5081
|
];
|
|
5082
|
+
var wikexCmsBlocks = sourceCmsBlocks.map(
|
|
5083
|
+
(block) => dynamicListBlockByType.get(block.definition.type) ?? block
|
|
5084
|
+
);
|
|
4325
5085
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4326
5086
|
0 && (module.exports = {
|
|
4327
5087
|
estateBlocks,
|