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:
Zaldimmar 2026-09-28 22:02:03 -05:00
parent 4066e9ec61
commit 5274e09571
75 changed files with 282 additions and 688 deletions

View file

@ -1,7 +1,7 @@
import { useState, useEffect, useRef } from "react";
import { NavLink, Link, Outlet, useLocation } from "react-router-dom";
import { PAGE_LINKS, PAGE_SECTIONS, NAV_ACTIONS } from "../navConfig.ts";
import Banner from "./Banner.jsx";
import Banner from "./Banner.tsx";
import nguLogo from "../assets/logos/NGU_Logo.svg";
import Footer from "./Footer.tsx";
@ -147,10 +147,10 @@ export default function Layout() {
className="fixed top-0 left-0 right-0 z-50 backdrop-blur-md"
>
{/* Tier 0 — site-wide announcement */}
{/* Tier 0, site-wide announcement */}
<Banner />
{/* Tier 1 — site navigation */}
{/* Tier 1, site navigation */}
<nav
className="flex items-center justify-between px-6 py-4"
aria-label="Site"
@ -201,7 +201,7 @@ export default function Layout() {
</div>
</nav>
{/* Tier 2 — sections of the current page */}
{/* Tier 2, sections of the current page */}
{sections.length > 0 && (
<nav
className="hidden md:flex items-center px-6 py-2"