mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
Compute landing page. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a Compute product page introducing ephemeral sandboxes and always-on HTTP services, with information on workloads, security, deployment, and common questions. * Added a private-alpha waitlist form with submission confirmation and error feedback. * Added Compute links and a “Private Alpha” badge in product navigation and the footer. * Added an animated diagram illustrating Compute workloads and their lifecycle. * **Documentation** * Added a Compute overview covering runtimes, scaling, security, deployment, and availability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
29 lines
843 B
TypeScript
29 lines
843 B
TypeScript
import { FeatureItem, type Feature } from '~/components/FeatureItem'
|
|
import SectionContainer from '~/components/Layouts/SectionContainer'
|
|
import type { FC, ReactNode } from 'react'
|
|
|
|
interface Props {
|
|
id: string
|
|
label?: ReactNode
|
|
heading: ReactNode
|
|
features: Feature[]
|
|
}
|
|
|
|
const Support: FC<Props> = (props) => {
|
|
return (
|
|
<SectionContainer id={props.id} className="flex flex-col gap-4 md:gap-8">
|
|
<div className="flex flex-col gap-2">
|
|
<span className="label">{props.label}</span>
|
|
<h2 className="h2">{props.heading}</h2>
|
|
</div>
|
|
<ul className="grid grid-cols-1 gap-4 gap-y-10 md:grid-cols-3 md:gap-12 xl:gap-20">
|
|
{props.features.map((feature) => (
|
|
<FeatureItem feature={feature} key={feature.heading} />
|
|
))}
|
|
</ul>
|
|
</SectionContainer>
|
|
)
|
|
}
|
|
|
|
export default Support
|