feat: Creates the banner component
This MR adds the banner component according to Pyjamas design specifications.
The title, buttonLink, buttonText, and optional illustration are handled by props.
The main component <slot>
will render the body of the banner.
This gives us control over the main parts of the banner, but allows flexibility in the body of the message to include links, code, text modifiers, and whatever else we may need.
The downside to this approach is that we will have to rely on whoever uses the component to adhere to the design guidelines themselves, but I think this is a reasonable trade-off.
There are two variants to this component promotion
and introduction
. This changes the styles ever-so slightly.
The illustration is also optional, leading to the following four variants:
Closes #453 (closed)