Skip to content

Commit

Permalink
Navbar Floxograma
Browse files Browse the repository at this point in the history
  • Loading branch information
gustaallves committed Nov 28, 2023
1 parent 47d3d36 commit 18fe58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Navbar = () => {
Matérias
</Button>
)}
{access_token && ( <Button component={NavLink} to='/Fluxogramas' style={({ isActive }) => { return { backgroundColor: isActive ? '#0f467e' : '' } }} sx={{ color: 'white', textTransform: 'none' }}>Fluxogramas</Button>)}
<Button component={NavLink} to='/Fluxogramas' style={({ isActive }) => { return { backgroundColor: isActive ? '#0f467e' : '' } }} sx={{ color: 'white', textTransform: 'none' }}>Fluxogramas</Button>
{access_token && ( <Button component={NavLink} to='/Grade' style={({ isActive }) => { return { backgroundColor: isActive ? '#0f467e' : '' } }} sx={{ color: 'white', textTransform: 'none' }}>Grade</Button>)}
{access_token ? <Button component={NavLink} to='/dashboard' style={({ isActive }) => { return { backgroundColor: isActive ? '#0f467e' : '' } }} sx={{ color: 'white', textTransform: 'none' }}>Perfil</Button> : <Button component={NavLink} to='/login' style={({ isActive }) => { return { backgroundColor: isActive ? '#0f467e' : '' } }} sx={{ color: 'white', textTransform: 'none' }}>Entrar/Registrar</Button>}

Expand Down

0 comments on commit 18fe58f

Please sign in to comment.