The Contact Page Structure
src/contact.md uses layout: contact.lax. It has two parts:
1. Form section — the contact form with project type and budget dropdowns
2. Direct channels — email, handle, response SLA, and availability
The form submits to Formspree. You need a Formspree account and a form ID before the form works.
Via Decap CMS
1. Open http://localhost:8080/admin/
2. Click Site Settings → Contact
3. Edit the fields:
Title and Description — The page header.
Formspree Id — Your Formspree form ID (the part after /f/ in your Formspree URL).
Form Heading and Form Intro — The heading and intro text above the form fields.
Project Types — The dropdown options. Each item has a value (sent to Formspree) and a label (shown to the user).
Budgets — The budget range dropdown options. Same structure as project types.
Channels — The direct contact list. Each item has a label and a value.
Channels Note — A paragraph below the channels list.
Channels CTA 1 and 2 — Two buttons below the channels list.
4. Click Publish
Via Code
Open src/contact.md:
layout: contact.lax
title: Commission a Roblox Build
description: Share your game genre, target release timeline, and budget range.
formspree_id: YOUR_FORMSPREE_ID
form_heading: Project Brief
form_intro: Complete the form below to start a discovery thread.
project_types:
- value: roblox-game-development
label: Full Roblox Game Development
- value: luau-scripting
label: Luau Scripting & Architecture
- value: ui-hud-design
label: UI & HUD Design in Roblox
budgets:
- value: $500 - $1,500
label: $500 - $1,500 (Single System)
- value: $1,500 - $3,500
label: $1,500 - $3,500 (Core Loop / UI)
- value: $3,500 - $7,500
label: $3,500 - $7,500 (Full Experience)
channels:
- label: Email
value: [email protected]
- label: Roblox Handle
value: "@BrickForgeDev"
- label: Response SLA
value: Under 24 Hours
- label: Availability
value: Q4 2026 Slots Open
channels_note: Prefer reviewing past work before scoping? Check our case studies.
channels_cta_1_text: Inspect Case Studies
channels_cta_1_url: /projects/
channels_cta_2_text: Read Commission FAQ
channels_cta_2_url: /faq/
Getting a Formspree ID
1. Go to formspree.io
2. Create a free account
3. Click New Form, name it (e.g., "Luax Pro Contact")
4. Copy the form ID — it looks like xyzabcd
5. Replace YOUR_FORMSPREE_ID in src/contact.md with your actual ID
Free Formspree accounts allow 50 submissions per month. For higher volume, upgrade to a paid plan.
How the Form Works
When a visitor submits the form:
1. The browser sends a POST request to https://formspree.io/f/YOUR_FORMSPREE_ID
2. Formspree receives the data and forwards it to your email address
3. The visitor sees a success message
4. You receive an email with the name, email, project type, budget, and message
The _gotcha hidden field is a honeypot. Bots fill it in, humans do not. Formspree silently discards submissions where _gotcha has a value.
Changing Dropdown Options
To add a new project type or budget range, add a new item to the array:
project_types:
- value: new-service-id
label: New Service Name
The value is what gets sent in the email. The label is what the visitor sees. Keep them short and descriptive.
Common Mistake: Missing Formspree ID
If you leave YOUR_FORMSPREE_ID in the file and submit the form, you will see an error. Formspree rejects requests to non-existent form IDs.
Always replace the placeholder with your real ID before deploying.
Next Step
Contact page is updated. The next guide covers updating all controller files in src/.