DocumentationTypesInterfaces

Theme Shop Hero Video Block

amerta


amerta / payload-types / ThemeShopHeroVideoBlock

Interface: ThemeShopHeroVideoBlock

Defined in: payload-types.ts:868

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

Properties

alignment?

optional alignment: "center" | "left" | "right" | null

Defined in: payload-types.ts:873


bgImage?

optional bgImage: string | Media | null

Defined in: payload-types.ts:885


bgOverlay?

optional bgOverlay: "after:bg-transparent" | "after:bg-black/5" | "after:bg-black/10" | "after:bg-black/15" | "after:bg-black/20" | "after:bg-black/25" | "after:bg-black/30" | "after:bg-black/35" | "after:bg-black/40" | "after:bg-black/45" | "after:bg-black/50" | "after:bg-black/55" | "after:bg-black/60" | "after:bg-black/65" | "after:bg-black/70" | "after:bg-black/75" | "after:bg-black/80" | "after:bg-black/85" | "after:bg-black/90" | "after:bg-black/95" | "after:bg-black" | "after:bg-white/5" | "after:bg-white/10" | "after:bg-white/15" | "after:bg-white/20" | "after:bg-white/25" | "after:bg-white/30" | "after:bg-white/35" | "after:bg-white/40" | "after:bg-white/45" | "after:bg-white/50" | "after:bg-white/55" | "after:bg-white/60" | "after:bg-white/65" | "after:bg-white/70" | "after:bg-white/75" | "after:bg-white/80" | "after:bg-white/85" | "after:bg-white/90" | "after:bg-white/95" | "after:bg-white" | null

Defined in: payload-types.ts:886


bgVideo?

optional bgVideo: string | Media | null

Defined in: payload-types.ts:880


bgVideoType?

optional bgVideoType: "url" | "upload" | null

Defined in: payload-types.ts:879


bgVideoUrl?

optional bgVideoUrl: string | null

Defined in: payload-types.ts:884

Direct link to .mp4 file recommended.


blockName?

optional blockName: string | null

Defined in: payload-types.ts:1028


blocks?

optional blocks: ({ blockName?: string | null; blockType: "text"; fontSize?: "text-2xl" | "text-xl" | "text-lg" | "text-base" | "text-sm" | null; fontWeight?: "font-normal" | "font-medium" | "font-bold" | "font-extrabold" | "font-black" | null; id?: string | null; leading?: "leading-relaxed" | "leading-normal" | "leading-snug" | "leading-tight" | "leading-none" | null; marginBottom?: "" | "md:mb-1" | "mb-1 md:mb-2" | "mb-2 md:mb-4" | "mb-3 md:mb-6" | null; marginTop?: "" | "md:mt-1" | "mt-1 md:mt-2" | "mt-2 md:mt-4" | "mt-3 md:mt-6" | null; text?: string | null; } | { blockName?: string | null; blockType: "heading"; fontSize?: "text-3xl sm:text-4xl md:text-5xl lg:text-6xl" | "text-2xl sm:text-3xl md:text-4xl lg:text-5xl" | "text-xl sm:text-2xl md:text-3xl lg:text-4xl" | "text-lg sm:text-xl md:text-2xl lg:text-3xl" | "text-base sm:text-lg md:text-xl lg:text-2xl" | null; fontWeight?: "font-normal" | "font-medium" | "font-bold" | "font-extrabold" | "font-black" | null; id?: string | null; leading?: "leading-relaxed" | "leading-normal" | "leading-snug" | "leading-tight" | "leading-none" | null; marginBottom?: "" | "md:mb-1" | "mb-1 md:mb-2" | "mb-2 md:mb-4" | "mb-3 md:mb-6" | null; marginTop?: "" | "md:mt-1" | "mt-1 md:mt-2" | "mt-2 md:mt-4" | "mt-3 md:mt-6" | null; strokeColor?: string | null; strokeText?: boolean | null; text?: string | null; textColor?: string | null; type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null; } | { blockName?: string | null; blockType: "buttons"; casing?: "" | "uppercase" | "lowercase" | "capitalize" | null; id?: string | null; 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; }; })[] | null

Defined in: payload-types.ts:935


blockType

blockType: "themeShopHeroVideo"

Defined in: payload-types.ts:1029


blur?

optional blur: number | null

Defined in: payload-types.ts:878


direction?

optional direction: "center" | "left" | "right" | null

Defined in: payload-types.ts:874


hideOnFrontend?

optional hideOnFrontend: boolean | null

Defined in: payload-types.ts:872

Toggle to hide this section from the live website.


id?

optional id: string | null

Defined in: payload-types.ts:1027


image?

optional image: string | Media | null

Defined in: payload-types.ts:934


spacing?

optional spacing: "gap-0" | "gap-1" | "gap-2" | "gap-3" | "gap-4" | "gap-5" | "gap-6" | "gap-7" | "gap-8" | "gap-9" | "gap-10" | null

Defined in: payload-types.ts:875


video?

optional video: string | Media | null

Defined in: payload-types.ts:932


videoType?

optional videoType: "url" | "upload" | null

Defined in: payload-types.ts:931


videoUrl?

optional videoUrl: string | null

Defined in: payload-types.ts:933