From 87d1e68a510cac8cd4332dcd278710238fa7fbed Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 22 Jan 2025 16:50:26 +0000 Subject: [PATCH] Replace title component with heading and match visual style --- app/views/layouts/application.html.erb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index c29729b5a..7ce497481 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -4,11 +4,16 @@ breadcrumbs: @breadcrumbs, collapse_on_mobile: true } %> -
+
<%= yield(:error_summary) %> - <%= render 'govuk_publishing_components/components/title', title: yield(:title) %> + <%= render "govuk_publishing_components/components/heading", { + text: yield(:title), + heading_level: 1, + font_size: "xl", + margin_bottom: 8 + } %> <%= yield %>