/** @jsx jsx */ import { jsx } from "theme-ui" import * as React from "react" import type { HeadFC, PageProps } from "gatsby" import { IGatsbyImageData, GatsbyImage } from "gatsby-plugin-image" import Layout from "./layout" import Seo from "./seo" import GridItem from "./grid-item" import locales from "../locales" import { visuallyHidden } from "../styles/utils" export type JodieProjectsProps = { projects: { nodes: { shortTitle: string slug: string cover: { childImageSharp: { gatsbyImageData: IGatsbyImageData } } }[] } } const Projects: React.FC> = ({ data: { projects } }) => (

{locales.projects}

{projects.nodes.length > 0 ? ( projects.nodes.map((project) => ( {project.shortTitle} )) ) : (
No projects found at the location defined for "projectsPath"
)}
) export default Projects export const Head: HeadFC = ({ location }) =>