diff --git a/app/views/development/index.html.erb b/app/views/development/index.html.erb index 692e0fde..35c5d3d9 100644 --- a/app/views/development/index.html.erb +++ b/app/views/development/index.html.erb @@ -1,6 +1,11 @@ <% content_for :title, "Email Alert Frontend" %> -<%= render "govuk_publishing_components/components/title", title: "Email Alert Frontend" %> +<%= render "govuk_publishing_components/components/heading", { + text: "Email Alert Frontend", + heading_level: 1, + font_size: "xl", + margin_bottom: 8 +} %>

This page is intended to only be shown in development. diff --git a/app/views/subscription_authentication/expired.html.erb b/app/views/subscription_authentication/expired.html.erb index 1e82f63a..27c4ae3f 100644 --- a/app/views/subscription_authentication/expired.html.erb +++ b/app/views/subscription_authentication/expired.html.erb @@ -1,8 +1,11 @@ <% content_for :title, t("subscription_authentication.expired.title") %> <% content_for :meta_description, t("subscription_authentication.expired.description") %> -<%= render "govuk_publishing_components/components/title", { - title: t("subscription_authentication.expired.title") +<%= render "govuk_publishing_components/components/heading", { + text: t("subscription_authentication.expired.title"), + heading_level: 1, + font_size: "xl", + margin_bottom: 8 } %>