Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/neon-retro-sys-admin/llms.txt
Use this file to discover all available pages before exploring further.
RetroNav is the persistent top-of-page navigation bar for the NeonRetro Sys_Admin portfolio. It renders a <nav> element with sticky top-0 z-50 positioning and a semi-transparent bg-y2k-black/90 backdrop-blur-sm background, so it floats above page content as users scroll. The left side displays the brand link SYS_ADMIN styled with the .rainbow-text class; the right side renders seven icon-plus-label links — each pointing to a distinct page — using React Router’s NavLink for automatic active-state detection.
Layout and Positioning
The nav element carries the following structural classes:max-w-6xl mx-auto px-4. On mobile the brand and links stack vertically (flex-col); from the md breakpoint upward they sit on a single row (md:flex-row justify-between).
Brand Link
The site logo links back to/ and is rendered as:
.rainbow-text utility class applies a CSS animated gradient that cycles through the full neon palette, giving the brand mark its signature Y2K iridescence.
Navigation Links
Links are defined in an internal array and mapped toNavLink components. The full set of routes, labels, Lucide icons, and accent colors is:
| Path | Label | Icon | Color Class |
|---|---|---|---|
/ | HOME.exe | Terminal | text-y2k-magenta |
/about | ABOUT.txt | FileText | text-y2k-cyan |
/projects | PROJECTS.zip | FolderOpen | text-y2k-lime |
/skills | SKILLS.dat | Cpu | text-y2k-purple |
/writing | BLOG.log | BookOpen | text-y2k-magenta |
/case-studies | CASES.doc | FileText | text-y2k-cyan |
/contact | CONTACT.bat | Mail | text-y2k-lime |
size={14} followed by the label text. On extra-small screens, labels are hidden via hidden sm:inline so only the icon remains visible, keeping the nav usable on narrow viewports without overflow.
Active State Styling
NavLink’s className prop receives the { isActive } argument. When a link matches the current route, these classes are applied in addition to the base styles:
No External Props
RetroNav accepts no props. It reads its routes from a static internal array and relies on React Router’s NavLink to derive active state from the current URL. There is no external configuration or context dependency beyond the router being present.
Adding a New Nav Item
To extend the nav with an additional page, add an entry to the internalnavLinks array inside RetroNav.js:
<Route> is also registered in the React Router tree inside main.js.
Usage in Layout
RetroNav is imported and rendered at the top of the Layout component, wrapping all page content: