Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Terms of Use & Privacy Policy to SDK #920

Merged
merged 5 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions website/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ function Main() {
<a href="https://github.com/ProvableHQ/sdk">
<img src="../public/github-mark-white.png" style={{height:"24px"}}></img>
</a>
<Link to="/terms_of_use" style={{color: "white"}}> <span>Terms of Use</span> </Link>
<Link to="/privacy_policy" style={{color:"white"}}><span>Privacy Policy</span></Link>

© 2024 Provable Inc.
</Footer>
Expand Down
29 changes: 15 additions & 14 deletions website/src/pages/Homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import "./Homepage.css";
const Homepage = () => {
return (
<div className="homepage">
<Link to="https://provable.com/">
<img
src="../public/primary-wordmark-dark.png"
className="logo"
></img>
<Link to="https://provable.com/">
<img
src="../public/primary-wordmark-dark.png"
className="logo"
></img>
</Link>
<div className="headerContainer">
<h1 className="header">Aleo SDK</h1>
Expand All @@ -31,22 +31,16 @@ const Homepage = () => {
<ul className="actionRow">
<Link to="/account" className="actionItem">
{" "}
<li>
Create and manage accounts{" "}
</li>
<li>Create and manage accounts </li>
</Link>

<Link to="/develop" className="actionItem">
{" "}
<li>
Execute and deploy programs{" "}
</li>
<li>Execute and deploy programs </li>
</Link>

<Link to="/transfer" className="actionItem">
<li>
Manage program state and data
</li>
<li>Manage program state and data</li>
</Link>
</ul>
<p className="secondSubheader">
Expand All @@ -68,6 +62,13 @@ const Homepage = () => {
style={{ height: "24px", marginBottom: "1rem" }}
></img>
</a>
<Link to="/terms_of_use" style={{ color: "white", textDecoration: "none" }}>
{" "}
<span>Terms of Use</span>{" "}
</Link>
<Link to="/privacy_policy" style={{ color: "white", textDecoration: "none"}}>
<span>Privacy Policy</span>
</Link>
© 2024 Provable Inc.
</div>
</div>
Expand Down
21 changes: 21 additions & 0 deletions website/src/pages/PrivacyPolicy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 20px;
}

p {
margin: 10px 0;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
table, th, td {
border: 1px solid #ddd;
}
th, td {
padding: 10px;
text-align: left;
}
Loading
Loading