feature: a mocked implementation of v1 UI done.

This commit is contained in:
2026-05-07 03:40:29 +03:30
parent 2161926fc9
commit a70cbc7860
11 changed files with 1276 additions and 6 deletions

View File

@@ -1,10 +1,18 @@
'use client';
import { TreatmentWorkspace } from '@/components/treatment/TreatmentWorkspace';
import { useAuth } from '@/lib/hooks/useAuth';
export default function TreatmentPage() {
const { user, currentOrganization, isAuthReady } = useAuth();
if (!isAuthReady || !user) {
return (
<div className="text-sm text-text-muted">Loading</div>
);
}
return (
<div className="space-y-3">
<h1 className="text-2xl font-semibold text-text-primary">Treatment</h1>
<p className="text-sm text-text-secondary">
Treatment module is coming soon.
</p>
</div>
<TreatmentWorkspace userId={user.id} currentOrganization={currentOrganization} />
);
}