Skip to content

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

11.6 KB
Raw Blame
"use cache";

import { absoluteUrl } from "@rallly/utils/absolute-url";
import type { Metadata } from "next";
import { cacheLife } from "next/cache";
import { Trans } from "react-i18next/TransWithoutContext";
import { PeopleBadge, PollsBadge } from "@/components/home/animated-number";
import { Cta } from "@/components/home/cta";
import { FaqItem, FaqSection } from "@/components/home/faq";
import { Hero, HeroAnnouncement } from "@/components/home/hero";
import { HeroDemo } from "@/components/home/hero-demo/hero-demo";
import { HowItWorks } from "@/components/home/how-it-works/how-it-works";
import { SocialProof } from "@/components/home/social-proof";
import { Stats } from "@/components/home/stats";
import { JsonLd } from "@/components/json-ld";
import { Section } from "@/components/section";
import { LinkBase } from "@/i18n/client/link";
import { getTranslation } from "@/i18n/server";
import { getAlternates } from "@/lib/alternates";
import { getMonthlyPollCount, getMonthlyVoterCount } from "@/lib/data";

export default async function Page(props: {
  params: Promise<{ locale: string }>;
}) {
  cacheLife("hours");
  const { locale } = await props.params;
  const { t } = await getTranslation(locale, ["home", "common"]);
  const [pollCount, voterCount] = await Promise.all([
    getMonthlyPollCount(),
    getMonthlyVoterCount(),
  ]);
  return (
    <div className="divide-y">
      <JsonLd
        data={{
          "@context": "https://schema.org",
          "@graph": [
            {
              "@type": "Organization",
              "@id": absoluteUrl("/#organization"),
              name: "Rallly",
              legalName: "Stack Snap Ltd",
              url: absoluteUrl(),
              logo: absoluteUrl("/logo.png"),
              sameAs: [
                "https://github.com/lukevella/rallly",
                "https://x.com/ralllyco",
                "https://www.linkedin.com/company/rallly",
              ],
            },
            {
              "@type": "SoftwareApplication",
              name: "Rallly",
              url: "https://app.rallly.co",
              applicationCategory: "BusinessApplication",
              operatingSystem: "Web",
              description: t("subheading", {
                defaultValue:
                  "Rallly is the meeting poll tool for scheduling groups. Propose a few times, share a link, and everyone votes on when they can make it.",
                ns: "home",
              }),
              offers: {
                "@type": "Offer",
                price: "0",
                priceCurrency: "USD",
              },
              publisher: { "@id": absoluteUrl("/#organization") },
            },
          ],
        }}
      />
      <Section>
        <Hero
          title={t("headline", {
            defaultValue: "Find the best time to meet",
            ns: "home",
          })}
          description={t("subheading", {
            defaultValue:
              "Rallly is the meeting poll tool for scheduling groups. Propose a few times, share a link, and everyone votes on when they can make it.",
            ns: "home",
          })}
          descriptionClassName="max-w-[600px]"
          announcement={
            <HeroAnnouncement
              href="/blog/finalizing-polls-is-now-free"
              badge={
                <Trans
                  t={t}
                  ns="home"
                  i18nKey="announcementBadge"
                  defaults="New"
                />
              }
            >
              <Trans
                t={t}
                ns="home"
                i18nKey="freeFinalizeAnnouncement"
                defaults="Finalizing polls is now free"
              />
            </HeroAnnouncement>
          }
        >
          <HeroDemo locale={locale} />
        </Hero>
        <Stats className="mt-8 sm:mt-24">
          <Trans
            t={t}
            ns="home"
            i18nKey="statsLast30Days"
            defaults="<0>{voterCount, plural, one {# person} other {# people}}</0> voted on <1>{pollCount, plural, one {# poll} other {# polls}}</1> in the last 30 days"
            values={{ voterCount, pollCount }}
            components={[
              <PeopleBadge key="people" locale={locale} live />,
              <PollsBadge key="polls" locale={locale} live />,
            ]}
          />
        </Stats>
      </Section>
      <HowItWorks locale={locale} />
      <SocialProof locale={locale} />
      <div className="divide-y">
        <FaqSection
          locale={locale}
          title={
            <Trans
              t={t}
              ns="home"
              i18nKey="faqTitle"
              defaults="Frequently asked questions"
            />
          }
        >
          <FaqItem
            question={
              <Trans
                t={t}
                ns="home"
                i18nKey="faqWhatIsRallly"
                defaults="What is Rallly?"
              />
            }
          >
            <Trans
              t={t}
              ns="home"
              i18nKey="faqWhatIsRalllyAnswer"
              defaults="Rallly is a meeting scheduling tool. You create a poll with a few proposed times, share a link, and participants vote on the times that work for them. When the votes are in, you can see at a glance which time suits everyone best."
            />
          </FaqItem>
          <FaqItem
            question={
              <Trans
                t={t}
                ns="home"
                i18nKey="faqNeedAccount"
                defaults="Do I need an account to use Rallly?"
              />
            }
          >
            <Trans
              t={t}
              ns="home"
              i18nKey="faqNeedAccountAnswer"
              defaults="No. You can create a poll and vote on one without signing up. Creating a free account lets you manage your polls from any device and get notified when people respond."
            />
          </FaqItem>
          <FaqItem
            question={
              <Trans
                t={t}
                ns="home"
                i18nKey="faqIsFree"
                defaults="Is Rallly free?"
              />
            }
          >
            <Trans
              t={t}
              ns="home"
              i18nKey="faqIsFreeAnswer"
              defaults="Yes. 99% of people use Rallly completely free. Creating polls, sharing them, and collecting votes costs nothing and there is no limit on participants. We also offer <0>Rallly Pro</0>, a paid subscription with features that are useful if you use Rallly professionally, like adding your own branding, removing Rallly attribution from your polls, and keeping polls around indefinitely."
              components={[
                <LinkBase
                  key="pricing"
                  className="text-gray-800 underline underline-offset-2 hover:text-gray-600"
                  href="/pricing"
                />,
              ]}
            />
          </FaqItem>
          <FaqItem
            question={
              <Trans
                t={t}
                ns="home"
                i18nKey="faqTimeZones"
                defaults="Does Rallly work across time zones?"
              />
            }
          >
            <Trans
              t={t}
              ns="home"
              i18nKey="faqTimeZonesAnswer"
              defaults="Yes. When you create a poll with specific times, each participant sees the options in their own time zone automatically, so nobody has to do the math."
            />
          </FaqItem>
          <FaqItem
            question={
              <Trans
                t={t}
                ns="home"
                i18nKey="faqAfterVoting"
                defaults="What happens after everyone votes?"
              />
            }
          >
            <Trans
              t={t}
              ns="home"
              i18nKey="faqAfterVotingAnswer"
              defaults="The results show which times work for the most people. Finalize the poll to lock in the chosen time and notify participants by email with a calendar invite."
            />
          </FaqItem>
          <FaqItem
            question={
              <Trans
                t={t}
                ns="home"
                i18nKey="faqPrivacy"
                defaults="Is my data private?"
              />
            }
          >
            <Trans
              t={t}
              ns="home"
              i18nKey="faqPrivacyAnswer"
              defaults="Yes. Privacy is central to how we build Rallly. We do not show ads or sell your data, we collect only what we need to run the service, and polls on the free plan are deleted automatically once they become inactive. Rallly is also open source, so anyone can inspect how their data is handled. You can read the details in our <0>privacy policy</0>."
              components={[
                <LinkBase
                  key="privacy"
                  className="text-gray-800 underline underline-offset-2 hover:text-gray-600"
                  href="/privacy-policy"
                />,
              ]}
            />
          </FaqItem>
          <FaqItem
            question={
              <Trans
                t={t}
                ns="home"
                i18nKey="homeFaqEveryoneFree"
                defaults="Can I use Rallly to find out when everyone is free?"
              />
            }
          >
            <Trans
              t={t}
              ns="home"
              i18nKey="homeFaqEveryoneFreeAnswer"
              defaults="Yes. Create a <0>free scheduling poll</0>, add the times you want to offer, and participants mark the ones they can make. It works just as well as a meeting poll for a shortlist of times or as an availability poll across a wider range of dates."
              components={[
                <LinkBase
                  key="scheduling-poll"
                  className="text-gray-800 underline underline-offset-2 hover:text-gray-600"
                  href="/free-scheduling-poll"
                />,
              ]}
            />
          </FaqItem>
        </FaqSection>
        <Section className="sm:py-24">
          <Cta
            title={
              <Trans
                t={t}
                ns="home"
                i18nKey="finalCtaTitle"
                defaults="Ready to find the best time to meet?"
              />
            }
            description={
              <Trans
                t={t}
                ns="home"
                i18nKey="finalCtaDescription"
                defaults="Set up your poll in under a minute. No account, no chasing people for replies."
              />
            }
            buttonLabel={
              <Trans
                t={t}
                ns="home"
                i18nKey="createAPoll"
                defaults="Create a poll"
              />
            }
            hint={
              <Trans
                t={t}
                ns="home"
                i18nKey="hint"
                defaults="It's free! No login required."
              />
            }
          />
        </Section>
      </div>
    </div>
  );
}

export async function generateMetadata(props: {
  params: Promise<{ locale: string }>;
}): Promise<Metadata> {
  cacheLife("max");
  const { locale } = await props.params;
  const { t } = await getTranslation(locale, "home");
  return {
    alternates: getAlternates({ locale }),
    title: {
      absolute: t("metaTitle", {
        defaultValue: "Rallly: Free Group Meeting Scheduling Tool",
        ns: "home",
      }),
    },
    description: t("metaDescription", {
      ns: "home",
      defaultValue:
        "Rallly is the fastest and easiest scheduling and collaboration tool. Create a meeting poll in seconds, no login required.",
    }),
  };
}