mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a redesigned Partners page with partnership options, benefits, application steps, FAQs, integration resources, and featured partners. - Added an on-page partner application form with questions tailored to the selected partnership type. - Added a confirmation message with next steps and a link to the OAuth integration guide. - **Bug Fixes** - Updated partner application links to open the form on the Partners page. - Added support for checkbox-group fields in forms. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Alan Daniel <stylesshjs@gmail.com> Co-authored-by: Alex Hall <alex.hall@supabase.io> Co-authored-by: Dion Zeneli <101271736+Dionysos288@users.noreply.github.com>
33 lines
1.2 KiB
TypeScript
33 lines
1.2 KiB
TypeScript
import { cn } from 'ui'
|
|
|
|
const BackgroundPattern = ({ className }: { className?: string }) => {
|
|
return (
|
|
<div className={cn('absolute inset-x-0 top-0 h-1/2 w-full', className)}>
|
|
<svg
|
|
aria-hidden
|
|
className="pointer-events-none absolute inset-x-0 top-0 h-1/2 w-full dark:opacity-50 [radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)] [-webkit-mask-image:radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)]"
|
|
>
|
|
<defs>
|
|
<pattern id="partner-grid" width="30" height="30" patternUnits="userSpaceOnUse">
|
|
<path
|
|
d="M30 0V30M0 30H30"
|
|
fill="none"
|
|
stroke="hsl(var(--border-strong))"
|
|
strokeWidth="1"
|
|
strokeDasharray="6 6"
|
|
/>
|
|
</pattern>
|
|
</defs>
|
|
<rect width="100%" height="100%" fill="url(#partner-grid)" />
|
|
</svg>
|
|
{/* Soft brand-green radial glow from the top */}
|
|
<div
|
|
aria-hidden
|
|
className="pointer-events-none hidden dark:block absolute inset-x-0 top-0 h-[500px] bg-[radial-gradient(ellipse_60%_100%_at_50%_0%,hsl(var(--brand-400)/0.15),transparent_70%)]"
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default BackgroundPattern
|