-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathcontact.js
More file actions
94 lines (88 loc) · 2.89 KB
/
contact.js
File metadata and controls
94 lines (88 loc) · 2.89 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import React from "react";
import { Layout, Link, Form } from "@components";
const ENV = {
prod: "https://formspree.io/f/mknygboe",
test: "https://formspree.io/f/mwkypbaz",
};
const fields = [
{
label: "Your Message",
name: "message",
placeholder: "Enter your message here…",
type: "textarea",
},
];
const onSubmit = (body) =>
fetch(ENV.test, {
method: "POST",
headers: { "Content-Type": "application/json" },
body,
}).then((res) => {
console.log({ res });
if (res.status >= 400) {
throw res;
}
return res;
});
const Index = () => {
return (
<Layout
title="Contact Us"
description="Anonymously contact a Reactiflux administrator"
>
<h1>Message the Staff</h1>
<div>
<p>Reactiflux staff can be reached several ways.</p>
<ul>
<li>
Our in-Discord ticketing system in{" "}
<a href="discord://discord.com/channels/102860784329052160/1041014610532249792">
#moderation-reports
</a>{" "}
(
<a href="https://discord.com/channels/102860784329052160/1041014610532249792">
web link
</a>
).
</li>
<li>
direct message any staff member in Discord. The staff member will
share the correspondence or a summary with other staff for issues
requiring wider input.
</li>
<li>
Email <a href="mailto:hello@reactiflux.com">hello@reactiflux.com</a>{" "}
(if you’d like to propose a collaboration, business dealing, or be a
guest for a live event, do this one).
</li>
<li>
Our anonymous contact form below. All admins and moderators will
receive this, with no identifying information provided.
</li>
</ul>
<hr />
<p>
If you choose to reach out anonymously, bear in mind that we may not
reference your message publicly. However, we will read, discuss, and
act on any message received through this form. If you’d prefer to be
contacted on another platform, please include your information as part
of your message.
</p>
<p>
This form is <em>anonymous</em> and gives{" "}
<em>no identifying information or means to communicate back</em> to
the staff members who receive it. Any inquiry that desires a response
must include contact information.
</p>
<Form fields={fields} name="contact" onSubmit={onSubmit} />
<p>
Again,{" "}
<strong>we can not answer questions submitted via this form.</strong>{" "}
It is anonymous, intended for submission of sensitive information like
harassment or other moderation problems.
</p>
</div>
</Layout>
);
};
export default Index;