Skip to content

Commit

Permalink
Merge pull request #7 from tlsnotary/rustdoc
Browse files Browse the repository at this point in the history
Added link to API docs (rustdoc)
  • Loading branch information
heeckhau authored Sep 22, 2023
2 parents abf5c82 + 3640366 commit 3b2a37c
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 3 deletions.
9 changes: 9 additions & 0 deletions src/components/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import github from "../images/github.svg";
import docs from "../images/docs.svg";
import rust from "../images/rust-logo-blk.svg";
import "./Hero.css";
import config from "../config.json";

Expand All @@ -23,6 +24,14 @@ const Hero = () => (
</button>
</a>
</div>
<div className="api-docs-link">
<a href={config.links.api}>
<button className="pill-button">
API
<img className="button-docs" src={rust} alt="api docs"></img>
</button>
</a>
</div>
<div className="repo-link">
<a href={config.links.repo}>
<button className="pill-button">
Expand Down
1 change: 1 addition & 0 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function Navbar() {
</a>
<div id="anchor-links" className="nav-links">
<a href={config.links.docs}>Docs</a>
<a href={config.links.api}>API</a>
<a href="#About">About</a>
</div>
<div id="social-links" className="nav-links">
Expand Down
6 changes: 3 additions & 3 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"discord": "https://discord.gg/9XwESXtcN7",
"repo": "https://github.com/tlsnotary/tlsn",
"docs": "https://docs.tlsnotary.org",
"pse": "https://appliedzkp.org/",
"legacy": "https://old.tlsnotary.org/"
"api": "https://tlsnotary.github.io/tlsn/",
"pse": "https://pse.dev"
}
}
}
45 changes: 45 additions & 0 deletions src/images/rust-logo-blk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b2a37c

Please sign in to comment.