mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
* init enterprise page * security section * cta form * support and quote sections * heading * add company email validation in request demo form * add performance section * remove og atm * enterprise og * enterprise og * enterprise og * remove full stops on headings * fix nav * max w * update values
34 lines
865 B
TypeScript
34 lines
865 B
TypeScript
import React, { FC } from 'react'
|
|
|
|
import SectionContainer from '~/components/Layouts/SectionContainer'
|
|
|
|
interface Props {
|
|
id: string
|
|
quote: Quote
|
|
}
|
|
|
|
type Quote = {
|
|
text: string
|
|
author: string
|
|
logo: string | JSX.Element
|
|
role: string
|
|
}
|
|
|
|
const SingleQuote: FC<Props> = ({ id: sectionId, quote }) => {
|
|
return (
|
|
<SectionContainer
|
|
id={sectionId}
|
|
className="flex flex-col items-center text-center gap-8 md:gap-12"
|
|
>
|
|
<q className="text-2xl max-w-xs md:text-3xl md:max-w-xl">{quote.text}</q>
|
|
<div className="flex flex-col items-center gap-1">
|
|
<figure className="text-foreground-lighter mb-4">{quote.logo}</figure>
|
|
<span className="text-foreground">{quote.author}</span>
|
|
<span className="text-foreground-lighter">{quote.role}</span>
|
|
</div>
|
|
</SectionContainer>
|
|
)
|
|
}
|
|
|
|
export default SingleQuote
|