Skip to content

Commit

Permalink
small change to homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
michellewong793 committed Aug 19, 2024
1 parent 19fc25d commit b1d4e3c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
14 changes: 14 additions & 0 deletions website/src/pages/Homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
font-size: 14px;
}

.buttonRow {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}


.button {
background-color: #12e172;
padding: 16px 32px 16px 32px;
Expand Down Expand Up @@ -93,6 +101,12 @@ a:nth-child(3) {
font-size: 18px;
}

.buttonRow {
display: flex;
flex-direction: row;
gap: 20px;
}

.actionRow {
display: flex;
flex-direction: row;
Expand Down
16 changes: 14 additions & 2 deletions website/src/pages/Homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,28 @@ const Homepage = () => {
The tooling for building zero-knowledge applications at your
fingertips
</p>{" "}
<div className="buttonRow">
<Link
target="_blank"
rel="noopener noreferrer"
to="/account"
>
<button className="button">
{" "}
Try now <span className="arrow">&rarr;</span>{" "}
</button>
</Link>{" "}
<Link
target="_blank"
rel="noopener noreferrer"
to="https://developer.aleo.org/sdk/"
>
<button className="button">
{" "}
View Docs <span className="arrow">&rarr;</span>{" "}
See Docs <span className="arrow">&rarr;</span>{" "}
</button>
</Link>{" "}
</div>
<ul className="actionRow">
<Link to="/account" className="actionItem">
{" "}
Expand Down Expand Up @@ -58,7 +70,7 @@ const Homepage = () => {
to="https://docs.leo-lang.org/sdk/create-leo-app/tutorial/"
>
<button className="button">
Try it now <span className="arrow">&rarr;</span>
Try now <span className="arrow">&rarr;</span>
</button>
</Link>{" "}
<div className="footer">
Expand Down

0 comments on commit b1d4e3c

Please sign in to comment.