oportunidades 6
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-10 21:17:46 +02:00
parent 01405cbf8a
commit 20971d523f
126 changed files with 44362 additions and 3496 deletions
+7 -1
View File
@@ -18,6 +18,8 @@ export const portalLinks = [
['/apoio', 'Apoio ao Investidor'],
] as const;
const names: Record<string, string> = {
'/explorar/agronegocio': 'Explorar agronegócio',
'/agronegocio': 'Artigo de agronegócio',
'/investidor/negocios': 'Os meus negócios',
'/management/negocios': 'Revisão de negócios',
...Object.fromEntries(portalLinks),
@@ -92,13 +94,15 @@ export default function PortalNavigation({
return (
<MenuPlacement.Provider value={true}>
<div className="pb-8 lg:pb-24 [&_button]:scroll-mb-24 [&_input]:scroll-mb-24 [&_select]:scroll-mb-24 [&_textarea]:scroll-mb-24">
{portalShell && <PortalMenu primary />}
<nav aria-label="Atalho para o conteúdo">
<a
href="#portal-content"
className="sr-only focus:not-sr-only focus:block focus:bg-white focus:p-4 focus:text-emerald-900"
>
Saltar para o conteúdo
</a>
</nav>
{portalShell && <PortalMenu primary />}
<nav
aria-label="Caminho de navegação"
className="bg-background text-foreground flex flex-wrap items-center gap-2 border-b px-5 py-3 text-sm"
@@ -127,12 +131,14 @@ export default function PortalNavigation({
{portalShell && <JourneyCompanion />}
{children}
</div>
<aside aria-label="Contacto de apoio ao investidor">
<a
href="/apoio"
className="mx-3 mt-4 block max-w-[calc(100%-1.5rem)] rounded-xl bg-emerald-800 px-5 py-3 text-center text-sm font-semibold text-white shadow-xl focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-emerald-600"
>
Contactar Apoio ao Investidor
</a>
</aside>
</div>
</MenuPlacement.Provider>
);