A modern, responsive portfolio website showcasing projects and blog posts. Optimized for GitHub Pages deployment.
- 🎨 Modern, responsive design
- 📱 Mobile-friendly layout
- 🚀 Fast loading with optimized assets
- 📝 Blog section with JSON-based content
- 💼 Project showcase with tags
- 📧 Contact form with mailto/Formspree support
- ✨ Smooth animations and transitions
- Clone the repository:
git clone <your-repo-url>
cd portfolio-website- Open
index.htmlin your browser, or use a local server:
# Using Python
python3 -m http.server 8000
# Using Node.js
npx serve- Visit
http://localhost:8000in your browser
-
Push to GitHub:
git add . git commit -m "Initial portfolio website" git push origin main
-
Enable GitHub Pages:
- Go to your repository on GitHub
- Click on Settings
- Scroll down to Pages section
- Under Source, select Deploy from a branch
- Choose main branch and
/ (root)folder - Click Save
-
Your site will be live at:
https://<your-username>.github.io/<repository-name>/
Edit index.html to update:
- Your name in the hero section
- Email address
- Social media links
- Bio/description
Edit the projects array in app.js:
const projects = [
{
id: 1,
title: "Your Project",
description: "Project description",
tags: ["React", "Node.js"],
icon: "🚀",
link: "https://your-project-link.com"
},
// Add more projects...
];Edit blog_posts.json to update your blog posts:
[
{
"id": 1,
"title": "Your Blog Post",
"excerpt": "Brief description",
"content": "Full blog content...",
"date": "2024-03-15",
"icon": "📝",
"tags": ["Web Development", "Tutorial"]
}
]Option 1: Mailto (Simple)
- Already configured in
index.html - Just update the email address in the form action
Option 2: Formspree (Recommended)
- Sign up at Formspree
- Create a new form
- Replace
YOUR_FORM_IDinindex.htmlwith your Formspree form ID:<form action="https://formspree.io/f/YOUR_FORM_ID" method="POST">
- Edit
style.cssto customize colors, fonts, and layout - Color variables are defined in
:rootfor easy customization
portfolio-website/
├── index.html # Main HTML file
├── style.css # Stylesheet
├── app.js # JavaScript functionality
├── blog_posts.json # Blog posts data
├── requirements.txt # Python dependencies (for Flask, optional)
├── app.py # Flask backend (optional, not needed for GitHub Pages)
└── README.md # This file
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
This project is open source and available under the MIT License.
- Fonts: Google Fonts - Inter
- Icons: Emoji
Made with ❤️ for showcasing your work