Repository navigation
Conversation
- Build with vite-ssg: /, /campus and /club are rendered to static HTML at build time (flat club.html/campus.html so Pages serves them without a redirect) and hydrate into the same SPA; the catch-all route is also rendered as 404.html, which Pages serves with a 404 status - Critical CSS is inlined per page with beasties - Per-page <title> via @unhead/vue, driven by route meta - Club: shuffle the builder credits after mount so the pre-rendered HTML hydrates without a mismatch - Campus: show "Checking mc.blockeley.com" until the first status response, instead of baking "offline" into the static HTML - public/CNAME for blockeley.com - .github/workflows/deploy.yml: lint + build every pull request; on push to develop (or manual dispatch) upload dist/ and deploy it with actions/deploy-pages Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DxVDmLPux3Tx7RV1v4yznD
…rant-faraday-ux7zgr-pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
3 of 3 (stacked on the optimizations PR, so this diff shows only the SSG and deploy changes). Retarget to
developonce the earlier PRs merge.SSG
bun run buildnow runs vite-ssg, which pre-renders/,/campusand/clubto static HTML and then hydrates them into the same SPA.club.html,campus.html), so GitHub Pages serves/clubdirectly without a redirect to/club/.404.html, which Pages serves for unknown URLs with a real 404 status.<title>via@unhead/vue, driven by route meta.Deploy workflow (
.github/workflows/deploy.yml)bun install --frozen-lockfile, lint and build. No deploy.develop, or manual runs: the same steps, then uploaddist/and deploy it withactions/deploy-pages@v5.public/CNAMEwithblockeley.com.Repo settings needed before the first deploy
pagesbranch currently has a CNAME forblockeley.mathhulk.com.github-pages: allowdevelopto deploy. By default only the default branch,master, can deploy there.A/AAAArecords to GitHub's Pages IPs), then set the custom domain in the Pages settings and enable HTTPS.Verification
/,/cluband/campusreturn 200, and unknown paths return 404 with the Page Not Found page.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__on: no hydration warnings and no console errors.pull_requestrun will be its first test.Generated by Claude Code