1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat: customized Clarity analytics

This commit is contained in:
2024-08-21 00:23:50 +00:00
parent 67222999a9
commit 416e862959
3 changed files with 26 additions and 8 deletions
+3 -3
View File
@@ -34,17 +34,17 @@ const ContactSection: React.FC = () =>
<form className={ cls.container } action={ formAction }>
<FormStatusTracker onPendingChanged={ setPending } />
<input name="email" type="email" { ...sharedProps }
<input name="email" type="email" { ...sharedProps } data-clarity-mask
autoComplete="email" spellCheck="false"
maxLength={ 60 }
placeholder="Email" />
<input name="subject" type="text" { ...sharedProps }
<input name="subject" type="text" { ...sharedProps } data-clarity-mask
autoComplete="off" spellCheck="true"
maxLength={ 120 }
placeholder="Subject" />
<textarea name="message" { ...sharedProps } className={ cls.textarea }
<textarea name="message" { ...sharedProps } className={ cls.textarea } data-clarity-mask
autoComplete="off" spellCheck="true"
minLength={ 100 } maxLength={ 2000 }
placeholder="Message (min 100 characters)" />