The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
chore: update callout CTAs
Timur Ercanc2c0d4d259ba
diff --git a/apps/marketing/src/components/(marketing)/callout.tsx b/apps/marketing/src/components/(marketing)/callout.tsxindex dfd358c71..5e786abb4 100644--- a/apps/marketing/src/components/(marketing)/callout.tsx+++ b/apps/marketing/src/components/(marketing)/callout.tsx@@ -34,17 +34,18 @@ export const Callout = ({ starCount }: CalloutProps) => {return (<div className="mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-4">- <Button- type="button"- variant="outline"- className="rounded-full bg-transparent backdrop-blur-sm"- onClick={onSignUpClick}- >- Claim Early Adopter Plan- <span className="bg-primary dark:text-background -mr-2.5 ml-2.5 rounded-full px-2 py-1.5 text-xs font-medium">- $30/mo- </span>- </Button>+ <Link href="https://app.documenso.com/signup?utm_source=marketing-callout">+ <Button+ type="button"+ variant="outline"+ className="rounded-full bg-transparent backdrop-blur-sm"+ >+ Try our Free Plan+ <span className="bg-primary dark:text-background -mr-2.5 ml-2.5 rounded-full px-2 py-1.5 text-xs font-medium">+ No Credit Card required+ </span>+ </Button>+ </Link><Linkhref="https://github.com/documenso/documenso"diff --git a/apps/marketing/src/components/(marketing)/hero.tsx b/apps/marketing/src/components/(marketing)/hero.tsxindex e678ba6a5..8af38f1c8 100644--- a/apps/marketing/src/components/(marketing)/hero.tsx+++ b/apps/marketing/src/components/(marketing)/hero.tsx@@ -72,23 +72,6 @@ export const Hero = ({ className, ...props }: HeroProps) => {const heroMarketingCTA = getFlag('marketing_landing_hero_cta');- const onSignUpClick = () => {- const el = document.getElementById('email');-- if (el) {- const { top } = el.getBoundingClientRect();-- window.scrollTo({- top: top - 120,- behavior: 'smooth',- });-- requestAnimationFrame(() => {- el.focus();- });- }- };-return (<motion.div className={cn('relative', className)} {...props}><div className="absolute -inset-24 -z-10">@@ -123,18 +106,18 @@ export const Hero = ({ className, ...props }: HeroProps) => {animate="animate"className="mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-4">- <Button- type="button"- variant="outline"- className="rounded-full bg-transparent backdrop-blur-sm"- onClick={onSignUpClick}- >- Claim Early Adopter Plan- <span className="bg-primary dark:text-background -mr-2.5 ml-2.5 rounded-full px-2 py-1.5 text-xs font-medium">- $30/mo- </span>- </Button>-+ <Link href="https://app.documenso.com/signup?utm_source=marketing-hero">+ <Button+ type="button"+ variant="outline"+ className="rounded-full bg-transparent backdrop-blur-sm"+ >+ Try our Free Plan+ <span className="bg-primary dark:text-background -mr-2.5 ml-2.5 rounded-full px-2 py-1.5 text-xs font-medium">+ No Credit Card required+ </span>+ </Button>+ </Link><Link href="https://github.com/documenso/documenso" onClick={() => event('view-github')}><Button variant="outline" className="rounded-full bg-transparent backdrop-blur-sm"><LuGithub className="mr-2 h-5 w-5" />