already gave up on netlify forms

main
Midnight 3 years ago
parent a8613ac6c6
commit f9acc0019a

@ -6,67 +6,39 @@ import StyledButton from '../components/elements/styledbutton';
import SmallStyledButton from '../components/elements/smallstyledbutton';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faEnvelope } from '@fortawesome/free-solid-svg-icons'
import { faTwitter } from '@fortawesome/free-brands-svg-icons'
import { faDiscord } from '@fortawesome/free-brands-svg-icons'
export default function Contact() {
return (
<div className={"page " + styles.about}>
<div className={"page " + styles.contact}>
<Head>
<title>{process.env.NEXT_PUBLIC_NAME} | About</title>
<title>{process.env.NEXT_PUBLIC_NAME} | Contact</title>
</Head>
<section className="container">
<article className="content">
<style jsx>{`
.content {
gap: 0;
}
section {
display: grid;
grid-auto-flow: row;
grid-template-columns: 50% 50%;
grid-template-columns: auto auto;
gap: var(--padding-lg);
}
`}</style>
<h2>{"📬 Contact us"}</h2>
<hr/>
<section>
<div>
<h4>{"📨 Shoot us an email"}</h4>
<form name="contact" method="POST" data-netlify="true">
<div>
<label>Name</label>
<input type="text" name="name" />
</div>
<div>
<label>Email</label>
<input type="email" name="name" />
</div>
<div>
<label>Message</label>
<textarea name="message" rows={10}></textarea>
</div>
<div>
<button type="submit">Send</button>
</div>
</form>
</div>
<div>
<h4>{"💬 Other contact methods"}</h4>
<div style={{display: "flex", flexWrap: "wrap", gap: "var(--padding-sm)", justifyContent: "flex-start", flexDirection: "column"}}>
<SmallStyledButton href="https://discord.gg/976Xskh8Dd" rel="noreferrer" target="_blank"><FontAwesomeIcon icon={faDiscord}></FontAwesomeIcon> Message us on our Discord server</SmallStyledButton>
<SmallStyledButton href="https://discord.gg/976Xskh8Dd" rel="noreferrer" target="_blank"><FontAwesomeIcon icon={faTwitter}></FontAwesomeIcon> Send a DM to our Twitter account</SmallStyledButton>
</div>
<p>
{"📵 We don't have a public phone number for contact"}
</p>
<div style={{display: "flex", flexWrap: "wrap", gap: "var(--padding-sm)", justifyContent: "flex-start", flexDirection: "column"}}>
<StyledButton href="mailto:contact@dubbelnull.com"><FontAwesomeIcon icon={faEnvelope}></FontAwesomeIcon> Shoot us an email</StyledButton>
<StyledButton href="https://discord.gg/976Xskh8Dd" rel="noreferrer" target="_blank"><FontAwesomeIcon icon={faDiscord}></FontAwesomeIcon> Message us on our Discord server</StyledButton>
<StyledButton href="https://discord.gg/976Xskh8Dd" rel="noreferrer" target="_blank"><FontAwesomeIcon icon={faTwitter}></FontAwesomeIcon> Send a DM to our Twitter account</StyledButton>
</div>
<p>
{"We typically respond within a few hours."}<br/><br/>
{"📵 We don't have a public phone number for contact."}<br/>
</p>
</section>
</article>

Loading…
Cancel
Save