import { ReactNode } from 'react'; import type { Authors } from 'contentlayer/generated'; import SocialIcon from '@/components/social-icons'; import Image from '@/components/Image'; interface Props { children: ReactNode; content: Omit; } export default function AuthorLayout({ children, content }: Props) { const { name, avatar, occupation, company, email, twitter, linkedin, github, } = content; return ( <>

About

{avatar && ( avatar )}

{name}

{occupation}
{company}
{children}
); }