Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 5c7745e

Browse files
authored
signin only, no signup (#1641)
1 parent 0eabcaf commit 5c7745e

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

components/navbar/navbar.jsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,16 @@ class NavBar extends React.Component {
5454

5555
let classes = "signupin-glyph d-none d-md-flex align-items-md-center";
5656

57+
// Sign-in only, see https://github.com/mozilla/network-pulse-api/issues/768
58+
// let linkLabel = "Signin / Signup";
59+
let linkLabel = "Signin";
5760
let link = (
5861
<a
5962
href={user.getLoginURL(utility.getCurrentURL())}
6063
onClick={(event) => this.handleSignInBtnClick(event)}
6164
className={classes}
6265
>
63-
Signin / Signup
66+
{linkLabel}
6467
</a>
6568
);
6669

@@ -180,16 +183,22 @@ class NavBar extends React.Component {
180183
}
181184

182185
renderSignInRequest() {
186+
// Sign-in only, see https://github.com/mozilla/network-pulse-api/issues/768
187+
// let headerText = "Signup or Signin to your Pulse Account";
188+
// let linkLabel = "Signin / Signup";
189+
let headerText = "Sign in to your Pulse Account";
190+
let linkLabel = "Signin";
191+
183192
return (
184193
<div className="signupin-request text-center">
185-
<h3>Signup or Signin to your Pulse Account</h3>
194+
<h3>{headerText}</h3>
186195
<p>Share your projects or help out on other projects in our Network.</p>
187196
<a
188197
href={user.getLoginURL(utility.getCurrentURL())}
189198
onClick={(event) => this.handleSignInBtnClick(event)}
190199
className="btn btn-secondary"
191200
>
192-
Signin / Signup
201+
{linkLabel}
193202
</a>
194203
</div>
195204
);

0 commit comments

Comments
 (0)