diff --git a/package.json b/package.json index f87491b..8ea4eb8 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "db:generate": "prisma generate", "db:migrate": "prisma migrate dev", "db:push": "prisma db push", - "db:seed": "node prisma/seed-dow.cjs", + "db:seed": "node prisma/seed-dow.mjs", "db:seed-legacy": "tsx prisma/seed.ts", "db:studio": "prisma studio", "db:seed-tracker": "tsx prisma/seed-tracker-data.ts", diff --git a/src/components/layout/sidebar.tsx b/src/components/layout/sidebar.tsx index 3b4f7a6..b6c3f6d 100644 --- a/src/components/layout/sidebar.tsx +++ b/src/components/layout/sidebar.tsx @@ -171,17 +171,14 @@ export function Sidebar() { role="navigation" aria-label="Sidebar" > - {/* Logo / wordmark */} + {/* Logo / wordmark — Dow Jones logo is white, needs a dark + background to read. #002B5C is Dow Jones's brand navy. */}
{!isCollapsed && ( - {/* Plain (not next/image) — basePath-handling in next/image - is fiddly and the file is ~4KB so image optimisation adds - nothing. Skipping Next's image pipeline avoids the whole - `/_next/image?url=...` + domain-allowlist dance. */} {/* eslint-disable-next-line @next/next/no-img-element */} Navigation -
+
{/* eslint-disable-next-line @next/next/no-img-element */}