feat: consolidar desenvolvimentos do portal InvestMoz
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import ProfileNavigation from '@/components/profile-navigation';
|
||||
import ContentManagementEntry from '@/components/content-management-entry';
|
||||
import DashboardWorkQueue, {
|
||||
type DashboardQueue,
|
||||
} from '@/components/dashboard-work-queue';
|
||||
import { Head, Link } from '@inertiajs/react';
|
||||
import { dashboard } from '@/routes';
|
||||
import type { InvestmentContext } from '@/pages/investor-path/index';
|
||||
@@ -32,9 +35,11 @@ export default function Dashboard({
|
||||
summary,
|
||||
investorPath,
|
||||
opportunityManagement,
|
||||
workQueue,
|
||||
}: {
|
||||
summary: Summary | null;
|
||||
opportunityManagement?: OpportunityManagementAccess | null;
|
||||
workQueue?: DashboardQueue | null;
|
||||
investorPath?: {
|
||||
contexts: InvestmentContext[];
|
||||
current: {
|
||||
@@ -53,8 +58,15 @@ export default function Dashboard({
|
||||
<h1 className="text-2xl font-semibold">Painel do portal</h1>
|
||||
<ProfileNavigation />
|
||||
<ContentManagementEntry />
|
||||
<DashboardWorkQueue queue={workQueue} />
|
||||
{summary ? (
|
||||
<>
|
||||
<Link
|
||||
className="inline-block rounded-lg border px-4 py-2 underline"
|
||||
href="/management/product-usage"
|
||||
>
|
||||
Indicadores de utilização e cobertura
|
||||
</Link>
|
||||
{opportunityManagement && (
|
||||
<section
|
||||
aria-label="Gestão de Oportunidades"
|
||||
|
||||
Reference in New Issue
Block a user