diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 721bf690..d838600f 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -100,6 +100,7 @@ main_menu: talks: { href: /talks/, title: Talks } experience: { href: /experience/, title: Experience } blog: { href: /blog/, title: Blog } + contact: { href: /contact/, title: Contact } meetups: drupalbristol: diff --git a/assets/sass/components/_contact.sass b/assets/sass/components/_contact.sass new file mode 100644 index 00000000..e7785920 --- /dev/null +++ b/assets/sass/components/_contact.sass @@ -0,0 +1,12 @@ +.page--contact + form + .form__name, + .form__email, + .form__subject, + .form__message + @extend .form-group + + [type="email"], + [type="text"], + textarea + @extend .form-control diff --git a/source/_includes/nav.html.twig b/source/_includes/nav.html.twig index edd225e2..c4329488 100644 --- a/source/_includes/nav.html.twig +++ b/source/_includes/nav.html.twig @@ -17,9 +17,6 @@ {{ link.title }} {% endfor %} -
  • - Contact -
  • {# .nav-collapse #} diff --git a/source/contact-thanks.md b/source/contact-thanks.md new file mode 100644 index 00000000..3187405b --- /dev/null +++ b/source/contact-thanks.md @@ -0,0 +1,6 @@ +--- +layout: page +nav: contact +title: Thanks! +--- +Your email has been sent. You should receive a response within the next working day. diff --git a/source/contact.html.twig b/source/contact.html.twig new file mode 100644 index 00000000..5b626340 --- /dev/null +++ b/source/contact.html.twig @@ -0,0 +1,39 @@ +--- +title: Contact +nav: contact +layout: page +--- +{% block content %} +

    To send me an email, complete the form below. The form is powered by Formspree.

    + +
    +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + +
    + + + +
    +{% endblock %} + +{% block body_classes 'page--contact' %}