creativecommons / chooser

The new and improved CC license selection tool.
https://chooser-beta.creativecommons.org
MIT License
104 stars 137 forks source link

Remove unnecessary components from "embedded" build #387

Closed brylie closed 2 years ago

brylie commented 2 years ago

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

MuluhGodson commented 2 years ago

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.