/** @jsx jsx */ import { jsx, Heading } from "theme-ui" import * as React from "react" import type { HeadFC, PageProps } from "gatsby" import { transparentize } from "polished" import { IGatsbyImageData, GatsbyImage } from "gatsby-plugin-image" import Layout from "./layout" import Seo from "./seo" export type JodieProjectProps = { project: { excerpt: string color: string date: string slug: string title: string shortTitle: string category: string cover: { childImageSharp: { resize: { src: string } } } } images: { nodes: { name: string childImageSharp: { gatsbyImageData: IGatsbyImageData } }[] } } const Project: React.FC>> = ({ data: { project, images }, children, }) => (
{project.category}
{project.title}
{children}
{images.nodes.map((image) => ( ))}
) export default Project export const Head: HeadFC = ({ data: { project }, location }) => ( )