Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔎 Add SEO pages (#791)
Luke Vella9fb3f070dfae
diff --git a/apps/landing/public/locales/en/common.json b/apps/landing/public/locales/en/common.jsonindex ea940c2a5..4c63d4976 100644--- a/apps/landing/public/locales/en/common.json+++ b/apps/landing/public/locales/en/common.json@@ -16,5 +16,13 @@"notFoundDescription": "We couldn't find the page you're looking for.","goToHome": "Go to home","goToApp": "Go to app",- "pricing": "Pricing"+ "pricing": "Pricing",+ "bestDoodleAlternative": "Best Doodle Alternative",+ "freeSchedulingPoll": "Free Scheduling Poll",+ "findATime": "Find a Time",+ "getStarted": "Get started",+ "metaTitle": "Rallly - Schedule Group Meetings",+ "metaDescription": "Create polls and vote to find the best day or time. A free alternative to Doodle.",+ "availabilityPoll": "Availability Poll",+ "solutions": "Solutions"}diff --git a/apps/landing/public/locales/en/home.json b/apps/landing/public/locales/en/home.jsonindex 85b90e263..8f9c70122 100644--- a/apps/landing/public/locales/en/home.json+++ b/apps/landing/public/locales/en/home.json@@ -3,9 +3,6 @@"opensource": "We're Open Source!","startUsOnGithub": "Star us on Github","noLoginRequired": "No login required",- "metaTitle": "Rallly - Schedule Group Meetings",- "metaDescription": "Create polls and vote to find the best day or time. A free alternative to Doodle.",- "getStarted": "Get started","headline": "Ditch the back-and-forth emails","subheading": "Streamline your scheduling process and save time","pcmagQuote": "“Set up a scheduling poll in as little time as possible.”",@@ -18,5 +15,24 @@"statsUsersRegistered": "45k+ registered users","statsPollsCreated": "100k+ polls created","statsLanguagesSupported": "10+ languages supported",- "hint": "It's free! No login required."+ "hint": "It's free! No login required.",+ "doodleAlternative": "The Best Free Doodle Alternative",+ "doodleAlternativeDescription": "Rallly is the Doodle alternative that everyone is looking for. Thousands of users have already made the switch and are now enjoying professional ad-free meeting polls in an intuitive and easy-to-use interface. ",+ "availabilityPollCta": "Create an Availability Poll",+ "availabilityPollMetaTitle": "Availability Poll | Streamline Scheduling with Rallly",+ "availabilityPollMetaDescription": "Schedule meetings and events seamlessly with Rallly's Availability Poll. Ensure everyone's availability is considered for a smooth and efficient planning experience.",+ "availabilityPollTitle": "Availability Polls",+ "availabilityPollDescription": "Tired of struggling to find a meeting time that works for everyone? Streamline your scheduling with an availability poll - a powerful tool designed to simplify and optimize your event and meeting planning.",+ "createAPoll": "Create a Meeting Poll",+ "doodleAlternativeMetaTitle": "Best Free Doodle Alternative | Rallly",+ "doodleAlternativeMetaDescription": "Looking for a Doodle alternative? Try Rallly! It's free, easy to use, and doesn't require an account.",+ "findATimeMetaTitle": "Find a Time to Meet | Rallly",+ "findATimeMetaDescription": "Create a meeting poll in seconds, no login required.",+ "findATimeTitle": "Find a Time to Meet",+ "findATimeDescription": "Create a meeting poll and let your participants vote on the best time to meet.",+ "createASchedulingPoll": "Create a Scheduling Poll",+ "freeSchedulingPollMetaTitle": "Free Scheduling Poll | Rallly",+ "freeSchedulingPollMetaDescription": "Create a free scheduling poll in seconds. Ideal for organizing meetings, events, conferences, sports teams and more.",+ "freeSchedulingPollTitle": "Looking for a free scheduling poll?",+ "freeSchedulingPollDescription": "Rallly let's you create beautiful and easy to use scheduling polls so you can find the best time for your next event."}diff --git a/apps/landing/src/components/home/bonus.tsx b/apps/landing/src/components/home/bonus.tsxindex 4cc469240..815838ed4 100644--- a/apps/landing/src/components/home/bonus.tsx+++ b/apps/landing/src/components/home/bonus.tsx@@ -27,7 +27,7 @@ const Item = ({type: "spring",bounce: 0.5,}}- initial={{ opacity: 0, y: -100 }}+ initial={{ opacity: 0, y: -50 }}whileInView={{ opacity: 1, y: 0 }}viewport={{ once: true, amount: "all" }}className="flex justify-center"diff --git a/apps/landing/src/components/home/hero.tsx b/apps/landing/src/components/home/hero.tsxindex e83d36bdf..e3c84117d 100644--- a/apps/landing/src/components/home/hero.tsx+++ b/apps/landing/src/components/home/hero.tsx@@ -4,7 +4,6 @@ import { preventWidows } from "@rallly/utils";import { m } from "framer-motion";import Image from "next/image";import Link from "next/link";-import { useTranslation } from "next-i18next";import * as React from "react";import { Trans } from "@/components/trans";@@ -70,8 +69,15 @@ const Screenshot = () => {);};-const Hero = () => {- const { t } = useTranslation();+export const MarketingHero = ({+ title,+ description,+ callToAction,+}: {+ title: string;+ description: string;+ callToAction: React.ReactNode;+}) => {return (<m.divtransition={{@@ -107,19 +113,11 @@ const Hero = () => {</span></Link></m.div>- <m.h1 className="mb-4 text-4xl font-bold tracking-tight text-gray-800 sm:text-5xl">- {preventWidows(- t("home:headline", {- defaultValue: "Ditch the back-and-forth emails",- }),- )}- </m.h1>- <p className="text-lg text-gray-500 sm:text-xl">- {preventWidows(- t("home:subheading", {- defaultValue: "Streamline your scheduling process and save time",- }),- )}+ <h1 className="mb-4 text-4xl font-bold tracking-tight sm:text-5xl">+ {preventWidows(title)}+ </h1>+ <p className="mx-auto max-w-3xl text-lg text-gray-500 sm:text-xl sm:leading-relaxed">+ {preventWidows(description)}</p><div className="my-8 flex flex-col items-center justify-center gap-4"><Button@@ -129,7 +127,7 @@ const Hero = () => {asChild><Link href={linkToApp("/new")}>- <Trans i18nKey="home:getStarted" defaults="Get started" />+ {callToAction}<ChevronRightIcon className="-ml-1 h-5 w-5 transition-transform group-active:translate-x-1" /></Link></Button>@@ -143,5 +141,3 @@ const Hero = () => {</m.div>);};--export default Hero;diff --git a/apps/landing/src/components/layouts/page-layout/footer.tsx b/apps/landing/src/components/layouts/page-layout/footer.tsxindex bf807c839..82b4d0396 100644--- a/apps/landing/src/components/layouts/page-layout/footer.tsx+++ b/apps/landing/src/components/layouts/page-layout/footer.tsx@@ -52,7 +52,7 @@ export const LanguageSelect = () => {const Footer: React.FunctionComponent = () => {return (<div className="mx-auto space-y-8">- <div className="space-y-8 lg:flex lg:space-x-16 lg:space-y-0">+ <div className="space-y-16 lg:flex lg:space-x-8 lg:space-y-0"><div className=" lg:w-2/6"><Imagesrc="/logo-grayscale.svg"@@ -116,7 +116,7 @@ const Footer: React.FunctionComponent = () => {<div className="mb-8 font-medium"><Trans i18nKey="links" defaults="Links" /></div>- <ul className="space-y-2">+ <ul className="grid gap-2 text-sm"><li><LinkclassName="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"@@ -154,9 +154,100 @@ const Footer: React.FunctionComponent = () => {</div><div className="lg:w-1/6"><div className="mb-8 font-medium">+ <Trans i18nKey="solutions" defaults="Solutions" />+ </div>+ <ul className="grid gap-2 text-sm">+ <li>+ <Link+ className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"+ href="/best-doodle-alternative"+ >+ <Trans+ i18nKey="bestDoodleAlternative"+ defaults="Best Doodle Alternative"+ />+ </Link>+ </li>+ <li>+ <Link+ className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"+ href="/free-scheduling-poll"+ >+ <Trans+ i18nKey="freeSchedulingPoll"+ defaults="Free Scheduling Poll"+ />+ </Link>+ </li>+ <li>+ <Link+ className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"+ href="/find-a-time"+ >+ <Trans i18nKey="findATime" defaults="Find a Time" />+ </Link>+ </li>+ <li>+ <Link+ className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"+ href="/availability-poll"+ >+ <Trans+ i18nKey="availabilityPoll"+ defaults="Availability Poll"+ />+ </Link>+ </li>+ </ul>+ </div>+ <div className="lg:w-2/6">+ <div className="mb-8 font-medium">+ <Trans i18nKey="language" defaults="Language" />+ </div>+ <div className="mb-4">+ <LanguageSelect />+ </div>+ <Link+ href="https://support.rallly.co/contribute/translations"+ className="hover:border-primary-600 hover:text-primary-600 inline-flex items-center rounded-md border px-3 py-2 text-xs text-gray-500"+ >+ <LanguagesIcon className="mr-2 h-5 w-5" />+ <Trans i18nKey="volunteerTranslator" /> →+ </Link>+ </div>+ </div>+ <div className="flex flex-col justify-between gap-y-8 gap-x-8 sm:flex-row sm:items-end sm:pb-8">+ <ul className="flex flex-wrap gap-x-4 gap-y-1 text-sm leading-loose">+ <li>+ <Link+ href="/privacy-policy"+ className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"+ >+ <Trans i18nKey="privacyPolicy" />+ </Link>+ </li>+ <li>+ <Link+ href="/cookie-policy"+ className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"+ >+ <Trans i18nKey="cookiePolicy" />+ </Link>+ </li>+ <li>+ <Link+ href="/terms-of-use"+ className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"+ >+ <Trans i18nKey="termsOfUse" />+ </Link>+ </li>+ </ul>+ <div className="grid gap-2.5">+ <div className="text-sm tracking-tight sm:text-right"><Trans i18nKey="poweredBy" defaults="Powered by" /></div>- <div className="block space-y-4">+ <div className="flex flex-wrap items-center gap-y-2 gap-x-8 md:justify-end"><div><Linktarget="_blank"@@ -186,48 +277,7 @@ const Footer: React.FunctionComponent = () => {</div></div></div>- <div className="lg:w-2/6">- <div className="mb-8 font-medium">- <Trans i18nKey="language" defaults="Language" />- </div>- <div className="mb-4">- <LanguageSelect />- </div>- <Link- href="https://support.rallly.co/contribute/translations"- className="hover:border-primary-600 hover:text-primary-600 inline-flex items-center rounded-md border px-3 py-2 text-xs text-gray-500"- >- <LanguagesIcon className="mr-2 h-5 w-5" />- <Trans i18nKey="volunteerTranslator" /> →- </Link>- </div></div>- <ul className="flex gap-4 text-sm leading-loose">- <li>- <Link- href="/privacy-policy"- className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"- >- <Trans i18nKey="privacyPolicy" />- </Link>- </li>- <li>- <Link- href="/cookie-policy"- className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"- >- <Trans i18nKey="cookiePolicy" />- </Link>- </li>- <li>- <Link- href="/terms-of-use"- className="inline-block font-normal text-gray-500 hover:text-gray-800 hover:no-underline"- >- <Trans i18nKey="termsOfUse" />- </Link>- </li>- </ul></div>);};diff --git a/apps/landing/src/components/home.tsx b/apps/landing/src/components/marketing.tsxsimilarity index 94%rename from apps/landing/src/components/home.tsxrename to apps/landing/src/components/marketing.tsxindex 3e6d3938c..cd0d4cf36 100644--- a/apps/landing/src/components/home.tsx+++ b/apps/landing/src/components/marketing.tsx@@ -2,15 +2,12 @@ import { ArrowUpRight } from "@rallly/icons";import { m } from "framer-motion";import Image from "next/image";import Link from "next/link";-import { useTranslation } from "next-i18next";import { NextSeo } from "next-seo";import React from "react";import Bonus from "@/components/home/bonus";import { Trans } from "@/components/trans";-import Hero from "./home/hero";-// const UsedBy = () => {// return (// <div>@@ -80,6 +77,78 @@ import Hero from "./home/hero";// );// };+// const Testimonials = () => {+// return (+// <div>+// <h2 className="mb-12 text-center">Testimonials</h2>+// <div className="">+// {/* <Testimonial author="Dan">+// {`Rallly is the only service that meets all my needs and is 100%+// free. It's incredibly easy to use, no sign-in even required. And I+// trust rallly.co because the entire project is open source.`}+// </Testimonial>+// <Testimonial author="Robert">+// I was looking for something simple and clean (without tons of ads)+// that would be easy for me to administer and easy for others to use.+// This fit the bill perfectly.+// </Testimonial>+// <Testimonial author="Adrià">+// Awesome Doodle alternative. I love its open-source nature, and how+// easy it is to use thanks to its modern and clean UI.+// </Testimonial> */}+// </div>+// {/* <div className="mt-8 text-center">+// <Button className="rounded-full px-6" asChild>+// <Link+// target="_blank"+// href="https://www.trustpilot.com/evaluate/rallly.co"+// >+// <span>Share your experience</span>+// <ArrowRight className="h-4 w-4" />+// </Link>+// </Button>+// </div> */}+// </div>+// );+// };++// const Testimonial = ({+// author,+// children,+// logo,+// }: React.PropsWithChildren<{ author: string; logo?: string }>) => {+// return (+// <div className="relative flex flex-col space-y-4 rounded-md bg-gray-50 px-4 py-3 shadow-sm">+// <QuoteIcon className="h-4 w-4 text-gray-400" />+// <div className="flex justify-between">+// <div className="flex flex-col gap-2">+// <div className="font-semibold">{author}</div>+// <Image+// src="/static/images/stars-5.svg"+// width={100}+// height={30}+// alt="5 stars"+// />+// </div>+// {logo ? (+// <div className="relative h-16 w-16">+// <Image src={logo} fill alt="logo" />+// </div>+// ) : null}+// </div>+// <p className="grow text-sm leading-relaxed">{children}</p>+// <div className="relative h-8 w-24">+// <Image+// src="/trustpilot-logo.svg"+// fill+// alt="TrustPilot"+// style={{ objectPosition: "left", objectFit: "contain" }}+// />+// </div>+// </div>+// );+// };+const Mention = ({logo,children,@@ -187,78 +256,6 @@ const MentionedBy = () => {);};-// const Testimonials = () => {-// return (-// <div>-// <h2 className="mb-12 text-center">Testimonials</h2>-// <div className="">-// {/* <Testimonial author="Dan">-// {`Rallly is the only service that meets all my needs and is 100%-// free. It's incredibly easy to use, no sign-in even required. And I-// trust rallly.co because the entire project is open source.`}-// </Testimonial>-// <Testimonial author="Robert">-// I was looking for something simple and clean (without tons of ads)-// that would be easy for me to administer and easy for others to use.-// This fit the bill perfectly.-// </Testimonial>-// <Testimonial author="Adrià">-// Awesome Doodle alternative. I love its open-source nature, and how-// easy it is to use thanks to its modern and clean UI.-// </Testimonial> */}-// </div>-// {/* <div className="mt-8 text-center">-// <Button className="rounded-full px-6" asChild>-// <Link-// target="_blank"-// href="https://www.trustpilot.com/evaluate/rallly.co"-// >-// <span>Share your experience</span>-// <ArrowRight className="h-4 w-4" />-// </Link>-// </Button>-// </div> */}-// </div>-// );-// };--// const Testimonial = ({-// author,-// children,-// logo,-// }: React.PropsWithChildren<{ author: string; logo?: string }>) => {-// return (-// <div className="relative flex flex-col space-y-4 rounded-md bg-gray-50 px-4 py-3 shadow-sm">-// <QuoteIcon className="h-4 w-4 text-gray-400" />-// <div className="flex justify-between">-// <div className="flex flex-col gap-2">-// <div className="font-semibold">{author}</div>-// <Image-// src="/static/images/stars-5.svg"-// width={100}-// height={30}-// alt="5 stars"-// />-// </div>-// {logo ? (-// <div className="relative h-16 w-16">-// <Image src={logo} fill alt="logo" />-// </div>-// ) : null}-// </div>-// <p className="grow text-sm leading-relaxed">{children}</p>-// <div className="relative h-8 w-24">-// <Image-// src="/trustpilot-logo.svg"-// fill-// alt="TrustPilot"-// style={{ objectPosition: "left", objectFit: "contain" }}-// />-// </div>-// </div>-// );-// };-const BigTestimonial = () => {return (<m.div@@ -317,30 +314,18 @@ const BigTestimonial = () => {</m.div>);};-const Home = () => {- const { t } = useTranslation();++export const Marketing = ({+ children,+ ...props+}: React.PropsWithChildren<{ title: string; description: string }>) => {return (<div className="space-y-12 sm:space-y-24">- <NextSeo- title={t("home:metaTitle", {- defaultValue: "Rallly - Schedule Group Meetings",- })}- description={t("home:metaDescription", {- defaultValue:- "Create polls and vote to find the best day or time. A free alternative to Doodle.",- })}- twitter={{- handle: "@imlukevella",- site: "@ralllyco",- cardType: "summary_large_image",- }}- />- <Hero />+ <NextSeo {...props} />+ {children}<Bonus /><BigTestimonial /><MentionedBy /></div>);};--export default Home;diff --git a/apps/landing/src/pages/_app.tsx b/apps/landing/src/pages/_app.tsxindex 616cf71df..25c39999f 100644--- a/apps/landing/src/pages/_app.tsx+++ b/apps/landing/src/pages/_app.tsx@@ -63,6 +63,11 @@ const MyApp: NextPage<AppPropsWithLayout> = ({ Component, pageProps }) => {facebook={{appId: "920386682263077",}}+ twitter={{+ handle: "@imlukevella",+ site: "@ralllyco",+ cardType: "summary_large_image",+ }}/><Head><metadiff --git a/apps/landing/src/pages/availability-poll.tsx b/apps/landing/src/pages/availability-poll.tsxnew file mode 100644index 000000000..e0b706c18--- /dev/null+++ b/apps/landing/src/pages/availability-poll.tsx@@ -0,0 +1,45 @@+import { useTranslation } from "next-i18next";++import { MarketingHero } from "@/components/home/hero";+import { getPageLayout } from "@/components/layouts/page-layout";+import { Marketing } from "@/components/marketing";+import { Trans } from "@/components/trans";+import { NextPageWithLayout } from "@/types";+import { getStaticTranslations } from "@/utils/page-translations";++const Page: NextPageWithLayout = () => {+ const { t } = useTranslation(["home"]);+ return (+ <Marketing+ title={t("home:availabilityPollMetaTitle", {+ defaultValue: "Availability Poll | Streamline Scheduling with Rallly",+ })}+ description={t("home:availabilityPollMetaDescription", {+ defaultValue:+ "Schedule meetings and events seamlessly with Rallly's Availability Poll. Ensure everyone's availability is considered for a smooth and efficient planning experience.",+ })}+ >+ <MarketingHero+ title={t("home:availabilityPollTitle", {+ defaultValue: "Availability Polls",+ })}+ description={t("home:availabilityPollDescription", {+ defaultValue:+ "Tired of struggling to find a meeting time that works for everyone? Streamline your scheduling with an availability poll - a powerful tool designed to simplify and optimize your event and meeting planning.",+ })}+ callToAction={+ <Trans+ i18nKey="home:availabilityPollCta"+ defaults="Create an Availability Poll"+ />+ }+ />+ </Marketing>+ );+};++Page.getLayout = getPageLayout;++export default Page;++export const getStaticProps = getStaticTranslations(["home"]);diff --git a/apps/landing/src/pages/best-doodle-alternative.tsx b/apps/landing/src/pages/best-doodle-alternative.tsxnew file mode 100644index 000000000..444256368--- /dev/null+++ b/apps/landing/src/pages/best-doodle-alternative.tsx@@ -0,0 +1,42 @@+import { useTranslation } from "next-i18next";++import { MarketingHero } from "@/components/home/hero";+import { getPageLayout } from "@/components/layouts/page-layout";+import { Marketing } from "@/components/marketing";+import { Trans } from "@/components/trans";+import { NextPageWithLayout } from "@/types";+import { getStaticTranslations } from "@/utils/page-translations";++const Page: NextPageWithLayout = () => {+ const { t } = useTranslation(["home"]);+ return (+ <Marketing+ title={t("home:doodleAlternativeMetaTitle", {+ defaultValue: "Best Free Doodle Alternative | Rallly",+ })}+ description={t("home:doodleAlternativeMetaDescription", {+ defaultValue:+ "Looking for a Doodle alternative? Try Rallly! It's free, easy to use, and doesn't require an account.",+ })}+ >+ <MarketingHero+ title={t("home:doodleAlternative", {+ defaultValue: "The Best Free Doodle Alternative",+ })}+ description={t("home:doodleAlternativeDescription", {+ defaultValue:+ "Rallly is the Doodle alternative that everyone is looking for. Thousands of users have already made the switch and are now enjoying professional ad-free meeting polls in an intuitive and easy-to-use interface.",+ })}+ callToAction={+ <Trans i18nKey="home:createAPoll" defaults="Create a Meeting Poll" />+ }+ />+ </Marketing>+ );+};++Page.getLayout = getPageLayout;++export default Page;++export const getStaticProps = getStaticTranslations(["home"]);diff --git a/apps/landing/src/pages/find-a-time.tsx b/apps/landing/src/pages/find-a-time.tsxnew file mode 100644index 000000000..f46b9b505--- /dev/null+++ b/apps/landing/src/pages/find-a-time.tsx@@ -0,0 +1,41 @@+import { useTranslation } from "next-i18next";++import { MarketingHero } from "@/components/home/hero";+import { getPageLayout } from "@/components/layouts/page-layout";+import { Marketing } from "@/components/marketing";+import { Trans } from "@/components/trans";+import { NextPageWithLayout } from "@/types";+import { getStaticTranslations } from "@/utils/page-translations";++const Page: NextPageWithLayout = () => {+ const { t } = useTranslation(["home"]);+ return (+ <Marketing+ title={t("home:findATimeMetaTitle", {+ defaultValue: "Find a Time to Meet | Rallly",+ })}+ description={t("home:findATimeMetaDescription", {+ defaultValue: "Create a meeting poll in seconds, no login required.",+ })}+ >+ <MarketingHero+ title={t("home:findATimeTitle", {+ defaultValue: "Find a Time to Meet",+ })}+ description={t("home:findATimeDescription", {+ defaultValue:+ "Create a meeting poll and let your participants vote on the best time to meet.",+ })}+ callToAction={+ <Trans i18nKey="home:createAPoll" defaults="Create a Meeting Poll" />+ }+ />+ </Marketing>+ );+};++Page.getLayout = getPageLayout;++export default Page;++export const getStaticProps = getStaticTranslations(["home"]);diff --git a/apps/landing/src/pages/free-scheduling-poll.tsx b/apps/landing/src/pages/free-scheduling-poll.tsxnew file mode 100644index 000000000..8e107a678--- /dev/null+++ b/apps/landing/src/pages/free-scheduling-poll.tsx@@ -0,0 +1,45 @@+import { useTranslation } from "next-i18next";++import { MarketingHero } from "@/components/home/hero";+import { getPageLayout } from "@/components/layouts/page-layout";+import { Marketing } from "@/components/marketing";+import { Trans } from "@/components/trans";+import { NextPageWithLayout } from "@/types";+import { getStaticTranslations } from "@/utils/page-translations";++const Page: NextPageWithLayout = () => {+ const { t } = useTranslation(["home"]);+ return (+ <Marketing+ title={t("home:freeSchedulingPollMetaTitle", {+ defaultValue: "Free Scheduling Poll | Rallly",+ })}+ description={t("home:freeSchedulingPollMetaDescription", {+ defaultValue:+ "Create a free scheduling poll in seconds. Ideal for organizing meetings, events, conferences, sports teams and more.",+ })}+ >+ <MarketingHero+ title={t("home:freeSchedulingPollTitle", {+ defaultValue: "Looking for a free scheduling poll?",+ })}+ description={t("home:freeSchedulingPollDescription", {+ defaultValue:+ "Rallly let's you create beautiful and easy to use scheduling polls so you can find the best time for your next event.",+ })}+ callToAction={+ <Trans+ i18nKey="home:createASchedulingPoll"+ defaults="Create a Scheduling Poll"+ />+ }+ />+ </Marketing>+ );+};++Page.getLayout = getPageLayout;++export default Page;++export const getStaticProps = getStaticTranslations(["home"]);diff --git a/apps/landing/src/pages/index.tsx b/apps/landing/src/pages/index.tsxindex 305591808..050743831 100644--- a/apps/landing/src/pages/index.tsx+++ b/apps/landing/src/pages/index.tsx@@ -1,10 +1,33 @@-import Home from "@/components/home";+import { useTranslation } from "next-i18next";++import { MarketingHero } from "@/components/home/hero";import { getPageLayout } from "@/components/layouts/page-layout";+import { Marketing } from "@/components/marketing";+import { Trans } from "@/components/trans";import { NextPageWithLayout } from "@/types";import { getStaticTranslations } from "@/utils/page-translations";const Page: NextPageWithLayout = () => {- return <Home />;+ const { t } = useTranslation(["home"]);+ return (+ <Marketing+ title={t("metaTitle", {+ defaultValue: "Rallly - Schedule Group Meetings",+ })}+ description={t("metaDescription", {+ defaultValue:+ "Create polls and vote to find the best day or time. A free alternative to Doodle.",+ })}+ >+ <MarketingHero+ title={t("home:headline")}+ description={t("home:subheading", {+ defaultValue: "Streamline your scheduling process and save time",+ })}+ callToAction={<Trans i18nKey="getStarted" defaults="Get started" />}+ />+ </Marketing>+ );};Page.getLayout = getPageLayout;