The Projects window (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/old-windows/llms.txt
Use this file to discover all available pages before exploring further.
my_projects/) turns your portfolio work into a Windows Explorer file browser. A left-hand sidebar shows the selected project’s details, while the main pane lists your projects as either large icons or a sortable details table — toggled with toolbar buttons. An address bar at the top is permanently set to C:\My Documents\Projects, cementing the illusion that you are browsing a real 1998 file system.
Visual Design
The component usesbg-white font-pixel text-sm as its base and layers classic Win98 chrome on top:
- Toolbar — a
win-border-outset bg-win-graybar containing the File/Edit/View/Help menu labels and the Icons / Details toggle buttons. The active view button renders aswin-border-inset(pressed-in). - Address bar — a separate
win-border-outsetrow below the toolbar with an insetwin-border-inset bg-whiteinput field showing the path as static text. - Sidebar —
w-1/3 max-w-[250px]panel on the left. A bold"My Projects"header (text-2xl font-bold text-win-navy) sits above the detail area. When nothing is selected it shows italic placeholder text; once a file is clicked it displays the project icon (📄), filename, type, size, modified date, and a description in abg-[#ffffcc]post-it style box. - Main pane — fills the remaining width; switches between a
<table>(Details) and aflex-wrapicon grid (Icons) based on React state.
Features
Details view (default)
A
<table> renders all four project files with Name, Size, Type, and Modified columns. Column headers use win-border-outset to look like the old Explorer column buttons. Clicking any row highlights it with bg-win-navy text-white and populates the sidebar.Icons view
Clicking the Icons toolbar button switches the main pane to a
flex-wrap grid of large 📄 icons with the filename below. Single-clicking an icon selects it and updates the sidebar.Sidebar detail panel
When a project is selected, the sidebar shows: the 📄 icon, the filename, the file type label, a horizontal divider, size, modified date, and the project description in a post-it box. Clicking any other file immediately updates the panel.
Project data structure
Each project is an object in theprojects array defined just above the component in config/apps.js:
Customization
Replace the projects array
Find the
projects array at the top of the ProjectsComponent section in config/apps.js and swap in your own work. The name field should follow the retro file-extension convention (.exe, .dll, .html, .sys, .zip) for best effect:Add a project link
The sidebar currently displays static text. To make projects linkable, add a
url field to each project object and render it inside the sidebar panel:Core component snippet
The Icons view currently uses the same
📄 emoji for every file. To differentiate file types visually, add an icon field to each project object (e.g. 🌐 for .html, ⚙️ for .exe) and render p.icon instead of the hardcoded 📄.