-
+
+
diff --git a/components/Blocks/Shortcuts/shortcuts.module.css b/components/Blocks/ShortcutsList/shortcutsList.module.css
similarity index 100%
rename from components/Blocks/Shortcuts/shortcuts.module.css
rename to components/Blocks/ShortcutsList/shortcutsList.module.css
diff --git a/components/Blocks/index.tsx b/components/Blocks/index.tsx
index 2764c9fc7..bd8abb6f7 100644
--- a/components/Blocks/index.tsx
+++ b/components/Blocks/index.tsx
@@ -1,6 +1,6 @@
import CardsGrid from "@/components/Blocks/CardsGrid"
import DynamicContent from "@/components/Blocks/DynamicContent"
-import Shortcuts from "@/components/Blocks/Shortcuts"
+import ShortcutsList from "@/components/Blocks/ShortcutsList"
import TextCols from "@/components/Blocks/TextCols"
import UspGrid from "@/components/Blocks/UspGrid"
import JsonToHtml from "@/components/JsonToHtml"
@@ -41,7 +41,7 @@ export default function Blocks({ blocks }: BlocksProps) {
)
case BlocksEnums.block.Shortcuts:
return (
-
{
diff --git a/types/components/blocks/shortcuts.ts b/types/components/blocks/shortcuts.ts
index 4cb6b7195..10e651ae2 100644
--- a/types/components/blocks/shortcuts.ts
+++ b/types/components/blocks/shortcuts.ts
@@ -1,9 +1,9 @@
import type { Shortcut } from "@/types/trpc/routers/contentstack/blocks"
-export interface ShortcutsProps extends Shortcut {
+export interface ShortcutsListProps extends Shortcut {
firstItem?: boolean
}
-export type ShortcutsListProps = {
- shortCutList: ShortcutsProps["shortcuts"]
+export type ShortcutsListItemsProps = {
+ shortCutList: ShortcutsListProps["shortcuts"]
}
diff --git a/types/trpc/routers/contentstack/contentPage.ts b/types/trpc/routers/contentstack/contentPage.ts
index 6bc343278..7153539ad 100644
--- a/types/trpc/routers/contentstack/contentPage.ts
+++ b/types/trpc/routers/contentstack/contentPage.ts
@@ -4,6 +4,7 @@ import {
blocksSchema,
contentPageRefsSchema,
contentPageSchema,
+ contentPageSchemaBlocks,
sidebarSchema,
} from "@/server/routers/contentstack/contentPage/output"
@@ -15,6 +16,8 @@ export interface ContentPageRefs
export interface GetContentPageSchema
extends z.input {}
+export interface GetContentPageSchemaBlocks
+ extends z.input {}
export interface ContentPage extends z.output {}