mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## Problem Customers with an AWS spend commitment (PPA or EDP) need a clear way to buy Supabase through AWS Marketplace. Today that path is easy to miss on marketing surfaces. ## Solution - Canonical `/aws-marketplace` landing with self-serve (Pro/Team via Buy with AWS) and private-offer (Enterprise form) paths - Buy with AWS CTA: our primary `Button`, co-branded procurement URL, `partner.js`, and `data-awsmp-bwa-*` attributes - Pricing FAQ item linking to the landing page and public listing - Older blog post banner pointing at the updated path | `/aws-marketplace` | `/pricing` | Blog Post | | --- | --- | --- | | <img width="1280" height="1323" alt="Supabase on AWS Marketplace" src="https://github.com/user-attachments/assets/19318bd0-6a07-49e2-8a1f-7c2a827f790a" /> | <img width="1280" height="1323" alt="Pricing Fees Supabase" src="https://github.com/user-attachments/assets/7d3278e7-0e5f-4206-8642-d8e8450a2c79" /> | <img width="1280" height="1323" alt="88266" src="https://github.com/user-attachments/assets/e0d1b4cc-886e-4858-944a-6792af202e1b" /> | ## Review instructions 1. Open the [www preview](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/aws-marketplace) for `/aws-marketplace` 2. Confirm hero **Buy with AWS** (primary green) opens the AWS procurement URL with product/seller IDs 3. Confirm **Request a private offer** goes to the Enterprise form 4. Open [`/pricing`](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/pricing) → FAQ → “Can I purchase Supabase through AWS Marketplace?” 5. Open [`/blog/supabase-aws-marketplace`](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/blog/supabase-aws-marketplace) and confirm the banner about the updated path
51 lines
2.0 KiB
TypeScript
51 lines
2.0 KiB
TypeScript
import { cn } from 'ui'
|
|
|
|
interface BackgroundPatternProps {
|
|
className?: string
|
|
variant?: 'center' | 'edges'
|
|
}
|
|
|
|
const BackgroundPattern = ({ className, variant = 'center' }: BackgroundPatternProps) => {
|
|
const patternId = `ambient-grid-${variant}`
|
|
|
|
return (
|
|
<div className={cn('absolute inset-x-0 top-0 h-1/2 w-full', className)}>
|
|
<svg
|
|
aria-hidden
|
|
className={cn(
|
|
'pointer-events-none absolute inset-x-0 top-0 w-full text-foreground/20 dark:text-foreground/30',
|
|
variant === 'center'
|
|
? 'h-1/2 [-webkit-mask-image:radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)] [mask-image:radial-gradient(ellipse_70%_90%_at_50%_0%,black,transparent_70%)]'
|
|
: 'h-full [-webkit-mask-image:linear-gradient(to_bottom,black_0%,transparent_82%)] [mask-image:linear-gradient(to_bottom,black_0%,transparent_82%)]'
|
|
)}
|
|
>
|
|
<defs>
|
|
<pattern id={patternId} width="30" height="30" patternUnits="userSpaceOnUse">
|
|
<path
|
|
d="M30 0V30M0 30H30"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeWidth="1"
|
|
strokeDasharray="6 6"
|
|
/>
|
|
</pattern>
|
|
</defs>
|
|
<rect width="100%" height="100%" fill={`url(#${patternId})`} />
|
|
</svg>
|
|
{variant === 'edges' && (
|
|
<div
|
|
aria-hidden
|
|
className="pointer-events-none absolute inset-y-0 left-1/2 w-[min(88rem,84vw)] -translate-x-1/2 bg-alternative [-webkit-mask-image:radial-gradient(ellipse_at_center,black_62%,transparent_88%)] [mask-image:radial-gradient(ellipse_at_center,black_62%,transparent_88%)]"
|
|
/>
|
|
)}
|
|
{/* 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
|