Skip to content

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

💄 Refine the landing hero, headings and final CTA (#3199)

Luke Vellae4f7389a0e20
diff --git a/apps/landing/public/locales/en/home.json b/apps/landing/public/locales/en/home.json
index c07036599..834895740 100644
--- a/apps/landing/public/locales/en/home.json
+++ b/apps/landing/public/locales/en/home.json
@@ -84,7 +84,7 @@
"faqWhen2meetFreeAnswer": "Yes, When2meet is free, and if all you need is a quick availability grid it works fine. Rallly is also free, without the ads, and adds the parts When2meet leaves out: an interface that works well on mobile, email notifications when people respond, comments, and a dashboard to manage all your polls.",
"faqWhen2meetMobile": "Does Rallly work well on mobile?",
"faqWhen2meetMobileAnswer": "Yes. Voting on a Rallly poll is a matter of tapping the times that work for you, so it feels natural on a phone. There is no drag-select grid to wrestle with on a small screen.",
- "finalCtaDescription": "Set up your poll in under a minute. No account, no downloads, no chasing people for replies.",
+ "finalCtaDescription": "Set up your poll in under a minute. No account, no chasing people for replies.",
"finalCtaTitle": "Ready to find the best time to meet?",
"freeSchedulingPollAvailabilityPollDescription": "Not sure when everyone is free? Offer a wider range of times and each person answers yes, no, or if need be.",
"freeSchedulingPollAvailabilityPollTitle": "Availability poll",
diff --git a/apps/landing/public/locales/en/pricing.json b/apps/landing/public/locales/en/pricing.json
index 1a1d03518..d6b3942df 100644
--- a/apps/landing/public/locales/en/pricing.json
+++ b/apps/landing/public/locales/en/pricing.json
@@ -45,9 +45,9 @@
"pricingDescription": "Get started for free. No login required.",
"pricingFaqDescription": "Everything you need to know about our plans and billing.",
"pricingFinalCtaDescription": "Create your first poll in under a minute. Upgrade when you need more.",
- "pricingFinalCtaTitle": "Try Rallly for free",
+ "pricingFinalCtaTitle": "Get started for free",
"pricingSubtitle": "Upgrade to a paid plan to get access to premium features",
- "pricingTitle": "Get started for free",
+ "pricingTitle": "Pricing",
"recommended": "Recommended",
"removeAttribution": "Remove attribution",
"removeAttributionBenefitDescription": "Hide \"Powered by Rallly\" from your participants",
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.tsx
index a54a39730..76e8190db 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
@@ -54,6 +54,7 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
+ wideDescription
title={t("doodleAlternative", {
ns: "home",
})}
diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/assistants/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/assistants/page.tsx
index 8e962030d..585765444 100644
--- a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/assistants/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/assistants/page.tsx
@@ -37,6 +37,7 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
+ wideDescription
title={t("assistantsTitle", {
ns: "home",
defaultValue: "Scheduling for assistants",
diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/committees/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/committees/page.tsx
index 3c95823e7..a24584a75 100644
--- a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/committees/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/committees/page.tsx
@@ -38,6 +38,7 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
+ wideDescription
title={t("committeesTitle", {
ns: "home",
defaultValue: "Scheduling for committees and boards",
diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/legal/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/legal/page.tsx
index fbd22b140..6fb0336e0 100644
--- a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/legal/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/legal/page.tsx
@@ -37,6 +37,7 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
+ wideDescription
title={t("legalTitle", {
ns: "home",
defaultValue: "Scheduling for law firms and mediators",
diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/sports-clubs/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/sports-clubs/page.tsx
index 3a991f116..c2c8e65fd 100644
--- a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/sports-clubs/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/sports-clubs/page.tsx
@@ -37,6 +37,7 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
+ wideDescription
title={t("sportsClubsTitle", {
ns: "home",
defaultValue: "Scheduling for sports clubs and teams",
diff --git a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/thesis-defense/page.tsx b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/thesis-defense/page.tsx
index 9dec63dff..da7bc72ae 100644
--- a/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/thesis-defense/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/(seo)/scheduling-for/thesis-defense/page.tsx
@@ -37,6 +37,7 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
+ wideDescription
title={t("thesisDefenseTitle", {
ns: "home",
defaultValue: "Scheduling a thesis defense",
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.tsx
index 539589434..b2a82f3d4 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
@@ -54,6 +54,7 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
+ wideDescription
title={t("when2meetAlternative", {
ns: "home",
defaultValue: "A modern When2meet alternative",
diff --git a/apps/landing/src/app/[locale]/(main)/page.tsx b/apps/landing/src/app/[locale]/(main)/page.tsx
index 25a35f156..45d755f79 100644
--- a/apps/landing/src/app/[locale]/(main)/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/page.tsx
@@ -265,7 +265,7 @@ export default async function Page(props: {
t={t}
ns="home"
i18nKey="finalCtaDescription"
- defaults="Set up your poll in under a minute. No account, no downloads, no chasing people for replies."
+ defaults="Set up your poll in under a minute. No account, no chasing people for replies."
/>
}
buttonLabel={
diff --git a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
index f68bfbb7d..c8a980e00 100644
--- a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx
@@ -93,10 +93,10 @@ export default async function Page(props: {
<div className="divide-y">
<Section>
<Hero
- className="text-center"
+ centered
title={t("pricingTitle", {
ns: "pricing",
- defaultValue: "Get started for free",
+ defaultValue: "Pricing",
})}
description={t("pricingSubtitle", {
ns: "pricing",
@@ -932,7 +932,7 @@ export default async function Page(props: {
t={t}
ns="pricing"
i18nKey="pricingFinalCtaTitle"
- defaults="Try Rallly for free"
+ defaults="Get started for free"
/>
}
description={
diff --git a/apps/landing/src/app/[locale]/(main)/security/page.tsx b/apps/landing/src/app/[locale]/(main)/security/page.tsx
index 98bfd4a41..e0e2d89cc 100644
--- a/apps/landing/src/app/[locale]/(main)/security/page.tsx
+++ b/apps/landing/src/app/[locale]/(main)/security/page.tsx
@@ -149,8 +149,10 @@ export default async function Security(props: {
<Perimeter />
</div>
<div className="relative">
+ {/* Capped below the Hero widths so the copy clears the Perimeter at xl. */}
<Hero
className="max-w-2xl"
+ wideDescription
title="Securely scheduling for thousands of organizations"
description="Every part of Rallly is built to protect your data, on trusted infrastructure with a codebase anyone can audit. Your schedule is nobody's business but yours."
/>
@@ -396,17 +398,17 @@ export default async function Security(props: {
</SectionContent>
</Section>
<Section>
- <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">
+ <div className="text-center">
+ <h2 className="mx-auto max-w-[700px] text-balance font-medium text-2xl text-gray-800 leading-tight tracking-tight sm:text-4xl">
Evaluating Rallly for your organization?
</h2>
- <p className="max-w-prose text-pretty text-base/6 text-gray-500 sm:text-lg">
+ <p className="mx-auto mt-4 max-w-prose text-pretty text-base/6 text-gray-500 sm:text-lg">
We are happy to answer questions, complete your security review, or
talk through deployment options, including self-hosting on your own
infrastructure.
</p>
</div>
- <div className="mt-6 flex flex-wrap items-center gap-4">
+ <div className="mt-8 flex flex-wrap items-center justify-center gap-4">
<a
className={buttonVariants({ size: "lg", variant: "primary" })}
href="mailto:[email protected]"
diff --git a/apps/landing/src/app/[locale]/globals.css b/apps/landing/src/app/[locale]/globals.css
index a0315e96c..fc9b403d7 100644
--- a/apps/landing/src/app/[locale]/globals.css
+++ b/apps/landing/src/app/[locale]/globals.css
@@ -7,6 +7,15 @@ body {
@apply bg-gray-100;
}
+@theme {
+ --font-display: var(--font-archivo), ui-sans-serif, system-ui, sans-serif;
+}
+
+h1,
+h2 {
+ font-family: var(--font-display);
+}
+
/* Long-form content styles (blog posts, policy pages) */
.longform {
h2,
diff --git a/apps/landing/src/app/[locale]/layout.tsx b/apps/landing/src/app/[locale]/layout.tsx
index 06ab848f4..b5f7e39cf 100644
--- a/apps/landing/src/app/[locale]/layout.tsx
+++ b/apps/landing/src/app/[locale]/layout.tsx
@@ -2,10 +2,12 @@ import "./globals.css";
import languages from "@rallly/languages";
import { PostHogInit } from "@rallly/posthog/client";
+import { cn } from "@rallly/ui";
import { Analytics } from "@vercel/analytics/react";
import { domAnimation, LazyMotion } from "motion/react";
import type { Metadata, Viewport } from "next";
import { cacheLife } from "next/cache";
+import { display } from "@/fonts/display";
import { sans } from "@/fonts/sans";
import { I18nProvider } from "@/i18n/client/i18n-provider";
import { getTranslation } from "@/i18n/server";
@@ -32,7 +34,10 @@ export default async function Root(props: {
const translations = i18n.store.data;
return (
- <html lang={i18n.resolvedLanguage} className={sans.className}>
+ <html
+ lang={i18n.resolvedLanguage}
+ className={cn(sans.className, display.variable)}
+ >
<body>
<LazyMotion features={domAnimation}>
<I18nProvider locale={i18n.resolvedLanguage} resources={translations}>
diff --git a/apps/landing/src/components/home/cta.tsx b/apps/landing/src/components/home/cta.tsx
index cb0ee29a0..9e2535216 100644
--- a/apps/landing/src/components/home/cta.tsx
+++ b/apps/landing/src/components/home/cta.tsx
@@ -17,15 +17,15 @@ export function Cta({
}) {
return (
<CaptureOnView event="landing:final_cta_view">
- <div className="grid gap-4 text-center sm:grid-cols-2 sm:gap-6 sm:text-left">
- <h2 className="text-balance font-medium text-2xl text-gray-800 leading-tight tracking-tight sm:text-4xl">
+ <div className="text-center">
+ <h2 className="mx-auto max-w-[700px] text-balance font-medium text-2xl text-gray-800 leading-tight tracking-tight sm:text-4xl">
{title}
</h2>
- <p className="mx-auto max-w-prose text-pretty text-base/6 text-gray-500 sm:mx-0 sm:text-balance sm:text-lg">
+ <p className="mx-auto mt-4 max-w-prose text-pretty text-base/6 text-gray-500 sm:text-lg">
{description}
</p>
</div>
- <div className="mt-6 flex flex-col items-center gap-4 sm:items-start">
+ <div className="mt-8 flex flex-col items-center gap-4">
<CtaButton size="lg" captureEvent="landing:final_cta_click" cta="final">
{buttonLabel}
</CtaButton>
diff --git a/apps/landing/src/components/home/hero-demo/try-it-prompt.tsx b/apps/landing/src/components/home/hero-demo/try-it-prompt.tsx
index 12fd47f49..6fbf306c4 100644
--- a/apps/landing/src/components/home/hero-demo/try-it-prompt.tsx
+++ b/apps/landing/src/components/home/hero-demo/try-it-prompt.tsx
@@ -23,9 +23,9 @@ export const TryItPrompt = ({ text }: { text: string }) => (
handwritten.className,
)}
>
- <span className="whitespace-nowrap rounded-full bg-gray-800/80 px-2.5 py-1 text-sm text-white backdrop-blur-sm">
+ <span className="whitespace-nowrap rounded-full bg-gray-900 px-2.5 py-1 text-sm text-white">
{text}
</span>
- <ScribbleArrow className="mt-2.5 -ml-0.5 size-6 text-gray-800/80" />
+ <ScribbleArrow className="mt-2.5 -ml-0.5 size-6 text-gray-900" />
</div>
);
diff --git a/apps/landing/src/components/home/hero.tsx b/apps/landing/src/components/home/hero.tsx
index caad65262..f0b22b0a3 100644
--- a/apps/landing/src/components/home/hero.tsx
+++ b/apps/landing/src/components/home/hero.tsx
@@ -1,3 +1,4 @@
+import { cn } from "@rallly/ui";
import { Badge } from "@rallly/ui/badge";
import { ArrowRightIcon } from "lucide-react";
import type * as React from "react";
@@ -16,7 +17,7 @@ export function HeroAnnouncement({
<LinkBase
href={href}
prefetch={false}
- className="group -ml-1 inline-flex max-w-full items-center gap-x-2 rounded-full bg-gray-200/50 p-1 pr-3 text-sm transition-all hover:bg-gray-200"
+ className="group -ml-1 inline-flex max-w-full items-center gap-x-2 rounded-full p-1 pr-3 text-sm transition-colors hover:bg-gray-200/50"
>
<Badge variant="primary" className="shrink-0 rounded-full">
{badge}
@@ -36,19 +37,34 @@ export function Hero({
announcement,
children,
className,
+ centered = false,
+ wideDescription = false,
}: {
title: React.ReactNode;
description: React.ReactNode;
announcement?: React.ReactNode;
children?: React.ReactNode;
className?: string;
+ centered?: boolean;
+ wideDescription?: boolean;
}) {
return (
- <div className={className}>
- <h1 className="text-balance font-medium text-3xl text-gray-800 tracking-tight sm:text-5xl">
+ <div className={cn(centered && "text-center", className)}>
+ <h1
+ className={cn(
+ "max-w-[700px] text-balance font-medium text-3xl text-gray-800 tracking-tight sm:text-[2.75rem]/none",
+ centered && "mx-auto",
+ )}
+ >
{title}
</h1>
- <p className="mt-4 text-balance font-normal text-base/6 text-gray-500 sm:text-lg sm:leading-relaxed">
+ <p
+ className={cn(
+ "mt-4 text-pretty font-normal text-base/6 text-gray-500 sm:text-lg sm:leading-relaxed",
+ wideDescription ? "max-w-[760px]" : "max-w-[620px]",
+ centered && "mx-auto",
+ )}
+ >
{description}
</p>
{announcement ? <div className="mt-8">{announcement}</div> : null}
diff --git a/apps/landing/src/fonts/display.ts b/apps/landing/src/fonts/display.ts
new file mode 100644
index 000000000..3eda6f569
--- /dev/null
+++ b/apps/landing/src/fonts/display.ts
@@ -0,0 +1,7 @@
+import { Archivo } from "next/font/google";
+
+export const display = Archivo({
+ subsets: ["latin"],
+ display: "swap",
+ variable: "--font-archivo",
+});