This site is built with Next.js and exported as a static site for GitHub Pages.
Install dependencies:
npm installRun the dev server:
npm run devBuild the static export:
npm run buildPreview the exported site locally:
npm run startDeployment is handled by GitHub Actions using:
GitHub Pages should be configured to use GitHub Actions as the deployment source.
The Google Scholar link is stored in:
Update:
links: {
googleScholar: "https://scholar.google.com/..."
}If you want the Google Scholar item to appear in the sidebar again, uncomment the corresponding line in:
Look for the commented Google Scholar sidebar item and remove the comment.
If you want to use a custom domain instead of https://vmittal27.github.io/:
- Add a
CNAMEfile topublic/containing your domain only.
Example:
www.example.com- Update the site URL in:
Change:
const siteUrl = "https://vmittal27.github.io";to your custom domain URL.
- Update:
Replace https://vmittal27.github.io with your custom domain.
- In GitHub repository settings:
- Go to
Settings->Pages - Enter the custom domain
- Enable HTTPS once GitHub makes it available
- Update your DNS records to point the domain to GitHub Pages.
- Public assets live in
public/ - Page routes live in
src/app/ - Shared UI components live in
src/components/ - Site content lives in
src/siteData.js - Need to update publication links once it's published