Skip to content

Commit 0707efd

Browse files
committed
clarfiy homepage sign-in is only for admins
1 parent ba264d9 commit 0707efd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/react-components/home/SignInButton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { Button } from "../input/Button";
66

77
export function SignInButton({ mobile }) {
88
return (
9-
<Button className={mobile ? styles.mobileSignIn : styles.SignInButton} thick preset="signin" as="a" href="/signin">
10-
<FormattedMessage id="sign-in-button" defaultMessage="Sign in/Sign up" />
9+
<Button className={mobile ? styles.mobileSignIn : styles.SignInButton} sm preset="basic" as="a" href="/signin">
10+
<FormattedMessage id="sign-in-button" defaultMessage="Admin sign in" />
1111
</Button>
1212
);
1313
}

src/react-components/home/SignInButton.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
}
99

1010
:local(.mobile-sign-in) {
11+
z-index: 5; /* prevent menu header from blocking button */
1112
display: flex;
1213
@media(min-width: theme.$breakpoint-lg) {
1314
display: none;

src/react-components/layout/Header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ header {
9494

9595
a {
9696
margin-left: 8px;
97-
color: theme.$link-color;
97+
// color: theme.$link-color;
9898
}
9999

100100
@media(min-width: theme.$breakpoint-lg) {

0 commit comments

Comments
 (0)