mirror of
https://github.com/tlsnotary/website.git
synced 2026-01-07 21:24:15 -05:00
Added link to API docs (rustdoc)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
src/images/rust-logo-blk.svg
Normal file
45
src/images/rust-logo-blk.svg
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="144"
|
||||
width="144"
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
sodipodi:docname="rust-logo-blk.svg"
|
||||
inkscape:version="1.3 (0e150ed, 2023-07-21)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="namedview2"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="1.6388889"
|
||||
inkscape:cx="71.694915"
|
||||
inkscape:cy="72"
|
||||
inkscape:window-width="2216"
|
||||
inkscape:window-height="1207"
|
||||
inkscape:window-x="42"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg2" />
|
||||
<path
|
||||
d="m 72.880507,6.6838423 c -36.102773,0 -65.4864952,29.3975767 -65.4864952,65.4864957 0,36.088922 29.3975762,65.486492 65.4864952,65.486492 36.088923,0 65.486503,-29.39757 65.486503,-65.486492 0,-36.088919 -29.39758,-65.4864957 -65.486503,-65.4864957 z m -0.09698,5.8185587 a 4.2946507,4.3085044 0 0 1 4.183821,4.308505 4.3085044,4.3085044 0 0 1 -8.617008,0 4.3085044,4.3085044 0 0 1 4.433187,-4.308505 z m 9.863843,7.093101 a 53.018155,53.018155 0 0 1 36.29673,25.851026 l -5.08431,11.470874 c -0.87279,1.981081 0.0277,4.308504 1.99493,5.195142 l 9.78072,4.336211 a 53.018155,53.018155 0 0 1 0.11083,9.198865 h -5.44451 c -0.54029,0 -0.76195,0.360197 -0.76195,0.886638 v 2.493668 c 0,5.873974 -3.31104,7.162369 -6.22032,7.481004 -2.77074,0.318636 -5.83241,-1.163712 -6.22031,-2.853864 -1.63474,-9.185011 -4.35007,-11.138385 -8.644721,-14.532544 5.333681,-3.380306 10.875161,-8.381496 10.875161,-15.058985 0,-7.217784 -4.94577,-11.761801 -8.31222,-13.992249 -4.737973,-3.117085 -9.974676,-3.740502 -11.387755,-3.740502 H 33.383575 A 53.018155,53.018155 0 0 1 63.044372,19.595502 l 6.635928,6.954563 c 1.496201,1.56547 3.976015,1.634738 5.541485,0.124684 z M 21.413968,51.486747 a 4.3085044,4.3085044 0 0 1 4.183821,4.308504 4.3085045,4.3085045 0 0 1 -8.617009,0 4.3085044,4.3085044 0 0 1 4.433188,-4.308504 z m 102.725272,0.193952 a 4.3085044,4.3085044 0 0 1 4.18382,4.308504 4.308505,4.308505 0 0 1 -8.61701,0 4.3085044,4.3085044 0 0 1 4.43319,-4.308504 z m -94.606997,0.692685 h 7.508712 V 86.231856 H 21.884994 a 53.018155,53.018155 0 0 1 -1.71786,-20.240273 l 9.281987,-4.128406 c 1.98108,-0.886638 2.881572,-3.200208 1.994934,-5.181288 z m 31.337096,0.360197 h 17.885142 c 0.928199,0 6.525098,1.066736 6.525098,5.26441 0,3.477282 -4.29465,4.724116 -7.827347,4.724116 H 60.855485 Z m 0,24.327118 H 74.57066 c 1.246834,0 6.691343,0.360196 8.423057,7.31476 0.540295,2.133471 1.745568,9.088035 2.562937,11.318482 0.817369,2.493668 4.128406,7.481009 7.661102,7.481009 h 22.359894 a 53.018155,53.018155 0 0 1 -4.90422,5.68002 l -9.10189,-1.95338 c -2.119613,-0.45717 -4.211524,0.9005 -4.668696,3.02011 l -2.161179,10.08551 A 53.018155,53.018155 0 0 1 50.53447,119.7994 l -2.161179,-10.0855 c -0.457172,-2.11962 -2.535229,-3.47728 -4.654847,-3.02011 l -8.907937,1.91181 a 53.018155,53.018155 0 0 1 -4.599432,-5.43065 h 43.320557 c 0.48488,0 0.817369,-0.0831 0.817369,-0.5403 V 87.312446 c 0,-0.443319 -0.332489,-0.540295 -0.817369,-0.540295 H 60.855485 Z M 40.878433,112.15215 a 4.3085044,4.3085044 0 0 1 4.183821,4.30851 4.3085045,4.3085045 0 0 1 -8.617009,0 4.3085044,4.3085044 0 0 1 4.433188,-4.30851 z m 63.796347,0.19395 a 4.3085044,4.3085044 0 0 1 4.18382,4.30851 4.308505,4.308505 0 0 1 -8.61701,0 4.3085044,4.3085044 0 0 1 4.43319,-4.30851 z"
|
||||
id="path1"
|
||||
style="stroke-width:1.38537" />
|
||||
<path
|
||||
d="M 134.70962,72.170338 A 61.829116,61.829116 0 0 1 72.880507,133.99945 61.829116,61.829116 0 0 1 11.051392,72.170338 61.829116,61.829116 0 0 1 72.880507,10.341222 61.829116,61.829116 0 0 1 134.70962,72.170338 Z m -1.16371,-5.970949 9.64219,5.970949 -9.64219,5.97095 8.28453,7.744225 -10.61195,3.976016 6.62207,9.212718 -11.20765,1.828693 4.71026,10.33487 -11.34619,-0.40176 2.6045,11.05526 -11.05526,-2.6045 0.40175,11.34619 -10.33486,-4.71026 -1.828694,11.20765 -9.212719,-6.62207 -3.976015,10.61195 -7.744225,-8.28453 -5.97095,9.64219 -5.97095,-9.64219 -7.744224,8.28453 -3.976016,-10.61195 -9.212718,6.62207 -1.82869,-11.20765 -10.334869,4.71026 0.401758,-11.34619 -11.055263,2.6045 2.604498,-11.05526 -11.34619,0.40176 4.710262,-10.33487 L 7.9204529,99.074247 14.542527,89.861529 3.9305839,85.885513 12.215104,78.141288 2.5729201,72.170338 12.215104,66.199389 3.9305839,58.455164 14.542527,54.479148 7.9204529,45.26643 19.128105,43.43774 14.417843,33.102871 l 11.34619,0.401758 -2.604498,-11.055262 11.055263,2.604498 -0.401758,-11.346191 10.334869,4.710263 1.82869,-11.2076536 9.212718,6.6220746 3.976016,-10.6119436 7.744224,8.2845196 5.97095,-9.6421834 5.97095,9.6421834 7.744225,-8.2845196 3.976015,10.6119436 9.212719,-6.6220746 1.828694,11.2076536 10.33486,-4.710263 -0.40175,11.346191 11.05526,-2.604498 -2.6045,11.055262 11.34619,-0.401758 -4.71026,10.334869 11.20765,1.82869 -6.62207,9.212718 10.61195,3.976016 z"
|
||||
fill-rule="evenodd"
|
||||
stroke="#000000"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="4.15611"
|
||||
id="path2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
Reference in New Issue
Block a user