Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

small changes

Steven Teyaceb59f096bf
diff --git a/app/ui/home/faq.tsx b/app/ui/home/faq.tsx
index 57b00fdbbc..6f558e869a 100644
--- a/app/ui/home/faq.tsx
+++ b/app/ui/home/faq.tsx
@@ -26,10 +26,6 @@ const faqs = [
question: "Do you offer refunds?",
answer: `We currently do not offer refunds. However, you can cancel your subscription at any time, after which you won't be charged again. We are constantly working on improving Dub, so this might change in the future.`,
},
- {
- question: "What if I need more than 500K clicks on the Enterprise plan?",
- answer: `The 500K clicks is a soft limit on the Enterprise plan. If you anticipate needing more than 500K clicks, please reach out to support and we will work out a custom plan for you.`,
- },
];
export default function FAQ() {
@@ -42,7 +38,11 @@ export default function FAQ() {
Pricing FAQs
</h2>
</div>
- <Accordion type="single" className="col-span-2 px-3 sm:px-0">
+ <Accordion
+ type="single"
+ collapsible
+ className="col-span-2 px-3 sm:px-0"
+ >
{faqs.map((faq, idx) => (
<AccordionItem key={idx} value={idx.toString()}>
<AccordionTrigger className="py-2">
diff --git a/app/ui/home/pricing.tsx b/app/ui/home/pricing.tsx
index 742abc26b9..6534ea8483 100644
--- a/app/ui/home/pricing.tsx
+++ b/app/ui/home/pricing.tsx
@@ -193,13 +193,17 @@ const Pricing = () => {
<div className="flex h-20 items-center justify-center border-b border-t border-gray-200 bg-gray-50">
<div className="flex items-center">
<p className="text-gray-600">
- Up to {nFormatter(quota)} link clicks/mo
+ {plan === "Enterprise"
+ ? "Unlimited link clicks"
+ : `Up to ${nFormatter(quota)} link clicks/mo`}
</p>
- <Tooltip content="If you exceed your monthly usage, your existing links will still work, but you need to upgrade to view their stats/add more links.">
- <div className="flex h-4 w-8 justify-center">
- <QuestionCircle className="h-4 w-4 text-gray-600" />
- </div>
- </Tooltip>
+ {plan !== "Enterprise" && (
+ <Tooltip content="If you exceed your monthly usage, your existing links will still work, but you need to upgrade to view their stats/add more links.">
+ <div className="flex h-4 w-8 justify-center">
+ <QuestionCircle className="h-4 w-4 text-gray-600" />
+ </div>
+ </Tooltip>
+ )}
</div>
</div>
<ul className="my-10 space-y-5 px-8">