Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/observatory/llms.txt
Use this file to discover all available pages before exploring further.
Home Page
The Home page (/) is the first thing visitors see when they arrive at Observatory. It renders a full-viewport hero section under the navigation label “Tonight’s Forecast”, establishing the space-telescope aesthetic with layered animated backgrounds, a bold headline, and two call-to-action buttons that route visitors deeper into the portfolio.
Hero Section
The hero is composed of three visual layers stacked using absolute positioning:- Starfield — a canvas-based background that renders hundreds of twinkling stars at randomised positions, sizes, and opacities.
- AuroraRibbon — an SVG ribbon of animated gradient bands rendered beneath the text, simulating a borealis curtain effect in the site’s teal-to-violet palette.
- Content overlay — centred text and buttons rendered above both background layers.
Headline & Subtitle
| Element | Value |
|---|---|
| Subtitle label | Tonight's Forecast |
| Headline line 1 | Building systems |
| Headline line 2 | at high altitude. |
| Gradient span class | text-gradient (turquoise → teal) |
CTA Buttons
Two buttons appear below the headline:| Button | Label | Destination |
|---|---|---|
| Primary | VIEW SIGHTINGS | /projects |
| Secondary | TRANSMIT SIGNAL | /contact |
box-shadow using the aurora-turquoise colour token. Both use the React Router Link component so navigation is client-side without a full page reload.
Scroll Indicator
A chevron-down icon animates vertically at the bottom of the viewport to invite scrolling. It uses a simple CSSanimate-bounce class and disappears once the user scrolls past the hero threshold (50 px).
Customising the Hero Text
Openassets/main.js and locate the Home page component. The two pieces of text you are most likely to want to change are the headline and the subtitle label.
Open main.js
The file is at
assets/main.js in the repository root. Because it is a bundled file, search for the string "Tonight's Forecast" to jump to the right section.Update the subtitle label
Replace the string
"Tonight's Forecast" with your preferred label. This text is also used as the navigation tooltip in the header.Update the headline
Find
"Building systems" and "at high altitude." and replace them with your own copy. The second line is wrapped in a <span className="text-gradient"> — keep that wrapper to retain the colour gradient.Background Components
Starfield
Canvas-rendered star field. Configure star count, speed, and minimum size in the
Starfield component (components/aurora/Starfield.js).AuroraRibbon
SVG animated ribbon. Adjust band count, opacity, and animation duration in
components/aurora/AuroraRibbon.js.