diff --git a/Dockerfile b/Dockerfile index 2bea590..32f5fcd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ WORKDIR /app COPY --from=builder /app/.output ./.output -ENV PORT=3000 +ENV PORT=9201 ENV HOST=0.0.0.0 -EXPOSE 3000 +EXPOSE 9201 CMD ["node", ".output/server/index.mjs"] diff --git a/src/components/DashboardShell.tsx b/src/components/DashboardShell.tsx index a4a0bfd..2906c3c 100644 --- a/src/components/DashboardShell.tsx +++ b/src/components/DashboardShell.tsx @@ -41,6 +41,13 @@ function SidebarIcon(props: { label: string }) { return ; } +function titleCase(value: string) { + return String(value || '') + .toLowerCase() + .replace(/_/g, ' ') + .replace(/\b\w/g, (c) => c.toUpperCase()); +} + // ── Types ───────────────────────────────────────────────────────────────────── interface Props { @@ -96,15 +103,15 @@ export default function DashboardShell(props: Props) {
{/* ── Sidebar ──────────────────────────────────────────────────────── */}