File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ export const BrevoEmailSubscribe = (props: BrevoEmailSubscribeProps) => {
152152 className = "bg-primary hover:bg-primary/90 text-primary-foreground font-medium whitespace-nowrap sib-hide-loader-icon-parent"
153153 >
154154 < Loader2 className = "sib-loader sib-hide-loader-icon h-4 w-4 animate-spin" />
155- Join Waitlist
155+ Join Email List
156156 </ Button >
157157 </ div >
158158
Original file line number Diff line number Diff line change 1- import { BrevoEmailSubscribe } from '@/components/brevo-email-subscribe/brevo-email-subscribe' ;
1+ 'use client' ;
2+
3+ import { Button } from '../ui/button' ;
4+ import Link from 'next/link' ;
25
36export function WaitlistSubscribeSection ( ) {
7+ const handleClick = ( ) => {
8+ const emailInput = document . getElementById ( 'EMAIL' ) as HTMLInputElement ;
9+ if ( emailInput ) {
10+ emailInput . focus ( ) ;
11+ }
12+ } ;
13+
414 return (
515 < section className = "bg-background" >
616 < div className = "container px-4 md:px-6 mx-auto" >
@@ -12,10 +22,9 @@ export function WaitlistSubscribeSection() {
1222 Be among the first to access Agentsmith and get 50% off your first year.
1323 </ p >
1424 < div className = "max-w-md mx-auto" >
15- < BrevoEmailSubscribe
16- trackingLocation = "waitlist-subscribe"
17- form = "agentsmithInitialLanding"
18- />
25+ < Button onClick = { handleClick } asChild >
26+ < Link href = "/#join-waitlist" > Join the Waitlist</ Link >
27+ </ Button >
1928 </ div >
2029 </ div >
2130 </ div >
You can’t perform that action at this time.
0 commit comments