Files
supabase/apps/www/components/Quote.tsx
731f9d703e Eagle 5 (#22907)
* 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>
2024-04-19 16:24:21 +02:00

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>
)
}