feat(settings): render doctor/clinic settings pages inside the settings shell
Wrap the existing settings-area pages — doctor profile (مدیریت پزشک), insurance pricing (بیمه), payment report (پرداخت), SMS wallet (پیامکها), secretaries (منشی) and clinic info (مطب) — in SettingsLayout so they appear under the settings sub-navigation like the Figma design, with the matching menu item highlighted. Wire the doctor/clinic menu entries to their routes. The نوبتدهی / برچسبها / حساب کاربری entries stay as disabled placeholders until they have their own pages/designs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,9 +2,11 @@ import PageHeader from '../components/ui/PageHeader';
|
||||
import TenantInsuranceContracts from '../components/TenantInsuranceContracts';
|
||||
import FreeVisitPrice from '../components/FreeVisitPrice';
|
||||
import FeatureGate from '../components/ui/FeatureGate';
|
||||
import SettingsLayout from '../components/layout/SettingsLayout';
|
||||
|
||||
export default function InsurancePricingPage() {
|
||||
return (
|
||||
<SettingsLayout active="insurance">
|
||||
<FeatureGate feature="insurance">
|
||||
<div className="fade-in">
|
||||
<PageHeader
|
||||
@@ -15,5 +17,6 @@ export default function InsurancePricingPage() {
|
||||
<TenantInsuranceContracts />
|
||||
</div>
|
||||
</FeatureGate>
|
||||
</SettingsLayout>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user