Skip to content

Commit 94e21db

Browse files
committed
add website and github link
1 parent f98e6ba commit 94e21db

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

playground/src/App.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Base64 } from "js-base64";
22
import { useEffect, useRef, useState } from "react";
33
import React from "react";
4-
import { BsPlayFill, BsShare } from "react-icons/bs";
4+
import { BsPlayFill, BsGithub, BsShare } from "react-icons/bs";
55
import { useWindowSize } from "usehooks-ts";
66

77
import InvariantLogoIcon from "@/assets/logo";
@@ -181,7 +181,7 @@ const App = () => {
181181
<div className="flex items-center space-x-2">
182182
<div className="flex items-center space-x-2 text-[16pt] font-medium transition-colors duration-200 py-[2pt] px-[5pt] rounded-[4pt] h-[30pt] my-[10pt] -ml-[2pt] hover:cursor-pointer hover:bg-black/[0.08]">
183183
<InvariantLogoIcon className="h-[20pt] w-[20pt]" />
184-
<h1 className="text-lg">Invariant Playground</h1>
184+
<h1 className="text-lg"><a href="https://invariantlabs.ai">Invariant Playground</a></h1>
185185
</div>
186186
<Examples examples={examples} onSelect={handleExampleSelect} />
187187
</div>
@@ -190,6 +190,9 @@ const App = () => {
190190
Share
191191
</button>*/}
192192
<Button onClick={handleShare} variant="secondary"><BsShare className="inline relative mr-[5pt]"/>Share</Button>
193+
<Button onClick={() => window.location.href='https://github.com/invariantlabs-ai/invariant'} variant="secondary">
194+
<BsGithub className="inline relative mr-[5pt]"/>Github
195+
</Button>
193196
<Button onClick={handleEvaluate} disabled={loading}>
194197
{loading ? (
195198
<Spinning className="h-5 w-5 text-white mr-[5pt]"/>

0 commit comments

Comments
 (0)