Skip to content

Commit d65d752

Browse files
Add message to cookie banner
Fix Whats new link
1 parent 52b21ba commit d65d752

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/components/cookie-banner/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you use the page template, you'll also get the Cookie banner without having t
2929
<p class="govuk-body">The updated {{title}} component:</p>
3030

3131
<ul class="govuk-list">
32-
<li></li>
32+
<li>uses a light blue as background colour, instead of grey</li>
3333
</ul>
3434

3535
<p class="govuk-body">To help service teams in government get ready to use the new branding by June 2025, <a href="#update-to-refresh-the-govuk-brand">we’ve provided several options to update their services</a>.</p>
@@ -85,6 +85,14 @@ Make sure the cookie banner does not:
8585

8686
Position the cookie banner after the opening `<body>` tag and before the ’skip to main content‘ link. If you're using the Nunjucks page template, use the `bodyStart` block.
8787

88+
### Update to refresh the GOV.UK brand
89+
90+
If you use the Nunjucks macro and page template across your service, you can enable the brand refresh by setting the page template’s `rebrand` option to `true`. This will automatically make all needed changes related to the brand refresh.
91+
92+
You can enable the brand refresh within the Cooke banner component by setting its `rebrand` option to true. You’ll also need to add some code to your `<html>` and `<head>` elements.
93+
94+
Check the colour of the Cookie banner component as you update your service to refresh the GOV.UK brand.
95+
8896
### Option 1: If you’re only using essential cookies
8997

9098
You can choose not to have a cookie banner if the service only sets essential or 'strictly necessary' cookies, as these do not need user consent.

views/partials/_whats-new.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p class="govuk-body">[dd Month yyyy]: Updates to refresh the GOV.UK brand</p>
88
<p class="govuk-body">From June 2025, parts of the Design System will change to support a wider refresh of the GOV.UK brand.</p>
99
<p class="govuk-body">To get ready, service teams in government should now make updates to these components in their services:</p>
10-
<ul class="govuk-list govuk-list--bullet>
10+
<ul class="govuk-list govuk-list--bullet">
1111
<li><a href="/components/header/" class="govuk-link">GOV.UK header component</a></li>
1212
<li><a href="/components/footer/" class="govuk-link">GOV.UK footer component</a></li>
1313
<li><a href="/components/service-navigation/" class="govuk-link">Service navigation component</a></li>

0 commit comments

Comments
 (0)