Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
✨ Add an FAQ section to the landing and SEO pages (#2990)
Luke Vella915470fb4c40
diff --git a/apps/landing/public/locales/en/home.json b/apps/landing/public/locales/en/home.jsonindex 7bb40c06b..3f2883296 100644--- a/apps/landing/public/locales/en/home.json+++ b/apps/landing/public/locales/en/home.json@@ -8,9 +8,32 @@"doodleAlternativeMetaTitle": "Best Free Doodle Alternative | Rallly","ericJobTitle": "Executive Assistant at MIT","ericQuote": "“If your scheduling workflow lives in emails, I strongly encourage you to try and let Rallly simplify your scheduling tasks for a more organized and less stressful workday.”",+ "faqAfterVoting": "What happens after everyone votes?",+ "faqAfterVotingAnswer": "The results show which times work for the most people. With Rallly Pro you can finalize the poll, which notifies participants of the chosen time by email.",+ "faqDescription": "Quick answers about how Rallly works, pricing, and privacy.",+ "faqDoodleDifference": "How is Rallly different from Doodle?",+ "faqDoodleDifferenceAnswer": "Rallly gives you professional, ad-free meeting polls in a clean and easy to use interface. Participants can vote without creating an account, and if you want full control of your data you can even host Rallly on your own server.",+ "faqIsFree": "Is Rallly free?",+ "faqIsFreeAnswer": "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.",+ "faqNeedAccount": "Do I need an account to use Rallly?",+ "faqNeedAccountAnswer": "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.",+ "faqNonprofit": "Do you offer discounts for nonprofits?",+ "faqNonprofitAnswer": "Yes. We offer discounted Rallly Pro subscriptions for registered nonprofits. Email us at <0>[email protected]</0> and we will get you set up.",+ "faqPrivacy": "Is my data private?",+ "faqPrivacyAnswer": "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>.",+ "faqSelfHost": "Can I self-host Rallly?",+ "faqSelfHostAnswer": "Yes. Rallly is open source and can be deployed on your own infrastructure with Docker. Check the <0>self-hosting docs</0> to get started.",+ "faqTeams": "How does Rallly work for teams?",+ "faqTeamsAnswer": "You can invite your team into a shared space where everyone creates and manages polls together. Billing is centralized. A single subscription covers the whole team, and you can add or remove seats as your team changes.",+ "faqTimeZones": "Does Rallly work across time zones?",+ "faqTimeZonesAnswer": "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.",+ "faqTitle": "Frequently asked questions",+ "faqWhatIsRallly": "What is Rallly?",+ "faqWhatIsRalllyAnswer": "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.",+ "faqWhen2meetDifference": "How is Rallly different from When2Meet?",+ "faqWhen2meetDifferenceAnswer": "Rallly does everything you use When2Meet for, with a cleaner interface that works great on mobile. You get notified when participants respond, and you can manage all your polls in one place.","finalCtaDescription": "Set up your poll in under a minute. No account, no downloads, no chasing people for replies.","finalCtaTitle": "Ready to find the best time to meet?",- "fiveStars": "5 stars","freeSchedulingPollDescription": "Rallly lets you create beautiful and easy to use scheduling polls so you can find the best time for your next event.","freeSchedulingPollFinalCtaDescription": "It takes seconds and your group can start voting right away.","freeSchedulingPollFinalCtaTitle": "Ready to create your scheduling poll?",@@ -47,7 +70,6 @@"popsciQuote": "“The perfect pick if you want to keep your RSVPs simple.”","statsLast30Days": "<b>{voterCount, plural, one {# person} other {# people}}</b> voted on <b>{pollCount, plural, one {# poll} other {# polls}}</b> in the last 30 days","subheading": "Create a poll, share the link, and let everyone vote on the times that work. It's free and nobody needs an account.",- "viaTrustpilot": "via Trustpilot","when2meetAlternative": "A modern When2Meet alternative","when2meetAlternativeDescription": "Rallly does everything you use When2Meet for, without the clunky parts. Create clean scheduling polls that work great on mobile, get notified when participants respond, and manage all your polls in one place. Free, without ads, and no account needed to vote. Coming from When2Meet or WhenIsGood? Rallly will feel instantly familiar.","when2meetAlternativeFinalCtaDescription": "Create a poll in seconds and enjoy a cleaner way to find a time that works.",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 af5042d9a..17a7ac2f5 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@@ -2,12 +2,23 @@import type { Metadata } from "next";import { cacheLife } from "next/cache";+import Image from "next/image";+import Link from "next/link";import { Trans } from "react-i18next/TransWithoutContext";import { Cta } from "@/components/home/cta";-import { Hero } from "@/components/home/hero";-import { Mentions } from "@/components/home/mentions";+import { Faq, FaqItem } from "@/components/home/faq";+import { Hero, HeroAnnouncement } from "@/components/home/hero";+import { HeroDemo } from "@/components/home/hero-demo/hero-demo";+import { Mention, Mentions } from "@/components/home/mentions";import { Stats } from "@/components/home/stats";import { Testimonial } from "@/components/home/testimonial";+import {+ Section,+ SectionContent,+ SectionDescription,+ SectionHeading,+ SectionTitle,+} from "@/components/section";import { getTranslation } from "@/i18n/server";export default async function Page(props: {@@ -18,37 +29,420 @@ export default async function Page(props: {const { t } = await getTranslation(locale, ["home"]);return (<div className="divide-y">- <Hero- locale={locale}- title={t("doodleAlternative", {- ns: "home",- })}- description={t("doodleAlternativeDescription", {- ns: "home",- })}- />- <Stats locale={locale} />- <Testimonial locale={locale} />- <Mentions locale={locale} />- <Cta- locale={locale}- title={+ <Section>+ <Hero+ title={t("doodleAlternative", {+ ns: "home",+ })}+ description={t("doodleAlternativeDescription", {+ ns: "home",+ })}+ announcement={+ <HeroAnnouncement+ href="/blog/mobile-voting-redesign"+ badge={+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlogBadge"+ defaults="New"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlog"+ defaults="A clearer way to vote on your phone"+ />+ </HeroAnnouncement>+ }+ >+ <HeroDemo locale={locale} />+ </Hero>+ <Stats locale={locale} className="mt-4 sm:mt-16" />+ </Section>+ <Section>+ <Testimonial+ logo={+ <Image+ src="/static/images/mit-logo.svg"+ width={54}+ height={28}+ alt=""+ />+ }+ avatar={+ <Image+ className="rounded-full"+ src="/static/images/eric.png"+ width={48}+ height={48}+ alt=""+ />+ }+ name="Eric Fletcher"+ title={+ <Trans+ t={t}+ ns="home"+ i18nKey="ericJobTitle"+ defaults="Executive Assistant at MIT"+ />+ }+ ><Transt={t}ns="home"- i18nKey="doodleAlternativeFinalCtaTitle"- defaults="Ready to make the switch?"+ i18nKey="ericQuote"+ defaults="“If your scheduling workflow lives in emails, I strongly encourage you to try and let Rallly simplify your scheduling tasks for a more organized and less stressful workday.”"/>- }- description={- <Trans- t={t}- ns="home"- i18nKey="doodleAlternativeFinalCtaDescription"- defaults="Create your first poll in seconds and see why so many people left Doodle behind."+ </Testimonial>+ </Section>+ <Section>+ <Mentions>+ <Mention+ delay={0.25}+ logo={+ <div className="relative h-8 w-14">+ <Image+ src="/static/images/pcmag-logo.svg"+ alt="PCMag"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="pcmagQuote"+ defaults="“Set up a scheduling poll in as little time as possible.”"+ />+ </Mention>+ <Mention+ delay={0.5}+ logo={+ <div className="relative h-8 w-24">+ <Image+ src="/static/images/hubspot-logo.svg"+ alt="HubSpot"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="hubspotQuote"+ defaults="“The simplest choice for availability polling for large groups.”"+ />+ </Mention>+ <Mention+ delay={0.75}+ logo={+ <div className="relative h-8 w-32">+ <Image+ src="/static/images/goodfirms-logo.svg"+ alt="Goodfirms"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="goodfirmsQuote"+ defaults="“Unique in its simplicity and requires minimum interaction time.”"+ />+ </Mention>+ <Mention+ delay={1}+ logo={+ <div className="relative h-8 w-20">+ <Image+ src="/static/images/popsci-logo.svg"+ alt="PopSci"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="popsciQuote"+ defaults="“The perfect pick if you want to keep your RSVPs simple.”"+ />+ </Mention>+ </Mentions>+ </Section>+ <div>+ <Section>+ <SectionHeading>+ <SectionTitle>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTitle"+ defaults="Frequently asked questions"+ />+ </SectionTitle>+ <SectionDescription>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqDescription"+ defaults="Quick answers about how Rallly works, pricing, and privacy."+ />+ </SectionDescription>+ </SectionHeading>+ <SectionContent>+ <Faq>+ <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="faqDoodleDifference"+ defaults="How is Rallly different from Doodle?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqDoodleDifferenceAnswer"+ defaults="Rallly gives you professional, ad-free meeting polls in a clean and easy to use interface. Participants can vote without creating an account, and if you want full control of your data you can even host Rallly on your own server."+ />+ </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={[+ <Link+ 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="faqNonprofit"+ defaults="Do you offer discounts for nonprofits?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqNonprofitAnswer"+ defaults="Yes. We offer discounted Rallly Pro subscriptions for registered nonprofits. Email us at <0>[email protected]</0> and we will get you set up."+ components={[+ <a+ key="email"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="mailto:[email protected]"+ />,+ ]}+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeams"+ defaults="How does Rallly work for teams?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeamsAnswer"+ defaults="You can invite your team into a shared space where everyone creates and manages polls together. Billing is centralized. A single subscription covers the whole team, and you can add or remove seats as your team changes."+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHost"+ defaults="Can I self-host Rallly?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHostAnswer"+ defaults="Yes. Rallly is open source and can be deployed on your own infrastructure with Docker. Check the <0>self-hosting docs</0> to get started."+ components={[+ <a+ key="docs"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="https://support.rallly.co/self-hosting/installation/docker"+ />,+ ]}+ />+ </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. With Rallly Pro you can finalize the poll, which notifies participants of the chosen time by email."+ />+ </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={[+ <Link+ key="privacy"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="/privacy-policy"+ />,+ ]}+ />+ </FaqItem>+ </Faq>+ </SectionContent>+ </Section>+ <Section className="sm:py-24">+ <Cta+ title={+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleAlternativeFinalCtaTitle"+ defaults="Ready to make the switch?"+ />+ }+ description={+ <Trans+ t={t}+ ns="home"+ i18nKey="doodleAlternativeFinalCtaDescription"+ defaults="Create your first poll in seconds and see why so many people left Doodle behind."+ />+ }+ 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>);}diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/free-scheduling-poll/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/free-scheduling-poll/page.tsxindex e2904559e..c7950b077 100644--- a/apps/landing/src/app/[locale]/(main)/(seo)/free-scheduling-poll/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/(seo)/free-scheduling-poll/page.tsx@@ -2,12 +2,23 @@import type { Metadata } from "next";import { cacheLife } from "next/cache";+import Image from "next/image";+import Link from "next/link";import { Trans } from "react-i18next/TransWithoutContext";import { Cta } from "@/components/home/cta";-import { Hero } from "@/components/home/hero";-import { Mentions } from "@/components/home/mentions";+import { Faq, FaqItem } from "@/components/home/faq";+import { Hero, HeroAnnouncement } from "@/components/home/hero";+import { HeroDemo } from "@/components/home/hero-demo/hero-demo";+import { Mention, Mentions } from "@/components/home/mentions";import { Stats } from "@/components/home/stats";import { Testimonial } from "@/components/home/testimonial";+import {+ Section,+ SectionContent,+ SectionDescription,+ SectionHeading,+ SectionTitle,+} from "@/components/section";import { getTranslation } from "@/i18n/server";export default async function Page(props: {@@ -18,37 +29,403 @@ export default async function Page(props: {const { t } = await getTranslation(locale, ["home"]);return (<div className="divide-y">- <Hero- locale={locale}- title={t("freeSchedulingPollTitle", {- ns: "home",- })}- description={t("freeSchedulingPollDescription", {- ns: "home",- })}- />- <Stats locale={locale} />- <Testimonial locale={locale} />- <Mentions locale={locale} />- <Cta- locale={locale}- title={+ <Section>+ <Hero+ title={t("freeSchedulingPollTitle", {+ ns: "home",+ })}+ description={t("freeSchedulingPollDescription", {+ ns: "home",+ })}+ announcement={+ <HeroAnnouncement+ href="/blog/mobile-voting-redesign"+ badge={+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlogBadge"+ defaults="New"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlog"+ defaults="A clearer way to vote on your phone"+ />+ </HeroAnnouncement>+ }+ >+ <HeroDemo locale={locale} />+ </Hero>+ <Stats locale={locale} className="mt-4 sm:mt-16" />+ </Section>+ <Section>+ <Testimonial+ logo={+ <Image+ src="/static/images/mit-logo.svg"+ width={54}+ height={28}+ alt=""+ />+ }+ avatar={+ <Image+ className="rounded-full"+ src="/static/images/eric.png"+ width={48}+ height={48}+ alt=""+ />+ }+ name="Eric Fletcher"+ title={+ <Trans+ t={t}+ ns="home"+ i18nKey="ericJobTitle"+ defaults="Executive Assistant at MIT"+ />+ }+ ><Transt={t}ns="home"- i18nKey="freeSchedulingPollFinalCtaTitle"- defaults="Ready to create your scheduling poll?"+ i18nKey="ericQuote"+ defaults="“If your scheduling workflow lives in emails, I strongly encourage you to try and let Rallly simplify your scheduling tasks for a more organized and less stressful workday.”"/>- }- description={- <Trans- t={t}- ns="home"- i18nKey="freeSchedulingPollFinalCtaDescription"- defaults="It takes seconds and your group can start voting right away."+ </Testimonial>+ </Section>+ <Section>+ <Mentions>+ <Mention+ delay={0.25}+ logo={+ <div className="relative h-8 w-14">+ <Image+ src="/static/images/pcmag-logo.svg"+ alt="PCMag"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="pcmagQuote"+ defaults="“Set up a scheduling poll in as little time as possible.”"+ />+ </Mention>+ <Mention+ delay={0.5}+ logo={+ <div className="relative h-8 w-24">+ <Image+ src="/static/images/hubspot-logo.svg"+ alt="HubSpot"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="hubspotQuote"+ defaults="“The simplest choice for availability polling for large groups.”"+ />+ </Mention>+ <Mention+ delay={0.75}+ logo={+ <div className="relative h-8 w-32">+ <Image+ src="/static/images/goodfirms-logo.svg"+ alt="Goodfirms"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="goodfirmsQuote"+ defaults="“Unique in its simplicity and requires minimum interaction time.”"+ />+ </Mention>+ <Mention+ delay={1}+ logo={+ <div className="relative h-8 w-20">+ <Image+ src="/static/images/popsci-logo.svg"+ alt="PopSci"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="popsciQuote"+ defaults="“The perfect pick if you want to keep your RSVPs simple.”"+ />+ </Mention>+ </Mentions>+ </Section>+ <div>+ <Section>+ <SectionHeading>+ <SectionTitle>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTitle"+ defaults="Frequently asked questions"+ />+ </SectionTitle>+ <SectionDescription>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqDescription"+ defaults="Quick answers about how Rallly works, pricing, and privacy."+ />+ </SectionDescription>+ </SectionHeading>+ <SectionContent>+ <Faq>+ <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={[+ <Link+ 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="faqNonprofit"+ defaults="Do you offer discounts for nonprofits?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqNonprofitAnswer"+ defaults="Yes. We offer discounted Rallly Pro subscriptions for registered nonprofits. Email us at <0>[email protected]</0> and we will get you set up."+ components={[+ <a+ key="email"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="mailto:[email protected]"+ />,+ ]}+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeams"+ defaults="How does Rallly work for teams?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeamsAnswer"+ defaults="You can invite your team into a shared space where everyone creates and manages polls together. Billing is centralized. A single subscription covers the whole team, and you can add or remove seats as your team changes."+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHost"+ defaults="Can I self-host Rallly?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHostAnswer"+ defaults="Yes. Rallly is open source and can be deployed on your own infrastructure with Docker. Check the <0>self-hosting docs</0> to get started."+ components={[+ <a+ key="docs"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="https://support.rallly.co/self-hosting/installation/docker"+ />,+ ]}+ />+ </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. With Rallly Pro you can finalize the poll, which notifies participants of the chosen time by email."+ />+ </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={[+ <Link+ key="privacy"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="/privacy-policy"+ />,+ ]}+ />+ </FaqItem>+ </Faq>+ </SectionContent>+ </Section>+ <Section className="sm:py-24">+ <Cta+ title={+ <Trans+ t={t}+ ns="home"+ i18nKey="freeSchedulingPollFinalCtaTitle"+ defaults="Ready to create your scheduling poll?"+ />+ }+ description={+ <Trans+ t={t}+ ns="home"+ i18nKey="freeSchedulingPollFinalCtaDescription"+ defaults="It takes seconds and your group can start voting right away."+ />+ }+ 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>);}diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/when2meet-alternative/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/when2meet-alternative/page.tsxindex d7f9247a5..de4efebcb 100644--- a/apps/landing/src/app/[locale]/(main)/(seo)/when2meet-alternative/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/(seo)/when2meet-alternative/page.tsx@@ -2,12 +2,23 @@import type { Metadata } from "next";import { cacheLife } from "next/cache";+import Image from "next/image";+import Link from "next/link";import { Trans } from "react-i18next/TransWithoutContext";import { Cta } from "@/components/home/cta";-import { Hero } from "@/components/home/hero";-import { Mentions } from "@/components/home/mentions";+import { Faq, FaqItem } from "@/components/home/faq";+import { Hero, HeroAnnouncement } from "@/components/home/hero";+import { HeroDemo } from "@/components/home/hero-demo/hero-demo";+import { Mention, Mentions } from "@/components/home/mentions";import { Stats } from "@/components/home/stats";import { Testimonial } from "@/components/home/testimonial";+import {+ Section,+ SectionContent,+ SectionDescription,+ SectionHeading,+ SectionTitle,+} from "@/components/section";import { getTranslation } from "@/i18n/server";export default async function Page(props: {@@ -18,37 +29,420 @@ export default async function Page(props: {const { t } = await getTranslation(locale, ["home"]);return (<div className="divide-y">- <Hero- locale={locale}- title={t("when2meetAlternative", {- ns: "home",- })}- description={t("when2meetAlternativeDescription", {- ns: "home",- })}- />- <Stats locale={locale} />- <Testimonial locale={locale} />- <Mentions locale={locale} />- <Cta- locale={locale}- title={+ <Section>+ <Hero+ title={t("when2meetAlternative", {+ ns: "home",+ })}+ description={t("when2meetAlternativeDescription", {+ ns: "home",+ })}+ announcement={+ <HeroAnnouncement+ href="/blog/mobile-voting-redesign"+ badge={+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlogBadge"+ defaults="New"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlog"+ defaults="A clearer way to vote on your phone"+ />+ </HeroAnnouncement>+ }+ >+ <HeroDemo locale={locale} />+ </Hero>+ <Stats locale={locale} className="mt-4 sm:mt-16" />+ </Section>+ <Section>+ <Testimonial+ logo={+ <Image+ src="/static/images/mit-logo.svg"+ width={54}+ height={28}+ alt=""+ />+ }+ avatar={+ <Image+ className="rounded-full"+ src="/static/images/eric.png"+ width={48}+ height={48}+ alt=""+ />+ }+ name="Eric Fletcher"+ title={+ <Trans+ t={t}+ ns="home"+ i18nKey="ericJobTitle"+ defaults="Executive Assistant at MIT"+ />+ }+ ><Transt={t}ns="home"- i18nKey="when2meetAlternativeFinalCtaTitle"- defaults="Ready for a fresh take on When2Meet?"+ i18nKey="ericQuote"+ defaults="“If your scheduling workflow lives in emails, I strongly encourage you to try and let Rallly simplify your scheduling tasks for a more organized and less stressful workday.”"/>- }- description={- <Trans- t={t}- ns="home"- i18nKey="when2meetAlternativeFinalCtaDescription"- defaults="Create a poll in seconds and enjoy a cleaner way to find a time that works."+ </Testimonial>+ </Section>+ <Section>+ <Mentions>+ <Mention+ delay={0.25}+ logo={+ <div className="relative h-8 w-14">+ <Image+ src="/static/images/pcmag-logo.svg"+ alt="PCMag"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="pcmagQuote"+ defaults="“Set up a scheduling poll in as little time as possible.”"+ />+ </Mention>+ <Mention+ delay={0.5}+ logo={+ <div className="relative h-8 w-24">+ <Image+ src="/static/images/hubspot-logo.svg"+ alt="HubSpot"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="hubspotQuote"+ defaults="“The simplest choice for availability polling for large groups.”"+ />+ </Mention>+ <Mention+ delay={0.75}+ logo={+ <div className="relative h-8 w-32">+ <Image+ src="/static/images/goodfirms-logo.svg"+ alt="Goodfirms"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="goodfirmsQuote"+ defaults="“Unique in its simplicity and requires minimum interaction time.”"+ />+ </Mention>+ <Mention+ delay={1}+ logo={+ <div className="relative h-8 w-20">+ <Image+ src="/static/images/popsci-logo.svg"+ alt="PopSci"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="popsciQuote"+ defaults="“The perfect pick if you want to keep your RSVPs simple.”"+ />+ </Mention>+ </Mentions>+ </Section>+ <div>+ <Section>+ <SectionHeading>+ <SectionTitle>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTitle"+ defaults="Frequently asked questions"+ />+ </SectionTitle>+ <SectionDescription>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqDescription"+ defaults="Quick answers about how Rallly works, pricing, and privacy."+ />+ </SectionDescription>+ </SectionHeading>+ <SectionContent>+ <Faq>+ <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="faqWhen2meetDifference"+ defaults="How is Rallly different from When2Meet?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqWhen2meetDifferenceAnswer"+ defaults="Rallly does everything you use When2Meet for, with a cleaner interface that works great on mobile. You get notified when participants respond, and you can manage all your polls in one place."+ />+ </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={[+ <Link+ 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="faqNonprofit"+ defaults="Do you offer discounts for nonprofits?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqNonprofitAnswer"+ defaults="Yes. We offer discounted Rallly Pro subscriptions for registered nonprofits. Email us at <0>[email protected]</0> and we will get you set up."+ components={[+ <a+ key="email"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="mailto:[email protected]"+ />,+ ]}+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeams"+ defaults="How does Rallly work for teams?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeamsAnswer"+ defaults="You can invite your team into a shared space where everyone creates and manages polls together. Billing is centralized. A single subscription covers the whole team, and you can add or remove seats as your team changes."+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHost"+ defaults="Can I self-host Rallly?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHostAnswer"+ defaults="Yes. Rallly is open source and can be deployed on your own infrastructure with Docker. Check the <0>self-hosting docs</0> to get started."+ components={[+ <a+ key="docs"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="https://support.rallly.co/self-hosting/installation/docker"+ />,+ ]}+ />+ </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. With Rallly Pro you can finalize the poll, which notifies participants of the chosen time by email."+ />+ </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={[+ <Link+ key="privacy"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="/privacy-policy"+ />,+ ]}+ />+ </FaqItem>+ </Faq>+ </SectionContent>+ </Section>+ <Section className="sm:py-24">+ <Cta+ title={+ <Trans+ t={t}+ ns="home"+ i18nKey="when2meetAlternativeFinalCtaTitle"+ defaults="Ready for a fresh take on When2Meet?"+ />+ }+ description={+ <Trans+ t={t}+ ns="home"+ i18nKey="when2meetAlternativeFinalCtaDescription"+ defaults="Create a poll in seconds and enjoy a cleaner way to find a time that works."+ />+ }+ 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>);}diff --git a/apps/landing/src/app/[locale]/(main)/page.tsx b/apps/landing/src/app/[locale]/(main)/page.tsxindex 4c8dc5a84..939004ddd 100644--- a/apps/landing/src/app/[locale]/(main)/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/page.tsx@@ -2,11 +2,23 @@import type { Metadata } from "next";import { cacheLife } from "next/cache";+import Image from "next/image";+import Link from "next/link";+import { Trans } from "react-i18next/TransWithoutContext";import { Cta } from "@/components/home/cta";-import { Hero } from "@/components/home/hero";-import { Mentions } from "@/components/home/mentions";+import { Faq, FaqItem } from "@/components/home/faq";+import { Hero, HeroAnnouncement } from "@/components/home/hero";+import { HeroDemo } from "@/components/home/hero-demo/hero-demo";+import { Mention, Mentions } from "@/components/home/mentions";import { Stats } from "@/components/home/stats";import { Testimonial } from "@/components/home/testimonial";+import {+ Section,+ SectionContent,+ SectionDescription,+ SectionHeading,+ SectionTitle,+} from "@/components/section";import { getTranslation } from "@/i18n/server";export default async function Page(props: {@@ -17,9 +29,8 @@ export default async function Page(props: {const { t } = await getTranslation(locale, ["home", "common"]);return (<div className="divide-y">- <div>+ <Section><Hero- locale={locale}title={t("headline", {defaultValue: "Find the best time to meet",ns: "home",@@ -29,12 +40,395 @@ export default async function Page(props: {"Create a poll, share the link, and let everyone vote on the times that work. It's free and nobody needs an account.",ns: "home",})}- />- <Stats locale={locale} className="pt-4 sm:pt-0" />+ announcement={+ <HeroAnnouncement+ href="/blog/mobile-voting-redesign"+ badge={+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlogBadge"+ defaults="New"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="mobileVotingBlog"+ defaults="A clearer way to vote on your phone"+ />+ </HeroAnnouncement>+ }+ >+ <HeroDemo locale={locale} />+ </Hero>+ <Stats locale={locale} className="mt-4 sm:mt-16" />+ </Section>+ <Section>+ <Testimonial+ logo={+ <Image+ src="/static/images/mit-logo.svg"+ width={54}+ height={28}+ alt=""+ />+ }+ avatar={+ <Image+ className="rounded-full"+ src="/static/images/eric.png"+ width={48}+ height={48}+ alt=""+ />+ }+ name="Eric Fletcher"+ title={+ <Trans+ t={t}+ ns="home"+ i18nKey="ericJobTitle"+ defaults="Executive Assistant at MIT"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="ericQuote"+ defaults="“If your scheduling workflow lives in emails, I strongly encourage you to try and let Rallly simplify your scheduling tasks for a more organized and less stressful workday.”"+ />+ </Testimonial>+ </Section>+ <Section>+ <Mentions>+ <Mention+ delay={0.25}+ logo={+ <div className="relative h-8 w-14">+ <Image+ src="/static/images/pcmag-logo.svg"+ alt="PCMag"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="pcmagQuote"+ defaults="“Set up a scheduling poll in as little time as possible.”"+ />+ </Mention>+ <Mention+ delay={0.5}+ logo={+ <div className="relative h-8 w-24">+ <Image+ src="/static/images/hubspot-logo.svg"+ alt="HubSpot"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="hubspotQuote"+ defaults="“The simplest choice for availability polling for large groups.”"+ />+ </Mention>+ <Mention+ delay={0.75}+ logo={+ <div className="relative h-8 w-32">+ <Image+ src="/static/images/goodfirms-logo.svg"+ alt="Goodfirms"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="goodfirmsQuote"+ defaults="“Unique in its simplicity and requires minimum interaction time.”"+ />+ </Mention>+ <Mention+ delay={1}+ logo={+ <div className="relative h-8 w-20">+ <Image+ src="/static/images/popsci-logo.svg"+ alt="PopSci"+ fill+ style={{ objectFit: "contain" }}+ />+ </div>+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="popsciQuote"+ defaults="“The perfect pick if you want to keep your RSVPs simple.”"+ />+ </Mention>+ </Mentions>+ </Section>+ <div>+ <Section>+ <SectionHeading>+ <SectionTitle>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTitle"+ defaults="Frequently asked questions"+ />+ </SectionTitle>+ <SectionDescription>+ <Trans+ t={t}+ ns="home"+ i18nKey="faqDescription"+ defaults="Quick answers about how Rallly works, pricing, and privacy."+ />+ </SectionDescription>+ </SectionHeading>+ <SectionContent>+ <Faq>+ <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={[+ <Link+ 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="faqNonprofit"+ defaults="Do you offer discounts for nonprofits?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqNonprofitAnswer"+ defaults="Yes. We offer discounted Rallly Pro subscriptions for registered nonprofits. Email us at <0>[email protected]</0> and we will get you set up."+ components={[+ <a+ key="email"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="mailto:[email protected]"+ />,+ ]}+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeams"+ defaults="How does Rallly work for teams?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqTeamsAnswer"+ defaults="You can invite your team into a shared space where everyone creates and manages polls together. Billing is centralized. A single subscription covers the whole team, and you can add or remove seats as your team changes."+ />+ </FaqItem>+ <FaqItem+ question={+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHost"+ defaults="Can I self-host Rallly?"+ />+ }+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="faqSelfHostAnswer"+ defaults="Yes. Rallly is open source and can be deployed on your own infrastructure with Docker. Check the <0>self-hosting docs</0> to get started."+ components={[+ <a+ key="docs"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="https://support.rallly.co/self-hosting/installation/docker"+ />,+ ]}+ />+ </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. With Rallly Pro you can finalize the poll, which notifies participants of the chosen time by email."+ />+ </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={[+ <Link+ key="privacy"+ className="text-gray-800 underline underline-offset-2 hover:text-gray-600"+ href="/privacy-policy"+ />,+ ]}+ />+ </FaqItem>+ </Faq>+ </SectionContent>+ </Section>+ <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 downloads, 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>- <Testimonial locale={locale} />- <Mentions locale={locale} />- <Cta locale={locale} /></div>);}diff --git a/apps/landing/src/components/home/cta.tsx b/apps/landing/src/components/home/cta.tsxindex 3c7610be6..f71ee1e6e 100644--- a/apps/landing/src/components/home/cta.tsx+++ b/apps/landing/src/components/home/cta.tsx@@ -1,75 +1,44 @@import { cn } from "@rallly/ui";import type * as React from "react";-import { Trans } from "react-i18next/TransWithoutContext";import { CtaButton } from "@/components/home/cta-button";import { FadeIn } from "@/components/home/fade-in";import { handwritten } from "@/fonts/handwritten";-import { getTranslation } from "@/i18n/server";-export async function Cta({- locale,+export function Cta({title,description,- callToAction,+ buttonLabel,+ hint,}: {- locale: string;- title?: React.ReactNode;- description?: React.ReactNode;- callToAction?: React.ReactNode;+ title: React.ReactNode;+ description: React.ReactNode;+ buttonLabel: React.ReactNode;+ hint: React.ReactNode;}) {- const { t } = await getTranslation(locale, ["home"]);return (- <section className="py-8 sm:py-24">- <FadeIn amount="all" captureOnEnter="landing:final_cta_view">- <div className="grid gap-4 sm:grid-cols-2 sm:gap-6">- <h2 className="text-balance font-medium text-2xl text-gray-800 leading-tight tracking-tight sm:text-4xl">- {title ?? (- <Trans- t={t}- ns="home"- i18nKey="finalCtaTitle"- defaults="Ready to find the best time to meet?"- />- )}- </h2>- <p className="max-w-prose text-pretty text-gray-500 text-sm sm:text-balance sm:text-lg">- {description ?? (- <Trans- t={t}- ns="home"- i18nKey="finalCtaDescription"- defaults="Set up your poll in under a minute. No account, no downloads, no chasing people for replies."- />- )}- </p>- </div>- <div className="mt-6 flex flex-col items-start gap-4">- <CtaButton size="lg" captureEvent="landing:final_cta_click">- {callToAction ?? (- <Trans- t={t}- ns="home"- i18nKey="createAPoll"- defaults="Create a poll"- />- )}- </CtaButton>- <p- className={cn(- "whitespace-nowrap text-gray-600 text-xs",- handwritten.className,- "decoration underline decoration-2 decoration-gray-300 underline-offset-8",- )}- >- <Trans- t={t}- ns="home"- i18nKey="hint"- defaults="It's free! No login required."- />- </p>- </div>- </FadeIn>- </section>+ <FadeIn amount="all" captureOnEnter="landing:final_cta_view">+ <div className="grid gap-4 sm:grid-cols-2 sm:gap-6">+ <h2 className="text-balance font-medium text-2xl text-gray-800 leading-tight tracking-tight sm:text-4xl">+ {title}+ </h2>+ <p className="max-w-prose text-pretty text-gray-500 text-sm sm:text-balance sm:text-lg">+ {description}+ </p>+ </div>+ <div className="mt-6 flex flex-col items-start gap-4">+ <CtaButton size="lg" captureEvent="landing:final_cta_click">+ {buttonLabel}+ </CtaButton>+ <p+ className={cn(+ "whitespace-nowrap text-gray-600 text-xs",+ handwritten.className,+ "decoration underline decoration-2 decoration-gray-300 underline-offset-8",+ )}+ >+ {hint}+ </p>+ </div>+ </FadeIn>);}diff --git a/apps/landing/src/components/home/faq.tsx b/apps/landing/src/components/home/faq.tsxnew file mode 100644index 000000000..5aa5b2917--- /dev/null+++ b/apps/landing/src/components/home/faq.tsx@@ -0,0 +1,26 @@+import { PlusIcon } from "lucide-react";+import type * as React from "react";++export function FaqItem({+ question,+ children,+}: {+ question: React.ReactNode;+ children: React.ReactNode;+}) {+ return (+ <details className="group">+ <summary className="flex cursor-pointer list-none items-center justify-between gap-4 py-5 font-medium text-base text-gray-800 [&::-webkit-details-marker]:hidden">+ {question}+ <PlusIcon className="size-4 shrink-0 text-gray-400 transition-transform group-open:rotate-45" />+ </summary>+ <p className="max-w-prose pb-5 text-gray-500 text-sm leading-relaxed sm:text-base">+ {children}+ </p>+ </details>+ );+}++export function Faq({ children }: { children: React.ReactNode }) {+ return <div className="divide-y border-y">{children}</div>;+}diff --git a/apps/landing/src/components/home/hero.tsx b/apps/landing/src/components/home/hero.tsxindex 2d8d4cef6..2be11094b 100644--- a/apps/landing/src/components/home/hero.tsx+++ b/apps/landing/src/components/home/hero.tsx@@ -2,59 +2,55 @@ import { Badge } from "@rallly/ui/badge";import { ArrowRightIcon } from "lucide-react";import Link from "next/link";import type * as React from "react";-import { Trans } from "react-i18next/TransWithoutContext";-import { HeroDemo } from "@/components/home/hero-demo/hero-demo";-import { getTranslation } from "@/i18n/server";-export async function Hero({- locale,+export function HeroAnnouncement({+ href,+ badge,+ children,+}: {+ href: string;+ badge: React.ReactNode;+ children: React.ReactNode;+}) {+ return (+ <Link+ href={href}+ prefetch={false}+ className="group -ml-1 inline-flex items-center gap-x-2 rounded-full bg-gray-200/50 p-1 pr-3 text-sm transition-all hover:bg-gray-200"+ >+ <Badge variant="primary" className="rounded-full">+ {badge}+ </Badge>+ <span className="flex items-center gap-x-1">{children}</span>+ <ArrowRightIcon+ className="size-3 text-gray-500 transition-transform group-hover:translate-x-0.5 group-active:translate-x-0.5"+ aria-hidden="true"+ />+ </Link>+ );+}++export function Hero({title,description,+ announcement,+ children,}: {- locale: string;title: React.ReactNode;description: React.ReactNode;+ announcement?: React.ReactNode;+ children?: React.ReactNode;}) {- const { t } = await getTranslation(locale, ["home"]);return (- <section className="pt-8 sm:py-16">+ <div><h1 className="text-balance font-medium text-3xl text-gray-800 tracking-tight sm:text-5xl">{title}</h1><p className="mt-4 text-balance font-normal text-gray-500 text-sm leading-relaxed sm:text-lg">{description}</p>- <div className="mt-8">- <Link- href="/blog/mobile-voting-redesign"- prefetch={false}- className="group -ml-1 inline-flex items-center gap-x-2 rounded-full bg-gray-200/50 p-1 pr-3 text-sm transition-all hover:bg-gray-200"- >- <Badge variant="primary" className="rounded-full">- <Trans- t={t}- ns="home"- i18nKey="mobileVotingBlogBadge"- defaults="New"- />- </Badge>- <span className="flex items-center gap-x-1">- <Trans- t={t}- ns="home"- i18nKey="mobileVotingBlog"- defaults="A clearer way to vote on your phone"- />- </span>- <ArrowRightIcon- className="size-3 text-gray-500 transition-transform group-hover:translate-x-0.5 group-active:translate-x-0.5"- aria-hidden="true"- />- </Link>- </div>- <div className="mt-6 sm:mt-16">- <HeroDemo locale={locale} />- </div>- </section>+ {announcement ? <div className="mt-8">{announcement}</div> : null}+ {children ? <div className="mt-6 sm:mt-16">{children}</div> : null}+ </div>);}diff --git a/apps/landing/src/components/home/mentions.tsx b/apps/landing/src/components/home/mentions.tsxindex 3b1d1fb10..56c827287 100644--- a/apps/landing/src/components/home/mentions.tsx+++ b/apps/landing/src/components/home/mentions.tsx@@ -1,111 +1,22 @@-import Image from "next/image";-import type React from "react";-import { Trans } from "react-i18next/TransWithoutContext";+import type * as React from "react";import { FadeIn } from "@/components/home/fade-in";-import { getTranslation } from "@/i18n/server";-const Mention = ({+export function Mention({logo,delay = 0,children,}: React.PropsWithChildren<{logo: React.ReactNode;delay?: number;-}>) => {+}>) {return (<FadeIn delay={delay} className="flex flex-col space-y-4 rounded-md"><div className="flex items-start justify-between">{logo}</div><p className="grow text-base">{children}</p></FadeIn>);-};+}-export async function Mentions({ locale }: { locale: string }) {- const { t } = await getTranslation(locale, ["home"]);- return (- <section className="py-8 sm:py-16">- <div className="grid gap-8 md:grid-cols-4">- <Mention- delay={0.25}- logo={- <div className="relative h-8 w-14">- <Image- src="/static/images/pcmag-logo.svg"- alt="PCMag"- fill- style={{ objectFit: "contain" }}- />- </div>- }- >- <Trans- t={t}- ns="home"- i18nKey="pcmagQuote"- defaults="“Set up a scheduling poll in as little time as possible.”"- />- </Mention>- <Mention- delay={0.5}- logo={- <div className="relative h-8 w-24">- <Image- src="/static/images/hubspot-logo.svg"- alt="HubSpot"- fill- style={{ objectFit: "contain" }}- />- </div>- }- >- <Trans- t={t}- ns="home"- i18nKey="hubspotQuote"- defaults="“The simplest choice for availability polling for large groups.”"- />- </Mention>- <Mention- delay={0.75}- logo={- <div className="relative h-8 w-32">- <Image- src="/static/images/goodfirms-logo.svg"- alt="Goodfirms"- fill- style={{ objectFit: "contain" }}- />- </div>- }- >- <Trans- t={t}- ns="home"- i18nKey="goodfirmsQuote"- defaults="“Unique in its simplicity and requires minimum interaction time.”"- />- </Mention>- <Mention- delay={1}- logo={- <div className="relative h-8 w-20">- <Image- src="/static/images/popsci-logo.svg"- alt="PopSci"- fill- style={{ objectFit: "contain" }}- />- </div>- }- >- <Trans- t={t}- ns="home"- i18nKey="popsciQuote"- defaults="“The perfect pick if you want to keep your RSVPs simple.”"- />- </Mention>- </div>- </section>- );+export function Mentions({ children }: { children: React.ReactNode }) {+ return <div className="grid gap-8 md:grid-cols-4">{children}</div>;}diff --git a/apps/landing/src/components/home/stats.tsx b/apps/landing/src/components/home/stats.tsxindex 87fedf42c..2e7d19de7 100644--- a/apps/landing/src/components/home/stats.tsx+++ b/apps/landing/src/components/home/stats.tsx@@ -18,19 +18,22 @@ export async function Stats({const { t } = await getTranslation(locale, ["home"]);return (- <section className={cn("py-8 sm:py-16", className)}>- <p className="mx-auto max-w-2xl text-balance text-center text-gray-600 text-lg sm:text-2xl">- <Trans- t={t}- ns="home"- i18nKey="statsLast30Days"- defaults="<b>{voterCount, plural, one {# person} other {# people}}</b> voted on <b>{pollCount, plural, one {# poll} other {# polls}}</b> in the last 30 days"- values={{ voterCount, pollCount }}- components={{- b: <AnimatedStat locale={locale} />,- }}- />- </p>- </section>+ <p+ className={cn(+ "mx-auto max-w-2xl text-balance text-center text-gray-600 text-lg sm:text-2xl",+ className,+ )}+ >+ <Trans+ t={t}+ ns="home"+ i18nKey="statsLast30Days"+ defaults="<b>{voterCount, plural, one {# person} other {# people}}</b> voted on <b>{pollCount, plural, one {# poll} other {# polls}}</b> in the last 30 days"+ values={{ voterCount, pollCount }}+ components={{+ b: <AnimatedStat locale={locale} />,+ }}+ />+ </p>);}diff --git a/apps/landing/src/components/home/testimonial.tsx b/apps/landing/src/components/home/testimonial.tsxindex 08f197106..a15820419 100644--- a/apps/landing/src/components/home/testimonial.tsx+++ b/apps/landing/src/components/home/testimonial.tsx@@ -1,51 +1,33 @@-import Image from "next/image";-import { Trans } from "react-i18next/TransWithoutContext";+import type * as React from "react";import { FadeIn } from "@/components/home/fade-in";-import { getTranslation } from "@/i18n/server";-export async function Testimonial({ locale }: { locale: string }) {- const { t } = await getTranslation(locale, ["home"]);+export function Testimonial({+ logo,+ avatar,+ name,+ title,+ children,+}: {+ logo: React.ReactNode;+ avatar: React.ReactNode;+ name: React.ReactNode;+ title: React.ReactNode;+ children: React.ReactNode;+}) {return (- <section className="py-8 sm:py-16">- <FadeIn- amount="all"- className="flex flex-col gap-8 sm:flex-row sm:items-start sm:justify-between sm:gap-16"- >- <p className="max-w-2xl text-lg leading-normal sm:text-2xl">- <Trans- t={t}- ns="home"- i18nKey="ericQuote"- defaults="“If your scheduling workflow lives in emails, I strongly encourage you to try and let Rallly simplify your scheduling tasks for a more organized and less stressful workday.”"- />- </p>- <div className="flex shrink-0 flex-col gap-y-4 sm:items-end sm:text-right">- <Image- src="/static/images/mit-logo.svg"- width={54}- height={28}- alt=""- />- <div>- <div className="font-semibold">Eric Fletcher</div>- <div className="text-gray-600 text-sm">- <Trans- t={t}- ns="home"- i18nKey="ericJobTitle"- defaults="Executive Assistant at MIT"- />- </div>- </div>- <Image- className="rounded-full"- src="/static/images/eric.png"- width={48}- height={48}- alt=""- />+ <FadeIn+ amount="all"+ className="flex flex-col gap-8 sm:flex-row sm:items-start sm:justify-between sm:gap-16"+ >+ <p className="max-w-2xl text-lg leading-normal sm:text-2xl">{children}</p>+ <div className="flex shrink-0 flex-col gap-y-4 sm:items-end sm:text-right">+ {logo}+ <div>+ <div className="font-semibold">{name}</div>+ <div className="text-gray-600 text-sm">{title}</div></div>- </FadeIn>- </section>+ {avatar}+ </div>+ </FadeIn>);}diff --git a/apps/landing/src/components/section.tsx b/apps/landing/src/components/section.tsxnew file mode 100644index 000000000..d5af65305--- /dev/null+++ b/apps/landing/src/components/section.tsx@@ -0,0 +1,53 @@+import { cn } from "@rallly/ui";+import type * as React from "react";++export function Section({+ className,+ ...props+}: React.ComponentProps<"section">) {+ return <section className={cn("py-8 sm:py-16", className)} {...props} />;+}++export function SectionHeading({+ className,+ ...props+}: React.ComponentProps<"header">) {+ return <header className={cn("space-y-3", className)} {...props} />;+}++export function SectionTitle({+ className,+ ...props+}: React.ComponentProps<"h2">) {+ return (+ <h2+ className={cn(+ "text-balance font-medium text-2xl text-gray-800 leading-tight tracking-tight sm:text-4xl",+ className,+ )}+ {...props}+ />+ );+}++export function SectionDescription({+ className,+ ...props+}: React.ComponentProps<"p">) {+ return (+ <p+ className={cn(+ "max-w-prose text-pretty text-gray-500 text-sm sm:text-lg",+ className,+ )}+ {...props}+ />+ );+}++export function SectionContent({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return <div className={cn("mt-8 sm:mt-12", className)} {...props} />;+}