oportunidades 7
tests / ci (push) Waiting to run

This commit is contained in:
2026-10-13 11:40:29 +02:00
parent 20971d523f
commit 287e991486
2902 changed files with 1085456 additions and 25957 deletions
+5 -2
View File
@@ -36,13 +36,16 @@ export const kind = (
export function Layout({
title,
children,
mainLandmark = true,
}: {
title: string;
children: ReactNode;
mainLandmark?: boolean;
}) {
const { flash } = usePage<{ flash?: { success?: string } }>().props;
const Container = mainLandmark ? 'main' : 'div';
return (
<main className="mx-auto w-full max-w-6xl min-w-0 space-y-6 p-4 break-words md:p-8">
<Container className="mx-auto w-full max-w-6xl min-w-0 space-y-6 p-4 break-words md:p-8">
<Head title={title} />
<nav
className="flex flex-wrap gap-5 text-sm underline"
@@ -61,6 +64,6 @@ export function Layout({
</p>
)}
{children}
</main>
</Container>
);
}
@@ -90,6 +90,8 @@ function JourneyCard({
<CountrySelect
countries={countries}
value={form.data.country}
label="País do requerente"
error={form.errors.country}
onChange={(value) => form.setData('country', value)}
required
allowLegacyValue
@@ -99,6 +101,8 @@ function JourneyCard({
<CountrySelect
countries={countries}
value={form.data.declared_origin_country_code}
label="País de origem declarado desta solicitação"
error={form.errors.declared_origin_country_code}
onChange={(value) =>
form.setData(
'declared_origin_country_code',