Skip to content

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

💄 Polish landing page footer spacing and final CTA size

Luke Vella9150c1de7d19
diff --git a/apps/landing/src/app/[locale]/(main)/footer.tsx b/apps/landing/src/app/[locale]/(main)/footer.tsx
index ad680f4e9..a70278972 100644
--- a/apps/landing/src/app/[locale]/(main)/footer.tsx
+++ b/apps/landing/src/app/[locale]/(main)/footer.tsx
@@ -15,7 +15,7 @@ export const Footer = async ({ locale }: { locale: string }) => {
<div className="mx-auto space-y-8">
<div className="space-y-16 lg:flex lg:space-x-8 lg:space-y-0">
<div className="lg:mr-16 lg:w-1/4">
- <div className="relative h-[30px] w-[30px]">
+ <div className="relative size-8">
<Image
src="/logo-footer.svg"
fill
@@ -79,7 +79,7 @@ export const Footer = async ({ locale }: { locale: string }) => {
</div>
</div>
<div className="lg:flex-1">
- <div className="mb-8 flex h-[30px] items-center font-medium">
+ <div className="mb-6 flex h-8 items-center font-medium">
<Trans t={t} ns="common" i18nKey="product" defaults="Product" />
</div>
<ul className="grid gap-2 text-sm">
@@ -107,7 +107,7 @@ export const Footer = async ({ locale }: { locale: string }) => {
</ul>
</div>
<div className="lg:flex-1">
- <div className="mb-8 flex h-[30px] items-center font-medium">
+ <div className="mb-6 flex h-8 items-center font-medium">
<Trans t={t} ns="common" i18nKey="resources" defaults="Resources" />
</div>
<ul className="grid gap-2 text-sm">
@@ -153,7 +153,7 @@ export const Footer = async ({ locale }: { locale: string }) => {
</ul>
</div>
<div className="lg:flex-1">
- <div className="mb-8 flex h-[30px] items-center font-medium">
+ <div className="mb-6 flex h-8 items-center font-medium">
<Trans t={t} ns="common" i18nKey="compare" defaults="Compare" />
</div>
<ul className="grid gap-2 text-sm">
diff --git a/apps/landing/src/app/[locale]/(main)/layout.tsx b/apps/landing/src/app/[locale]/(main)/layout.tsx
index cb6d877ca..d1e6eca19 100644
--- a/apps/landing/src/app/[locale]/(main)/layout.tsx
+++ b/apps/landing/src/app/[locale]/(main)/layout.tsx
@@ -9,7 +9,6 @@ import {
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@rallly/ui/dropdown-menu";
-import { Icon } from "@rallly/ui/icon";
import { MenuIcon } from "lucide-react";
import type { Viewport } from "next";
import { cacheLife } from "next/cache";
@@ -100,9 +99,7 @@ export default async function Root(props: {
/>
}
>
- <Icon>
- <MenuIcon />
- </Icon>
+ <MenuIcon className="size-4 text-muted-foreground" />
</DropdownMenuTrigger>
<DropdownMenuContent
className="w-48"
diff --git a/apps/landing/src/components/home/cta-button.tsx b/apps/landing/src/components/home/cta-button.tsx
index 8694ea040..d5ad2f7b2 100644
--- a/apps/landing/src/components/home/cta-button.tsx
+++ b/apps/landing/src/components/home/cta-button.tsx
@@ -12,7 +12,7 @@ export function CtaButton({
children,
}: {
captureEvent: string;
- size?: "default" | "xl";
+ size?: "default" | "lg" | "xl";
className?: string;
children: React.ReactNode;
}) {
diff --git a/apps/landing/src/components/home/cta.tsx b/apps/landing/src/components/home/cta.tsx
index 06167567d..979296973 100644
--- a/apps/landing/src/components/home/cta.tsx
+++ b/apps/landing/src/components/home/cta.tsx
@@ -44,7 +44,7 @@ export async function Cta({
</p>
</div>
<div className="mt-6 flex flex-col items-start gap-4">
- <CtaButton captureEvent="landing:final_cta_click">
+ <CtaButton size="lg" captureEvent="landing:final_cta_click">
{callToAction ?? (
<Trans
t={t}