Trim comments to the non-obvious why
Drop narration, history and restated-code comments across the repo, keep short ones for security boundaries, upstream quirks and ordering constraints, and record the convention in CLAUDE.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
<script setup>
|
||||
/**
|
||||
* Route `/` — the front door, as a box canvas (page key "index") the admin
|
||||
* arranges in the browser like /stp. The fixed bio-and-links page it
|
||||
* replaced is kept as boxes in landingLayout.js, behind the canvas's import
|
||||
* button.
|
||||
*
|
||||
* Statically imported by the router (it is the first paint), but the canvas
|
||||
* is loaded in its own chunk: it brings the box editor with it.
|
||||
*/
|
||||
/** Route `/`: the "index" canvas, loaded in its own chunk (it brings the editor). */
|
||||
import { defineAsyncComponent } from "vue";
|
||||
import { landingLayout } from "./landingLayout";
|
||||
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
/**
|
||||
* The pre-canvas landing page (a bio, an about paragraph and a row of links)
|
||||
* redrawn as boxes, for the "Import old landing page" button on its canvas.
|
||||
*
|
||||
* The old page was a 576px column (max-w-xl) centred in the window, 64px
|
||||
* from the top, with 48px between sections. On the 1400px design canvas that
|
||||
* centre is x = 412; the heights are the old sections' rendered heights,
|
||||
* rounded up. Boxes are unframed, as the old page had no frames.
|
||||
*/
|
||||
/** The pre-canvas landing page redrawn as boxes, for the import button. */
|
||||
import { linkHtml } from "@/views/home3/templates";
|
||||
|
||||
const COLUMN = { x: 412, w: 576 };
|
||||
|
||||
Reference in New Issue
Block a user