creativecommons/chooser

Remove unnecessary components from "embedded" build

brylie opened this issue · 1 comments

The "embedded" build output contains some components that may be undesirable since the intention is to embed the Chooser in an existing page/project. For example, the breadcrumbs and introductory heading/text are seen below.

image

Task

  • determine which sub-components should be included in the embedded output and which should be removed
  • remove the unnecessary components from the embedded output

As for what should be removed, I think in the screenshot, the highlighted elements with the faint yellow overlay should be removed in the embedded production build, as well as the header and footer component.

My reason for opting to remove the title and text is so that when integrating in downstream projects, developers are able to customize the title/text. Instead of having to re-build chooser each time they need to change something like that.