A modern, responsive portfolio website built with Next.js, React, and Framer Motion.
Visit: https://4ryanwalia.github.io/Aryan-Walia/
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.
npm run build
The build output will be in the out/ directory
npm install
npm run dev
pages/index.jsstyles/globals.cssThis 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.
getServerSideProps are NOT exported by next export.resume.js is a simple static page (which it is), it should be exported.out Directory Locallynpm run build && npm run export
out folder.out/index.htmlout/resume/index.htmlout/AryanWaliaResume.pdfresume/index.html is missing: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.
out/resume/index.html exists.out directory after export, or paste the directory listing here.Let me know what you find, and Iβll guide you to a solution!