Note: Proper video demo coming soon! (Currently dealing with a broken monitor 😅)
Fully interactive portfolio inspired by Apple's macOS — with real window management, animations, and more.
- Table of Contents
- Latest Updates
- Key Features
- Tech Stack
- Project Preview
- Getting Started
- Usage
- Folder Structure
- Roadmap
- Contributing
- License
- Contact
- Updated GitHub Pages deployment support with proper base path handling for
vite.config.js. - Improved GitHub Actions workflow and deployment pipeline for Node.js 20 compatibility.
- Fixed package manager cache handling to ensure reliable builds on CI.
- Desktop Environment — Full macOS-style desktop with a top menu bar, animated wallpaper, and window management
- Draggable Windows — Every window (Terminal, Safari, Finder, etc.) can be dragged, focused, and closed — just like real macOS
- Dock with Magnification — Icon dock at the bottom with smooth exponential magnification on hover
- Finder — Navigate a virtual file system with folders, text files, images, and nested directories
- Safari — In-app browser window displaying projects and blog posts
- Terminal — Command-line aesthetic for showing your tech stack and skills
- Resume Viewer — Built-in PDF viewer powered by
react-pdf - Image Viewer — Open images from Finder into a dedicated viewer window
- Text File Viewer — Read project descriptions and about-me content in a native-feeling text window
- Contact Window — macOS Contacts-styled card with social links, copy-to-clipboard, and an about tab
- Welcome Animation — GSAP-powered variable-font text animation that reacts to mouse movement
- Fast — Built on Vite 8 with instant HMR and optimised production builds
- Responsive — Adapts gracefully to smaller screens
| Technology | Purpose |
|---|---|
| UI framework | |
| Build tool & dev server | |
| Utility-first styling | |
| Animations & dragging | |
| State management | |
| Immutable state updates | |
| Date & time formatting | |
| PDF rendering |
- Node.js ≥ 18
- npm ≥ 9 (or yarn / pnpm)
# 1. Clone the repository git clone https://github.com/Umerjamshaid/Mac_OS_Portfolio.git # 2. Navigate into the project cd Mac_OS_Portfolio # 3. Install dependencies npm install # 4. Start the development server npm run dev
The app will be running at http://localhost:5173 (default Vite port).
npm run build
npm run preview # preview the production build locally- Open the site — you'll be greeted by an animated welcome screen on the macOS desktop.
- Click dock icons — open Finder, Safari, Terminal, Contact, or any other app.
- Drag windows — click and drag the title bar to reposition any window.
- Focus & stack — click a window to bring it to the front, just like macOS.
- Explore Finder — browse the virtual file system to discover projects (text files, images, resume).
- Menu bar — use the top navigation to quickly open Projects, Contact, or Resume.
- Window controls — red/yellow/green buttons to close windows.
Mac_OS_Portfolio/
├── public/
│ ├── files/ # Static documents (resume PDF, etc.)
│ ├── icons/ # SVG icons (wifi, search, user, etc.)
│ └── images/ # Wallpapers, avatars, project images
│
├── src/
│ ├── components/ # Shared UI components
│ │ ├── Dock.jsx # → macOS dock with magnification
│ │ ├── Home.jsx # → Desktop home layer
│ │ ├── navbar.jsx # → Top menu bar with clock
│ │ ├── welcome.jsx # → GSAP welcome text animation
│ │ └── WindowControls.jsx # → Red/yellow/green window buttons
│ │
│ ├── constants/ # App data & configuration
│ │ └── index.js # → Nav links, dock apps, socials, file system
│ │
│ ├── hoc/ # Higher-order components
│ │ └── WindowWrapper.jsx # → Wraps each window (drag, focus, z-index)
│ │
│ ├── store/ # Global state
│ │ └── window.js # → Zustand + Immer store for window management
│ │
│ ├── windows/ # Individual app windows
│ │ ├── Contact.jsx # → Contact card with social links & tabs
│ │ ├── Finder.jsx # → File browser with nested navigation
│ │ ├── ImageFile.jsx # → Image viewer
│ │ ├── Resume.jsx # → PDF resume viewer
│ │ ├── Safari.jsx # → Browser window (projects/blog)
│ │ ├── Terminal.jsx # → Terminal-styled tech stack display
│ │ └── TextFile.jsx # → Plain text file viewer
│ │
│ ├── App.jsx # Root component — assembles everything
│ ├── main.jsx # Entry point — mounts React app
│ └── index.css # Global styles + Tailwind layers
│
├── index.html # HTML shell
├── vite.config.js # Vite config with path aliases
├── package.json
└── eslint.config.js
There's a ton of stuff we'd love to add. Here are the big ones:
- Lock Screen — macOS-style lock screen with password entry on page load (guide)
- Live Wallpapers & Context Menu — Animated wallpapers + right-click desktop menu (guide)
- Dark Mode — Toggle between macOS Tahoe light and dark wallpapers
- Notification Center — Slide-in notification panel from the right
- Spotlight Search — Cmd+K powered search across the portfolio
- Audio Effects — Click sounds, ambient audio, the whole macOS vibe
- Photos App — Gallery window with Lightbox and image zoom
We've written detailed implementation guides for many of these — check out the docs/ folder and docs/FEATURES.md for ideas, code snippets, and step-by-step instructions. If something there interests you, grab it and open a PR.
See the open issues for more.
Contributions are welcome — whether it's fixing a bug, improving a component, or building an entirely new feature.
Looking for something to work on? We've put together a collection of feature ideas with full implementation guides in the docs/ folder:
| Guide | What it covers |
|---|---|
FEATURES.md |
Audio effects, dark mode, animated wallpapers, spotlight search, notifications, easter eggs, and more |
lock-screen-guide.md |
macOS-style lock screen with password input, GSAP animations, and shake feedback |
live-wallpaper-and-context-menu.md |
Live wallpaper component + desktop right-click context menu |
Pick any feature, build it, and open a PR — you'll be listed as a contributor.
How to contribute:
- Fork the repo
- Create your branch (
git checkout -b feat/your-feature) - Make your changes
- Commit (
git commit -m 'Add your feature') - Push (
git push origin feat/your-feature) - Open a Pull Request
If you're new to open source, look for issues tagged good first issue — they're a great starting point.
Distributed under the MIT License. See LICENSE for more information.
MIT License
Copyright (c) 2025 Umer Jamshaid
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Umer Jamshaid
If you found this project interesting or useful, consider giving it a star — it helps others find it.
Made with ❤️ by Umer Jamshaid



