Last active
August 8, 2021 20:04
-
-
Save stivncastillo/aa278cc6a945c5845ba37dddbfa2a9c7 to your computer and use it in GitHub Desktop.
Nested Routes
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
import React from 'react' | |
const DashboardPage = () => { | |
return ( | |
<div> | |
Private Dashsboard | |
</div> | |
) | |
} | |
export default DashboardPage |
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
import React from 'react' | |
const LoginPage = () => { | |
return ( | |
<div> | |
My fucking Login page | |
</div> | |
) | |
} | |
export default LoginPage |
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
import React from 'react' | |
const ProfilePage = () => { | |
return ( | |
<div> | |
Hi, this is my profile | |
</div> | |
) | |
} | |
export default ProfilePage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment