GroceriStar / homepage

Homepage groceristar v.3
https://goofy-keller-15b71e.netlify.com/
2 stars 2 forks source link

menu from array #40

Closed atherdon closed 6 years ago

atherdon commented 6 years ago

https://github.com/atherdon/bebe-grocery/blob/master/src/components/Menu.js

So we should have file at folder data. that file will have similar look: https://github.com/ChickenKyiv/recipe-search-react/blob/master/src/data/allergies.js

Check files first/second - we have some work started, but didn't finished. menu items we'll replace with loop.

atherdon commented 6 years ago

@smob123 can you help me with this task?

smob123 commented 6 years ago

for sure, so what is the content you want to have inside of the array?

atherdon commented 6 years ago

check the menu file(component) - so each item have title, link, class. this should be stored at file. also check files from 'data' folder - so you'll get more ideas about how to do it.

smob123 commented 6 years ago

alright, that sounds simple enough. I will start working on it on Friday, because I have a midterm coming up

atherdon commented 6 years ago

sounds good! in mean time i'll try to take a look at your code repository.

smob123 commented 6 years ago

I pushed the changes, do they look alright?

atherdon commented 6 years ago

yes, send a message in your pull request