You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.
Description
Currently, both components are showing in the app when loading, the <Content /> and the <Hero />.
Create a router, that, when the homepage shows the <Hero /> component (as well as when clicking on Home in the navigation bar), and when clicking on Courses, the <Content /> component is showing.
The content you are editing has changed. Please copy your edits and refresh the page.
Hello @YuriDevAT I have figured how to do it. Instead of having another separate directory for the components if we move it under the pages directory and use the Next Js router we can achieve it.
Description
Currently, both components are showing in the app when loading, the
<Content />
and the<Hero />
.Create a router, that, when the homepage shows the
<Hero />
component (as well as when clicking on Home in the navigation bar), and when clicking on Courses, the<Content />
component is showing.Tasks
Note: Decide if you are going to use Next routing system or the new react-router. Explain why in the PR.
The text was updated successfully, but these errors were encountered: