mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
* lw13:d4 * www queues page (#30907) * new products menu * set up cron page * set up cron page * placeholder sections * set up queues page * update meta * update Supabase Queues landing page content * Updated the text to exclude queue creation/management from the API management section * queues www page --------- Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com> Co-authored-by: Greg Papas <gregpapas@Gregs-MacBook-Pro.local> * feat: add queue module (#30853) * feat: postgres integrations Create a new global navigation and homepage menu section for the Postgres Integrations category. reorg: move cron docs into postgres integrations feat: postgres integrations Create a new global navigation and homepage menu section for the Postgres Integrations category. reorg: move cron docs into postgres integrations docs homepage layout feat: postgres integrations Create a new global navigation and homepage menu section for the Postgres Integrations category. reorg: move cron docs into postgres integrations feat: postgres integrations Create a new global navigation and homepage menu section for the Postgres Integrations category. reorg: move cron docs into postgres integrations docs homepage layout feat: postgres integrations Create a new global navigation and homepage menu section for the Postgres Integrations category. reorg: move cron docs into postgres integrations feat: postgres integrations Create a new global navigation and homepage menu section for the Postgres Integrations category. reorg: move cron docs into postgres integrations docs homepage layout * fix: add pg_cron back to extensions sidebar * update Supabase Cron docs * feat: add queues module feat: add queues module * remove staging url from screenshots * remove outdated cron files * typo * queues description update --------- Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com> Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com> Co-authored-by: Oliver Rice <github@oliverrice.com> * visibility timeout to window * queues landing page sql example * capitalize Dashboard * cron blog post citus data callout update * added draft of queues feature * updated features bulleting * pluralize queues * fix Queues features page * Inital bp * queues docs updates * format queues docs * queues blog post updates * edits * Update the images for role in the docs quickstart for queues. * updated images * update images * update more images * Update 2024-12-05-supabase-queues.mdx * fix breaks * punchier title * better ul * clean up * Retake screenshots * grammar * whitelines * video + images * update docs * blog updates * blog update * api snippet * api snippet fix * queues features yt video * api snippet fix * update docs * blog update * api snippet fix and vale * format * vale off * vale off * blog update --------- Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com> Co-authored-by: Greg Papas <gregpapas@Gregs-MacBook-Pro.local> Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> Co-authored-by: Oliver Rice <github@oliverrice.com> Co-authored-by: Terry Sutton <saltcod@gmail.com> Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com> Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
50 lines
1.3 KiB
TypeScript
50 lines
1.3 KiB
TypeScript
import React, { FC } from 'react'
|
|
|
|
import { cn, TextLink } from 'ui'
|
|
import SectionContainer from '~/components/Layouts/SectionContainer'
|
|
|
|
interface Props {
|
|
id: string
|
|
label: string | JSX.Element
|
|
heading: string | JSX.Element
|
|
subheading: string | JSX.Element
|
|
image?: any
|
|
className?: string
|
|
cta?: {
|
|
label: string
|
|
url: string
|
|
}
|
|
reverse?: boolean
|
|
}
|
|
|
|
const ImageLeftSection: FC<Props> = (props) => {
|
|
return (
|
|
<SectionContainer
|
|
id={props.id}
|
|
className={cn(
|
|
'flex flex-col md:flex-row mx-auto lg:max-w-6xl justify-between items-center gap-8',
|
|
props.className
|
|
)}
|
|
>
|
|
<div className="w-full max-w-md h-full object-cover flex-grow bg-200 shadow-lg border rounded-lg overflow-hidden image-container">
|
|
{props.image}
|
|
</div>
|
|
<div
|
|
className={cn(
|
|
'flex order-first md:order-last flex-grow flex-col gap-2 max-w-md paragraph-container',
|
|
props.reverse && 'md:order-first'
|
|
)}
|
|
>
|
|
<span className="label">{props.label}</span>
|
|
<h2 className="h2 !m-0">{props.heading}</h2>
|
|
<p className="p !text-foreground-lighter">{props.subheading}</p>
|
|
{props.cta && (
|
|
<TextLink hasChevron label={props.cta.label} url={props.cta.url} className="mt-2" />
|
|
)}
|
|
</div>
|
|
</SectionContainer>
|
|
)
|
|
}
|
|
|
|
export default ImageLeftSection
|