Skip to content

Commit

Permalink
Merge pull request #1948 from alphagov/titles-to-headings
Browse files Browse the repository at this point in the history
Replace title components with headings
  • Loading branch information
matthillco authored Jan 24, 2025
2 parents aa20deb + e05bd4c commit ca5e172
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 6 additions & 1 deletion app/views/development/index.html.erb
Original file line number Diff line number Diff line change
@@ -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
} %>

<p class="govuk-body">
This page is intended to only be shown in development.
Expand Down
7 changes: 5 additions & 2 deletions app/views/subscription_authentication/expired.html.erb
Original file line number Diff line number Diff line change
@@ -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
} %>

<p class="govuk-body">
Expand Down

0 comments on commit ca5e172

Please sign in to comment.