This repository provides a template for creating a modern, responsive portfolio website built with Vite and React. It includes pre-configured tools and libraries to help you quickly set up and deploy your portfolio. You can check the demo at Surya Abhinav
- Vite: Fast build and development server.
- React: Component-based UI for a dynamic portfolio.
- Tailwind CSS: Utility-first CSS framework with custom typography.
- React Router: For seamless navigation.
- Framer Motion: Smooth animations and transitions.
- Markdown Support: Write content using
react-markdown
withrehype-slug
andrehype-toc
. - ESLint: Code linting for cleaner and more maintainable code.
- GitHub Pages: Pre-configured for easy deployment.
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/suryaabhinav/portfolio-template.git cd portfolio-template
-
Install dependencies:
npm install
To start the development server, run:
npm run dev
This will start a local development server. The website will be available at http://localhost:5173.
- To build the project for production:
npm run build
- Deploy to GitHub Pages:
npm run build
npm run deploy
Make sure to update the homepage
field in package.json
with your GitHub Pages URL.
- Linting: Run npm run lint to check your code for issues.
- Preview: Use npm run preview to locally preview the production build.
- 404 Handling: Automatically copies index.html to 404.html for proper routing on GitHub Pages.
- Update content in the React components to reflect your personal or professional details.
- Modify Tailwind CSS configuration to match your design preferences.
- Customize animations using Framer Motion for a unique user experience.
@tailwindcss/typography
: For beautiful typography styles.framer-motion
: For animations and transitions.react-markdown
: Render markdown content in your portfolio.react-router-dom
: For navigation.gh-pages
: Simplifies GitHub Pages deployment.
eslint
: For linting JavaScript and React code.vite
: For fast builds and hot module replacement.tailwindcss
: For utility-first styling.
Feel free to fork this repository and submit pull requests with improvements or suggestions. Contributions are always welcome!
This project is licensed under the MIT License.
Happy coding! 🎉