Skip to content

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

💄 Handwritten free months text and baseline aligned price label on pricing (#3181)

Luke Vella7f292598a4eb
diff --git a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
index 1f069dade..f68bfbb7d 100644
--- a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
@@ -1,7 +1,7 @@
"use cache";
import { PLAN_NAMES, pricingData } from "@rallly/billing";
-import { buttonVariants } from "@rallly/ui";
+import { buttonVariants, cn } from "@rallly/ui";
import { Badge } from "@rallly/ui/badge";
import {
CalendarCheckIcon,
@@ -40,6 +40,7 @@ import {
SectionHeading,
SectionTitle,
} from "@/components/section";
+import { handwritten } from "@/fonts/handwritten";
import { getTranslation } from "@/i18n/server";
import { getAlternates } from "@/lib/alternates";
import { getMonthlyPollCount, getMonthlyVoterCount } from "@/lib/data";
@@ -127,7 +128,12 @@ export default async function Page(props: {
/>
}
badge={
- <Badge variant="green">
+ <span
+ className={cn(
+ "whitespace-nowrap text-gray-600 text-sm",
+ handwritten.className,
+ )}
+ >
<Trans
t={t}
ns="pricing"
@@ -135,7 +141,7 @@ export default async function Page(props: {
defaults="{count, plural, one {# month free} other {# months free}}"
values={{ count: freeMonths }}
/>
- </Badge>
+ </span>
}
/>
</div>
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 e6996dbdd..e21dddcca 100644
--- a/apps/landing/src/app/[locale]/(main)/pricing/plan-card.tsx
+++ b/apps/landing/src/app/[locale]/(main)/pricing/plan-card.tsx
@@ -55,7 +55,7 @@ export function PlanCardPrice({
return (
<div
className={cn(
- "flex min-h-14 flex-wrap items-center gap-x-1.5",
+ "flex min-h-14 flex-wrap items-baseline gap-x-1.5",
className,
)}
{...props}