added disabled email input box to settings, contact help@cal.com (#852)

pull/854/head
Peer Richelsen 2021-10-04 22:13:46 +01:00 committed by GitHub
parent abe4f38a5e
commit 785058558c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -199,6 +199,29 @@ export default function Settings(props: Props) {
</div>
</div>
<div className="block sm:flex">
<div className="w-full sm:w-1/2 sm:mr-2 mb-6">
<label htmlFor="email" className="block text-sm font-medium text-gray-700">
Email
</label>
<input
type="text"
name="email"
id="email"
placeholder="Your email"
disabled
className="mt-1 block w-full py-2 px-3 text-gray-500 border border-gray-300 rounded-l-sm bg-gray-50 sm:text-sm"
defaultValue={props.user.email}
/>
<p className="mt-2 text-sm text-gray-500" id="email-description">
To change your email, please contact{" "}
<a className="text-blue-500" href="mailto:help@cal.com">
help@cal.com
</a>
</p>
</div>
</div>
<div>
<label htmlFor="about" className="block text-sm font-medium text-gray-700">
About