Skip to content

Commit

Permalink
Merge pull request #10 from itexpert120/homepage
Browse files Browse the repository at this point in the history
Homepage Improvements
  • Loading branch information
elliotBraem authored Nov 9, 2023
2 parents 7b5920d + e9a840f commit 1aa609e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions apps/homepage/widget/login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ const LoginContainer = styled.div`
line-height: 100%; /* 32px */
}
a {
button {
all: unset;
display: flex;
padding: 16px 20px;
justify-content: center;
Expand Down Expand Up @@ -84,7 +85,7 @@ const LoginView = () => {
<h1>
Designed to connect and empower builders in a multi-chain ecosystem
</h1>
<a href="/signin">Login</a>
<button onClick={props.requestSignIn}>Login</button>
</div>
<img src="https://ipfs.near.social/ipfs/bafybeibqnkvafyflci4iap73prugmjw4wlwmrazbiudvnsyr34yzmk75i4" />
</LoginContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import ProposePage from "./pages/ProposePage";
import { Navbar } from "./components/navigation/Navbar";

export const refreshAllowanceObj = {};
const documentationHref = "https://github.com/NearBuilders/docs";
const documentationHref = "https://docs.near.org/bos";

function App() {
const [connected, setConnected] = useState(false);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/JoinPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function JoinPage(props) {
const CurrentView = props.signedIn
? "buildhub.near/widget/create-something"
: "buildhub.near/widget/login";

return (
<div className="h-100">
{props.signedIn && (
Expand Down

0 comments on commit 1aa609e

Please sign in to comment.