In my React project, I have:
- A Login component without header & sidebar components login image
- A Dashboard component with a header, a footer and other child components that all render within the dashboard component dashboard image
- An Error page component
Question: How should I construct my router to start from the login page and when I click on login, the router takes me to the dashboard?