Skip to content

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

💄 Update pay wall dialog

Luke Vellab4556b09580c
diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.json
index e349b8e91..9c8acf29c 100644
--- a/apps/web/public/locales/en/app.json
+++ b/apps/web/public/locales/en/app.json
@@ -210,7 +210,6 @@
"featureNameDuplicate": "Duplicate Poll",
"featureNameAdvancedSettings": "Advanced Settings",
"featureNameExtendedPollLifetime": "Extended Poll Lifetime",
- "cancelAnytime": "Cancel anytime from your <a>billing page</a>.",
"unsubscribeToastTitle": "You have disabled notifications",
"unsubscribeToastDescription": "You will no longer receive notifications for this poll",
"emailChangeSuccess": "Email changed successfully",
@@ -451,7 +450,6 @@
"leaveSpaceDescription": "Remove yourself from this space.",
"deleteSpaceDescription": "Permanently delete this space and all its contents. This action cannot be undone.",
"spaces": "Spaces",
- "inviteMembers": "Invite Members",
"accessDenied": "Access Denied",
"ownerPermissionsRequired": "Only space owners can access billing settings.",
"loading": "Loading...",
@@ -477,7 +475,6 @@
"extendedPollLifetimeDescription": "Keep polls indefinitely",
"teamCollaboration": "Team Collaboration",
"teamCollaborationDescription": "Invite team members with centralized billing",
- "instantAccess": "Instant access to all features",
"selectPlan": "Select Plan:",
"prioritySupport": "Priority Support",
"prioritySupportDescription": "Get faster response times and dedicated assistance",
diff --git a/apps/web/src/features/billing/components/pay-wall-dialog.tsx b/apps/web/src/features/billing/components/pay-wall-dialog.tsx
index feaa4997d..533008e71 100644
--- a/apps/web/src/features/billing/components/pay-wall-dialog.tsx
+++ b/apps/web/src/features/billing/components/pay-wall-dialog.tsx
@@ -19,7 +19,6 @@ import {
BadgeDollarSignIcon,
CalendarCheckIcon,
CalendarSearchIcon,
- CheckIcon,
ClockIcon,
CopyIcon,
LifeBuoyIcon,
@@ -27,7 +26,6 @@ import {
TimerResetIcon,
UserPlusIcon,
} from "lucide-react";
-import Link from "next/link";
import React from "react";
import { Trans } from "@/components/trans";
import { UpgradeButton } from "@/components/upgrade-button";
@@ -101,7 +99,7 @@ function PlanRadioGroupItem({
return (
<label
htmlFor={id}
- className="flex cursor-pointer items-center justify-between gap-4 rounded-lg border p-4 transition-colors has-[[data-state=checked]]:border-primary-600 has-[[data-state=checked]]:ring-1 has-[[data-state=checked]]:ring-primary"
+ className="flex cursor-pointer items-center justify-between gap-4 rounded-lg border p-4 transition-colors has-[[data-state=checked]]:border-primary-300 has-[[data-state=checked]]:bg-primary-background has-[[data-state=checked]]:ring-primary"
>
<RadioGroupItem value={value} id={id} />
<div className="flex-1">
@@ -124,29 +122,6 @@ const currencyFormatter = new Intl.NumberFormat("en-US", {
maximumFractionDigits: 2,
});
-function SubscriptionBenefits() {
- return (
- <ul className="space-y-2 text-muted-foreground">
- <li className="text-sm">
- <CheckIcon className="mr-2 inline-block size-4 text-green-500" />
- <Trans
- i18nKey="instantAccess"
- defaults="Instant access to all features"
- />
- </li>
- <li className="text-sm">
- <CheckIcon className="mr-2 inline-block size-4 text-green-500 " />
- <Trans
- i18nKey="cancelAnytime"
- components={{
- a: <Link className="underline" href="/settings/billing" />,
- }}
- />
- </li>
- </ul>
- );
-}
-
export function PayWallDialog({
isOpen,
onOpenChange,
@@ -193,8 +168,6 @@ export function PayWallDialog({
</DialogTitle>
</DialogHeader>
<div className="mt-6 flex-1 space-y-6">
- <SubscriptionBenefits />
- <hr className="border-gray-100" />
<Label>
<Trans i18nKey="selectPlan" defaults="Select Plan:" />
</Label>