GregStephen / poop-scoop

0 stars 0 forks source link

Create Navbar #8

Closed GregStephen closed 5 years ago

GregStephen commented 5 years ago

User Story

As a user, when not logged in I should see a navbar with just PoopScoop on the right and a Log in/Sign up button on the top right. When logged the button should change to a button that says user with a dropdown menu

AC

WHEN the user loads the page IF the user is logged in THEN there should be 'PoopScoop' on the left AND a button on the right that says User WITH a dropdown button containing their name and a link to `Account Settings' ELSE there should be 'PoopScoop' on the left AND a button that says 'Log In/Sign Up' on the right

Development

GregStephen commented 5 years ago

Navbar dropdown https://reactstrap.github.io/components/navbar/

            <UncontrolledDropdown nav inNavbar>
                <DropdownToggle nav caret>
                  User
                </DropdownToggle>
                <DropdownMenu right>
                  <DropdownItem header>
                     User Name
                  </DropdownItem>
                  <DropdownItem divider />
                  <DropdownItem>
                    Account Settings
                  </DropdownItem>
                </DropdownMenu>
              </UncontrolledDropdown>