As a user, when I navigate to the site, I should see a navbar.
AC
Given a user navigates to the app
Then they should see a navbar
And it should have an application name in the upper left corner
And it should remain at the top of the screen if the page scrolls
Dev Notes
create the directory /src/components/MyNavbar which includes:
MyNavbar.js which:
imports:
React from 'react'
./MyNavbar.scss
defines a class named MyNavbar that extends React.Component and:
returns a navbar div
exports MyNavbar
MyNavbar.scss that defines .MyNavbar { display: block };
User Story
As a user, when I navigate to the site, I should see a navbar.
AC
Given a user navigates to the app Then they should see a navbar And it should have an application name in the upper left corner And it should remain at the top of the screen if the page scrolls
Dev Notes
/src/components/MyNavbar
which includes:MyNavbar.js
which:React from 'react'
./MyNavbar.scss
MyNavbar
that extendsReact.Component
and:MyNavbar
MyNavbar.scss
that defines.MyNavbar { display: block };