mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## Problem - plan cards on the studio upgrade screen do not match recent plan cards updates to the pricing page - add-on illustrations on the pricing page sometimes show the light image in dark mode - spend cap bars on the pricing page flash when a user toggles the spend cap ## Solution - changes the upgrade screen plan cards to the pricing page design + shows enterprise as a fourth column - moves the lifted card style to the current plan of the organization + gives it a neutral "current plan" badge - moves the compare plans and pricing faq links below the plan cards + removes the stagger animation on the cards - changes the pricing page illustrations to pick the light or dark image with css because the server render does not know the theme - changes the spend cap animation to resize the bars instead of remounting them
33 lines
924 B
TypeScript
33 lines
924 B
TypeScript
export const PlanCheckIcon = ({ className }: { className?: string }) => (
|
|
<svg
|
|
aria-hidden="true"
|
|
className={className}
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width="24"
|
|
height="25"
|
|
viewBox="0 0 24 25"
|
|
fill="none"
|
|
>
|
|
<circle cx="12" cy="12.212" r="9" className="fill-primary/10 stroke-primary/15" />
|
|
<path
|
|
className="fill-primary"
|
|
d="M11.292 14.798l4.463-4.463-.707-.708-4.11 4.11-1.986-1.986-.707.707 2.34 2.34h.707Z"
|
|
/>
|
|
</svg>
|
|
)
|
|
|
|
export const PlanMinusIcon = ({ className }: { className?: string }) => (
|
|
<svg
|
|
aria-hidden="true"
|
|
className={className}
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width="24"
|
|
height="25"
|
|
viewBox="0 0 24 25"
|
|
fill="none"
|
|
>
|
|
<circle cx="12" cy="12.212" r="9" className="fill-background-surface-300 stroke-border" />
|
|
<rect x="8.5" y="11.712" width="7" height="1" className="fill-foreground-lighter" />
|
|
</svg>
|
|
)
|