Skip to content

footerContent

andy.rothwell edited this page May 31, 2019 · 3 revisions

footerContent configuration

In order to make a site's footer able to call components such as Popovers, you can configure your footer in the site config.

Example:

footerContent: {
  components: [
    {
      type: 'PopoverLink',
      options: {
        height: '92%',
        customStyle: { 'color': 'white', 'border-bottom': '0px' },
        components: [
          {
            type: 'about'
          }
        ]
      },
      slots: {
        shouldShowValue: false,
        value: 'Help'
      }
    },
    {
      type: 'Anchor',
      options: {
        text: 'Feedback',
        target: 'blank',
        customStyle: { 'color': 'white', 'border-bottom': '0px' },
        href: '//exampleurl.com'
      }
    }
  ]
},
Clone this wiki locally