Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/apursley2012/dev-mode/llms.txt

Use this file to discover all available pages before exploring further.

The Contact page transforms the humble contact form into an arcade high-score initials entry screen. Instead of a name field, visitors set three individual letter slots — just as a player would enter their initials after beating a high score. Below the initials picker, a styled message textarea accepts the visitor’s note, and a coin-insert submit button sends the transmission. The page cycles through three states: entry, loading, and success.

Route

PropertyValue
Hash route/#/contact
Page headingENTER INITIALS
SubtitleLEAVE A MESSAGE FOR PLAYER 1

Initials Entry

Three letter slots are displayed side by side, each showing a single uppercase letter from A–Z. The active slot is highlighted with a neon cursor effect.

Keyboard Controls

InputAction
/ Move focus left or right between slots
Cycle the active slot’s letter forward (A → B → … → Z → A)
Cycle the active slot’s letter backward (A → Z → … → B → A)
Tap / ClickSelect a slot to make it active
The initials entry interaction is designed to work both on keyboard (arrow keys) and on touch (tap to select, then use on-screen arrows). The three-slot layout is fixed — visitors cannot type free-form text into the initials field.

Message Field

Below the initials slots, a textarea is labelled:
> ENTER_MESSAGE:
PropertyValue
Character limit500 characters
CounterLive remaining-character count displayed below the field
Focus styleNeon magenta box-shadow glow activates on focus

Submit Button & State Machine

The submit button progresses through three states as the form is completed and submitted:
StateButton LabelTrigger
IdleINSERT COIN TO CONTINUEDefault — form is ready to submit
LoadingTRANSMITTING...Activates immediately on form submission
Success(see below)Activates when the server acknowledges the message

Success State

When the transmission is acknowledged, the form is replaced by a success screen displaying:
SCORE SAVED!
TRANSMISSION RECEIVED. WILL RESPOND SHORTLY.
A PLAY AGAIN button resets the page back to the idle entry state, allowing the visitor to send another message.
The three-state button pattern prevents double-submissions naturally — once the button enters the TRANSMITTING... state it is disabled until the success or error state resolves.

Build docs developers (and LLMs) love