2020-07-13 12:02:40 +00:00
|
|
|
import React from "react"
|
|
|
|
|
|
|
|
import { makeStyles } from "@material-ui/core/styles"
|
2020-07-13 14:47:30 +00:00
|
|
|
import { Divider } from "@material-ui/core"
|
2020-07-13 12:02:40 +00:00
|
|
|
import Layout from "@components/Layout/Layout"
|
|
|
|
import SEO from "@components/SEO"
|
|
|
|
import Header from "./components/Header"
|
2020-07-13 14:47:30 +00:00
|
|
|
import AboutMe from "./components/AboutMe"
|
|
|
|
import Technologies from "./components/Technologies/Technologies"
|
2020-07-13 17:04:46 +00:00
|
|
|
import Projects from "./components/Projects/Projects"
|
2020-07-14 10:24:48 +00:00
|
|
|
import Contact from "./components/Contact"
|
2020-07-13 12:02:40 +00:00
|
|
|
|
|
|
|
const useStyles = makeStyles(theme => ({
|
|
|
|
layout: {
|
|
|
|
padding: 0,
|
|
|
|
},
|
|
|
|
}))
|
|
|
|
|
|
|
|
const HomePage = ({ location }) => {
|
|
|
|
const classes = useStyles()
|
|
|
|
return (
|
2020-07-14 10:24:48 +00:00
|
|
|
<Layout className={classes.layout} navbarProps={{ position: "absolute" }}>
|
2020-07-13 12:02:40 +00:00
|
|
|
<SEO title="Strona główna" pathname={location.pathname} />
|
|
|
|
<Header />
|
2020-07-13 14:47:30 +00:00
|
|
|
<AboutMe />
|
|
|
|
<Divider />
|
|
|
|
<Technologies />
|
2020-07-13 17:04:46 +00:00
|
|
|
<Projects />
|
2020-07-14 10:24:48 +00:00
|
|
|
<Contact />
|
|
|
|
<Divider />
|
2020-07-13 12:02:40 +00:00
|
|
|
</Layout>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default HomePage
|