diff --git a/components/Blocks/Shortcuts/index.tsx b/components/Blocks/Shortcuts/index.tsx index d0a332511..850aafe66 100644 --- a/components/Blocks/Shortcuts/index.tsx +++ b/components/Blocks/Shortcuts/index.tsx @@ -12,7 +12,7 @@ export default function Shortcuts({ shortcuts, subtitle, title, - twoColumnList, + hasTwoColumns, }: ShortcutsProps) { const middleIndex = Math.ceil(shortcuts.length / 2) const leftColumn = shortcuts.slice(0, middleIndex) @@ -37,11 +37,11 @@ export default function Shortcuts({ return ( -
-
+
+
-
+
diff --git a/components/Blocks/index.tsx b/components/Blocks/index.tsx index bc78bb619..2764c9fc7 100644 --- a/components/Blocks/index.tsx +++ b/components/Blocks/index.tsx @@ -47,7 +47,7 @@ export default function Blocks({ blocks }: BlocksProps) { shortcuts={block.shortcuts.shortcuts} subtitle={block.shortcuts.subtitle} title={block.shortcuts.title} - twoColumnList={block.shortcuts.twoColumnList} + hasTwoColumns={block.shortcuts.hasTwoColumns} /> ) case BlocksEnums.block.Table: diff --git a/components/TempDesignSystem/Link/link.module.css b/components/TempDesignSystem/Link/link.module.css index a29e20309..0b69b5973 100644 --- a/components/TempDesignSystem/Link/link.module.css +++ b/components/TempDesignSystem/Link/link.module.css @@ -57,7 +57,7 @@ .shortcut { align-items: center; - border-bottom: 0.5px solid var(--Scandic-Beige-20); + border-bottom: 1px solid var(--Base-Border-Subtle); display: grid; font-family: var(--typography-Body-Regular-fontFamily); font-size: var(--typography-Body-Regular-fontSize); diff --git a/components/Webviews/AccountPage/Blocks.tsx b/components/Webviews/AccountPage/Blocks.tsx index 7701e47f4..42b90697a 100644 --- a/components/Webviews/AccountPage/Blocks.tsx +++ b/components/Webviews/AccountPage/Blocks.tsx @@ -70,7 +70,7 @@ export default function Content({ content }: ContentProps) { shortcuts={shortcuts} subtitle={item.shortcuts.subtitle} title={item.shortcuts.title} - twoColumnList={item.shortcuts.twoColumnList} + hasTwoColumns={item.shortcuts.hasTwoColumns} /> ) case BlocksEnums.block.TextContent: diff --git a/components/Webviews/LoyaltyPage/Blocks.tsx b/components/Webviews/LoyaltyPage/Blocks.tsx index 77c826900..d68085146 100644 --- a/components/Webviews/LoyaltyPage/Blocks.tsx +++ b/components/Webviews/LoyaltyPage/Blocks.tsx @@ -61,7 +61,7 @@ export default function Blocks({ blocks }: BlocksProps) { shortcuts={shortcuts} subtitle={block.shortcuts.subtitle} title={block.shortcuts.title} - twoColumnList={block.shortcuts.twoColumnList} + hasTwoColumns={block.shortcuts.hasTwoColumns} /> ) default: diff --git a/server/routers/contentstack/schemas/blocks/shortcuts.ts b/server/routers/contentstack/schemas/blocks/shortcuts.ts index 13e99d7b3..81c1651da 100644 --- a/server/routers/contentstack/schemas/blocks/shortcuts.ts +++ b/server/routers/contentstack/schemas/blocks/shortcuts.ts @@ -57,7 +57,7 @@ export const shortcutsSchema = z.object({ .transform(({ two_column_list, ...rest }) => { return { ...rest, - twoColumnList: two_column_list, + hasTwoColumns: two_column_list, } }), })