components#Navbar TypeScript Examples

The following examples show how to use components#Navbar. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Layout.tsx    From solo with MIT License 6 votes vote down vote up
Layout: React.FC = () => (
  <>
    <OfficialSiteBanner />
    <Navbar />
    <Switch>
      <HomeRoute
        exact
        path="/"
        unAuthComponent={LoginPage}
        authComponent={StatusPage}
      />
      <AuthRoute
        exact
        path="/d6t"
        component={EnterReceiptPage}
        redirectUrl="/"
      />
      <AuthRoute
        exact
        path="/cor"
        component={ConfirmationOfReceiptPage}
        redirectUrl="/"
      />
      <AuthRoute
        exact
        path="/adminpage"
        component={AdminPage}
        redirectUrl="/"
      />
      <Route exact path="/testpage" component={HomePage} />
      <Route exact path="/postlogout" component={PostLogoutPage} />
    </Switch>
  </>
)