The Contact page (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/aurora-cosmos/llms.txt
Use this file to discover all available pages before exploring further.
/contact) is titled “Open Comms Channel” in the template, with the subtitle “Establish a direct link to the dev console.” It uses a grid lg:grid-cols-3 layout where the contact form takes up two-thirds of the space and a social links sidebar occupies the right third. Every element leans into the terminal/comms aesthetic: input labels read “Sender ID” and “Return Frequency”, the submit button says “Transmit Signal”, and the form panel header shows TERMINAL // COMMS_UPLINK.
Layout overview
The page wrapper ispy-12 max-w-6xl mx-auto min-h-[80vh] flex flex-col justify-center. On mobile the form and social links stack vertically. On lg: screens they sit side by side in a 2:1 column ratio.
The form panel enters with initial={{ opacity: 0, x: -20 }} → animate={{ opacity: 1, x: 0 }}. The social sidebar enters with initial={{ opacity: 0, x: 20 }} → animate={{ opacity: 1, x: 0 }}. Both use the default AnimatePresence ease and duration: 0.5.
Form panel
The form panel is aglass-panel rounded-3xl p-8 border-aurora-teal/30 relative overflow-hidden lg:col-span-2. It has:
- Terminal header bar — A flex row with
Terminalicon, the labelTERMINAL // COMMS_UPLINKinfont-mono text-sm text-aurora-turquoise, and three window-control dots (cosmic-magenta/50,aurora-teal/50,aurora-green animate-pulse). - Form fields — Name and email in a
grid md:grid-cols-2 gap-6row, textarea below, submit button at the bottom.
Input field styling
All<input> and <textarea> elements share the same style tokens:
border-white/10 with a solid aurora-turquoise border and adds a single-pixel ring-aurora-turquoise glow ring.
Textarea
The textarea usesrows={5} and adds resize-none to prevent users from resizing it — this keeps the layout predictable. All other style tokens are identical to the text inputs.
Submit button states
The submit button is amotion.button with whileHover={{ scale: 1.02 }} and whileTap={{ scale: 0.98 }}. It has three visual states driven by a status state variable ("idle" | "sending" | "sent"):
| State | Style | Content |
|---|---|---|
idle | bg-gradient-to-r from-aurora-teal to-cosmic-violet text-white hover:shadow-[0_0_20px_rgba(20,184,166,0.4)] | ”Transmit Signal” + Send icon |
sending | same gradient, disabled | ”Encrypting & Sending…” with animate-pulse |
sent | bg-aurora-green text-space-900 | ”Transmission Successful” |
The template simulates form submission with
setTimeout(() => setStatus("sent"), 2000). This is a placeholder — replace it with a real form handler before deploying. See the Wiring up submission section below.Social links sidebar
The sidebar is aglass-panel rounded-3xl p-8 border-cosmic-violet/30 h-full flex flex-col. It contains:
- “Known Frequencies” header —
text-xl font-display font-bold text-white - Three social link cards — each is an
<a>withflex items-center space-x-4 p-4 rounded-xl bg-white/5 hover:bg-white/10 border border-white/5and a hover border color specific to the platform - Email row — below a
border-t border-white/10 mt-8 pt-8divider; usesMailicon andfont-mono text-sm text-slate-400
Social link hover colors
| Platform | Hover border | Icon hover color |
|---|---|---|
| GitHub | hover:border-aurora-turquoise/50 | group-hover:text-aurora-turquoise |
hover:border-cosmic-violet/50 | group-hover:text-cosmic-violet | |
| Twitter / X | hover:border-cosmic-magenta/50 | group-hover:text-cosmic-magenta |
Color tokens used
| Element | Token / class |
|---|---|
| Page heading gradient | from-aurora-turquoise to-cosmic-violet |
| Form panel border | border-aurora-teal/30 |
| Terminal label | text-aurora-turquoise font-mono |
| Window dot (green) | bg-aurora-green animate-pulse |
| Input default border | border-white/10 |
| Input focus border | focus:border-aurora-turquoise |
| Input focus ring | focus:ring-aurora-turquoise |
| Submit idle gradient | from-aurora-teal to-cosmic-violet |
| Submit sent background | bg-aurora-green text-space-900 |
| Sidebar border | border-cosmic-violet/30 |
| Email icon | text-aurora-teal |
Wiring up form submission
The template’sonSubmit handler is a stub that simulates a 2-second delay. Replace it with a real integration:
Customization guide
Update your social links
Find the three
<a> elements in the sidebar. Replace href="#" with your real profile URLs and update the <div> text for your handle:Update your email address
The email row is at the bottom of the sidebar, below the
border-t. Change the font-mono text-sm text-slate-400 span text:Relabel the form fields
The input labels use
text-xs font-mono text-slate-400 uppercase tracking-wider. Change the <label> text to plain English if you prefer a less technical tone: