A modern, responsive portfolio website built with Next.js, React, and Framer Motion.
Visit: https://4ryanwalia.github.io/Aryan-Walia/
- Next.js 15 - React framework
- React 19 - UI library
- Framer Motion - Animation library
- Tailwind CSS - Styling
- GitHub Pages - Hosting
my-portfolio/
├── pages/ # Next.js pages
├── public/ # Static assets
├── styles/ # Global styles
├── components/ # React components
└── .github/ # GitHub Actions
This project uses GitHub Actions for automatic deployment. Simply push to the main branch and it will automatically deploy to GitHub Pages.
-
Build the project:
npm run build
-
The build output will be in the
out/directory -
Deploy to GitHub Pages:
- Go to your repository settings
- Navigate to "Pages" section
- Set source to "GitHub Actions"
-
Install dependencies:
npm install
-
Run development server:
npm run dev
- ✅ Responsive design
- ✅ Smooth animations with Framer Motion
- ✅ Dark theme
- ✅ Interactive project showcase
- ✅ Contact form
- ✅ Experience timeline
- ✅ Skills section
- ✅ Mobile-friendly navigation
- Update personal information in
pages/index.js - Modify colors and styling in
styles/globals.css - Add new projects to the projects array
- Update experience timeline with your background
This project is open source and available under the MIT License.
Aryan Walia - Developer & Tech Enthusiast
Next.js static export (next export) should generate:
out/resume/index.html
and
out/AryanWaliaResume.pdf
If out/resume/index.html is missing, the resume page won't work.
- Dynamic routes or pages using
getServerSidePropsare NOT exported bynext export. - If your
resume.jsis a simple static page (which it is), it should be exported.
- Run:
npm run build && npm run export
- Open the
outfolder. - Confirm you see:
out/index.htmlout/resume/index.htmlout/AryanWaliaResume.pdf
- There may be a misconfiguration in your Next.js setup.
You have:
basePath: '/Aryan-Walia',
assetPrefix: '/Aryan-Walia/',This is correct for GitHub Pages.
But, all internal links should use the Next.js Link component and not hardcoded paths.
In your index.js and navigation, make sure you use:
<Link href="/resume">Resume</Link>and not /Aryan-Walia/resume.
If the page is not exported, you can add a next.config.mjs exportPathMap (but with Next 15, this is rarely needed).
Your PDF path in resume.js should be:
src={`${process.env.NEXT_PUBLIC_BASE_PATH || ''}/AryanWaliaResume.pdf`}But with your current config, /Aryan-Walia/AryanWaliaResume.pdf is correct.
- Run the build and export locally.
- Check if
out/resume/index.htmlexists. - If it does not exist, let me know.
- If it does exist, push to GitHub and redeploy.
If you want, you can upload a screenshot of your out directory after export, or paste the directory listing here.
Let me know what you find, and I’ll guide you to a solution!