The Projects page is accessible at theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/retrowin/llms.txt
Use this file to discover all available pages before exploring further.
/projects route via the my_projects desktop icon. It renders a RetroWindow that mimics the Windows 98 Explorer file manager — complete with a toolbar, a left-side folder tree, and a right-side file listing table. The window title reads “C:\My Documents\my_projects”, the window is 700×400 px, and it opens at position x: 150, y: 100. The !p-0 class removes all inner padding so the Explorer chrome fills the window edge-to-edge.
Visual Layout
Toolbar
A gray toolbar strip sits at the top of the window with threewin98-btn buttons: ← Back, View, and Help. These buttons are currently decorative and do not perform navigation — they exist for visual authenticity.
Left Panel — Folder Tree
A 192 px wide sidebar shows a collapsible tree view:my_projects) is highlighted with a win-navy background and white text to indicate the current folder.
Right Panel — File List
A full-width table lists each project as a file. The columns mirror the Windows Explorer “Details” view:| Column | Description |
|---|---|
| Name | Filename with an inline icon (exe/dll → blue square icon, .txt → document icon) |
| Size | File size string |
| Type | File type label |
| Modified | Date string |
| Name | Size | Type | Modified |
|---|---|---|---|
| portfolio.exe | 1.2MB | Application | 10/24/1999 |
| ecommerce_v2.dll | 845KB | System file | 05/12/2001 |
| react_dashboard.exe | 4.5MB | Application | 01/01/2024 |
| readme.txt | 2KB | Text Document | Today |
win-navy background and white text. Only one row can be selected at a time via a useState hook tracking the selected id.
The toolbar buttons (Back, View, Help) are intentionally non-functional — they are purely decorative UI chrome mimicking the Windows 98 Explorer aesthetic. Add
onClick handlers to any button if you want real functionality.Customization
The project list is defined as thend array near the top of the rd() function in assets/main.js.
Adding a Project
Each project entry is a plain object with five fields. Append a new object to thend array:
Updating the File Icon Logic
The row icon is chosen by a conditional onname.endsWith(".txt"). To support additional file types, extend the ternary into a helper function:
Renaming the Window Title or Folder Path
Update thetitle prop on RetroWindow to change the Explorer title bar text:
Changing the Selected Row Highlight
The highlight is applied via a conditional class on each<tr>:
bg-win-navy and text-white with any Tailwind color utilities to change the selection style.