Skip to content

Commit cf40215

Browse files
SPIKE into a research banner first draft
1 parent 6789297 commit cf40215

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/stylesheets/main.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,3 +418,15 @@ pre .language-plaintext {
418418
.app-campaign-cookie-banner .govuk-grid-column-two-thirds {
419419
width: 100%;
420420
}
421+
422+
// Add styling for research banner
423+
.app-research-banner {
424+
padding-top: 10px;
425+
padding-bottom: 10px;
426+
border-bottom: 1px solid $govuk-border-colour;
427+
background-color: #ffee80;
428+
429+
p {
430+
margin-bottom: 0;
431+
}
432+
}

views/layouts/_generic.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
{% block main %}
4646
{% include "_header.njk" %}
4747
{% include "_navigation.njk" %}
48+
{% include "_research-banner.njk" %}
4849
{% include "_banner.njk" %}
4950
{% block body %}
5051
{{ contents | safe }}

views/partials/_research-banner.njk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="app-research-banner">
2+
<div class="app-width-container">
3+
<p class="govuk-body-m">Are you a new or infrequent user? <a class="govuk-link" href="/">Sign up to test the GOV.UK Design System</a></p>
4+
</div>
5+
</div>

0 commit comments

Comments
 (0)