mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-30 18:56:45 +02:00
🔥 Remove prevent widows (#1373)
This commit is contained in:
parent
251ee76979
commit
379fc03f7f
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@
|
||||||
import { cn } from "@rallly/ui";
|
import { cn } from "@rallly/ui";
|
||||||
import { Badge } from "@rallly/ui/badge";
|
import { Badge } from "@rallly/ui/badge";
|
||||||
import { Button } from "@rallly/ui/button";
|
import { Button } from "@rallly/ui/button";
|
||||||
import { preventWidows } from "@rallly/utils";
|
|
||||||
import { motion } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
import { ChevronRightIcon } from "lucide-react";
|
import { ChevronRightIcon } from "lucide-react";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
@ -104,10 +103,10 @@ export const MarketingHero = ({
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<h1 className="mb-2 mt-6 text-pretty text-2xl font-bold tracking-tight sm:mb-4 sm:text-5xl">
|
<h1 className="mb-2 mt-6 text-pretty text-2xl font-bold tracking-tight sm:mb-4 sm:text-5xl">
|
||||||
{preventWidows(title)}
|
{title}
|
||||||
</h1>
|
</h1>
|
||||||
<h2 className="mx-auto max-w-3xl text-pretty text-lg text-gray-500 sm:text-xl sm:leading-relaxed">
|
<h2 className="mx-auto max-w-3xl text-pretty text-lg text-gray-500 sm:text-xl sm:leading-relaxed">
|
||||||
{preventWidows(description)}
|
{description}
|
||||||
</h2>
|
</h2>
|
||||||
<div className="mt-8 flex flex-col items-center justify-center gap-4">
|
<div className="mt-8 flex flex-col items-center justify-center gap-4">
|
||||||
<Button
|
<Button
|
||||||
|
|
Loading…
Add table
Reference in a new issue