File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,9 @@ const LandingPage = () => {
168
168
className = "flex flex-col items-center justify-center sm:flex-row gap-2 md:gap-4 mt-4 lg:mt-12 opacity-0 animate-fade-up"
169
169
style = { { animationDelay : "1700ms" } }
170
170
>
171
- < Link to = "/verifier ">
171
+ < a href = { process . env . REACT_APP_VERIFY_URL } target = "_blank" rel = "noopener noreferrer ">
172
172
< Button className = "uppercase mt-4" > Verify Contract</ Button >
173
- </ Link >
173
+ </ a >
174
174
< a href = { DOCS_URL } >
175
175
< Button className = "uppercase mt-4" type = "secondary" >
176
176
Documentation
Original file line number Diff line number Diff line change 1
1
import Header from "../../components/Header" ;
2
+ import Button from "../../components/Button" ;
2
3
3
4
const VerifyRedirect : React . FC = ( ) => {
4
5
const handleRedirect = ( ) => {
@@ -14,12 +15,9 @@ const VerifyRedirect: React.FC = () => {
14
15
< p className = "text-lg mb-8 text-gray-600" >
15
16
We've launched a new and improved verification interface using Sourcify's new APIv2.
16
17
</ p >
17
- < button
18
- onClick = { handleRedirect }
19
- className = "bg-ceruleanBlue-500 hover:bg-ceruleanBlue-600 text-white font-bold py-3 px-6 rounded-lg text-lg transition-colors duration-200"
20
- >
18
+ < Button onClick = { handleRedirect } className = "text-lg" >
21
19
Go to New Verification UI
22
- </ button >
20
+ </ Button >
23
21
< p className = "text-sm text-gray-400 mt-4" > You will be redirected to { process . env . REACT_APP_VERIFY_URL } </ p >
24
22
</ div >
25
23
</ div >
You can’t perform that action at this time.
0 commit comments