From e05bd4c5ed38aa821af21f2f9dff70e851df89d0 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 22 Jan 2025 16:22:44 +0000 Subject: [PATCH] Replace title components with headings --- app/views/development/index.html.erb | 7 ++++++- app/views/subscription_authentication/expired.html.erb | 7 +++++-- 2 files changed, 11 insertions(+), 3 deletions(-) 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 } %>