Separate dashboard functions from grouped administration operations
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -60,7 +60,20 @@ export default function Dashboard({
|
||||
<h1 className="text-2xl font-semibold">Painel do portal</h1>
|
||||
<ProfileNavigation />
|
||||
<ContentManagementEntry />
|
||||
<DashboardWorkQueue queue={workQueue} />
|
||||
<section id="meu-trabalho" className="scroll-mt-24">
|
||||
{workQueue ? (
|
||||
<DashboardWorkQueue queue={workQueue} />
|
||||
) : (
|
||||
<>
|
||||
<h2 className="text-lg font-semibold">
|
||||
O meu trabalho
|
||||
</h2>
|
||||
<p className="text-muted-foreground text-sm">
|
||||
Sem fila de trabalho disponível neste âmbito.
|
||||
</p>
|
||||
</>
|
||||
)}
|
||||
</section>
|
||||
{editorialQueue && (
|
||||
<section
|
||||
className="rounded-lg border p-4"
|
||||
@@ -128,7 +141,10 @@ export default function Dashboard({
|
||||
</p>
|
||||
</section>
|
||||
)}
|
||||
<section className="space-y-4">
|
||||
<section
|
||||
id="manifestacoes"
|
||||
className="scroll-mt-24 space-y-4"
|
||||
>
|
||||
<h2 className="text-lg font-semibold">
|
||||
Manifestações de interesse
|
||||
</h2>
|
||||
@@ -149,7 +165,10 @@ export default function Dashboard({
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
<section className="space-y-4">
|
||||
<section
|
||||
id="indicadores-oportunidades"
|
||||
className="scroll-mt-24 space-y-4"
|
||||
>
|
||||
<h2 className="text-lg font-semibold">
|
||||
<Link href="/management/opportunities">
|
||||
{opportunityManagement
|
||||
@@ -190,7 +209,10 @@ export default function Dashboard({
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
<section className="space-y-4">
|
||||
<section
|
||||
id="pedidos-recentes"
|
||||
className="scroll-mt-24 space-y-4"
|
||||
>
|
||||
<div className="flex flex-wrap items-center justify-between gap-3">
|
||||
<h2 className="text-lg font-semibold">
|
||||
Pedidos mais recentes
|
||||
@@ -243,6 +265,7 @@ export default function Dashboard({
|
||||
)}
|
||||
</section>
|
||||
<nav
|
||||
id="accoes-rapidas"
|
||||
aria-label="Acções rápidas"
|
||||
className="flex flex-wrap gap-4"
|
||||
>
|
||||
@@ -264,7 +287,10 @@ export default function Dashboard({
|
||||
</nav>
|
||||
</>
|
||||
) : investorPath ? (
|
||||
<section className="space-y-4 rounded-xl border p-6">
|
||||
<section
|
||||
id="meus-investimentos"
|
||||
className="scroll-mt-24 space-y-4 rounded-xl border p-6"
|
||||
>
|
||||
<h2 className="text-lg font-semibold">
|
||||
Os meus investimentos
|
||||
</h2>
|
||||
|
||||
@@ -152,7 +152,7 @@ export default function EditorialWorkflow({
|
||||
},
|
||||
].filter((area) => area.entries.some((item) => item.href));
|
||||
return (
|
||||
<Management title="Dashboard">
|
||||
<Management title="Circuito editorial">
|
||||
<p className="max-w-3xl text-sm text-slate-600">
|
||||
Acompanhe a preparação, revisão e publicação numa única área de
|
||||
trabalho. Seleccione uma actividade para continuar nas tarefas
|
||||
|
||||
Reference in New Issue
Block a user