File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { Base64 } from "js-base64" ;
2
2
import { useEffect , useRef , useState } from "react" ;
3
3
import React from "react" ;
4
- import { BsPlayFill , BsShare } from "react-icons/bs" ;
4
+ import { BsPlayFill , BsGithub , BsShare } from "react-icons/bs" ;
5
5
import { useWindowSize } from "usehooks-ts" ;
6
6
7
7
import InvariantLogoIcon from "@/assets/logo" ;
@@ -181,7 +181,7 @@ const App = () => {
181
181
< div className = "flex items-center space-x-2" >
182
182
< 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]" >
183
183
< 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 >
185
185
</ div >
186
186
< Examples examples = { examples } onSelect = { handleExampleSelect } />
187
187
</ div >
@@ -190,6 +190,9 @@ const App = () => {
190
190
Share
191
191
</button>*/ }
192
192
< 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 >
193
196
< Button onClick = { handleEvaluate } disabled = { loading } >
194
197
{ loading ? (
195
198
< Spinning className = "h-5 w-5 text-white mr-[5pt]" />
You can’t perform that action at this time.
0 commit comments