The home screen is the entry point for the entire RetroWin portfolio. Rendered 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.
/ route, it displays a Windows 98-style teal desktop populated with clickable DesktopIcon components and — when the user is at the root path — a floating RetroWindow containing a classic early-web welcome page. Every other route in the app is reachable from here.
Visual Layout
When a visitor lands on/, they see a full-screen teal desktop with five icons arranged in the top-left corner. A draggable RetroWindow titled “welcome.htm” with the address bar showing http://127.0.0.1/home.htm opens automatically in the center of the screen.
Desktop Icons
| Icon Type | Label | Action |
|---|---|---|
computer | My Computer | Navigates to /about |
folder | my_projects | Navigates to /projects |
exe | skillz.exe | Navigates to /skills |
mail | Guestbook | Navigates to /contact |
recycle | Recycle Bin | Triggers alert("Empty!") |
Welcome Window Contents
TheRetroWindow renders at a default position of x: 200, y: 50 (responsive: x: 20 on mobile) with a width capped at 500px and a height of 550px. Inside it:
- A large cyan heading in VT323 font: “WELCOME 2 MY WEBSITE!!!1!”
- A scrolling
Marqueestrip:+++ UPDATED TODAY (PROBABLY) +++ OPTIMIZED FOR 1024x768 +++ - A pulsing “UNDER CONSTRUCTION” SVG image placeholder
- A short bio paragraph with links to
/about,/projects, and/contact - A
HitCountercomponent labelled “YOU ARE VISITOR NO:” - A
Webringcomponent at the bottom
The welcome window only renders when the current path is exactly
/. Navigating to any sub-route hides it, so the desktop icons remain visible as a persistent navigation layer on every page.Customization
The home desktop is implemented in theed() function inside assets/main.js. Here is where to make the most common changes.
Changing the Welcome Message
Find the<h1> element inside the RetroWindow children and replace its text content:
Changing the Marquee Text
Locate the<Marquee> component and update its text prop:
Replacing the “Under Construction” Placeholder
The placeholder is an inline SVG rendered via adata: URI on an <img> tag. Swap it with a real animated GIF or a hosted image:
Editing the Bio Paragraph
Find the<p> element inside the white bordered box and replace it with your own introduction:
Adding or Removing Desktop Icons
Each icon is a<DesktopIcon> component with icon, label, and either to (route) or onClick props. Add a new icon by inserting another <DesktopIcon> in the ed() function: