Liga acervo documental e guias a jornada do investidor
This commit is contained in:
@@ -21,6 +21,7 @@ type DocumentResource = {
|
||||
source_reference: string;
|
||||
issuer: string | null;
|
||||
file_name: string;
|
||||
version_no: number;
|
||||
size_bytes: number | null;
|
||||
view_url: string | null;
|
||||
links: {
|
||||
@@ -36,7 +37,7 @@ type DocumentResource = {
|
||||
};
|
||||
|
||||
const modulePaths: Record<string, { href: string; label: string }> = {
|
||||
simulator: { href: '/Simulador', label: 'Simulador fiscal' },
|
||||
simulator: { href: '/simulador-fiscal', label: 'Simulador fiscal' },
|
||||
investment: {
|
||||
href: '/oportunidades',
|
||||
label: 'Oportunidades de investimento',
|
||||
@@ -85,6 +86,40 @@ export default function DocumentPage({
|
||||
← Voltar à pesquisa
|
||||
</Link>
|
||||
<article className="space-y-5 rounded-xl border bg-white p-5 sm:p-8">
|
||||
<section
|
||||
aria-label="Estados independentes do documento"
|
||||
className="space-y-2 rounded border bg-slate-50 p-3"
|
||||
>
|
||||
<p>
|
||||
<strong>Consulta:</strong> documento disponível
|
||||
nesta ficha pelas condições de acesso existentes.
|
||||
Referências pendentes não impedem a consulta
|
||||
autorizada.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Situação jurídica:</strong>{' '}
|
||||
{legalStatusLabels[resource.legal_status] ??
|
||||
'Por confirmar'}
|
||||
. A autorização de consulta não valida vigência ou
|
||||
aplicabilidade.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Utilização em cálculos:</strong> esta ficha
|
||||
e as suas associações não ativam regras fiscais. A
|
||||
utilização efetiva exige verificação independente no
|
||||
calculador.
|
||||
</p>
|
||||
<p>
|
||||
<strong>Versão do registo:</strong>{' '}
|
||||
{resource.version_no} ·{' '}
|
||||
{resource.version_label ?? 'Edição por confirmar'}
|
||||
</p>
|
||||
<p>
|
||||
<strong>Proveniência registada:</strong>{' '}
|
||||
{resource.source_url ??
|
||||
'Não indicada; confirmação pendente'}
|
||||
</p>
|
||||
</section>
|
||||
<header className="space-y-2">
|
||||
<p className="text-sm text-slate-600">
|
||||
{resource.category} · {resource.topic}
|
||||
|
||||
Reference in New Issue
Block a user