Slots#
Volto Light Theme provides a set of slots to customize the layout and structure of your pages. Slots are predefined areas in the page where you can place components. Learn more about slots in the Volto documentation chapter plone:/volto/configuration/slots.
Usage#
You can add a component to a predefined slot by registering it in your add-on's configuration.
import FooterLogos from '@kitconcept/volto-light-theme/components/Footer/slots/FooterLogos';
config.registerSlotComponent({
name: 'footerLogos',
slot: 'preFooter',
component: FooterLogos,
});
The FooterLogos component will be rendered in the preFooter slot of the page.
aboveHeaderThe
aboveHeaderslot adds content above the header of the page.belowHeaderThe
belowHeaderslot adds content below the header of the page.headerToolsThe
headerToolsslot adds content in the header tools at the top-most right area of the page. By default, it has theAnontoolscomponent, which provides the login, logout, and register links if they are enabled in theportal_actionstool in your Plone site.preFooterThe
preFooterslot adds content before the footer of the page.postFooterThe
postFooterslot adds content after the footer of the page.footerThe
footerslot adds content in the main footer area of the page.followUsThe
followUsslot adds content in the footer "follow us" area of the page.footerLinksThe
footerLinksslot adds content in the footer "links" area of the page.