Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contact form via FormSpree #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GregSutcliffe
Copy link
Contributor

OK, so summary:

The contact page uses FormSpree for email delivery, which is free for <=50 submissions per month. It currently goes to me, but we can change that - it's registered under "[email protected]" but we can add another address and reconfigure without having to redeploy the site. Likewise we can potentially change the login to FormSpree to a shared email too.

FormSpree has a ton of options which I have for now left at defaults. I will upload a screenshot so you can see what we have access to. The contact page renders a basic form and sends the POST to FormSpree, which then handles further actions. It is pluggable if we want to do fun things like collating responses in a spreadsheet etc.

The styling is dreadful because I suck at CSS. Improvements very much welcome.

The change to _config.yml is because newer versions of Jekyll seem to require "plugins" instead of "gems" - I'm not sure what version is being used to build the site so I added rather than replaced.

@GregSutcliffe
Copy link
Contributor Author

image

Note other form types like a chat-style button in the bottom corner etc are possible, but I went HTML for widest applicability

@GregSutcliffe
Copy link
Contributor Author

Page currently renders like this:
image

As I say, CSS help very welcome 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant