mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
* init * adds docs link * Update 2024-08-28-supabase-vercel-partnership.mdx * Update 2024-08-28-supabase-vercel-partnership.mdx * new avatars * fix authors * add description * Update authors.json * Update apps/www/_blog/2024-08-28-supabase-vercel-partnership.mdx * add video * Update 2024-08-28-supabase-vercel-partnership.mdx * Update 2024-08-28-supabase-vercel-partnership.mdx --------- Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com> Co-authored-by: Terry Sutton <saltcod@gmail.com> Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
29 lines
651 B
TypeScript
29 lines
651 B
TypeScript
import Image from 'next/image'
|
|
|
|
interface Props {
|
|
caption: string
|
|
img: string
|
|
}
|
|
|
|
export default function Avatar(props: Props) {
|
|
const { caption, img } = props
|
|
|
|
return (
|
|
<div className="align-center m-0 flex h-8 items-center gap-3">
|
|
<Image
|
|
src={'/images/blog/avatars/' + img}
|
|
className="h-8 w-8 rounded-full object-cover text-center m-0"
|
|
alt={`${caption} avatar`}
|
|
width={32}
|
|
height={32}
|
|
/>
|
|
<figcaption
|
|
style={{ marginTop: 0 }}
|
|
className="text-foreground-lighter font-normal not-italic not-prose"
|
|
>
|
|
<p>{caption}</p>
|
|
</figcaption>
|
|
</div>
|
|
)
|
|
}
|