UNPKG

gatsby-theme-curiousity

Version:

The Gatsby theme that builds the portfolio component of my website

25 lines (21 loc) 485 B
import { graphql } from "gatsby"; import PostsPage, { PortfolioListing } from "../components/Portfolio"; export default PostsPage; export interface PortfolioPageQuery { allPortfolioItem: { edges: { node: PortfolioListing; }[]; }; } export const query = graphql` query CuriousityPortfolioPageQuery { allPortfolioItem(sort: { fields: [title] }, limit: 1000) { edges { node { ...CuriousityPortfolioListing } } } } `;