mirror of
https://github.com/rjNemo/football-summaries
synced 2026-06-12 13:26:39 +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,
|
Theme,
|
||||||
makeStyles,
|
makeStyles,
|
||||||
} from "@material-ui/core/styles";
|
} 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 SearchIcon from "@material-ui/icons/Search";
|
||||||
import { Link as RouterLink } from "react-router-dom";
|
import { Link as RouterLink } from "react-router-dom";
|
||||||
|
|
||||||
|
|
@ -77,19 +77,11 @@ const Header: FC<{ title: string }> = ({ title }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classes.root}>
|
<div className={classes.root}>
|
||||||
<AppBar position="static">
|
<AppBar position="static" color="transparent">
|
||||||
<Toolbar>
|
<Toolbar>
|
||||||
<IconButton
|
|
||||||
edge="start"
|
|
||||||
className={classes.menuButton}
|
|
||||||
color="inherit"
|
|
||||||
aria-label="open drawer"
|
|
||||||
>
|
|
||||||
<MenuIcon />
|
|
||||||
</IconButton>
|
|
||||||
<Typography className={classes.title} variant="h6" noWrap>
|
<Typography className={classes.title} variant="h6" noWrap>
|
||||||
<Link component={RouterLink} to="/" color="secondary">
|
<Link component={RouterLink} to="/" color="primary">
|
||||||
{title}
|
<SportsSoccerIcon /> {title}
|
||||||
</Link>
|
</Link>
|
||||||
</Typography>
|
</Typography>
|
||||||
<div className={classes.search}>
|
<div className={classes.search}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue