Skip to content

Commit

Permalink
removed boarder from phase banner on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGoodall committed Nov 30, 2023
1 parent 1ec4ffc commit 553c09e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions application/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% extends "layouts/layout.html" %}
{% block pageTitle %}Planning Data{% endblock %}
{% set templateName = "dl-info/homepage.html" %}
{% set hideBannerBorder = true %}

{% block main %}
<main id="content">
Expand Down
5 changes: 3 additions & 2 deletions application/templates/partials/phase-banner.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{% from "components/phase-banner/macro.jinja" import dlPhaseBanner %}

{{
dlPhaseBanner({
'phase': 'Beta',
'html': 'This is a new service – to help us improve it, <a href="https://docs.google.com/forms/d/e/1FAIpQLSc1yzvw1Duv6nQRS56p379IxxMdAC5EfklMfUnCVMikgbi0Xw/viewform" target="_blank">sign up to take part in research</a>',
'html': 'This is a new service – to help us improve it, <a href="https://docs.google.com/forms/d/e/1FAIpQLSc1yzvw1Duv6nQRS56p379IxxMdAC5EfklMfUnCVMikgbi0Xw/viewform" target="_blank" class="govuk-link">sign up to take part in research</a>',
'classes': 'govuk-width-container govuk-width-container' if not fullWidthHeader else 'govuk-width-container',
'attributes': {
'style': '' if not fullWidthHeader else 'padding: 10px 30px; max-width: unset;'
'style': 'border-bottom: 0px' if hideBannerBorder else '' + '' if not fullWidthHeader else 'padding: 10px 30px; max-width: unset;'
}
})
}}

0 comments on commit 553c09e

Please sign in to comment.