@treely/strapi-slices 8.2.0 → 8.2.2
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.js
CHANGED
|
@@ -251,6 +251,7 @@ var SLICES_WITH_BLOG_POSTS = ["sections.blog", "sections.blog-cards"];
|
|
|
251
251
|
var SLICES_WITH_CUSTOMER_STORIES = ["sections.customer-stories"];
|
|
252
252
|
var SLICES_WITH_PROJECTS = [
|
|
253
253
|
"sections.projects-grid",
|
|
254
|
+
"sections.projects-grid-v2",
|
|
254
255
|
"sections.projects-map",
|
|
255
256
|
"sections.project-facts",
|
|
256
257
|
"sections.text-with-card"
|
|
@@ -4243,7 +4244,7 @@ var ProjectsGridV2 = ({
|
|
|
4243
4244
|
(strapiProject) => strapiProject.attributes.fpmProjectId === fpmProject.id
|
|
4244
4245
|
)
|
|
4245
4246
|
);
|
|
4246
|
-
return /* @__PURE__ */ jsx33(DefaultSectionContainer16, { children: /* @__PURE__ */ jsx33(Wrapper21, { children: /* @__PURE__ */ jsx33(SimpleGrid11, { columns: [1, null, 2,
|
|
4247
|
+
return /* @__PURE__ */ jsx33(DefaultSectionContainer16, { children: /* @__PURE__ */ jsx33(Wrapper21, { children: /* @__PURE__ */ jsx33(SimpleGrid11, { columns: [1, null, 2, 3, 4], gap: "16", children: filteredProjects.map((project) => /* @__PURE__ */ jsx33(
|
|
4247
4248
|
ConditionalWrapper2,
|
|
4248
4249
|
{
|
|
4249
4250
|
condition: !!project.slug,
|
|
@@ -4251,21 +4252,15 @@ var ProjectsGridV2 = ({
|
|
|
4251
4252
|
Link6,
|
|
4252
4253
|
{
|
|
4253
4254
|
href: `${project.portfolioHost || ""}/portfolio/${project.slug}`,
|
|
4254
|
-
passHref: true,
|
|
4255
|
-
legacyBehavior: true,
|
|
4256
4255
|
children
|
|
4257
|
-
}
|
|
4258
|
-
project.id
|
|
4256
|
+
}
|
|
4259
4257
|
),
|
|
4260
4258
|
children: /* @__PURE__ */ jsx33(
|
|
4261
4259
|
Box24,
|
|
4262
4260
|
{
|
|
4263
|
-
as: "a",
|
|
4264
|
-
cursor: "pointer",
|
|
4265
4261
|
borderRadius: "2xl",
|
|
4266
4262
|
transition: `box-shadow ease ${MEDIUM_TRANSITION_DURATION}s`,
|
|
4267
4263
|
_hover: { boxShadow: "lg" },
|
|
4268
|
-
maxWidth: "xs",
|
|
4269
4264
|
children: /* @__PURE__ */ jsx33(ProjectGridCardV2_default, { project })
|
|
4270
4265
|
}
|
|
4271
4266
|
)
|