Skip to content

Commit

Permalink
Added buttons for 'Star' and 'Fork' (#1320)
Browse files Browse the repository at this point in the history
* Added buttons for 'Star' and 'Fork'

* Linting
  • Loading branch information
DarkGL authored Oct 19, 2024
1 parent 39a242d commit 07aeab3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
27 changes: 24 additions & 3 deletions docs/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,30 @@ class App extends Component<
}}
>
<h1>Runtype Benchmarks</h1>
<a href="https://github.com/moltar/typescript-runtime-type-benchmarks/">
Github Repository
</a>
<div>
<a
class="github-button"
href="https://github.com/moltar/typescript-runtime-type-benchmarks"
data-color-scheme="no-preference: dark; light: dark_dimmed; dark: dark;"
data-icon="octicon-star"
data-size="large"
data-show-count="true"
aria-label="Star moltar/typescript-runtime-type-benchmarks on GitHub"
>
Star
</a>
<a
class="github-button"
href="https://github.com/moltar/typescript-runtime-type-benchmarks/fork"
data-color-scheme="no-preference: dark; light: dark_dimmed; dark: dark;"
data-icon="octicon-repo-forked"
data-size="large"
data-show-count="true"
aria-label="Fork moltar/typescript-runtime-type-benchmarks on GitHub"
>
Fork
</a>
</div>
</div>
<p>
Benchmark Comparison of Packages with Runtime Validation and
Expand Down
4 changes: 3 additions & 1 deletion docs/dist/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<script src="https://unpkg.com/[email protected]" crossorigin></script>
<script src="https://unpkg.com/[email protected]" crossorigin></script>
<script src="https://unpkg.com/preact@10" crossorigin></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="dist/app.js"></script>
<script>
define('preact', () => preact)
Expand Down

0 comments on commit 07aeab3

Please sign in to comment.