Skip to content

Remove the unused Legal layout - #19

Merged
kaishin merged 1 commit into
mainfrom
loop/build/remove-legal-layout
Nov 22, 2026
Merged

kaishin merged 1 commit into
mainfrom
loop/build/remove-legal-layout

Conversation

@kaishin

@kaishin kaishin commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Deletes src/layouts/Legal.astro so the repository matches the architecture documentation (Tasker #535, Goal 00f314685a5c, criterion C3). `AGENTS.md` says `src/layouts/Base.astro` is the only layout, but the leftover `Legal.astro` still existed from before the legal pages were removed.

Gap

Nothing imports the layout: `rg Legal src` has no matches, and the `prose` / `dark:prose-invert` classes it contained are used nowhere else, so the file was dead code from a removed multi-page era.

Change

  • Delete `src/layouts/Legal.astro`. No other file changes; the `@tailwindcss/typography` plugin stays as required.

Exclusions

  • The two owner items (analytics, Netlify-to-Cloudflare move) and the deferred items (Japanese locale, theme picker) are untouched.
  • No copy, markup, fonts, or tokens change; the home page is unaffected.

Validation

  • `pnpm check`: 0 errors, 0 warnings.
  • `pnpm format:check`: all files pass.
  • `pnpm build`: 1 page built; `dist/index.html` is byte-identical to the base-branch build apart from the CSS asset hash (the now-unused `prose` utilities drop out of the Tailwind bundle).
  • `ls src/layouts` lists only `Base.astro`; `rg Legal src` is empty; every path named in AGENTS.md exists.

Built by: pi harness, model zai/glm-5.3-flash

@netlify

netlify Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for 4rays ready!

Name Link
🔨 Latest commit e010560
🔍 Latest deploy log https://app.netlify.com/projects/4rays/deploys/6b02f113457f622dbed9737c
😎 Deploy Preview https://deploy-preview-19--4rays.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T13:42:49.947625Z e010560 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kaishin
kaishin merged commit 3e3a1e9 into main Nov 22, 2026
5 checks passed
@kaishin
kaishin deleted the loop/build/remove-legal-layout branch November 22, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant