-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "add /tezos/brave redirect to /tezos""
This reverts commit 7865c87.
- Loading branch information
1 parent
6dd6b4f
commit d7c8d06
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React, { useEffect } from 'react'; | ||
import { navigate } from 'gatsby'; | ||
import SEO from 'src/components/Seo'; | ||
import landingPage from 'src/images/landing_page.jpg'; | ||
|
||
//redirect homepage view to /tezos | ||
const BraveView = () => { | ||
useEffect(() => { | ||
navigate('/tezos'); | ||
}); | ||
return ( | ||
<> | ||
<SEO | ||
title="Cryptobots vs Aliens | Crypto Code School | Learn to program smart contracts in SmartPy" | ||
keywords={[ | ||
`smartpy`, | ||
`python`, | ||
`interactive`, | ||
`programming`, | ||
`tutorial`, | ||
`tezos`, | ||
`blockchain`, | ||
]} | ||
image={{ | ||
src: landingPage, | ||
width: 560, | ||
height: 300, | ||
}} | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
export default BraveView; |