The Contact page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/developer-exe/llms.txt
Use this file to discover all available pages before exploring further.
/contact) reimagines a contact form as an arcade high-score entry screen. The page headline — INSERT MESSAGE TO CONTINUE — is rendered in GlitchText. Below it, a two-column layout places the form on the left and the leaderboard plus social links on the right. The form is labelled ENTER INITIALS and mirrors the three-character name entry UI of classic arcade machines. On successful submission a full-overlay animation replaces the form with SCORE SUBMITTED! for five seconds before automatically resetting.
Form Panel
The form holds three fields and one submit button. Whensubmitted === true, a motion.div overlay scales in from scale: 0 and displays the success message, then the component resets after 5000 ms.
Form Fields
PLAYER NAME
Label:
PLAYER NAME
Input type: text
maxLength: 3
Placeholder: AAA
Required: Yes
Text is forced to uppercase and only three characters are accepted, replicating the classic three-initial arcade name-entry UI.COMM LINK (EMAIL)
Label:
COMM LINK (EMAIL)
Input type: email
Required: Yes
Standard email validation via the browser’s built-in type="email" constraint.TRANSMISSION
Label:
TRANSMISSION
Element: <textarea rows={4} />
Required: Yes
Multi-line message body; resize is disabled to preserve the card layout.outline-none removes the browser default focus ring in favour of the border colour transition.
Submit Button
PixelButton defaults to the primary variant with a neon-magenta background that transitions to neon-cyan on hover. Framer Motion whileHover and whileTap scale props are built into the component.
Success Overlay Animation
setTimeout calls setSubmitted(false), collapsing the overlay and restoring the blank form.
High Scores Panel
The leaderboard displays four rows from the high-scores array:| Rank | Name | Score | Message |
|---|---|---|---|
| 1ST | REC | 999,999 | HIRED ON THE SPOT |
| 2ND | DEV | 850,000 | NICE CSS TRICKS |
| 3RD | MOM | 700,000 | VERY PROUD OF U |
| 4TH | BOT | 000,001 | BEEP BOOP SPAM |
Social Links (EXTRA CREDITS)
Below the leaderboard, three circular social link icons are labelled EXTRA CREDITS:| Icon | Label | href |
|---|---|---|
| GitHub | GITHUB | # |
# | ||
# |
href="#" with the real profile URL before deploying.
Customisation
Wire up the form submission
The current
handleSubmit function calls event.preventDefault() and sets the success state. Replace this with a fetch call to a form API (e.g. Formspree, EmailJS, or a custom endpoint) before setting the success state.Update high-score entries
Edit the high-scores array to add humour relevant to your audience. Each entry needs
rank, name (3 chars), score, and msg fields.Replace social link URLs
Set the
href props on the three social link components from "#" to your actual GitHub, LinkedIn, and email (mailto:) URLs.Add a fourth social link
Append a new social link component with an icon, label, href, and colour class inside the social links container. Any Lucide React icon can be used.