diff --git a/app/views/shared/_header.html.erb b/app/views/shared/_header.html.erb
index 058f269f48..c092b39b64 100644
--- a/app/views/shared/_header.html.erb
+++ b/app/views/shared/_header.html.erb
@@ -8,8 +8,7 @@
navbar-default
navbar-inverse
navbar-static-top
- <% if environment_style %>environment-indicator<% end %>
- add-bottom-margin" role="banner">
+ <% if environment_style %>environment-indicator<% end %>" role="banner">
<%# Bootstrap toggle for collapsed navbar content, used at smaller widths %>
diff --git a/app/views/shared/_whats_new_banner.html.erb b/app/views/shared/_whats_new_banner.html.erb
new file mode 100644
index 0000000000..06d929127e
--- /dev/null
+++ b/app/views/shared/_whats_new_banner.html.erb
@@ -0,0 +1,14 @@
+<%= render "govuk_publishing_components/components/phase_banner", {
+ phase: t('whats_new.whats_new_banner.tag_label'),
+ message: sanitize("#{t('whats_new.whats_new_banner.content')} - #{
+ link_to(
+ t('whats_new.whats_new_banner.cta_label'),
+ admin_whats_new_path,
+ data: {
+ track_category: 'phaseBanner',
+ track_action: "whats-new-banner-click",
+ track_label: 'Whats new'
+ }
+ )
+ }")
+ } %>
diff --git a/config/locales/en/whats_new.yml b/config/locales/en/whats_new.yml
new file mode 100644
index 0000000000..ada91be362
--- /dev/null
+++ b/config/locales/en/whats_new.yml
@@ -0,0 +1,51 @@
+en:
+ whats_new:
+ dashboard_link_label: What’s new
+ whats_new_banner:
+ tag_label: Updates
+ content: Whitehall Publisher is changing
+ cta_label: find more about upcoming changes and what's new
+ title: What’s new in Whitehall Publisher
+ summary: |
+ Summary of updates to Whitehall Publisher, content design guidance, or the design of GOV.UK.
+ last_updated: Last updated 5 September 2022
+ introduction:
+ heading: Moving to the Design System
+ body_govspeak: |
+ Whitehall Publisher will be moving from the current styling to use the styling and components of the [GOV.UK Design System](https://design-system.service.gov.uk/).
+ This will make Whitehall Publisher more accessible, more user friendly and give you to have a consistent user experience throughout your publishing journey on GOV.UK.
+
+ [Read more about the changes on the content community Basecamp](https://3.basecamp.com/4322319/buckets/15005645/messages/5287245970).
+ recent_changes:
+ heading: Recent changes
+ updates:
+ - heading: Reusing previous withdrawal dates and public explanations
+ area: Publishing content
+ type: improved
+ date: 26 September 2022
+ body_govspeak: |
+ When re-withdrawing content, you can choose to reuse a previous withdrawal date and public explanation in certain circumstances.
+
+ [Read the guidance about when you can reuse previous withdrawal dates and explanations](https://www.gov.uk/guidance/how-to-publish-on-gov-uk/unpublishing-and-archiving).
+ - heading: Shareable document preview links
+ area: Publishing content
+ type: new
+ date: 22 June 2022
+ body_govspeak: |
+ You can share document preview links for draft content with people who do not have access to Whitehall Publisher.
+
+ [Read the guidance about where and how to use document preview links](https://www.gov.uk/guidance/how-to-publish-on-gov-uk/creating-and-updating-pages#preview-content).
+ - heading: Paste and convert to Govspeak
+ area: Publishing content
+ type: new
+ date: 18 May 2022
+ body_govspeak: |
+ When you paste text into the body field Whitehall Publisher will try to convert it to markdown. It will recognise headings, links, and lists. Other formatting will be removed and only plain text pasted.
+ guidance:
+ heading: Publisher guidance, updates to GOV.UK and previous changes to Whitehall publisher
+ body_govspeak: |
+ You can find out more:
+
+ - [How to publish content on GOV.UK guidance](https://www.gov.uk/guidance/how-to-publish-on-gov-uk)
+ - [Planning, writing and managing content guidance](https://www.gov.uk/guidance/content-design)
+ - [Inside GOV.UK blog](https://insidegovuk.blog.gov.uk/)
diff --git a/config/routes.rb b/config/routes.rb
index f524529c86..2cebebc611 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -322,6 +322,8 @@ def external_redirect(path_prefix, target)
get "/editions/:id" => "editions#show"
+ get "/whats-new" => "whats_new#index", as: :whats_new
+
resources :statistics_announcements, except: [:destroy] do
member do
get :cancel
diff --git a/test/integration/whats_new_test.rb b/test/integration/whats_new_test.rb
new file mode 100644
index 0000000000..8ec08b10ab
--- /dev/null
+++ b/test/integration/whats_new_test.rb
@@ -0,0 +1,24 @@
+require "test_helper"
+
+class WhatsNewTest < ActionDispatch::IntegrationTest
+ test "it shows whats new page" do
+ @user = create(:gds_editor)
+ login_as @user
+
+ get admin_whats_new_path
+ assert_select "h1", text: "What’s new in Whitehall Publisher"
+ end
+
+ test "each section has h2 and a back to top link" do
+ @user = create(:gds_editor)
+ login_as @user
+
+ get admin_whats_new_path
+ assert_select ".app-view-whats-new__section" do |sections|
+ sections.each do |section|
+ assert_select section, "h2", count: 1
+ assert_select section, ".app-view-whats-new__back-to-top-link", count: 1
+ end
+ end
+ end
+end