DocumentationTypesInterfaces

Theme Shop Grid Showcase Block

amerta


amerta / payload-types / ThemeShopGridShowcaseBlock

Interface: ThemeShopGridShowcaseBlock

Defined in: payload-types.ts:1433

This interface was referenced by Config's JSON-Schema via the definition "ThemeShopGridShowcaseBlock".

Properties

blockName?

optional blockName: string | null

Defined in: payload-types.ts:1520


blockType

blockType: "themeShopGridShowcase"

Defined in: payload-types.ts:1521


centerImage?

optional centerImage: string | Media | null

Defined in: payload-types.ts:1457

Main hero image in center (square aspect ratio recommended)


className?

optional className: string | null

Defined in: payload-types.ts:1518

Additional Tailwind classes for custom styling


hideOnFrontend?

optional hideOnFrontend: boolean | null

Defined in: payload-types.ts:1437

Toggle to hide this section from the live website.


id?

optional id: string | null

Defined in: payload-types.ts:1519


leftBackgroundColor?

optional leftBackgroundColor: string | null

Defined in: payload-types.ts:1453

Hex color code for background


leftDescription?

optional leftDescription: string | null

Defined in: payload-types.ts:1445

Description text below title


leftImage?

optional leftImage: string | Media | null

Defined in: payload-types.ts:1449

Decorative image (e.g., circle-line pattern)


leftTitle?

optional leftTitle: string | null

Defined in: payload-types.ts:1441

Main title for the left section


link

link: { appearance?: "default" | null; label: string; newTab?: boolean | null; reference?: { relationTo: "pages"; value: string | Page; } | { relationTo: "posts"; value: string | Post; } | { relationTo: "categories"; value: string | Category; } | { relationTo: "products"; value: string | Product; } | { relationTo: "collections"; value: string | Collection; } | { relationTo: "product-brands"; value: string | ProductBrand; } | null; size?: "default" | "sm" | "lg" | "xs" | null; type?: "custom" | "reference" | null; url?: string | null; }

Defined in: payload-types.ts:1473

Optional button link for right section

appearance?

optional appearance: "default" | null

Choose how the link should be rendered.

label

label: string

newTab?

optional newTab: boolean | null

reference?

optional reference: { relationTo: "pages"; value: string | Page; } | { relationTo: "posts"; value: string | Post; } | { relationTo: "categories"; value: string | Category; } | { relationTo: "products"; value: string | Product; } | { relationTo: "collections"; value: string | Collection; } | { relationTo: "product-brands"; value: string | ProductBrand; } | null

size?

optional size: "default" | "sm" | "lg" | "xs" | null

Choose how the link size.

type?

optional type: "custom" | "reference" | null

url?

optional url: string | null

use {locale} to insert the current locale code into the URL


rightBottomDescription?

optional rightBottomDescription: string | null

Defined in: payload-types.ts:1469

Description text for bottom right section


rightBottomTitle?

optional rightBottomTitle: string | null

Defined in: payload-types.ts:1465

Title for the bottom right content


rightTopImage?

optional rightTopImage: string | Media | null

Defined in: payload-types.ts:1461

Top image on right side