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.
- 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
You need Node.js >=22.23.4 and npm.
npm install
npm run devThe local development server runs on port 2237.
Build the site for the primary domain:
npm run build:mainBuild for the GitHub Pages backup domain:
npm run build:githubBoth commands generate the static site in dist/. The plain npm run build command builds without setting a production domain.
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 asrobots.txt.
The site sitemap is available at rayzhi.me/sitemap. Hidden pages are intentionally excluded from it.
Try these on the live site:
- 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. - 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.
- Find the 404 message: Visit a URL that does not exist to see the St. Anthony message on the not-found page.
- Read
robots.txt: Its/jesusentry hints at future project information; that route is not currently a published page.
This project is licensed under the Apache License 2.0. See LICENSE for details.
Dev: 2237 / 2911 / 316 / 4140
Preview: 2239 / 2913 / 624