Skip to content

About

Website About Me. also use it as Astro Prectice. (future plan: Middleware and fix bugs)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Ray's Personal Website

The source code for rayzhi.me, Ray's personal website. It features information about Ray, projects, math quizzes, YouTube content, and a few hidden surprises.

The GitHub Pages address, saltflavoredlight.github.io, is available as a backup domain.

Built With

  • Astro for the site and static page generation
  • Astro's MDX integration for pages written with Markdown and embedded components
  • HTML, CSS, and TypeScript for interactive features

Run Locally

You need Node.js >=22.23.4 and npm.

npm install
npm run dev

The local development server runs on port 2237.

Build

Build the site for the primary domain:

npm run build:main

Build for the GitHub Pages backup domain:

npm run build:github

Both commands generate the static site in dist/. The plain npm run build command builds without setting a production domain.

Site Map

  • src/pages/ contains the site's Astro, Markdown, and MDX pages.
  • src/components/ contains reusable interface components.
  • src/layouts/ contains shared page layouts.
  • src/styles/ contains global and theme styles.
  • public/ contains static files such as robots.txt.

The site sitemap is available at rayzhi.me/sitemap. Hidden pages are intentionally excluded from it.

Easter Eggs

Try these on the live site:

  1. Find hidden pages: These pages are excluded from the sitemap. Look in src/pages/hidden/ or try routes directly: /hidden/aoc/ has the Act of Contrition, /hidden/prayers/ has Catholic prayers, /hidden/testing/ has Catholic devotions, and /hidden/mdxtemplate/ and /hidden/template/ are template-themed pages.
  2. Open the theme selector: On any page, type the Konami Code using the keyboard: Up, Up, Down, Down, Left, Right, Left, Right, B, A. Choose a theme and save it; the selection is remembered in a cookie for one day. Enter the code again to reopen the selector.
  3. Find the 404 message: Visit a URL that does not exist to see the St. Anthony message on the not-found page.
  4. Read robots.txt: Its /jesus entry hints at future project information; that route is not currently a published page.

License

This project is licensed under the Apache License 2.0. See LICENSE for details.

Port Numbers

Dev: 2237 / 2911 / 316 / 4140

Preview: 2239 / 2913 / 624

About

Website About Me. also use it as Astro Prectice. (future plan: Middleware and fix bugs)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages