Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add banner linking to user interview signup form. #1162

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion app/styles/layouts/_l-default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,36 @@ body {
}
}

.info-banner {
background-color: #2C7A7B;
color: white;
text-align: center;
position: relative;
z-index: 2;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
font-family: $body-font-family;
flex-direction: column;
padding: 1rem;

@include breakpoint(large) {
flex-direction: row;
}

p {
margin-bottom: 0;
}

a {
color: white;
display: block;
font-family: $body-font-family;
text-decoration: underline;
}
}

.site-header {
position: relative;
z-index: 2;
Expand Down Expand Up @@ -45,7 +75,7 @@ body {

@include breakpoint(large) {
position: fixed;
top: 4.75rem;
top: 8.25rem;
left: 0;
width: 15rem;
box-shadow: 0 2px 0 rgba(0,0,0,0.1), 2px 0 0 rgba(0,0,0,0.1);
Expand Down
1 change: 1 addition & 0 deletions app/templates/components/main-header.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div class="info-banner"><p>In an effort to better serve the needs of users like you, we'd like to hear from you about how we can improve services like this site.&nbsp;</p><a href="https://cdn.forms-content.sg-form.com/bedbc62d-92b2-11ee-8914-aef1bb5f47ec" target="_blank">Click here to sign up.</a></div>
<Deprecated::SiteHeader
@responsiveNav={{true}}
@betaNotice={{false}}
Expand Down
Loading