Entrega dashboard e correccoes transversais preservando Ofertas instalado
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-15 18:56:39 +02:00
parent 1349789226
commit fb076c174f
117 changed files with 10380 additions and 1905 deletions
@@ -12,6 +12,7 @@ import {
type OpportunityChoice,
} from '@/lib/investor-context';
import { createOperationKey } from '@/lib/operation-key';
import InvestmentBudgetRange from '@/components/investment-budget-range';
export default function ContextStart({
contexts,
source,
@@ -36,7 +37,10 @@ export default function ContextStart({
0,
200,
)
: (source?.title ?? opportunityChoices[0]?.opportunity.title ?? ''),
: (entryQuery.project_title ??
source?.title ??
opportunityChoices[0]?.opportunity.title ??
''),
);
const [consent, setConsent] = useState(false);
const [busy, setBusy] = useState(false);
@@ -80,6 +84,14 @@ export default function ContextStart({
};
return (
<Frame title="Iniciar ou continuar um investimento">
{!source && !opportunityChoices.length && (
<p>
Prepare a sua ideia no mesmo dossier, mesmo sem anúncios
publicados. Corredores, parques e zonas são associações
opcionais.
</p>
)}
<InvestmentBudgetRange values={entryQuery} />
<SelectedComplements items={entryComplements} />
{!!opportunityChoices.length && (
<section className={card}>