I'll convert this interactive card stack design to pure HTML, CSS, and JavaScript for your GitHub Pages portfolio. This will be a standalone implementation that you can easily deploy.
This HTML/CSS/JavaScript implementation provides:
- Standalone Portfolio Card Stack: Perfect for GitHub Pages deployment
- Interactive Drag Functionality: Users can drag cards to reveal new projects
- Responsive Design: Works on desktop, tablet, and mobile devices
- Dynamic Color Extraction: Automatically extracts colors from project images
- Smooth Animations: CSS transitions and transforms for fluid interactions
- Portfolio-Focused Content: Sample projects relevant to a design portfolio
- Modern Styling: Clean, professional design with glassmorphism effects
To deploy on GitHub Pages:
- Create a new repository
- Upload these three files (index.html, styles.css, script.js)
- Enable GitHub Pages in repository settings
- Your portfolio will be live at
https://yourusername.github.io/repository-name
Customization:
- Replace the
portfolioProjects array in script.js with your actual projects - Update project images, titles, descriptions, and links
- Modify colors and styling in
styles.css to match your brand - Add your own project images to the repository and update the image URLs