forked from ShelterTechSF/askdarcel-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add button to EmailSignup component and edit Button to use external link if passed in * isExternal improved code
- Loading branch information
1 parent
0b05a78
commit 104b18f
Showing
3 changed files
with
29 additions
and
4 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 |
---|---|---|
@@ -1,6 +1,15 @@ | ||
import React from "react"; | ||
import styles from "./EmailSignup.module.scss"; | ||
import { Button } from "components/ui/inline/Button/Button"; | ||
|
||
export const EmailSignup = () => ( | ||
<div className={styles.emailSignupContainer} /> | ||
<div className={styles.emailSignupContainer}> | ||
<h2>Join our mailing list to get updates</h2> | ||
<Button | ||
isExternalLink={false} | ||
href="javascript:void( window.open( 'https://dcyf.jotform.com/242708128943966', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=500' ) ) " | ||
> | ||
Sign up today | ||
</Button> | ||
</div> | ||
); |
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