Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: change add-on icons on pricing to have a box

Alaister Young5802e315d5f5
diff --git a/www/components/PricingAddOnTable.tsx b/www/components/PricingAddOnTable.tsx
index 437d76ff6a2..6fa0d20e728 100644
--- a/www/components/PricingAddOnTable.tsx
+++ b/www/components/PricingAddOnTable.tsx
@@ -41,11 +41,11 @@ const PricingAddOnTable = ({ icon, pricing }: PricingAddOnTableProps) => {
type="button"
>
<div className="flex flex-col items-start flex-1 w-full lg:w-auto lg:items-center lg:flex-row">
- <div className="relative flex items-center self-stretch w-full px-3 py-8 space-x-3 bg-white dark:bg-scale-300 lg:py-0 lg:w-72">
- <span className="absolute transition-transform duration-500 -left-6 group-hover:translate-x-1">
+ <div className="relative flex items-center self-stretch w-full py-8 pl-4 space-x-3 bg-white dark:bg-scale-300 lg:py-0 lg:w-72">
+ <span className="p-2 transition-transform duration-500 rounded-md shadow-sm group-hover:scale-105 bg-scale-1200 text-scale-100 group-hover:shadow">
{icon}
</span>
- <span className="flex-shrink-0 pl-10">
+ <span className="flex-shrink-0">
See <strong className="font-medium">{pricing.title}</strong> add-on plans
</span>
</div>
diff --git a/www/pages/pricing/index.tsx b/www/pages/pricing/index.tsx
index 54a4962b7b4..4094cbef826 100644
--- a/www/pages/pricing/index.tsx
+++ b/www/pages/pricing/index.tsx
@@ -225,11 +225,11 @@ export default function IndexPage() {
<div className="space-y-8">
<PricingAddOnTable
- icon={<ServerIcon className="w-20 h-20 text-scale-800" />}
+ icon={<ServerIcon className="w-8 h-8" strokeWidth={1.5} />}
pricing={pricingAddOn.database}
/>
<PricingAddOnTable
- icon={<SupportIcon className="w-20 h-20 text-scale-800" />}
+ icon={<SupportIcon className="w-8 h-8" strokeWidth={1.5} />}
pricing={pricingAddOn.support}
/>
</div>