Skip to content

vmittal27/vmittal27.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Website

This site is built with Next.js and exported as a static site for GitHub Pages.

Local development

Install dependencies:

npm install

Run the dev server:

npm run dev

Build the static export:

npm run build

Preview the exported site locally:

npm run start

Deployment

Deployment is handled by GitHub Actions using:

GitHub Pages should be configured to use GitHub Actions as the deployment source.

Updating Google Scholar

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.

Custom domain

If you want to use a custom domain instead of https://vmittal27.github.io/:

  1. Add a CNAME file to public/ containing your domain only.

Example:

www.example.com
  1. Update the site URL in:

Change:

const siteUrl = "https://vmittal27.github.io";

to your custom domain URL.

  1. Update:

Replace https://vmittal27.github.io with your custom domain.

  1. In GitHub repository settings:
  • Go to Settings -> Pages
  • Enter the custom domain
  • Enable HTTPS once GitHub makes it available
  1. Update your DNS records to point the domain to GitHub Pages.

Notes

  • 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

About

My personal website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors