-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Improve pricing card UX and update pro features list #2019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: staging
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -164,7 +164,7 @@ export default function Comparision() { | |||||||||||||||||||||||
| ); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| }} | ||||||||||||||||||||||||
| className="inline-flex h-[40px] items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-linear-to-l from-white/0 to-white/10 p-[3.5px] outline outline-1 -outline-offset-1 outline-white/10" | ||||||||||||||||||||||||
| className="inline-flex h-[40px] items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-linear-to-l from-white/0 to-white/10 p-[3.5px] outline outline-1 -outline-offset-1 outline-white/10 cursor-pointer" | ||||||||||||||||||||||||
| > | ||||||||||||||||||||||||
| <div className="flex items-center justify-center"> | ||||||||||||||||||||||||
| <div className="justify-start text-center text-base font-semibold leading-none text-white/80"> | ||||||||||||||||||||||||
|
|
@@ -276,7 +276,7 @@ export default function Comparision() { | |||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||
| <button | ||||||||||||||||||||||||
| onClick={handleUpgrade} | ||||||||||||||||||||||||
| className="inline-flex h-[40px] items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-linear-to-l from-white/0 to-white/10 p-[3.5px] outline outline-1 -outline-offset-1 outline-white/10" | ||||||||||||||||||||||||
| className="inline-flex h-[40px] items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-linear-to-l from-white/0 to-white/10 p-[3.5px] outline outline-1 -outline-offset-1 outline-white/10 cursor-pointer" | ||||||||||||||||||||||||
| > | ||||||||||||||||||||||||
| <div className="flex items-center justify-center"> | ||||||||||||||||||||||||
|
Comment on lines
277
to
281
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same gradient bug on Pro CTA. Repeat the fix for consistency. - className="inline-flex h-[40px] items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-linear-to-l from-white/0 to-white/10 p-[3.5px] outline outline-1 -outline-offset-1 outline-white/10 cursor-pointer"
+ className="inline-flex h-[40px] items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-gradient-to-l from-white/0 to-white/10 p-[3.5px] outline outline-1 -outline-offset-1 outline-white/10 cursor-pointer"📝 Committable suggestion
Suggested change
🧰 Tools🪛 Biome (2.1.2)[error] 277-280: Provide an explicit type prop for the button element. The default type of a button is submit, which causes the submission of a form when placed inside a (lint/a11y/useButtonType) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||
| <div className="justify-start text-center text-base font-semibold leading-none text-white/80"> | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -21,6 +21,8 @@ const PRICING_CONSTANTS = { | |||||||||||||||||||||||||||
| 'Auto labeling', | ||||||||||||||||||||||||||||
| 'One-click AI email writing & replies', | ||||||||||||||||||||||||||||
| 'Instant thread AI-generated summaries', | ||||||||||||||||||||||||||||
| 'Priority customer support', | ||||||||||||||||||||||||||||
| 'Access to private Discord community' | ||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||
| ENTERPRISE_FEATURES: [ | ||||||||||||||||||||||||||||
| 'Unlimited email connections', | ||||||||||||||||||||||||||||
|
|
@@ -168,7 +170,7 @@ export default function PricingCard() { | |||||||||||||||||||||||||||
| }); | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
| }} | ||||||||||||||||||||||||||||
| className="z-30 mt-auto inline-flex h-10 items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-[#2D2D2D] p-3 shadow shadow-black/30 outline outline-1 -outline-offset-1 outline-[#434343]" | ||||||||||||||||||||||||||||
| className="z-30 mt-auto inline-flex h-10 items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-[#2D2D2D] p-3 shadow shadow-black/30 outline outline-1 -outline-offset-1 outline-[#434343] cursor-pointer" | ||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||
| <div className="flex items-center justify-center gap-2.5 px-1"> | ||||||||||||||||||||||||||||
|
Comment on lines
170
to
175
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Rename deprecated shadow utility per guidelines.
- className="z-30 mt-auto inline-flex h-10 items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-[#2D2D2D] p-3 shadow shadow-black/30 outline outline-1 -outline-offset-1 outline-[#434343] cursor-pointer"
+ className="z-30 mt-auto inline-flex h-10 items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-[#2D2D2D] p-3 shadow-sm shadow-black/30 outline outline-1 -outline-offset-1 outline-[#434343] cursor-pointer"📝 Committable suggestion
Suggested change
🧰 Tools🪛 Biome (2.1.2)[error] 162-175: Provide an explicit type prop for the button element. The default type of a button is submit, which causes the submission of a form when placed inside a (lint/a11y/useButtonType) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||
| <div className="justify-start text-center font-semibold leading-none text-[#D5D5D5]"> | ||||||||||||||||||||||||||||
|
|
@@ -216,6 +218,11 @@ export default function PricingCard() { | |||||||||||||||||||||||||||
| <div className="justify-center text-4xl font-semibold leading-10 text-white"> | ||||||||||||||||||||||||||||
| ${isAnnual ? annualPrice : monthlyPrice} | ||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||
| {isAnnual && ( | ||||||||||||||||||||||||||||
| <div className="justify-center text-base font-medium leading-tight text-white/40 line-through ml-2"> | ||||||||||||||||||||||||||||
| ${monthlyPrice} | ||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||
| )} | ||||||||||||||||||||||||||||
| <div className="flex items-center justify-center gap-2.5 pb-0.5"> | ||||||||||||||||||||||||||||
| <div className="justify-center text-sm font-medium leading-tight text-white/40"> | ||||||||||||||||||||||||||||
| {isAnnual ? '/MONTH (billed annually)' : '/MONTH'} | ||||||||||||||||||||||||||||
|
|
@@ -286,7 +293,7 @@ export default function PricingCard() { | |||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||
| </div> | ||||||||||||||||||||||||||||
| <button | ||||||||||||||||||||||||||||
| className="z-30 mt-auto inline-flex h-10 items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-[#2D2D2D] p-3 shadow shadow-black/30 outline outline-1 -outline-offset-1 outline-[#434343]" | ||||||||||||||||||||||||||||
| className="z-30 mt-auto inline-flex h-10 items-center justify-center gap-2.5 self-stretch overflow-hidden rounded-lg bg-[#2D2D2D] p-3 shadow shadow-black/30 outline outline-1 -outline-offset-1 outline-[#434343] cursor-pointer" | ||||||||||||||||||||||||||||
| onClick={() => window.open('https://cal.com/team/0/chat', '_blank')} | ||||||||||||||||||||||||||||
| > | ||||||||||||||||||||||||||||
| <div className="flex items-center justify-center gap-2.5 px-1"> | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace the invalid Tailwind class "bg-linear-to-l" with "bg-gradient-to-l" so the gradient renders correctly on this CTA
Prompt for AI agents