mirror of
https://github.com/mitchell/mjfs.us.git
synced 2025-07-01 00:36:09 +00:00
35 lines
586 B
JavaScript
35 lines
586 B
JavaScript
// @flow
|
|
import Home from "../components/Home"
|
|
import Projects from "../containers/Projects"
|
|
import Contact from "../components/Contact"
|
|
|
|
const routes = [
|
|
{
|
|
path: "/",
|
|
name: "Home",
|
|
component: Home,
|
|
exact: true
|
|
},
|
|
{
|
|
path: "/projects",
|
|
name: "Projects",
|
|
component: Projects,
|
|
exact: false
|
|
},
|
|
{
|
|
path: "/contact",
|
|
name: "Contact",
|
|
component: Contact,
|
|
exact: false
|
|
}
|
|
]
|
|
|
|
const redirects = [
|
|
{
|
|
path: "/linkedin",
|
|
func: () => (window.location = "https://linkedin.com/in/mitchelljfsimon")
|
|
}
|
|
]
|
|
|
|
export { routes, redirects }
|