Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/danielroe/ripple-framework. Ripple is the presentation layer for building websites on the DPC Single Digital Presence platform.
···11+---
22+title: Campaign Banner
33+description: Campaign banners draws user's attention to promoted content.
44+layout: page
55+label: Core
66+links:
77+- text: Figma
88+ url: #colour
99+- text: Storybook
1010+ url: #component
1111+---
1212+1313+## Usage
1414+Campaign banners promote content. They use a feature image and have an optional call to action.
1515+1616+The banner has a headline and short summary text. These point users to promoted content and guide them to the call to action.
1717+1818+They can be used at the top or bottom of pages, under the header, or above the footer.
1919+2020+::DocsExample
2121+---
2222+id: core-navigation-campaign-banner--primary-image
2323+---
2424+::
2525+2626+### When and how to use
2727+- Promote a campaign or related page content.
2828+- Add an optional image.
2929+- Use with an optional call to action.
3030+3131+### When and how not to use
3232+- Don’t overload with content.
3333+- Don’t use an unrelated image.
3434+3535+---
3636+3737+## Variants
3838+The Campaign Banner has two variants:
3939+- Featured, which appears at the top of the page, below the [header]().
4040+- Image Inset, which appears at the bottom of the page above the [footer]().
4141+4242+### Featured
4343+A featured campaign banner goes at the top of the page underneath the header. When on larger screens, the image is cropped in a shape and can overlap the above component (header).
4444+4545+There is an option to include metadata for the image if required.
4646+4747+::DocsExample
4848+---
4949+id: core-navigation-campaign-banner--primary-image
5050+---
5151+::
5252+5353+### Image inset
5454+Image inset variant sits above the footer at the bottom of the page. This should be used for less prominent campaigns. For featured campaigns, we recommend using the featured variant at the top of the page.
5555+5656+::DocsExample
5757+---
5858+id: core-navigation-campaign-banner--secondary-image
5959+---
6060+::
6161+6262+---
6363+6464+## Theming
6565+The Campaign Banner adopts its theming from the [button]() component.
6666+6767+If you choose neutral button for your site, the Campaign Banner will display buttons in the neutral theme.
168