Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
✨ Add comparison table to Doodle alternative page (#3065)
Luke Vellaadc7d52d8161
diff --git a/apps/landing/public/locales/en/home.json b/apps/landing/public/locales/en/home.jsonindex 2cad32b3f..88ff3bf99 100644--- a/apps/landing/public/locales/en/home.json+++ b/apps/landing/public/locales/en/home.json@@ -22,6 +22,16 @@"doodleAlternativeFinalCtaTitle": "Ready to make the switch?","doodleAlternativeMetaDescription": "Looking for a Doodle alternative? Try Rallly! It's free, easy to use, and doesn't require an account.","doodleAlternativeMetaTitle": "Best Free Doodle Alternative | Rallly",+ "doodleComparisonAdFree": "Ad-free experience",+ "doodleComparisonDescription": "A side-by-side look at what you get with each tool.",+ "doodleComparisonNoAccount": "Create polls without an account",+ "doodleComparisonOpenSource": "Open-source",+ "doodleComparisonPaidPlansOnly": "Paid plans only",+ "doodleComparisonPolls": "Group polls",+ "doodleComparisonPollsDoodle": "1 on the free plan",+ "doodleComparisonSelfHosting": "Self-hostable",+ "doodleComparisonTimeZones": "Automatic time zone conversion",+ "doodleComparisonTitle": "How Rallly compares to Doodle","eaDescription": "Find a time that works across a dozen busy calendars without a single follow-up email. Share one link, watch the responses land, and lock in the slot everyone can make. Free, and nobody you invite needs an account.","eaFaqBranding": "Can polls carry our company branding?","eaFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to a board or a client looks like it came from your organization. Everything else is free to use.",@@ -85,8 +95,8 @@"heroDemoEaDescription": "Please mark every slot you could make this week. The candidate is flying in on Monday, so I'd like to confirm as early as I can.","heroDemoEaLocation": "Meeting room 3 and Zoom","heroDemoEaOrganizer": "Organized by Sofia Almeida",- "heroDemoEaTitle": "Interview panel: Head of Finance","heroDemoEasyDescription": "That's all it takes to respond to a poll.",+ "heroDemoEaTitle": "Interview panel: Head of Finance","heroDemoIfNeedBe": "If need be","heroDemoLegalDescription": "Please mark every slot counsel and your client could attend. These are half-day sessions. We will confirm once both sides have responded.","heroDemoLegalLocation": "Neutral venue and video link",diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/best-doodle-alternative/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/best-doodle-alternative/page.tsxindex b56053cbc..94fa9ecc6 100644--- a/apps/landing/src/app/[locale]/(main)/(seo)/best-doodle-alternative/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/(seo)/best-doodle-alternative/page.tsx@@ -5,6 +5,14 @@ import { cacheLife } from "next/cache";import Image from "next/image";import Link from "next/link";import { Trans } from "react-i18next/TransWithoutContext";+import {+ CompareTable,+ CompareTableCell,+ CompareTableCheck,+ CompareTableDash,+ CompareTableFeature,+ CompareTableHead,+} from "@/components/compare-table";import { PeopleBadge, PollsBadge } from "@/components/home/animated-number";import { Cta } from "@/components/home/cta";import { Faq, FaqItem } from "@/components/home/faq";@@ -30,11 +38,19 @@ export default async function Page(props: {}) {cacheLife("hours");const { locale } = await props.params;- const { t } = await getTranslation(locale, ["home"]);+ const { t } = await getTranslation(locale, ["home", "pricing"]);const [pollCount, voterCount] = await Promise.all([getMonthlyPollCount(),getMonthlyVoterCount(),]);+ const included = t("included", {+ ns: "pricing",+ defaultValue: "Included",+ });+ const notIncluded = t("notIncluded", {+ ns: "pricing",+ defaultValue: "Not included",+ });return (<div className="divide-y"><Section>@@ -63,6 +79,159 @@ export default async function Page(props: {</Stats></Section><HowItWorks locale={locale} />+ <Section>+ <SectionHeading>+ <SectionTitle>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonTitle"+ defaults="How Rallly compares to Doodle"+ />+ </SectionTitle>+ <SectionDescription>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonDescription"+ defaults="A side-by-side look at what you get with each tool."+ />+ </SectionDescription>+ </SectionHeading>+ <SectionContent>+ <CompareTable>+ <thead>+ <tr className="border-b">+ <th className="w-3/5">+ <span className="sr-only">+ <Trans+ t={t}+ ns="pricing"+ i18nKey="compareFeature"+ defaults="Feature"+ />+ </span>+ </th>+ <CompareTableHead>Rallly</CompareTableHead>+ <CompareTableHead>Doodle</CompareTableHead>+ </tr>+ </thead>+ <tbody className="divide-y">+ <tr>+ <CompareTableFeature>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonPolls"+ defaults="Group polls"+ />+ </CompareTableFeature>+ <CompareTableCell>+ <Trans+ t={t}+ ns="pricing"+ i18nKey="compareUnlimited"+ defaults="Unlimited"+ />+ </CompareTableCell>+ <CompareTableCell>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonPollsDoodle"+ defaults="1 on the free plan"+ />+ </CompareTableCell>+ </tr>+ <tr>+ <CompareTableFeature>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonNoAccount"+ defaults="Create polls without an account"+ />+ </CompareTableFeature>+ <CompareTableCell>+ <CompareTableCheck label={included} />+ </CompareTableCell>+ <CompareTableCell>+ <CompareTableDash label={notIncluded} />+ </CompareTableCell>+ </tr>+ <tr>+ <CompareTableFeature>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonAdFree"+ defaults="Ad-free experience"+ />+ </CompareTableFeature>+ <CompareTableCell>+ <CompareTableCheck label={included} />+ </CompareTableCell>+ <CompareTableCell>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonPaidPlansOnly"+ defaults="Paid plans only"+ />+ </CompareTableCell>+ </tr>+ <tr>+ <CompareTableFeature>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonTimeZones"+ defaults="Automatic time zone conversion"+ />+ </CompareTableFeature>+ <CompareTableCell>+ <CompareTableCheck label={included} />+ </CompareTableCell>+ <CompareTableCell>+ <CompareTableCheck label={included} />+ </CompareTableCell>+ </tr>+ <tr>+ <CompareTableFeature>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonOpenSource"+ defaults="Open-source"+ />+ </CompareTableFeature>+ <CompareTableCell>+ <CompareTableCheck label={included} />+ </CompareTableCell>+ <CompareTableCell>+ <CompareTableDash label={notIncluded} />+ </CompareTableCell>+ </tr>+ <tr>+ <CompareTableFeature>+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleComparisonSelfHosting"+ defaults="Self-hostable"+ />+ </CompareTableFeature>+ <CompareTableCell>+ <CompareTableCheck label={included} />+ </CompareTableCell>+ <CompareTableCell>+ <CompareTableDash label={notIncluded} />+ </CompareTableCell>+ </tr>+ </tbody>+ </CompareTable>+ </SectionContent>+ </Section><Section><Testimoniallogo={diff --git a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx b/apps/landing/src/app/[locale]/(main)/pricing/page.tsxindex 1dbcb7a9a..3f877f2c7 100644--- a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx@@ -18,7 +18,15 @@ import {import { cacheLife } from "next/cache";import Link from "next/link";import { Trans } from "react-i18next/TransWithoutContext";-+import {+ CompareTable,+ CompareTableCell,+ CompareTableCheck,+ CompareTableDash,+ CompareTableFeature,+ CompareTableHead,+ CompareTableTooltip,+} from "@/components/compare-table";import { PeopleBadge, PollsBadge } from "@/components/home/animated-number";import { Cta } from "@/components/home/cta";import { Faq, FaqItem } from "@/components/home/faq";@@ -35,22 +43,12 @@ import { getTranslation } from "@/i18n/server";import { getAlternates } from "@/lib/alternates";import { getMonthlyPollCount, getMonthlyVoterCount } from "@/lib/data";import { linkToApp } from "@/lib/linkToApp";-import {BillingIntervalPrice,BillingIntervalProvider,BillingIntervalSwitch,BillingIntervalValue,} from "./billing-interval";-import {- CompareTable,- CompareTableCell,- CompareTableCheck,- CompareTableDash,- CompareTableFeature,- CompareTableHead,- CompareTableTooltip,-} from "./compare-table";import {PlanBenefit,PlanBenefitName,diff --git a/apps/landing/src/app/[locale]/(main)/pricing/compare-table.tsx b/apps/landing/src/components/compare-table.tsxsimilarity index 100%rename from apps/landing/src/app/[locale]/(main)/pricing/compare-table.tsxrename to apps/landing/src/components/compare-table.tsx