Initial commit: thbd-portal, duplicated from elmi-portal
Rebranded for Thunderbird Portal (THBD): numbering prefix EL->TH, all "ELMI"/"ЭЛМИ" UI strings genericized, ELMI's real contract templates and company legal/bank details removed (not applicable to this company), fresh VAPID keypair and encryption key, fresh single-migration schema history. Same architecture as elmi-portal: Web Push notifications, unread-chat app badge, cookie-session auth. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh2UXUQUVBWroWEnn1FLFG
This commit is contained in:
commit
579528edf7
197 files changed
+25022
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import { redirect } from "next/navigation";
|
||||
import { getCurrentSession } from "@/lib/auth/session";
|
||||
import { getMailboxStatus } from "@/lib/mail/config";
|
||||
import { MailboxForm } from "./mailbox-form";
|
||||
|
||||
export default async function EmailSettingsPage() {
|
||||
const session = await getCurrentSession();
|
||||
if (!session) redirect("/orders");
|
||||
|
||||
const status = await getMailboxStatus();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1 className="mb-1 font-display text-xl font-bold tracking-tight">Почта</h1>
|
||||
<p className="mb-5 text-sm text-text-muted">
|
||||
Входящие письма распознаются через Claude в черновики запросов — менеджер подтверждает их на странице{" "}
|
||||
«Запросы» перед созданием настоящего запроса.
|
||||
</p>
|
||||
<MailboxForm status={status} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user