Merge develop

This commit is contained in:
Linus Flood
2024-09-20 12:57:40 +02:00
28 changed files with 314 additions and 103 deletions

View File

@@ -7,6 +7,7 @@ import {
Block,
CardsGrid,
DynamicContent,
TextCols,
} from "@/types/trpc/routers/contentstack/contentPage"
export type BlocksProps = {
@@ -17,6 +18,10 @@ export type CardsGridProps = Pick<CardsGrid, "cards_grid"> & {
firstItem?: boolean
}
export type TextColsProps = {
textCols: TextCols["text_cols"]
}
export type DynamicContentProps = {
dynamicContent: DynamicContent["dynamic_content"]
firstItem: boolean

View File

@@ -6,6 +6,7 @@ export enum ContentBlocksTypenameEnum {
ContentPageBlocksShortcuts = "ContentPageBlocksShortcuts",
ContentPageBlocksCardsGrid = "ContentPageBlocksCardsGrid",
ContentPageBlocksDynamicContent = "ContentPageBlocksDynamicContent",
ContentPageBlocksTextCols = "ContentPageBlocksTextCols",
}
export enum CardsGridEnum {