mjfs.us/src/routes/routes.js
mitchell 134b661205 Update content on home and projects;
minor refactors to project layout; new sans font
2019-01-26 16:30:09 -08:00

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 }