This is the Navigation Bar component of Alo-Yoga website
- https://github.com/goat-yoga/russell-service
- https://github.com/goat-yoga/rizwan-service-actual
- https://github.com/goat-yoga/kimberly-service
- https://github.com/goat-yoga/wilson_service
Some usage instructions
- run
npm installto install all dependencies. - run seeding function using
npm run seed. - run
npm run startandnpm run buildto start up the server and webpack, respectively.
- use
serviceStyle.cssfor service styling!! - use
style.cssfor proxy styling!!
- .svg files were scraped from the website
- they're html boilerplate that depict a picture.
- I imported that svg file into my react component
- that imported variable is the same thing as another react component. tutorial below!
- For example: I import the .svg file like the .jsx file.
- import BackButton from './backArrow.svg';
- import Messages from './Universal_Banner-Subcomponents/Messages.jsx';
- implement both files like subcomponents.
- And Voila!! You know how to implement svg files into your react components.
- The svgr/webpack DevDependency recognizes and transpiles svg to render properly.
- The user should see the menu, while hovering over either the MENU TITLE "MEN", "WOMEN", etc. and the MENU itself.
An nvmrc file is included if using nvm.
- Node 6.13.0
- etc
From within the root directory:
npm install -g webpack
npm installGet Request: '/search'
Post Request: '/post'
Delete Request: '/delete/:id'
Update Request: '/update/:id'