fix: changed to card component

This commit is contained in:
Catalin Pit
2024-03-08 15:30:08 +02:00
parent 61ca34eee1
commit 0fdb7f7a8d

View File

@ -1,24 +1,26 @@
import Link from 'next/link'; import Link from 'next/link';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
import { Button } from '@documenso/ui/primitives/button'; import { Button } from '@documenso/ui/primitives/button';
import { Card, CardContent } from '@documenso/ui/primitives/card';
export default function CTA() { export default function CTA() {
return ( return (
<div className="bg-background shadow-foreground/5 border-documenso mt-12 flex flex-col items-center justify-center rounded-lg border-4 border-double p-8 shadow-lg hover:shadow-md"> <Card spotlight className="mt-12">
<h2 className="mt-4 text-center text-2xl font-bold"> <CardContent className="flex flex-col items-center justify-center p-6">
Join the Open Document Signing Movement <h2 className="text-center text-2xl font-bold">Join the Open Signing Movement</h2>
</h2>
<p className="text-muted-foreground max-w-[55ch] text-center text-lg leading-normal"> <p className="text-muted-foreground max-w-[55ch] text-center leading-normal">
Create your account and start using state-of-the-art document signing. Open and beautiful Create your account and start using state-of-the-art document signing. Open and beautiful
signing is within your grasp. signing is within your grasp.
</p> </p>
<Button className="mt-4 rounded-full no-underline" size="sm" asChild> <Button className="mt-2.5 rounded-full no-underline" size="sm" asChild>
<Link href="https://app.documenso.com/signup?utm_source=cta" target="_blank"> <Link href={`${NEXT_PUBLIC_WEBAPP_URL()}/signup?utm_source=cta`} target="_blank">
Get started Get started
</Link> </Link>
</Button> </Button>
</div> </CardContent>
</Card>
); );
} }