-
Notifications
You must be signed in to change notification settings - Fork 43
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 #2352 from alphagov/439_Implement-new-Summary_Card…
…-component 439 implement new summary card component
- Loading branch information
Showing
7 changed files
with
19 additions
and
73 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<%= render "shared/summary_card", { | ||
title: "Link #{index +1}" , | ||
<%= render "govuk_publishing_components/components/summary_card", { | ||
title: "Link #{index +1}", | ||
rows: popular_link_rows(item), | ||
} %> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
<% content_for :page_title, "Popular on GOV.UK" %> | ||
<% content_for :title, "Popular on GOV.UK" %> | ||
<% content_for :title_context, "Homepage" %> | ||
|
||
<div class="govuk-grid-column-two-thirds"> | ||
<%= render "homepage/popular_links/version_and_status", version: @latest_popular_links.version_number, status: @latest_popular_links.state %> | ||
<% @latest_popular_links.link_items.each_with_index do |item, index| %> | ||
<%= render "homepage/popular_links/link", item:, index: %> | ||
<% end %> | ||
<section> | ||
<%= render "homepage/popular_links/version_and_status", version: @latest_popular_links.version_number, status: @latest_popular_links.state %> | ||
</section> | ||
|
||
<section> | ||
<% @latest_popular_links.link_items.each_with_index do |item, index| %> | ||
<%= render "homepage/popular_links/link", item:, index: %> | ||
<% end %> | ||
</section> | ||
</div> | ||
|
||
<div class = "govuk-grid-column-one-third popular-links__sidebar" > | ||
<%= render "homepage/popular_links/sidebar" %> | ||
</div> |
This file was deleted.
Oops, something went wrong.
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