-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.js
65 lines (60 loc) · 2.29 KB
/
contact.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import React from "react"
import Layout from "../components/Layout"
import Seo from "../components/Seo"
export default function Contact() {
return (
<Layout>
<Seo title={`Contact`} description={`Contact page description`} />
<main className="page">
<section className="contact-page">
<article className="contact-info">
<h3>Contact us</h3>
<p>
Integer porta quam id nunc bibendum ultrices. Etiam lacinia, enim
eu mattis semper, neque turpis fringilla tellus, a pulvinar orci
metus at risus.
</p>
<p>
{" "}
Sed sagittis porta sollicitudin. Integer a sagittis est, at luctus
mauris. Nulla rutrum turpis non dui congue, at rutrum mi lobortis.
Pellentesque habitant morbi tristique senectus et netus et
malesuada fames ac turpis egestas.{" "}
</p>
<p>
{" "}
Morbi eros leo, volutpat in tortor id, rhoncus lobortis ante. Nam
ultricies, risus vitae facilisis lobortis, mi odio dapibus tellus,
lacinia consectetur odio odio id est. Integer ac est varius,
molestie risus at, ornare nulla. Cras in egestas nibh. Donec
tempor mauris non justo molestie laoreet. Fusce ac metus lorem.
</p>
</article>
<article>
<form
action="https://formspree.io/f/mayaqojy"
method="POST"
className="form contact-form"
>
<div className="form-row">
<label htmlFor="name"> Your Name</label>
<input type="text" name="name" id="name" />
</div>
<div className="form-row">
<label htmlFor="email"> Your email</label>
<input type="email" name="email" id="email" />
</div>
<div className="form-row">
<label htmlFor="message"> Your message</label>
<textarea name="message" id="message" />
</div>
<button className="btn block" type="submit">
Submit
</button>
</form>
</article>
</section>
</main>
</Layout>
)
}