Skip to content

Commit

Permalink
Merge pull request alphagov#1217 from alphagov/update-full-page-examp…
Browse files Browse the repository at this point in the history
…les-based-on-automated-testing

Update full page examples based on automated testing
  • Loading branch information
NickColley authored Feb 22, 2019
2 parents e81a0fd + f0f7e2f commit cb4c3ed
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 27 deletions.
47 changes: 21 additions & 26 deletions app/views/full-page-examples/bank-holidays/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,16 @@
{% set englandAndWalesHTML %}

{% set englandAndWalesPanelTitleHtml %}
<div class='govuk-!-font-size-24 govuk-!-margin-bottom-4'>The next bank holiday in England and Wales is</div>
19 April
{% endset %}

{% set englandAndWalesPanelHtml %}
<span class='govuk-!-font-size-24 govuk-!-font-weight-bold'>Good Friday</span>
19 April
<div class='govuk-!-font-size-36 govuk-!-margin-bottom-4'>
The next bank holiday in England and Wales is
</div>
19 April
{% endset %}

{{ govukPanel({
headingLevel: 2,
titleHtml: englandAndWalesPanelTitleHtml,
html: englandAndWalesPanelHtml
text: 'Good Friday'
}) }}

<hr class="govuk-section-break govuk-section-break--l">
Expand Down Expand Up @@ -268,7 +266,7 @@

<hr class="govuk-section-break govuk-section-break--m">

<h2 class="govuk-heading-m" id="past-bank-holidays-in-scotland">Past bank holidays in England and Wales</h2>
<h2 class="govuk-heading-m">Past bank holidays in England and Wales</h2>

{{ govukTable({
caption: "2019",
Expand Down Expand Up @@ -993,18 +991,16 @@
{% set scotlandHTML %}

{% set scotlandPanelTitleHtml %}
<div class='govuk-!-font-size-24 govuk-!-margin-bottom-4'>The next bank holiday in Scotland is</div>
19 April
{% endset %}

{% set scotlandPanelHtml %}
<span class='govuk-!-font-size-24 govuk-!-font-weight-bold'>Good Friday</span>
19 April
<div class='govuk-!-font-size-36 govuk-!-margin-bottom-4'>
The next bank holiday in Scotland is
</div>
19 April
{% endset %}

{{ govukPanel({
headingLevel: 2,
titleHtml: scotlandPanelTitleHtml,
html: scotlandPanelHtml
text: 'Good Friday'
}) }}

<hr class="govuk-section-break govuk-section-break--l">
Expand Down Expand Up @@ -1249,7 +1245,7 @@

<hr class="govuk-section-break govuk-section-break--m">

<h2 class="govuk-heading-m" id="past-bank-holidays-in-scotland">Past bank holidays in Scotland</h2>
<h2 class="govuk-heading-m">Past bank holidays in Scotland</h2>

{{ govukTable({
caption: "2019",
Expand Down Expand Up @@ -2134,17 +2130,16 @@
{% set irelandHTML %}

{% set irelandPanelTitleHtml %}
<div class='govuk-!-font-size-24 govuk-!-margin-bottom-4'>The next bank holiday in Northern Ireland is</div>
19 April
{% endset %}

{% set irelandPanelHtml %}
<span class='govuk-!-font-size-24 govuk-!-font-weight-bold'>Good Friday</span> 19 April
<div class='govuk-!-font-size-36 govuk-!-margin-bottom-4'>
The next bank holiday in Northern Ireland is
</div>
19 April
{% endset %}

{{ govukPanel({
headingLevel: 2,
titleHtml: irelandPanelTitleHtml,
html: irelandPanelHtml
text: 'Good Friday'
}) }}

<hr class="govuk-section-break govuk-section-break--l">
Expand Down Expand Up @@ -2411,7 +2406,7 @@

<hr class="govuk-section-break govuk-section-break--m">

<h2 class="govuk-heading-m" id="past-bank-holidays-in-scotland">Past bank holidays in Northern Ireland</h2>
<h2 class="govuk-heading-m">Past bank holidays in Northern Ireland</h2>

{{ govukTable({
caption: "2019",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
</li>
</ul>
</nav>
<h2 class="govuk-heading-m" id="subsection-title">
<h2 class="govuk-heading-m">
Get notifications
</h2>
<p class="govuk-body">When any guidance within this topic is updated
Expand Down

0 comments on commit cb4c3ed

Please sign in to comment.