Skip to content

[Templates] Related content component with hard-coded defaults #194

@zstix

Description

@zstix

Description

Pages on the docs site have a For more help section at the bottom which almost always contains the exact same content. They have asked that we create a component that handles this and to add it to every page by default. The component should be able to accept props, but should use the current content as a default.

Most pages should have a placeholder
"For more help" H2 element added to the bottom of each page (see second screenshot) that we can replace with this component.

Acceptance Criteria

  • Create a related content component
  • Component loads default via markdown
  • Ability to override defaults using children
  • Replace placeholder H2 elements with component during migration

Screenshots

Current Experience
Screen Shot 2020-10-29 at 4 16 43 PM

Example of Placeholder H2
Screen Shot 2020-10-29 at 4 20 15 PM

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions