Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔍 Add FAQPage structured data and correct inaccurate FAQ answers (#3535)
Luke Vella3080e920edde
diff --git a/apps/landing/public/locales/en/home.json b/apps/landing/public/locales/en/home.jsonindex ae86afd3b..7fbbb25b9 100644--- a/apps/landing/public/locales/en/home.json+++ b/apps/landing/public/locales/en/home.json@@ -2,7 +2,7 @@"announcementBadge": "New","assistantsDescription": "Whether you support one executive or a whole department, 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.","assistantsFaqBranding": "Can polls carry our company branding?",- "assistantsFaqBrandingAnswer": "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.",+ "assistantsFaqBrandingAnswer": "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.","assistantsFaqChasing": "Do I still have to chase people for replies?","assistantsFaqChasingAnswer": "You can see at a glance who has responded and who hasn't, and get an email as responses come in. That turns the usual round of follow-up emails into a single reminder to the few people still outstanding.","assistantsFaqExternalGuests": "Can I invite people outside my organization?",@@ -20,7 +20,7 @@"committeesFaqAvailability": "How do I ask members for their availability?","committeesFaqAvailabilityAnswer": "Create a <0>scheduling poll</0> with the dates you can offer and send members the link. Each member marks the dates they can make, and the responses build into a clear picture of the committee's availability without a single reply-all email.","committeesFaqBranding": "Can polls carry our organization branding?",- "committeesFaqBrandingAnswer": "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 looks like it came from your organization. Everything else is free to use.",+ "committeesFaqBrandingAnswer": "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 looks like it came from your organization.","committeesFaqExternalMembers": "Can external trustees and co-opted members respond?","committeesFaqExternalMembersAnswer": "Yes. Anyone with the link can reply whether or not they use Rallly, and whichever calendar system their own organization runs. There is no limit on how many members you invite, so trustees, co-opted members and advisers all respond the same way.","committeesFaqQuorum": "How do I tell whether we will have quorum?",@@ -164,7 +164,7 @@"legalFaqAllParties": "Everyone has to attend, not just a majority. Does that work?","legalFaqAllPartiesAnswer": "Yes. Every slot shows exactly who can attend and who cannot, rather than only a total, so you can find the dates where counsel for both sides, the clients and the neutral are all free, and rule out the ones where a required party said no.","legalFaqBranding": "Can polls carry our firm branding?",- "legalFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to another firm or a client looks like it came from your practice. Everything else is free to use.",+ "legalFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to another firm or a client looks like it came from your practice.","legalFaqConfidential": "Will the poll reveal our client or matter details?","legalFaqConfidentialAnswer": "Only what you choose to put in it. Many firms title the poll by matter reference rather than by party name, and leave the description empty. With <0>Rallly Pro</0> you can also hide participant names, so one side cannot see who else was invited, and hide votes until someone has responded themselves.","legalFaqOpposingCounsel": "Can opposing counsel respond without signing up?",@@ -226,7 +226,7 @@"socialProofTitle": "Loved for its simplicity","sportsClubsDescription": "Find out which nights your squad can actually make. Share one link with players, parents and coaches, see the numbers for every session, and book the pitch once. Free, with no limit on how many people you ask.","sportsClubsFaqBranding": "Can polls carry our club badge?",- "sportsClubsFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send out looks like it came from the club. Everything else is free to use.",+ "sportsClubsFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send out looks like it came from the club.","sportsClubsFaqNoApp": "Do players need to download an app or sign up?","sportsClubsFaqNoAppAnswer": "No. Anyone with the link can respond straight from their phone browser, which matters when you are sharing it into a team group chat. Only you, as the organizer, need an account, and creating one is free.","sportsClubsFaqParents": "Can parents respond on behalf of their child?",@@ -244,7 +244,7 @@"subheading": "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.","thesisDefenseDescription": "Line up the supervisor, the internal examiner and an external in another country without a month of email. Share one link, let each examiner mark what works in their own time zone, and confirm the slot. Free, and examiners do not need an account.","thesisDefenseFaqBranding": "Can polls carry our university branding?",- "thesisDefenseFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to an external examiner looks like it came from your department. Everything else is free to use.",+ "thesisDefenseFaqBrandingAnswer": "With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to an external examiner looks like it came from your department.","thesisDefenseFaqEveryone": "Everyone has to attend, not just most people. Does that work?","thesisDefenseFaqEveryoneAnswer": "Yes. Every slot shows exactly who can make it and who cannot, rather than only a total, so you can find the slots where the whole panel is free and rule out the ones where a required examiner said no. If none work, you offer another round of dates.","thesisDefenseFaqExternal": "Can an external examiner respond without an account?",diff --git a/apps/landing/public/locales/en/pricing.json b/apps/landing/public/locales/en/pricing.jsonindex d2889fa5f..0a0ba3c85 100644--- a/apps/landing/public/locales/en/pricing.json+++ b/apps/landing/public/locales/en/pricing.json@@ -53,8 +53,8 @@"planFreeDescription": "For casual users","planProDescription": "For power users and professionals","pollLimit": "Is there a limit on how many polls I can create?",- "pollLimitAnswer": "No. There is no limit on the number of polls you can create or the number of people who can vote on them, on any plan. On the free plan, polls are deleted once all their dates have passed and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list.",- "pollLimitAnswerOpenPollLimit": "There is no limit on the number of polls you can create or the number of people who can vote on them. On the free plan, up to {count} polls can be open and collecting votes at a time; finalize or close one to make room for another. Pro has no limit. On the free plan, polls are deleted once all their dates have passed and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list.",+ "pollLimitAnswer": "No. There is no limit on the number of polls you can create or the number of people who can vote on them, on any plan. On the free plan, polls are deleted once all their dates are more than 30 days in the past and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list.",+ "pollLimitAnswerOpenPollLimit": "There is no limit on the number of polls you can create or the number of people who can vote on them. On the free plan, up to {count} polls can be open and collecting votes at a time; finalize or close one to make room for another. Pro has no limit. On the free plan, polls are deleted once all their dates are more than 30 days in the past and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list.","pricingDescription": "Get started for free. No login required.","pricingFinalCtaDescription": "Create your first poll in under a minute. Upgrade when you need more.","pricingFinalCtaTitle": "Get started for free",@@ -71,7 +71,7 @@"webhooks": "Webhooks","webhooksDescription": "Notify your own systems when polls and responses change. <a>Read the webhook docs</a>","whenPollInactive": "When does a poll become inactive?",- "whenPollInactiveAnswer": "Polls become inactive when all date options are in the past AND there has been no activity for over 30 days. Activity includes new votes, comments, or changes to the poll. Inactive polls are automatically deleted if you do not have a paid subscription.",+ "whenPollInactiveAnswer": "Polls become inactive when all date options are more than 30 days in the past and there has been no activity for 30 days. Activity includes new votes, comments, or changes to the poll. Inactive polls are automatically deleted if you do not have a paid subscription.","whyUpgrade": "Why should I upgrade?","whyUpgradeAnswer2": "Upgrading to a paid plan makes sense if you use Rallly often or use it for work. The current subscription rate is a special early adopter rate and will increase in the future. By upgrading now, you will get early access to new, high-quality scheduling tools as they are released and lock in your subscription rate so you won't be affected by future price increases.","yearlySavePercent": "Save {percent}%"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.tsxindex 45ad545cb..2ef909227 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@@ -154,7 +154,7 @@ export default async function Page(props: {t={t}ns="home"i18nKey="assistantsFaqBrandingAnswer"- defaults="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."+ defaults="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."components={[<LinkBasekey="pricing"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.tsxindex c82472d39..ee6da737b 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@@ -178,7 +178,7 @@ export default async function Page(props: {t={t}ns="home"i18nKey="committeesFaqBrandingAnswer"- defaults="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 looks like it came from your organization. Everything else is free to use."+ defaults="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 looks like it came from your organization."components={[<LinkBasekey="pricing"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.tsxindex cc41afad3..0522a4dc5 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@@ -161,7 +161,7 @@ export default async function Page(props: {t={t}ns="home"i18nKey="legalFaqBrandingAnswer"- defaults="With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to another firm or a client looks like it came from your practice. Everything else is free to use."+ defaults="With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to another firm or a client looks like it came from your practice."components={[<LinkBasekey="pricing"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.tsxindex 13af6503c..3b9421505 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@@ -154,7 +154,7 @@ export default async function Page(props: {t={t}ns="home"i18nKey="sportsClubsFaqBrandingAnswer"- defaults="With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send out looks like it came from the club. Everything else is free to use."+ defaults="With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send out looks like it came from the club."components={[<LinkBasekey="pricing"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.tsxindex 96641f91d..6a2b54a94 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@@ -154,7 +154,7 @@ export default async function Page(props: {t={t}ns="home"i18nKey="thesisDefenseFaqBrandingAnswer"- defaults="With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to an external examiner looks like it came from your department. Everything else is free to use."+ defaults="With <0>Rallly Pro</0> you can add your own logo and colours and remove Rallly attribution, so a poll you send to an external examiner looks like it came from your department."components={[<LinkBasekey="pricing"diff --git a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx b/apps/landing/src/app/[locale]/(main)/pricing/page.tsxindex bccac77fb..b6c584f97 100644--- a/apps/landing/src/app/[locale]/(main)/pricing/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/pricing/page.tsx@@ -982,7 +982,7 @@ export default async function Page(props: {t={t}ns="pricing"i18nKey="pollLimitAnswerOpenPollLimit"- defaults="There is no limit on the number of polls you can create or the number of people who can vote on them. On the free plan, up to {count} polls can be open and collecting votes at a time; finalize or close one to make room for another. Pro has no limit. On the free plan, polls are deleted once all their dates have passed and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list."+ defaults="There is no limit on the number of polls you can create or the number of people who can vote on them. On the free plan, up to {count} polls can be open and collecting votes at a time; finalize or close one to make room for another. Pro has no limit. On the free plan, polls are deleted once all their dates are more than 30 days in the past and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list."values={{ count: FREE_OPEN_POLL_LIMIT }}/>) : (@@ -990,7 +990,7 @@ export default async function Page(props: {t={t}ns="pricing"i18nKey="pollLimitAnswer"- defaults="No. There is no limit on the number of polls you can create or the number of people who can vote on them, on any plan. On the free plan, polls are deleted once all their dates have passed and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list."+ defaults="No. There is no limit on the number of polls you can create or the number of people who can vote on them, on any plan. On the free plan, polls are deleted once all their dates are more than 30 days in the past and there has been no activity for 30 days, and some features such as custom branding and advanced poll settings are only available on a paid plan. See the comparison table above for the full list."/>)}</FaqItem>@@ -1025,7 +1025,7 @@ export default async function Page(props: {t={t}ns="pricing"i18nKey="whenPollInactiveAnswer"- defaults="Polls become inactive when all date options are in the past AND there has been no activity for over 30 days. Activity includes new votes, comments, or changes to the poll. Inactive polls are automatically deleted if you do not have a paid subscription."+ defaults="Polls become inactive when all date options are more than 30 days in the past and there has been no activity for 30 days. Activity includes new votes, comments, or changes to the poll. Inactive polls are automatically deleted if you do not have a paid subscription."/></FaqItem><FaqItemdiff --git a/apps/landing/src/app/[locale]/(main)/security/page.tsx b/apps/landing/src/app/[locale]/(main)/security/page.tsxindex 93d5b3053..5e83afa15 100644--- a/apps/landing/src/app/[locale]/(main)/security/page.tsx+++ b/apps/landing/src/app/[locale]/(main)/security/page.tsx@@ -326,8 +326,10 @@ export default async function Security(props: {and your account at any time. Account deletion starts a 7 day recoverywindow, after which your data is permanently erased and remainingbackup copies expire on our database provider's retention- schedule. Inactive polls are automatically scheduled for deletion with- a 30 day grace period and advance notice. On request, we delete an+ schedule. On the free plan, a poll is deleted automatically once all+ its dates are more than 30 days in the past and there has been no+ activity on it for 30 days, then permanently erased 7 days later.+ Polls in a Pro space are kept. On request, we delete anorganization's data and confirm deletion in writing.</FaqItem><FaqItem question="Do you hold SOC 2 or ISO 27001 certification?">diff --git a/apps/landing/src/components/home/faq.tsx b/apps/landing/src/components/home/faq.tsxindex b5a0a6ca4..2e45cbcc5 100644--- a/apps/landing/src/components/home/faq.tsx+++ b/apps/landing/src/components/home/faq.tsx@@ -1,6 +1,7 @@import { PlusIcon } from "lucide-react";import * as React from "react";import { Trans } from "react-i18next/TransWithoutContext";+import { JsonLd } from "@/components/json-ld";import {SectionContent,SectionDescription,@@ -55,6 +56,62 @@ export function Faq({);}+type TransProps = {+ t: (key: string, options: Record<string, unknown>) => string;+ ns?: string;+ i18nKey: string;+ defaults?: string;+ values?: Record<string, unknown>;+};++/**+ * Reads the text a FAQ question or answer renders, so structured data always+ * matches the visible copy in the page's language.+ */+function toPlainText(node: React.ReactNode): string {+ if (typeof node === "string" || typeof node === "number") {+ return String(node);+ }+ if (Array.isArray(node)) {+ return node.map(toPlainText).join("");+ }+ if (!React.isValidElement(node)) {+ return "";+ }+ if (node.type === Trans) {+ const { t, ns, i18nKey, defaults, values } = node.props as TransProps;+ return t(i18nKey, { ns, defaultValue: defaults, ...values }).replace(+ /<\/?[\w-]+\s*\/?>/g,+ "",+ );+ }+ return toPlainText((node.props as { children?: React.ReactNode }).children);+}++function faqPageSchema(children: React.ReactNode) {+ const mainEntity = React.Children.toArray(children).flatMap((child) => {+ if (!React.isValidElement<React.ComponentProps<typeof FaqItem>>(child)) {+ return [];+ }+ const name = toPlainText(child.props.question).replace(/\s+/g, " ").trim();+ const text = toPlainText(child.props.children).replace(/\s+/g, " ").trim();+ return name && text+ ? [+ {+ "@type": "Question",+ name,+ acceptedAnswer: { "@type": "Answer", text },+ },+ ]+ : [];+ });+ return {+ "@context": "https://schema.org",+ "@type": "FAQPage",+ mainEntity,+ };+}+export async function FaqSection({locale,title,@@ -67,6 +124,7 @@ export async function FaqSection({const { t, i18n } = await getTranslation<"home">(locale, "home");return (<SectionSplit>+ <JsonLd data={faqPageSchema(children)} /><SectionHeading><SectionTitle>{title}</SectionTitle><SectionDescription>