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

Loading…
Cancel
Save