-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make contact forms unavailable * [Prettier] Fix formatting * add ccamobile.org to linkinator skip list --------- Co-authored-by: GitHub Action <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,88 +120,13 @@ function Contact() { | |
id="contact.subtitle" | ||
description="Subtitle for the contact section" | ||
> | ||
Questions, feature requests, and ideas welcome! | ||
Please contact your Cisco representative for further | ||
information | ||
</Translate> | ||
</div> | ||
</div> | ||
</div> | ||
<div className={common.container}> | ||
<div className={styles.contactMethods}> | ||
<a href="mailto:[email protected]"> | ||
<Mail /> Email us at [email protected] | ||
</a> | ||
<Link to="/request-demo"> | ||
<Calendar /> Schedule a demo | ||
</Link> | ||
<a href="https://support.wgtwo.com" target="_blank"> | ||
<HelpCircle /> Open a support ticket | ||
</a> | ||
<Link to="/docs/about/offices"> | ||
<Building /> Meet us in person | ||
</Link> | ||
</div> | ||
</div> | ||
|
||
<div className={common.container}> | ||
<div className={styles.form}> | ||
<input | ||
className={formErrorCompany ? styles.hasError : ""} | ||
ref={form.company} | ||
placeholder={translate({ | ||
message: "Company", | ||
id: "contact.form.company", | ||
description: "Placeholder for the company field", | ||
})} | ||
/> | ||
<input | ||
className={formErrorEmail ? styles.hasError : ""} | ||
ref={form.email} | ||
placeholder={translate({ | ||
message: "Work email address", | ||
id: "contact.form.email", | ||
description: "Placeholder for the email field", | ||
})} | ||
/> | ||
<input | ||
className={`${formErrorName ? styles.hasError : ""} ${ | ||
styles.span2 | ||
}`} | ||
ref={form.name} | ||
placeholder={translate({ | ||
message: "Name", | ||
id: "contact.form.name", | ||
description: "Placeholder for the name field", | ||
})} | ||
/> | ||
<textarea | ||
className={`${formErrorMessage ? styles.hasError : ""} ${ | ||
styles.span2 | ||
}`} | ||
ref={form.message} | ||
placeholder={translate({ | ||
message: "Your message", | ||
id: "contact.form.message", | ||
description: "Placeholder for the message field", | ||
})} | ||
/> | ||
<button | ||
ref={form.button} | ||
onClick={() => sendMessage()} | ||
className={`${common.button} ${common.buttonPrimary} ${styles.span2}`} | ||
> | ||
<Translate | ||
id="contact.form.button" | ||
description="Button for the contact form" | ||
> | ||
Send message | ||
</Translate> | ||
</button> | ||
{formError && <div className={styles.formError}>{formError}</div>} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<NewsletterSignup /> | ||
</div> | ||
</Layout> | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters