A responsive portfolio website showcasing my professional information, skills, projects, and achievements. Built with React, Tailwind CSS, and Framer Motion.
Clone the repository
git clone https://github.com/AryanBV/Aryan-Portfolio.git
cd Aryan-Portfolio
Install dependencies
npm install
Start the development server
npm run dev
Build for production
npm run build
This project is configured for deployment to GitHub Pages.
Install GitHub Pages dependency (if not already installed)
npm install gh-pages --save-dev
Update package.json (if not already updated)
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
}
Set the base path in vite.config.js
export default defineConfig({
plugins: [react()],
base: '/Aryan-Portfolio/'
})
Deploy the project
npm run deploy
Aryan-Portfolio/
āāā public/
ā āāā images/
ā ā āāā [project images]
ā āāā favicon.ico
āāā src/
ā āāā assets/
ā āāā components/
ā ā āāā layout/
ā ā ā āāā Footer.jsx
ā ā ā āāā MainLayout.jsx
ā ā ā āāā Navbar.jsx
ā ā āāā sections/
ā ā āāā About.jsx
ā ā āāā Achievements.jsx
ā ā āāā Contact.jsx
ā ā āāā Hero.jsx
ā ā āāā Projects.jsx
ā ā āāā Skills.jsx
ā āāā pages/
ā ā āāā Home.jsx
ā āāā utils/
ā ā āāā pathUtils.js
ā āāā App.jsx
ā āāā index.css
ā āāā main.jsx
āāā .gitignore
āāā index.html
āāā package.json
āāā README.md
āāā tailwind.config.js
āāā vite.config.js
npm run dev
npm run deploy
public/images/
directoryimport { getImagePath } from '../../utils/pathUtils';
// Then use
<img src={getImagePath('image-name.png')} alt="Description" />