Last active
May 20, 2021 13:19
-
-
Save GeoffMahugu/a974c25f5bf3a1ca615762265645c619 to your computer and use it in GitHub Desktop.
This is the init home page for react-firebase project
This file contains hidden or 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
| import React from 'react'; | |
| import { Link } from 'react-router-dom'; | |
| interface IPageProps { | |
| name: string; | |
| } | |
| const HomePage: React.FunctionComponent<IPageProps> = props => { | |
| return ( | |
| <div> | |
| <h1> Home Page - Unprotected</h1> | |
| <Link to={`/cart`}> | |
| <button>View Cart</button> | |
| </Link> | |
| <Link to={`/auth/signup`}> | |
| <button>SignUp</button> | |
| </Link> | |
| </div> | |
| ); | |
| } | |
| export default HomePage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment