JackyXu-Cool / Team-2130-Machine-Learning-Roulette

Georgia Tech Junior Design Project
8 stars 5 forks source link

Implemented dynamic navbar component #69

Closed lhyelinn closed 1 year ago

lhyelinn commented 1 year ago

This PR introduces dynamically adjustable navigation bar component, expecting enhancement in code maintainability.

Instead of having repeating code for nav bar, CustomNavBar component was created. It gets elems, an array of objects with two other fields (title, href), and uses elems props to create navigation bar as needed.

ruokun-niu commented 1 year ago

ccing @JackyXu-Cool as he has more experience in front-end