import Head from 'next/head';
import Image from 'next/image';
import styles from '../styles/Contact.module.css';
import Link from 'next/link';
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.contact}>
            <Head>
                <title>{process.env.NEXT_PUBLIC_NAME} | Contact</title>
            </Head>

            <section className="container">
                <article className="content">
                    <style jsx>{`
                        section {
                            display: grid;
                            grid-auto-flow: row;
                            grid-template-columns: auto auto;
                            gap: var(--padding-lg);
                        }
                    `}</style>

                    <h2>{"📬 Contact us"}</h2>
                    <section>
                        <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>
            </section>

        </div>
    )
}