본문 바로가기

Projects/Fretboard

4. Creating Navigation Bar

mui AppBar
https://mui.com/

MUI: The React component library you always wanted

MUI provides a simple, customizable, and accessible library of React components. Follow your own design system, or start with Material Design.

mui.com

 
use fields from routes.tsx to add headers and on click nav functionality 

{routes.map((r) => (
              <Button
                key={r.navName}
                onClick={ () => {
                    handleCloseNavMenu();
                    navigate(r.path)
                }}
                sx={{ my: 2, color: textColor, display: 'block' , fontSize: '25px'}}
              >
                {r.navName}
              </Button>

 
Progress

 

'Projects > Fretboard' 카테고리의 다른 글

6. Redux Basics  (0) 2023.04.01
5. Fretboard Design and Logic  (0) 2023.02.27
3. Creating Homepage  (0) 2023.02.26
2. Setting up routes  (0) 2023.02.26
1. Setting up Typescript React + Node  (0) 2023.02.25