About this project

This is the source code repository for Yifan Feng's personal homepage, accessible at https://fengyifan.site. The site is built using the Astro static site generator, with all core site code stored in the site/ directory, and bilingual content managed via data files located at site/src/data/. For local development, users can navigate to the site/ folder, run npm install to install required dependencies, then run npm run dev to start a local development server for real-time preview and content editing. To generate a production-ready build of the site, run npm run build, which outputs the compiled static files to the site/dist/ directory; the npm run preview command can be used to test the built site locally before deployment. The project is configured with continuous deployment via GitHub Actions: every push to the main branch triggers the workflow defined in .github/workflows/deploy.yml, which automatically builds the site and publishes the site/dist output to the gh-pages branch. The custom domain fengyifan.site is configured via the CNAME file stored in site/public/.