Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: blog authors

Isaiah Hamilton8bae8029c665
diff --git a/www/pages/blog.tsx b/www/pages/blog.tsx
index d074ac6f560..2714cbdad3e 100644
--- a/www/pages/blog.tsx
+++ b/www/pages/blog.tsx
@@ -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>