Add login CTA
This commit is contained in:
parent
c863a3c9a1
commit
85b841a525
9
common/after_header.html
Executable file
9
common/after_header.html
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
<div id="login-message">
|
||||||
|
<h2>
|
||||||
|
There are a lot more discussions going on if you log in!
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<a href="/login" class="widget-button btn btn-primary btn-small sign-up-button btn-text">
|
||||||
|
<span class="d-button-label">Log in or Sign Up</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
@ -1,3 +1,25 @@
|
|||||||
|
// Login CTA
|
||||||
|
#login-message {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
html.anon {
|
||||||
|
body:not(.category-resources) {
|
||||||
|
// Display this message on all pages except in Community Resources
|
||||||
|
#login-message {
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin: 16px 0;
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: var(--secondary-very-high);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Login form
|
// Login form
|
||||||
.login-right-side {
|
.login-right-side {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user