Skip to content

Commit

Permalink
Replace context link with breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgds committed Jun 30, 2021
1 parent c3e1ea7 commit 9e081f8
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 5 deletions.
13 changes: 12 additions & 1 deletion app/views/histories/10_downing_street.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<header class="govuk-grid-row">
<div class="govuk-grid-column-full">
<%= render "govuk_publishing_components/components/breadcrumbs", {
breadcrumbs: [
{
title: "Home",
url: "/",
},
{
title: "History of the UK Government",
url: "/government/history",
},
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
href: "/government/history",
},
title: "10 Downing Street",
} %>
Expand Down
13 changes: 12 additions & 1 deletion app/views/histories/11_downing_street.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<header class="govuk-grid-row">
<div class="govuk-grid-column-full">
<%= render "govuk_publishing_components/components/breadcrumbs", {
breadcrumbs: [
{
title: "Home",
url: "/",
},
{
title: "History of the UK Government",
url: "/government/history",
},
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
href: "/government/history",
},
title: "11 Downing Street",
} %>
Expand Down
13 changes: 12 additions & 1 deletion app/views/histories/1_horse_guards_road.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<header class="govuk-grid-row">
<div class="govuk-grid-column-full">
<%= render "govuk_publishing_components/components/breadcrumbs", {
breadcrumbs: [
{
title: "Home",
url: "/",
},
{
title: "History of the UK Government",
url: "/government/history",
},
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
href: "/government/history",
},
title: "1 Horse Guards Road",
} %>
Expand Down
13 changes: 12 additions & 1 deletion app/views/histories/king_charles_street.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<header class="govuk-grid-row">
<div class="govuk-grid-column-full">
<%= render "govuk_publishing_components/components/breadcrumbs", {
breadcrumbs: [
{
title: "Home",
url: "/",
},
{
title: "History of the UK Government",
url: "/government/history",
},
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
href: "/government/history",
},
title: "King Charles Street",
} %>
Expand Down
13 changes: 12 additions & 1 deletion app/views/histories/lancaster_house.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<header class="govuk-grid-row">
<div class="govuk-grid-column-full">
<%= render "govuk_publishing_components/components/breadcrumbs", {
breadcrumbs: [
{
title: "Home",
url: "/",
},
{
title: "History of the UK Government",
url: "/government/history",
},
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
href: "/government/history",
},
title: "Lancaster House",
} %>
Expand Down

0 comments on commit 9e081f8

Please sign in to comment.