mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
fix: blog authors
This commit is contained in:
1 parent
c0938b3bd8
commit
8bae8029c6
1 file changed
+18
-18
+18
-18
@@ -170,26 +170,26 @@ function FeaturedThumb(blog: PostTypes) {
|
||||
</div>
|
||||
|
||||
<div className="grid grid-rows-4 grid-flow-col gap-4 w-max">
|
||||
{author.map((author: any) => {
|
||||
return (
|
||||
<div className="flex space-x-3 items-center">
|
||||
{author.author_image_url && (
|
||||
<div className="relative overflow-auto w-10 h-10">
|
||||
<Image
|
||||
src={author.author_image_url}
|
||||
className="rounded-full"
|
||||
layout="fill"
|
||||
objectFit="cover"
|
||||
/>
|
||||
{author.map((author: any) => {
|
||||
return (
|
||||
<div className="flex space-x-3 items-center">
|
||||
{author.author_image_url && (
|
||||
<div className="relative overflow-auto w-10 h-10">
|
||||
<Image
|
||||
src={author.author_image_url}
|
||||
className="rounded-full"
|
||||
layout="fill"
|
||||
objectFit="cover"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex flex-col">
|
||||
<span className="m-0 text-sm text-scale-1200">{author.author}</span>
|
||||
<span className="m-0 text-xs text-scale-900">{author.position}</span>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex flex-col">
|
||||
<span className="m-0 text-sm text-scale-1200">{author.author}</span>
|
||||
<span className="m-0 text-xs text-scale-900">{author.position}</span>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
})}
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user