diff --git a/pages/blog/index.page.tsx b/pages/blog/index.page.tsx index 4eaa2a77e..67aaf5e74 100644 --- a/pages/blog/index.page.tsx +++ b/pages/blog/index.page.tsx @@ -299,40 +299,22 @@ export default function StaticMarkdownPage({ items-center `} > -
+
{(frontmatter.authors || []).map( - (author: Author, index: number) => { - const sizeClass = - frontmatter.authors.length > 2 - ? 'h-8 w-8' - : 'h-11 w-11'; - return ( -
- ); - }, + (author: Author, index: number) => ( +
2 + ? 'h-8 w-8' + : 'h-11 w-11' + }`} + style={{ + backgroundImage: `url(${author.photo})`, + zIndex: 10 - index, + }} + /> + ), )}