Skip to content

Commit

Permalink
Revert "Revert "add /tezos/brave redirect to /tezos""
Browse files Browse the repository at this point in the history
This reverts commit 7865c87.
  • Loading branch information
bhaskarSingh committed Nov 20, 2020
1 parent 6dd6b4f commit d7c8d06
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/pages/tezos/brave.js
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;

0 comments on commit d7c8d06

Please sign in to comment.