Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Show feature descriptions inline on the pricing comparison table (#3176)

Luke Vellafd27197538c4
diff --git a/apps/landing/public/locales/en/pricing.json b/apps/landing/public/locales/en/pricing.json
index 9022f5158..1a1d03518 100644
--- a/apps/landing/public/locales/en/pricing.json
+++ b/apps/landing/public/locales/en/pricing.json
@@ -2,19 +2,21 @@
"advancedPollSettings": "Advanced poll settings",
"advancedPollSettingsDescription": "Require participant emails, hide participant names, and hide votes",
"basicPolls": "Basic polls",
- "basicPollsDescription": "Create simple scheduling polls",
"cancelSubscription": "How do I cancel my subscription?",
"cancelSubscriptionAnswer": "You can cancel your subscription at any time by going to your <a>billing settings</a>. Once you cancel your subscription, you will still have access to your paid plan until the end of your billing period. After that, you will be downgraded to a free plan.",
"canUseFree": "Can I use Rallly for free?",
"canUseFreeAnswer3": "Yes. The free plan is not a trial. You can create as many polls as you like, invite as many participants as you like, and use it for as long as you like without paying or adding a card. Paid plans add extra features such as keeping polls indefinitely and custom branding, but you will never be asked to pay to keep using the basics.",
"compareFeature": "Feature",
"compareParticipants": "Participants",
+ "compareParticipantsDescription": "People who can vote on your polls",
"comparePlans": "Compare plans",
"comparePlansDescription": "See what's included in each plan.",
"comparePollRetention": "Poll retention",
"comparePollRetention30Days": "30 days",
+ "comparePollRetentionDescription": "How long polls are kept after their final date",
"comparePollRetentionIndefinite": "Indefinite",
"compareSchedulingPolls": "Scheduling polls",
+ "compareSchedulingPollsDescription": "Create polls to find the best time to meet",
"compareUnlimited": "Unlimited",
"customBranding": "Custom branding",
"customBrandingDescription": "Show your logo and brand colors to your participants",
@@ -22,10 +24,10 @@
"duplicatePollsDescription": "Create a new poll based on an existing one",
"emailInvites": "Email invites",
"emailInvitesDescription": "Invite people by email and see who has responded",
- "extendedPollLifetimeDescription": "Keep polls indefinitely",
"faq": "Frequently asked questions",
"featureNameExtendedPollLifetime": "Extended poll lifetime",
"finalizeDate": "Finalize date",
+ "finalizeDateDescription": "Select a final date for your event",
"getPro": "Get Pro",
"howToUpgrade": "How do I upgrade to a paid plan?",
"howToUpgradeAnswer": "To upgrade, you can go to your <a>billing settings</a> and click on <b>Upgrade</b>.",
@@ -49,10 +51,9 @@
"recommended": "Recommended",
"removeAttribution": "Remove attribution",
"removeAttributionBenefitDescription": "Hide \"Powered by Rallly\" from your participants",
- "schedulePollDescription": "Select a final date for your event.",
"teamCollaboration": "Team collaboration",
+ "teamCollaborationDescription": "Invite your team to manage polls together",
"thirtyDayPollRetention": "30 day poll retention",
- "thirtyDayPollRetentionDescription": "Polls are kept for 30 days after their final date",
"whenPollInactive": "When does a poll become inactive?",
"whenPollInactiveAnswer": "Polls become inactive when all date options are in the past AND there has been no activity for over 30 days. Activity includes new votes, comments, or changes to the poll. Inactive polls are automatically deleted if you do not have a paid subscription.",
"whyUpgrade": "Why should I upgrade?",
diff --git a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
index 7605e06ed..1f069dade 100644
--- a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
@@ -24,8 +24,9 @@ import {
CompareTableCheck,
CompareTableDash,
CompareTableFeature,
+ CompareTableFeatureDescription,
+ CompareTableFeatureName,
CompareTableHead,
- CompareTableTooltip,
} from "@/components/compare-table";
import { PeopleBadge, PollsBadge } from "@/components/home/animated-number";
import { Cta } from "@/components/home/cta";
@@ -53,7 +54,6 @@ import {
PlanBenefit,
PlanBenefitName,
PlanBenefits,
- PlanBenefitTooltip,
PlanCard,
PlanCardDescription,
PlanCardHeader,
@@ -182,42 +182,24 @@ export default async function Page(props: {
</div>
<PlanBenefits>
<PlanBenefit icon={<CalendarSearchIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="basicPollsDescription"
- defaults="Create simple scheduling polls"
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="basicPolls"
defaults="Basic polls"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<TimerResetIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="thirtyDayPollRetentionDescription"
- defaults="Polls are kept for 30 days after their final date"
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="thirtyDayPollRetention"
defaults="30 day poll retention"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
</PlanBenefits>
</PlanCard>
@@ -292,137 +274,74 @@ export default async function Page(props: {
</div>
<PlanBenefits className="sm:grid-cols-2 sm:gap-x-6">
<PlanBenefit icon={<PaletteIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="customBrandingDescription"
- defaults="Show your logo and brand colors to your participants"
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="customBranding"
defaults="Custom branding"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<MailPlusIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="emailInvitesDescription"
- defaults="Invite people by email and see who has responded"
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="emailInvites"
defaults="Email invites"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<EyeOffIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="removeAttributionBenefitDescription"
- defaults='Hide "Powered by Rallly" from your participants'
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="removeAttribution"
defaults="Remove attribution"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<CalendarCheckIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="schedulePollDescription"
- defaults="Select a final date for your event."
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="finalizeDate"
defaults="Finalize date"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<ClockIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="extendedPollLifetimeDescription"
- defaults="Keep polls indefinitely"
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="featureNameExtendedPollLifetime"
defaults="Extended poll lifetime"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<CopyIcon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="duplicatePollsDescription"
- defaults="Create a new poll based on an existing one"
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="duplicatePolls"
defaults="Duplicate polls"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<Settings2Icon />}>
- <PlanBenefitTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="advancedPollSettingsDescription"
- defaults="Require participant emails, hide participant names, and hide votes"
- />
- }
- >
+ <PlanBenefitName>
<Trans
t={t}
ns="pricing"
i18nKey="advancedPollSettings"
defaults="Advanced poll settings"
/>
- </PlanBenefitTooltip>
+ </PlanBenefitName>
</PlanBenefit>
<PlanBenefit icon={<UserPlusIcon />}>
<PlanBenefitName>
@@ -492,12 +411,22 @@ export default async function Page(props: {
<tbody className="divide-y">
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="compareSchedulingPolls"
- defaults="Scheduling polls"
- />
+ <CompareTableFeatureName>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="compareSchedulingPolls"
+ defaults="Scheduling polls"
+ />
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="compareSchedulingPollsDescription"
+ defaults="Create polls to find the best time to meet"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<Trans
@@ -518,12 +447,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="compareParticipants"
- defaults="Participants"
- />
+ <CompareTableFeatureName>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="compareParticipants"
+ defaults="Participants"
+ />
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="compareParticipantsDescription"
+ defaults="People who can vote on your polls"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<Trans
@@ -544,31 +483,30 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="comparePollRetention"
- defaults="Poll retention"
- />
- </CompareTableFeature>
- <CompareTableCell>
- <CompareTableTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="thirtyDayPollRetentionDescription"
- defaults="Polls are kept for 30 days after their final date"
- />
- }
- >
+ <CompareTableFeatureName>
<Trans
t={t}
ns="pricing"
- i18nKey="comparePollRetention30Days"
- defaults="30 days"
+ i18nKey="comparePollRetention"
+ defaults="Poll retention"
/>
- </CompareTableTooltip>
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="comparePollRetentionDescription"
+ defaults="How long polls are kept after their final date"
+ />
+ </CompareTableFeatureDescription>
+ </CompareTableFeature>
+ <CompareTableCell>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="comparePollRetention30Days"
+ defaults="30 days"
+ />
</CompareTableCell>
<CompareTableCell>
<Trans
@@ -581,12 +519,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="finalizeDate"
- defaults="Finalize date"
- />
+ <CompareTableFeatureName>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="finalizeDate"
+ defaults="Finalize date"
+ />
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="finalizeDateDescription"
+ defaults="Select a final date for your event"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<CompareTableDash label={notIncluded} />
@@ -597,12 +545,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="duplicatePolls"
- defaults="Duplicate polls"
- />
+ <CompareTableFeatureName>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="duplicatePolls"
+ defaults="Duplicate polls"
+ />
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="duplicatePollsDescription"
+ defaults="Create a new poll based on an existing one"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<CompareTableDash label={notIncluded} />
@@ -613,23 +571,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <CompareTableTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="advancedPollSettingsDescription"
- defaults="Require participant emails, hide participant names, and hide votes"
- />
- }
- >
+ <CompareTableFeatureName>
<Trans
t={t}
ns="pricing"
i18nKey="advancedPollSettings"
defaults="Advanced poll settings"
/>
- </CompareTableTooltip>
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="advancedPollSettingsDescription"
+ defaults="Require participant emails, hide participant names, and hide votes"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<CompareTableDash label={notIncluded} />
@@ -640,12 +597,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="customBranding"
- defaults="Custom branding"
- />
+ <CompareTableFeatureName>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="customBranding"
+ defaults="Custom branding"
+ />
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="customBrandingDescription"
+ defaults="Show your logo and brand colors to your participants"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<CompareTableDash label={notIncluded} />
@@ -656,23 +623,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <CompareTableTooltip
- content={
- <Trans
- t={t}
- ns="pricing"
- i18nKey="emailInvitesDescription"
- defaults="Invite people by email and see who has responded"
- />
- }
- >
+ <CompareTableFeatureName>
<Trans
t={t}
ns="pricing"
i18nKey="emailInvites"
defaults="Email invites"
/>
- </CompareTableTooltip>
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="emailInvitesDescription"
+ defaults="Invite people by email and see who has responded"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<CompareTableDash label={notIncluded} />
@@ -683,12 +649,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="removeAttribution"
- defaults="Remove attribution"
- />
+ <CompareTableFeatureName>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="removeAttribution"
+ defaults="Remove attribution"
+ />
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="removeAttributionBenefitDescription"
+ defaults='Hide "Powered by Rallly" from your participants'
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<CompareTableDash label={notIncluded} />
@@ -699,12 +675,22 @@ export default async function Page(props: {
</tr>
<tr>
<CompareTableFeature>
- <Trans
- t={t}
- ns="pricing"
- i18nKey="teamCollaboration"
- defaults="Team collaboration"
- />
+ <CompareTableFeatureName>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="teamCollaboration"
+ defaults="Team collaboration"
+ />
+ </CompareTableFeatureName>
+ <CompareTableFeatureDescription>
+ <Trans
+ t={t}
+ ns="pricing"
+ i18nKey="teamCollaborationDescription"
+ defaults="Invite your team to manage polls together"
+ />
+ </CompareTableFeatureDescription>
</CompareTableFeature>
<CompareTableCell>
<CompareTableDash label={notIncluded} />
diff --git a/apps/landing/src/app/[locale]/(main)/pricing/plan-card.tsx b/apps/landing/src/app/[locale]/(main)/pricing/plan-card.tsx
index 047cb56cf..e6996dbdd 100644
--- a/apps/landing/src/app/[locale]/(main)/pricing/plan-card.tsx
+++ b/apps/landing/src/app/[locale]/(main)/pricing/plan-card.tsx
@@ -1,5 +1,4 @@
import { cn } from "@rallly/ui";
-import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip";
import type * as React from "react";
export function PlanCards({
@@ -119,20 +118,3 @@ export function PlanBenefitName({
/>
);
}
-
-export function PlanBenefitTooltip({
- content,
- children,
-}: {
- content: React.ReactNode;
- children: React.ReactNode;
-}) {
- return (
- <Tooltip>
- <TooltipTrigger className="cursor-help text-left font-medium text-gray-800 text-sm underline decoration-gray-400 decoration-dotted underline-offset-4">
- {children}
- </TooltipTrigger>
- <TooltipContent className="max-w-64">{content}</TooltipContent>
- </Tooltip>
- );
-}
diff --git a/apps/landing/src/components/compare-table.tsx b/apps/landing/src/components/compare-table.tsx
index 5b2635bc7..fa74218a5 100644
--- a/apps/landing/src/components/compare-table.tsx
+++ b/apps/landing/src/components/compare-table.tsx
@@ -1,5 +1,4 @@
import { cn } from "@rallly/ui";
-import { Tooltip, TooltipContent, TooltipTrigger } from "@rallly/ui/tooltip";
import { CircleCheckIcon, XIcon } from "lucide-react";
import type * as React from "react";
@@ -57,20 +56,24 @@ export function CompareTableCell({
);
}
-export function CompareTableTooltip({
- content,
- children,
-}: {
- content: React.ReactNode;
- children: React.ReactNode;
-}) {
+export function CompareTableFeatureName({
+ className,
+ ...props
+}: React.ComponentProps<"span">) {
+ return (
+ <span
+ className={cn("block font-medium text-gray-800", className)}
+ {...props}
+ />
+ );
+}
+
+export function CompareTableFeatureDescription({
+ className,
+ ...props
+}: React.ComponentProps<"p">) {
return (
- <Tooltip>
- <TooltipTrigger className="cursor-help text-left underline decoration-gray-400 decoration-dotted underline-offset-4">
- {children}
- </TooltipTrigger>
- <TooltipContent className="max-w-64">{content}</TooltipContent>
- </Tooltip>
+ <p className={cn("mt-0.5 text-gray-500 text-xs", className)} {...props} />
);
}