feat: lead dashboard with authorised portal management groups

This commit is contained in:
2026-11-23 10:52:44 +02:00
parent 0cde594e22
commit d231435d84
17 changed files with 688 additions and 9 deletions
+3 -8
View File
@@ -1,9 +1,8 @@
import ProfileNavigation from '@/components/profile-navigation';
import ContentManagementEntry from '@/components/content-management-entry';
import DashboardManagement from '@/components/dashboard-management';
import DashboardWorkQueue, {
type DashboardQueue,
} from '@/components/dashboard-work-queue';
import { Head, Link } from '@inertiajs/react';
import { Link } from '@inertiajs/react';
import { dashboard } from '@/routes';
import type { InvestmentContext } from '@/pages/investor-path/index';
import type { OpportunityManagementAccess } from '@/types/opportunity-management';
@@ -56,10 +55,7 @@ export default function Dashboard({
}) {
return (
<div className="space-y-8 p-4 md:p-8">
<Head title="Painel" />
<h1 className="text-2xl font-semibold">Painel do portal</h1>
<ProfileNavigation />
<ContentManagementEntry />
<DashboardManagement summaryAvailable={!!summary} />
<section id="meu-trabalho" className="scroll-mt-24">
{workQueue ? (
<DashboardWorkQueue queue={workQueue} />
@@ -308,7 +304,6 @@ export default function Dashboard({
href={`/investimentos/${investorPath.current.id}#${investorPath.current.next.code}`}
>
Próxima acção:{' '}
{investorPath.current.next.code} ·{' '}
{investorPath.current.next.title}
</Link>
)}