Skip to content

Commit

Permalink
Update full page campaign page example with GOV.UK footer
Browse files Browse the repository at this point in the history
This commit takes the example screenshot from this issue
that it's not possible to build the layout given the alignment issues - and
adds a version of the footer to the full page example campaign page in the review
app so we have an example of this layout to test against.
  • Loading branch information
Vanita Barrett committed Dec 6, 2021
1 parent 13768ca commit f224f9e
Showing 1 changed file with 143 additions and 0 deletions.
143 changes: 143 additions & 0 deletions app/views/full-page-examples/campaign-page/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ notes: >-
{% from "header/macro.njk" import govukHeader %}
{% from "breadcrumbs/macro.njk" import govukBreadcrumbs %}
{% from "accordion/macro.njk" import govukAccordion %}
{% from "footer/macro.njk" import govukFooter %}

{% set pageTitle = "Coronavirus (COVID‑19)" %}
{% block pageTitle %}{{ pageTitle }} - GOV.UK{% endblock %}
Expand Down Expand Up @@ -230,3 +231,145 @@ notes: >-
</div>
</div>
{% endblock %}

{% block footer %}


{{ govukFooter({
navigation: [
{
title: "Coronavirus (COVID-19)",
columns: 2,
items: [
{
href: "#",
text: "Coronavirus (COVID-19): guidance and support"
},
{
href: "#",
text: "Another link"
},
{
href: "#",
text: "Another link"
},
{
href: "#4",
text: "Another link"
}
]
},
{
title: "Services and Information",
columns: 2,
items: [
{
href: "#",
text: "Benefits"
},
{
href: "#",
text: "Births, deaths and marriages"
},
{
href: "#",
text: "Business and self-employed"
},
{
href: "#",
text: "Childcare and parenting"
},
{
href: "#",
text: "Citizenship and living in the UK"
},
{
href: "#",
text: "Crime, justice and the law"
},
{
href: "#",
text: "Disabled people"
},
{
href: "#",
text: "Driving and transport"
},
{
href: "#",
text: "Education and learning"
},
{
href: "#",
text: "Employing people"
},
{
href: "#",
text: "Environment and countryside"
},
{
href: "#",
text: "Housing and local services"
},
{
href: "#",
text: "Money and tax"
},
{
href: "#",
text: "Passports and living abroad"
},
{
href: "#",
text: "Visas and immigration"
},
{
href: "#",
text: "Working, jobs and pensions"
}
]
},
{
title: "Departments and policy",
items: [
{
href: "#",
text: "How government works"
},
{
href: "#",
text: "Departments"
},
{
href: "#",
text: "Worldwide"
},
{
href: "#",
text: "Services"
},
{
href: "#",
text: "Guidance and regulation"
},
{
href: "#",
text: "News and communications"
},
{
href: "#",
text: "Research and statistics"
},
{
href: "#",
text: "Policy papers and consultations"
},
{
href: "#",
text: "Transparency and freedom of information releases"
}
]
}
]
}) }}
{% endblock %}

0 comments on commit f224f9e

Please sign in to comment.