Skip to content

dvlopcore toolkit

Footer

The page footer: the site's footer text and its contact details as links. Nothing at all when there is neither.

Demo

Property editor

Change a value and apply it; the demo renders with the new values. A refused value is reported at its field and the demo keeps the starting value.

Shown as a mailto link when set.

Shown as a tel link when set; the link keeps only digits and a plus.

The word before the contact details, in the page's language.

Reset

The demo shows its starting values.

Properties

PropertyTypeDefaultAllowed valuesDescription
htmlstringnoneThe footer text of the page's language, HTML from the site's config.php.
emailstringnoneShown as a mailto link when set.
phonestringnoneShown as a tel link when set; the link keeps only digits and a plus.
contactLabelstringrequiredThe word before the contact details, in the page's language.

Events

This component sends no events.

Keyboard

This component has no keyboard behaviour of its own.

Accessibility

Rationale

The footer landmark is rendered only when it has content, and its stylesheet is linked only then: a page carries what it uses and nothing dormant. The phone link strips everything but digits and a plus, so the visible number can be written as people write it.

References

Uses

This component uses no other component.

Used by

No usages recorded yet.

README

footer

The page footer: the site's footer text ($footer, per language) and its contact details ($email, $phone) as links, after the word "Contact" in the page's language. Nothing, and no stylesheet, when there is neither.

  • Token: --font-size-footer (a site that wants a smaller footer sets it; was a rule in two site.css files).

Change log

  • 2026-10-14: component.json (the manifest: the props now live there) and demo.php (the demos the inspector and the catalogue page show) added; see docs/architecture/inspector.md.
  • 2026-10-14: new, from htmlFooter() in footer.php.