A modern, responsive portfolio website built with React, TypeScript, and Vite. This site showcases my projects, technical interests, and professional experience.
- Modern Design: Clean, professional layout with smooth animations
- Responsive: Fully responsive design that works on all devices
- Fast Performance: Built with Vite for optimal loading speeds
- TypeScript: Type-safe development with excellent developer experience
- GitHub Pages Ready: Automated deployment to GitHub Pages
- Frontend: React 19, TypeScript
- Build Tool: Vite
- Styling: CSS3 with modern features (Grid, Flexbox, CSS Variables)
- Deployment: GitHub Pages with GitHub Actions
src/
├── App.tsx # Main application component
├── App.css # Application styles
├── main.tsx # Application entry point
└── index.css # Global styles
- Node.js (version 18 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/petterbror/petterbror.github.io.git
cd petterbror.github.io- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:5173
npm run buildThe built files will be in the dist directory.
Edit the following in src/App.tsx:
- Personal Details: Update the
heroarray with your details - Projects: Modify the
projectsarray with your actual projects - Tech Interests: Update the
techInterestsarray with your skills and interests - Contact Information: Update contact details in the contact section
- Main styles are in
src/App.css - Global styles are in
src/index.css - The design uses CSS custom properties for easy theming
- Add a new section component in
App.tsx - Update the navigation menu
- Add corresponding styles in
App.css
The site is automatically deployed to GitHub Pages when you push to the main branch. The deployment is handled by GitHub Actions.
If you prefer manual deployment:
- Build the project:
npm run build- Deploy the
distfolder to your hosting service
- About: Personal introduction and professional summary
- Projects: Showcase of featured projects with technologies used
- Tech Interests: Technical skills organized by category
- Contact: Contact information and social links
- Gradient hero section with call-to-action buttons
- Card-based layout for projects and interests
- Smooth scrolling navigation
- Hover effects and transitions
- Mobile-first responsive design
- Modern typography with Inter font
This project is open source and available under the MIT License.
Feel free to fork this project and customize it for your own portfolio. If you make improvements that could benefit others, pull requests are welcome!
Built with ❤️ by Petter Kärnestad