A modern, interactive portfolio website built with vanilla JavaScript and hosted on Vercel. Features a dynamic theme switcher, smooth transitions, and an engaging portfolio grid with expandable project cards.
- Dynamic Theme Switching: Toggle between light and dark modes for comfortable viewing
- Interactive Navigation: Smooth section transitions with active state indicators
- Portfolio Grid:
- Expandable project cards with smooth animations
- Seamless slideshow functionality for project images
- Click-to-expand interaction with close functionality
- Side decorator animations for visual appeal
- HTML5
- CSS3
- Vanilla JavaScript
- Vercel (Hosting)
- Clone the repository
git clone https://github.com/EmperorKunDis/NewPortfolio.git
- Navigate to the project directory
cd NewPortfolio
- Open
index.html
in your browser or use a local server
# Using npm live-server
npm install -g live-server
live-server
document.querySelector(".theme-btn").addEventListener("click", () => {
document.body.classList.toggle("light-mode");
})
- Handles active state for both navigation buttons and content sections
- Implements smooth transitions between different portfolio sections
- Expandable Items: Click to expand project details
- Automatic Slideshows: Seamless image transitions
- Responsive Layout: Adapts to different screen sizes
- Animation Management: Handles entrance/exit animations and state management
- Add HTML markup following this structure:
<div class="portfolio-item">
<div class="project-overlay">
<div class="slideshow-container">
<!-- Add your project images here -->
</div>
</div>
<div class="close-btn"></div>
</div>
- Add corresponding styles in your CSS file
- Images will automatically be included in the slideshow functionality
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details
Martin Švanda - @Martinvanda16
Project Link: https://github.com/EmperorKunDis/NewPortfolio