Skip to content

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

💄 Center the final CTA content on mobile (#3019)

Luke Vellaf587c3d3c111
diff --git a/apps/landing/src/components/home/cta.tsx b/apps/landing/src/components/home/cta.tsx
index d1a48965b..1c8b74979 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 (
<FadeIn amount="all" captureOnEnter="landing:final_cta_view">
- <div className="grid gap-4 sm:grid-cols-2 sm:gap-6">
+ <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">
{title}
</h2>
- <p className="max-w-prose text-pretty text-base/6 text-gray-500 sm:text-balance sm:text-lg">
+ <p className="mx-auto max-w-prose text-pretty text-base/6 text-gray-500 sm:mx-0 sm:text-balance sm:text-lg">
{description}
</p>
</div>
- <div className="mt-6 flex flex-col items-start gap-4">
+ <div className="mt-6 flex flex-col items-center gap-4 sm:items-start">
<CtaButton size="lg" captureEvent="landing:final_cta_click">
{buttonLabel}
</CtaButton>