Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

195
Views
How do make my login page show first and then the navbar and everything else?

I want to hide my navbar on the first landing page of my site. In my app.js I put the navbar and other routes inside a div and made it so that it renders after the login page. But now when i go to look at the site nothing is printing on the page, not the login nor navbar.

return (
  <div className="App">
    <Router>
      <Routes>
        <Route path="/login" exact component={<Login/>} />
        <Route path="/signup" element = {<Signup/>}/>
          <div>
            <Navbar/>
              <Route path="/onboarding" element={<Onboarding />} />
              <Route path="/training material" exact component={<Training/>}/>
              <Route path="/contract" exact component={<Contract/>}/>
          </div>
      </Routes>
    </Router>
  </div>
);
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!