Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,9 @@ export const expandedFooterSlots: Migration = {
props: {
id: `${props.id}-CopyrightSlot`,
data: {
text: {
field: "",
constantValue: copyrightMessage || {
en: "",
hasLocalizedValue: "true",
},
constantValueEnabled: true,
text: copyrightMessage || {
en: "",
hasLocalizedValue: "true",
},
},
alignment: secondaryLinksAlignment,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 33 additions & 25 deletions packages/visual-editor/src/vite-plugin/defaultLayoutData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2311,6 +2311,10 @@ const mainDefaultLayout = {
textColor: "text-black",
},
},
conditionalRender: {
hasCategory: true,
hasPublishTime: true,
},
slots: {
ImageSlot: [
{
Expand Down Expand Up @@ -2433,7 +2437,10 @@ const mainDefaultLayout = {
entityField: {
field: "",
constantValue: {
label: "Read More",
label: {
en: "Read More",
hasLocalizedValue: "true",
},
link: "#",
linkType: "URL",
ctaType: "textAndLink",
Expand All @@ -2445,6 +2452,7 @@ const mainDefaultLayout = {
variant: "primary",
presetImage: "app-store",
},
eventName: "cta0",
},
},
],
Expand All @@ -2461,6 +2469,10 @@ const mainDefaultLayout = {
textColor: "text-black",
},
},
conditionalRender: {
hasCategory: true,
hasPublishTime: true,
},
slots: {
ImageSlot: [
{
Expand Down Expand Up @@ -2583,7 +2595,10 @@ const mainDefaultLayout = {
entityField: {
field: "",
constantValue: {
label: "Read More",
label: {
en: "Read More",
hasLocalizedValue: "true",
},
link: "#",
linkType: "URL",
ctaType: "textAndLink",
Expand All @@ -2595,6 +2610,7 @@ const mainDefaultLayout = {
variant: "primary",
presetImage: "app-store",
},
eventName: "cta1",
},
},
],
Expand All @@ -2611,6 +2627,10 @@ const mainDefaultLayout = {
textColor: "text-black",
},
},
conditionalRender: {
hasCategory: true,
hasPublishTime: true,
},
slots: {
ImageSlot: [
{
Expand Down Expand Up @@ -2733,7 +2753,10 @@ const mainDefaultLayout = {
entityField: {
field: "",
constantValue: {
label: "Read More",
label: {
en: "Read More",
hasLocalizedValue: "true",
},
link: "#",
linkType: "URL",
ctaType: "textAndLink",
Expand All @@ -2745,6 +2768,7 @@ const mainDefaultLayout = {
variant: "primary",
presetImage: "app-store",
},
eventName: "cta2",
},
},
],
Expand Down Expand Up @@ -3736,17 +3760,9 @@ const mainDefaultLayout = {
{
type: "CopyrightMessageSlot",
props: {
id: "CopyrightMessageSlot-a693ff67-53de-4654-a9bb-b6be0ef0af77",
data: {
text: {
field: "",
constantValue: {
en: "",
hasLocalizedValue: "true",
},
constantValueEnabled: true,
},
},
id: "CopyrightMessageSlot-e0142469-df41-4ed7-9213-6a1ae84433e0",
data: { text: { en: "", hasLocalizedValue: "true" } },
alignment: "left",
},
},
],
Expand Down Expand Up @@ -4479,17 +4495,9 @@ const directoryDefaultLayout = {
{
type: "CopyrightMessageSlot",
props: {
id: "CopyrightMessageSlot-a693ff67-53de-4654-a9bb-b6be0ef0af77",
data: {
text: {
field: "",
constantValue: {
en: "",
hasLocalizedValue: "true",
},
constantValueEnabled: true,
},
},
id: "CopyrightMessageSlot-e0142469-df41-4ed7-9213-6a1ae84433e0",
data: { text: { en: "", hasLocalizedValue: "true" } },
alignment: "left",
},
},
],
Expand Down