mirror of
https://github.com/rjNemo/football-summaries
synced 2026-06-06 02:16:43 +00:00
style header
This commit is contained in:
parent
b303368eb1
commit
44a971ea50
1 changed files with 4 additions and 12 deletions
|
|
@ -11,7 +11,7 @@ import {
|
|||
Theme,
|
||||
makeStyles,
|
||||
} from "@material-ui/core/styles";
|
||||
import MenuIcon from "@material-ui/icons/Menu";
|
||||
import SportsSoccerIcon from "@material-ui/icons/SportsSoccer";
|
||||
import SearchIcon from "@material-ui/icons/Search";
|
||||
import { Link as RouterLink } from "react-router-dom";
|
||||
|
||||
|
|
@ -77,19 +77,11 @@ const Header: FC<{ title: string }> = ({ title }) => {
|
|||
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
<AppBar position="static">
|
||||
<AppBar position="static" color="transparent">
|
||||
<Toolbar>
|
||||
<IconButton
|
||||
edge="start"
|
||||
className={classes.menuButton}
|
||||
color="inherit"
|
||||
aria-label="open drawer"
|
||||
>
|
||||
<MenuIcon />
|
||||
</IconButton>
|
||||
<Typography className={classes.title} variant="h6" noWrap>
|
||||
<Link component={RouterLink} to="/" color="secondary">
|
||||
{title}
|
||||
<Link component={RouterLink} to="/" color="primary">
|
||||
<SportsSoccerIcon /> {title}
|
||||
</Link>
|
||||
</Typography>
|
||||
<div className={classes.search}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue