Clean up code found in the audit
- Replace every em-dash in src and server/src with a colon, comma or hyphen - Give every relative import its file extension (.jsx imports of .tsx fixed) - Delete old-historyMock.ts, unused exports, unused CSS utilities, the unused @ alias and the fallback option nothing passed - One copy each of initials, capitalize, byName and the server's marks() - Move the organization, chapter and event hooks from src/data to src/lib - Schema sync always throws on a mismatch (strict was never turned off) - Replace the placeholder README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4066e9ec61
commit
5274e09571
75 changed files with 282 additions and 688 deletions
|
|
@ -4,10 +4,10 @@
|
|||
sections with a thin accent banner between them, alternating
|
||||
backgrounds, and a left-aligned heading with a blurb and rule.
|
||||
|
||||
Whatever goes inside a section is passed as `content` — the shell
|
||||
Whatever goes inside a section is passed as `content`, the shell
|
||||
doesn't care what it is.
|
||||
|
||||
No <main> and no footer here — Layout provides both, so a page
|
||||
No <main> and no footer here, Layout provides both, so a page
|
||||
using this shell drops straight into the router's Outlet.
|
||||
|
||||
Usage:
|
||||
|
|
@ -58,7 +58,7 @@ export function Section({ section }: { section: ShellSection }) {
|
|||
blurb,
|
||||
accent,
|
||||
background,
|
||||
// Optional action bar for this section's heading row — a view
|
||||
// Optional action bar for this section's heading row, a view
|
||||
// toggle, a filter, a link. Whatever the section needs; the
|
||||
// shell just gives it a place to sit.
|
||||
actions,
|
||||
|
|
@ -71,7 +71,7 @@ export function Section({ section }: { section: ShellSection }) {
|
|||
className="py-20"
|
||||
style={{ background, scrollMarginTop: "5rem" }}
|
||||
>
|
||||
{/* Heading — left aligned, optional actions on the right */}
|
||||
{/* Heading, left aligned, optional actions on the right */}
|
||||
<div className="max-w-6xl mx-auto px-6 mb-10">
|
||||
<div className="flex flex-wrap items-end justify-between gap-4">
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue