Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizGeneral Tech Bugs & Fixes 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
If you do not require Navbar in Login, Signup pages, just move the component with Navbar out of the component that these routes are defined in. For example:
In main App component file:
render() {
return (
<BrowserRouter>
<div style={{position:'fixed', width: '100%'}}>
<Route exact path="/LogIn" component={LogIn} />
<Route path="/" component={Content} />
div>
BrowserRouter>
);
}
In component Content file:
render() {
return (
<div>
<NavBar />
<Switch>
<Route path="/Home" component={Home} exact />
<Route path="/dashboard" component={Dashboard} exact />
<Route path="/mapview" component={MapView} exact />
<Route path="/faq" component={FAQ} exact />
Switch>
div>
);
}
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
i dont want a navbar in my log in page
sample image