Skip to content

Commit

Permalink
LGTM
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloGOP committed Apr 27, 2024
1 parent d280b6b commit 20b6bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function NavBar() {
{ logo }
<Box sx={{ display: 'flex', flexGrow: 1 }}>
{pages.map((page) => (
<Button component={Link} to={page.path==='/statistics'? `/statistics/${username}`:page.path} key={page.path} sx={{ color: 'white', '&:hover': { backgroundColor: '#5f7e94' },}}>
<Button component={Link} size='large' to={page.path==='/statistics'? `/statistics/${username}`:page.path} key={page.path}sx={{ color: 'white', '&:hover': { backgroundColor: '#5f7e94' },}}>
{page.text}
</Button>
))}
Expand All @@ -129,7 +129,7 @@ function NavBar() {
<Box></Box>
)}

<Box sx={{ display: "flex", gap: {sx: "0.5em", md: "1em"} }}>
<Box sx={{ display: "flex", gap: {sm: "0.5em", lg: "2em"} }}>
{/* Internacionalization */}
<Box sx={{ display: "flex", alignItems: "center", borderRadius: '0.5em', '&:hover': { backgroundColor: '#5f7e94' }}}>
<TranslateIcon />
Expand Down

0 comments on commit 20b6bcc

Please sign in to comment.