import SocialIcon from '@/components/social-icons'
import Image from '@/components/Image'
import { PageSEO } from '@/components/SEO'
import { ReactNode } from 'react'
import { AuthorFrontMatter } from 'types/AuthorFrontMatter'
interface Props {
children: ReactNode
frontMatter: AuthorFrontMatter
}
export default function AuthorLayout({ children, frontMatter }: Props) {
const {
name,
bannerimage,
email,
facebook,
instagram,
youtube,
twitter,
spotify,
applemusic,
bandcamp,
lastfm,
} = frontMatter
return (
<>