page footer

page footer docs

Page Footer

Global footer that contains Pega description, main navigation, secondary navigation and social media links

Published Last updated: 5.5.0 Change log Github NPM
Twig Usage
// The main template
{% include '@bolt-components-page-footer/page-footer.twig' with {
  description: description, // Heading and description text goes here
  primary_nav: primary_nav, // Use page-footer-nav-ul.twig to render each set of navigation list
  secondary_nav: secondary_nav, // Use page-footer-nav-ul.twig to render each set of navigation list
} only %}

// Nav list template
{% include '@bolt-components-page-footer/page-footer-nav-ul.twig' with {
  headline: {
    content: 'Company',
    tag: 'h3',
  },
  content: content, // Use page-footer-nav-li.twig to render each link
  category: category, // Set the category for a particular list of navigation
} only %}

// Nav list item template
{% include '@bolt-components-page-footer/page-footer-nav-li.twig' with {
  link: {
    content: 'Facebook',
    icon_before: icon_facebook, // Only render an icon if page-footer-nav-ul.twig category is set to social
    attributes: {
      href: 'https://www.facebook.com/pegasystems',
    },
  },
} only %}
Schema
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case.
Page Footer (page-footer.twig)
Prop Name Description Type Default Value Option(s)
attributes

A Drupal attributes object. Applies extra HTML attributes to the parent element.

object —
  • —
description

Accept any types of value, plain text is the simplest usage.

any —
  • —
primary_nav

Render the primary navigation. Use page-footer-nav-ul.twig to render each set of navigation list.

any —
  • —
secondary_nav

Render the secondary navigation. Use page-footer-nav-ul.twig to render each set of navigation list.

any —
  • —
Page Footer Nav ul (page-footer-nav-ul.twig)
Prop Name Description Type Default Value Option(s)
attributes

A Drupal attributes object. Applies extra HTML attributes to the parent element.

object —
  • —
content *

Content of the nav list. Use page-footer-nav-li.twig to render each link.

any —
  • —
category

Set the category for the nav list. Only needed for social links, language links, and legal links.

string —
  • social, language, legal
headline

Headline of the nav list. This must be set for each nav list.

object —
    • attributes

      A Drupal attributes object. Applies extra HTML attributes to the parent element.

      • —
    • content

      Set the headline for the nav list.

      • —
    • tag

      Set the semantic HTML tag for the headline.

      • h1, h2, h3, h4, h5, h6
open

Set to true if a nav list needs to be expanded by default in mobile view.

boolean false
  • —
Page Footer Nav li (page-footer-nav-li.twig)
Prop Name Description Type Default Value Option(s)
attributes

A Drupal attributes object. Applies extra HTML attributes to the parent element.

object —
  • —
link

Link of the nav list item. Passing the "href" attribute will turn it into a semantic link and passing the "type" attribute will turn it into a semantic button.

object —
    • attributes

      A Drupal attributes object. Applies extra HTML attributes to the parent element.

      • —
    • content

      Set the label text for the link.

      • —
    • icon_before

      Set an icon before a social link.

      • —
Install Install
npm install @bolt/components-page-footer
Dependencies @bolt/core-v3.x @bolt/elements-icon

page footer

Basic Page Footer Page Footer is the global footer that contains site description, social media links, and a subset of the site navigation. Demo

About Pegasystems

Pega delivers innovative software that crushes business complexity. From increasing customer lifetime value to streamlining service to boosting efficiency, we help the world’s leading brands solve problems fast and transform for tomorrow. Our solutions save people time, so our clients’ employees and customers can get back to what matters most.

Join the conversation

  • Twitter
  • Facebook
  • Linkedin
  • Youtube

Company

  • About Pega
  • Office Locations
  • Careers
  • US: 1-888-PEGA-NOW
  • UK: +44 118 965 1600
  • DACH: +49 (0) 89 540320
  • AU: +61 2 9581 7000

Pega sites

  • Community
  • Support
  • Product design
  • Partners
  • PegaWorld Conference
  • Blog
  • MyPega

Resources

  • Analyst Reports
  • Demo Videos
  • Pega Platform Trial
  • Trust Center

Languages

  • English
  • Français
  • Deutsch
  • Italiano
  • 日本語
  • Português
  • Español
  • Türkçe
  • Pусский

Legal

  • Terms Of Use
  • Contact
  • Glossary
  • Trademarks
  • Privacy
©2022 Pegasystems Inc.
Open in new window
Twig
// The main template
{% include '@bolt-components-page-footer/page-footer.twig' with {
  description: description, // Heading and description text goes here
  primary_nav: primary_nav, // Use page-footer-nav-ul.twig to render each set of navigation list
  secondary_nav: secondary_nav, // Use page-footer-nav-ul.twig to render each set of navigation list
} only %}

// Nav list template
{% include '@bolt-components-page-footer/page-footer-nav-ul.twig' with {
  headline: {
    content: 'Company',
    tag: 'h3',
  },
  content: content, // Use page-footer-nav-li.twig to render each link
  category: category, // Set the category for a particular list of navigation
  open: true, // Set to true if a nav list needs to be expanded by default in mobile view
} only %}

// Nav list item template
{% include '@bolt-components-page-footer/page-footer-nav-li.twig' with {
  link: {
    content: 'Facebook',
    icon_before: icon_facebook, // Only render an icon if page-footer-nav-ul.twig category is set to social
    attributes: {
      href: 'https://www.facebook.com/pegasystems',
    },
  },
} only %}
HTML
Not available in plain HTML. Please use Twig.