DocumentationTypesInterfaces

Theme Shop CTA Feature Block

amerta


amerta / payload-types / ThemeShopCTAFeatureBlock

Interface: ThemeShopCTAFeatureBlock

Defined in: payload-types.ts:1357

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

Properties

backgroundColor?

optional backgroundColor: "white" | "off-white" | "light-gray" | null

Defined in: payload-types.ts:1424


blockName?

optional blockName: string | null

Defined in: payload-types.ts:1426


blockType

blockType: "themeShopCtaFeature"

Defined in: payload-types.ts:1427


className?

optional className: string | null

Defined in: payload-types.ts:1423

Additional Tailwind classes for custom styling


description?

optional description: string | null

Defined in: payload-types.ts:1369

Detailed description text


hideOnFrontend?

optional hideOnFrontend: boolean | null

Defined in: payload-types.ts:1361

Toggle to hide this section from the live website.


id?

optional id: string | null

Defined in: payload-types.ts:1425


leftImage?

optional leftImage: string | Media | null

Defined in: payload-types.ts:1415

Main feature image on left side (recommended: 325x335px or similar 3:4 ratio)


link?

optional link: { appearance?: "default" | "link" | "outline" | "destructive" | "ghost" | "secondary" | null; label?: string | null; 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:1370

appearance?

optional appearance: "default" | "link" | "outline" | "destructive" | "ghost" | "secondary" | null

Choose how the link should be rendered.

label?

optional label: string | null

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


rightImage?

optional rightImage: string | Media | null

Defined in: payload-types.ts:1419

Large feature image on right side (recommended: 495x530px)


title?

optional title: string | null

Defined in: payload-types.ts:1365

Main headline for the CTA section