-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AppBar.js and Foot.s made to look like https://material-ui.com/gettin…
- Loading branch information
Showing
4 changed files
with
128 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import React from "react" | ||
import AppBar from "@material-ui/core/AppBar" | ||
import { Button } from "@material-ui/core" | ||
|
||
// import CameraIcon from '@material-ui/icons/PhotoCamera'; | ||
import AccountCircleIcon from "@material-ui/icons/AccountCircle" | ||
|
||
import Card from "@material-ui/core/Card" | ||
import CardActions from "@material-ui/core/CardActions" | ||
import CardContent from "@material-ui/core/CardContent" | ||
import CardMedia from "@material-ui/core/CardMedia" | ||
import Link from "@material-ui/core/Link" | ||
|
||
import Typography from "@material-ui/core/Typography" | ||
import Toolbar from "@material-ui/core/Toolbar" | ||
|
||
import { makeStyles } from "@material-ui/core/styles" | ||
const useStyles = makeStyles(theme => ({ | ||
icon: { | ||
marginRight: theme.spacing(2), | ||
}, | ||
link: { | ||
marginRight: theme.spacing(2), | ||
}, | ||
})) | ||
|
||
const QuotesUnit = () => { | ||
const classes = useStyles() | ||
const preventDefault = event => event.preventDefault() | ||
return ( | ||
<div> | ||
<AppBar position="relative"> | ||
<Toolbar> | ||
<AccountCircleIcon className={classes.icon} /> | ||
<Typography variant="h6" color="inherit" noWrap> | ||
<Link className={classes.link} href="/" color="inherit"> | ||
useAuth | ||
</Link> | ||
<Link className={classes.link} href="/docs/" color="inherit"> | ||
docs | ||
</Link> | ||
</Typography> | ||
</Toolbar> | ||
</AppBar> | ||
</div> | ||
) | ||
} | ||
|
||
export default QuotesUnit | ||
|
||
//onClick={preventDefault} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import React from "react" | ||
import AppBar from "@material-ui/core/AppBar" | ||
import { Button } from "@material-ui/core" | ||
|
||
// import CameraIcon from '@material-ui/icons/PhotoCamera'; | ||
import AccountCircleIcon from "@material-ui/icons/AccountCircle" | ||
|
||
import Card from "@material-ui/core/Card" | ||
import CardActions from "@material-ui/core/CardActions" | ||
import CardContent from "@material-ui/core/CardContent" | ||
import CardMedia from "@material-ui/core/CardMedia" | ||
import Link from "@material-ui/core/Link" | ||
|
||
import Typography from "@material-ui/core/Typography" | ||
import Toolbar from "@material-ui/core/Toolbar" | ||
|
||
import { makeStyles } from "@material-ui/core/styles" | ||
|
||
function Copyright() { | ||
return ( | ||
<Typography variant="body2" color="textSecondary" align="center"> | ||
{"Copyright © "} | ||
<Link color="inherit" href="https://material-ui.com/"> | ||
useAuth Swizec | ||
</Link>{" "} | ||
{new Date().getFullYear()} | ||
{"."} | ||
</Typography> | ||
) | ||
} | ||
|
||
const useStyles = makeStyles(theme => ({ | ||
icon: { | ||
marginRight: theme.spacing(2), | ||
}, | ||
link: { | ||
marginRight: theme.spacing(2), | ||
}, | ||
})) | ||
|
||
const FooterUnit = () => { | ||
const classes = useStyles() | ||
const preventDefault = event => event.preventDefault() | ||
return ( | ||
<div> | ||
{" "} | ||
<footer className={classes.footer}> | ||
<Typography variant="h6" align="center" gutterBottom></Typography> | ||
<Typography | ||
variant="subtitle1" | ||
align="center" | ||
color="textSecondary" | ||
component="p" | ||
></Typography> | ||
<Copyright /> | ||
</footer> | ||
</div> | ||
) | ||
} | ||
|
||
export default FooterUnit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters