import React from "react"; import Layout from "../components/Layout"; import userAvatar from "../images/female_avatar.svg"; import { graphql, Link } from "gatsby"; import { AllGHostAuthorsData } from "../models/all-authors-description.model"; import CtaMini from "../components/CtaMini"; type AuthorsProps = AllGHostAuthorsData; const Authors: React.FC = ({ data }) => { const { allGhostAuthor } = data; return (

Authors

{allGhostAuthor.edges.map(({ node }, i) => { return (

{node.name}

{/* Regional Manager */} {node.bio && (

Started as a Sales representative at Stamford branch, moved to Scranton. All of us left as soon as possible except for Andy.

)}
); })}
); }; export default Authors; export const AuthorsQuery = graphql` query { allGhostAuthor { edges { node { bio slug url profile_image name } } } } `;