import React from "react" import classnames from "classnames" import * as routes from "@config/routes" import useSmoothScroll from "@libs/useSmoothScroll" import logo from "@images/logo.svg" import { HEADER_ID } from "@features/HomePage/components/Header" import { SECTION_ID as PORTFOLIO_SECTION_ID } from "@features/HomePage/components/Portfolio/Portfolio" import { SECTION_ID as CONTACT_SECTION_ID } from "@features/HomePage/components/Contact" import { makeStyles } from "@material-ui/core/styles" import { AppBar, Toolbar, Container, Link } from "@material-ui/core" import { Link as GatsbyLink } from "gatsby-theme-material-ui" function Navbar({ className, ...rest }) { const classes = useStyles() const handleClickLink = useSmoothScroll() return (
logo
Start Portfolio Contact
) } const useStyles = makeStyles(theme => ({ appBar: { backgroundColor: "transparent", color: "#fff", boxShadow: "none", }, linkContainer: { "& > *:not(:last-child)": { marginRight: theme.spacing(1.5), }, [theme.breakpoints.down("xs")]: { "& > *:not(:last-child)": { marginRight: theme.spacing(0.75), }, }, }, logo: { width: "56px", height: "auto", [theme.breakpoints.down("xs")]: { width: "48px", }, }, divider: { flexGrow: 1, }, link: { width: "100%", }, titleContainer: { display: "flex", alignItems: "center", "& > *:not(:last-child)": { marginRight: theme.spacing(1), }, }, toolbar: { padding: theme.spacing(2, 0), fontSize: "1.25rem", }, })) export default Navbar