Files
glenloch-media/src/app/(app)/announcements/page.tsx
T
Tiel Coder 3451bced82 A4: app shell (layout, nav, tokens, error/empty states, /api/health)
Fixes the A4 blocker: /api/dev/complete now establishes the Auth.js session.
Root cause was UntrustedHost (trustHost defaulted false in pnpm start /
production because setEnvDefaults derives it from AUTH_URL, not NEXTAUTH_URL,
and assertConfig checks it before that default applies). Added trustHost: true
to the auth config; rebuilt. Complete response now sets authjs.session-token,
/schedule returns 200, and all 4 e2e shell tests pass.
Also ignores test-results/ artifacts.
2026-11-17 23:35:45 +00:00

17 lines
505 B
TypeScript

import { StateMessage } from "@/components/app/state-message";
export const metadata = { title: "Announcements" };
export default function AnnouncementsPage() {
return (
<>
<h1 className="text-lg font-semibold tracking-tight">Announcements</h1>
<p className="text-sm text-muted-foreground">News and notes from the media team.</p>
<StateMessage
title="No announcements"
description="Team announcements will appear here as rich-text posts."
/>
</>
);
}