Skip to content

Commit

Permalink
🔥 Remove prevent widows (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevella authored Oct 2, 2024
1 parent 251ee76 commit 379fc03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/landing/src/components/home/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { cn } from "@rallly/ui";
import { Badge } from "@rallly/ui/badge";
import { Button } from "@rallly/ui/button";
import { preventWidows } from "@rallly/utils";
import { motion } from "framer-motion";
import { ChevronRightIcon } from "lucide-react";
import Image from "next/image";
Expand Down Expand Up @@ -104,10 +103,10 @@ export const MarketingHero = ({
</Link>
</div>
<h1 className="mb-2 mt-6 text-pretty text-2xl font-bold tracking-tight sm:mb-4 sm:text-5xl">
{preventWidows(title)}
{title}
</h1>
<h2 className="mx-auto max-w-3xl text-pretty text-lg text-gray-500 sm:text-xl sm:leading-relaxed">
{preventWidows(description)}
{description}
</h2>
<div className="mt-8 flex flex-col items-center justify-center gap-4">
<Button
Expand Down

0 comments on commit 379fc03

Please sign in to comment.