-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3647 from alphagov/titles-to-headings
Change all title components to heading components
- Loading branch information
Showing
4 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
<% content_for :title, "Finder Frontend" %> | ||
|
||
<div id="content"> | ||
<%= render "govuk_publishing_components/components/title", title: "Finder Frontend" %> | ||
<main class="finder-frontend-content govuk-main-wrapper"> | ||
<div id="content"> | ||
<%= render "govuk_publishing_components/components/heading", { | ||
text: "Finder Frontend", | ||
heading_level: 1, | ||
font_size: "xl", | ||
margin_bottom: 8, | ||
} %> | ||
|
||
<%= render "govuk_publishing_components/components/govspeak" do %> | ||
<p>This page is only visible in development and Heroku.</p> | ||
<%= render "govuk_publishing_components/components/govspeak" do %> | ||
<p>This page is only visible in development and Heroku.</p> | ||
|
||
<p>The following pages are rendered by this application:</p> | ||
<p>The following pages are rendered by this application:</p> | ||
|
||
<ul> | ||
<% @rendered_pages.each do |page| %> | ||
<li><%= link_to page.fetch("title"), page.fetch("link") %></li> | ||
<ul> | ||
<% @rendered_pages.each do |page| %> | ||
<li><%= link_to page.fetch("title"), page.fetch("link") %></li> | ||
<% end %> | ||
</ul> | ||
<% end %> | ||
</ul> | ||
<% end %> | ||
</div> | ||
</div> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters