DocumentationTypesInterfaces

Footer

amerta


amerta / payload-types / Footer

Interface: Footer

Defined in: payload-types.ts:5515

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

Properties

className?

optional className: string | null

Defined in: payload-types.ts:5633

Custom CSS classes to apply to the footer element


copyright?

optional copyright: string | null

Defined in: payload-types.ts:5629

Copyright notice displayed at the bottom of the footer


createdAt?

optional createdAt: string | null

Defined in: payload-types.ts:5635


description?

optional description: string | null

Defined in: payload-types.ts:5536

Description text to display under the logo


footerBottomMenu?

optional footerBottomMenu: { menu?: string | Menu | null; }

Defined in: payload-types.ts:5592

menu?

optional menu: string | Menu | null

Select a menu to display in this footer section


footerButton?

optional footerButton: { 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:5537

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


footerForm?

optional footerForm: { description?: string | null; enable?: boolean | null; form?: string | Form | null; title?: string | null; }

Defined in: payload-types.ts:5598

description?

optional description: string | null

Optional description text above the form

enable?

optional enable: boolean | null

Enable a form in the footer (e.g., newsletter signup, contact form)

form?

optional form: string | Form | null

Select which form to display in the footer

title?

optional title: string | null

Optional custom title for the form section


footerMenus?

optional footerMenus: { id?: string | null; menu?: string | Menu | null; title: string; }[] | null

Defined in: payload-types.ts:5579


id

id: string

Defined in: payload-types.ts:5516


logoClassName?

optional logoClassName: string | null

Defined in: payload-types.ts:5532

Custom CSS classes to apply to the footer logo element


logoDark?

optional logoDark: string | Media | null

Defined in: payload-types.ts:5528

Logo to display in dark mode. SVG recommended for best quality.


logoLight?

optional logoLight: string | Media | null

Defined in: payload-types.ts:5524

Logo to display in light mode. SVG recommended for best quality.


socialMedia?

optional socialMedia: { id?: string | null; platform: "facebook" | "instagram" | "github" | "youtube" | "twitter" | "linkedin" | "tiktok" | "discord"; url: string; }[] | null

Defined in: payload-types.ts:5619

Add links to your social media profiles to display in the footer


title?

optional title: string | null

Defined in: payload-types.ts:5520

Optional title to display above the logo


updatedAt?

optional updatedAt: string | null

Defined in: payload-types.ts:5634