-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
139 additions
and
51 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
p { | ||
margin-bottom: 1rem; | ||
color: #333; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.form { | ||
max-width:400px; | ||
padding:2rem; | ||
margin:0 auto; | ||
font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | ||
} | ||
label { | ||
font-size:1rem; | ||
line-height:1.5rem; | ||
display:inline-block; | ||
margin-bottom:0.5rem; | ||
} | ||
input, select { | ||
font-size:1rem; | ||
line-height:1.5rem; | ||
width:100%; | ||
color:black; | ||
border:1px solid #ced4da; | ||
border-radius:6px; | ||
padding:0.375rem 0.75rem; | ||
box-sizing: border-box; | ||
} | ||
input[type=checkbox], input[type=radio] { | ||
width:auto; | ||
} | ||
button { | ||
font-size:1rem; | ||
line-height:1.5rem; | ||
background-color:black; | ||
color:white; | ||
display:block; | ||
cursor:pointer; | ||
border-radius:0.25rem; | ||
vertical-align:middle; | ||
border:1px solid transparent; | ||
padding:0.375rem 0.75rem; | ||
} | ||
.fRow { | ||
margin-bottom:1.2rem; | ||
} | ||
.aBadge { | ||
margin-top:1.8rem; | ||
font-size: 12px; | ||
color:#888; | ||
} | ||
.aBadge a { | ||
margin-top:1.8rem; | ||
font-size: 12px; | ||
color:#888; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from "react"; | ||
import styles from "./index.module.css"; | ||
|
||
const Newsletter = () => ( | ||
<div className={styles.container}> | ||
<form | ||
className={styles.form} | ||
action="https://app.audienceful.com/api/subscribe/NpAB3KJPUTej5ayujTBM9F/" | ||
method="post" | ||
> | ||
<div> | ||
<h1>Synmetrix</h1> | ||
<p>Subscribe to our newsletter to stay updated on our latest developments</p> | ||
</div> | ||
<div className={styles.fRow}> | ||
<label htmlFor="email">Email Address</label> | ||
<input | ||
name="email" | ||
type="email" | ||
id="email" | ||
placeholder="Enter your email..." | ||
required /> | ||
</div> | ||
<button type="submit">Submit</button> | ||
<div className={styles.aBadge}> | ||
<a href="https://github.com/mlcraft-io/mlcraft" target="_blank" rel="noopener noreferrer"> | ||
Check out our open source project | ||
</a> | ||
</div> | ||
</form> | ||
</div> | ||
); | ||
|
||
export default Newsletter; |
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