mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
* d5 announcements * Adds both posts * Add YC logo * change names * fix slugs * Adds content * images * Update Quote.tsx * clarity * d5 assets * banner link * ga link in footer * Grammar and spelling * move image up for consistency * grammar * fix my mistake * markdown formatting * Fix details tag * blog img optimizations * blog img optimizations * fix blog link --------- Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com> Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com> Co-authored-by: Terry Sutton <saltcod@gmail.com>
20 lines
390 B
TypeScript
20 lines
390 B
TypeScript
import React from 'react'
|
|
import Avatar from './Avatar'
|
|
|
|
interface Props {
|
|
children: React.ReactNode
|
|
caption: string
|
|
img: string
|
|
}
|
|
|
|
export default function Quote(props: Props) {
|
|
const { children, caption, img } = props
|
|
|
|
return (
|
|
<blockquote className="text-foreground">
|
|
{children}
|
|
{caption && img && <Avatar caption={caption} img={img} />}
|
|
</blockquote>
|
|
)
|
|
}
|