/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, {type ReactNode} from 'react'; import clsx from 'clsx'; import { PageMetadata, HtmlClassNameProvider, ThemeClassNames, } from '@docusaurus/theme-common'; import { useBlogAuthorPageTitle, BlogAuthorsListViewAllLabel, BlogAuthorNoPostsLabel, } from '@docusaurus/theme-common/internal'; import Link from '@docusaurus/Link'; import {useBlogMetadata} from '@docusaurus/plugin-content-blog/client'; import BlogLayout from '@theme/BlogLayout'; import BlogListPaginator from '@theme/BlogListPaginator'; import SearchMetadata from '@theme/SearchMetadata'; import type {Props} from '@theme/Blog/Pages/BlogAuthorsPostsPage'; import BlogPostItems from '@theme/BlogPostItems'; import Author from '@theme/Blog/Components/Author'; function Metadata({author}: Props): ReactNode { const title = useBlogAuthorPageTitle(author); return ( <> ); } function ViewAllAuthorsLink() { const {authorsListPath} = useBlogMetadata(); return ( ); } function Content({author, items, sidebar, listMetadata}: Props): ReactNode { return (
{author.description &&

{author.description}

}
{items.length === 0 ? (

) : ( <>
)}
); } export default function BlogAuthorsPostsPage(props: Props): ReactNode { return ( ); }