import React from "react"; import { Link } from "gatsby"; import * as styles from "./Author.module.scss"; import { Image } from "@/components/Image"; type Props = { author: { name: string; bio: string; photo: string; }; isIndex?: boolean; }; const Author = ({ author, isIndex }: Props) => (
{author.name} {isIndex ? (

{author.name}

) : (

{author.name}

)}

{author.bio}

); export default Author;