Merge branch 'front' of https://git.tempo.co.mz/nala/Investidor-V2
tests / ci (push) Waiting to run
tests / ci (push) Waiting to run
This commit is contained in:
@@ -63,14 +63,6 @@ function QueryStatus({
|
||||
retry: () => void;
|
||||
}) {
|
||||
if (loading)
|
||||
return (
|
||||
<p
|
||||
role="status"
|
||||
className="mx-auto max-w-6xl px-5 py-5 text-slate-600 sm:py-6"
|
||||
>
|
||||
A carregar dados...
|
||||
</p>
|
||||
);
|
||||
if (!error) return null;
|
||||
return (
|
||||
<div
|
||||
@@ -1058,7 +1050,7 @@ export default function PortalInvestidorApp({
|
||||
|
||||
return (
|
||||
<SectorContext.Provider value={sectors}>
|
||||
<div className="min-h-screen bg-slate-50 font-sans text-slate-900">
|
||||
<div className="min-h-screen bg-background font-sans text-slate-900">
|
||||
{view !== 'home' && (
|
||||
<TopBar
|
||||
onNavigate={navigate}
|
||||
|
||||
@@ -114,7 +114,7 @@ export function Frame({
|
||||
flash?: { success?: string; warning?: string };
|
||||
}>().props;
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-50 text-slate-900">
|
||||
<div className="min-h-screen bg-background text-slate-900">
|
||||
<Head title={title} />
|
||||
<PortalMenu />
|
||||
<main
|
||||
|
||||
@@ -14,7 +14,7 @@ export default function ManagementAccess({
|
||||
const action =
|
||||
'inline-flex rounded-lg bg-slate-900 px-5 py-3 font-medium text-white';
|
||||
return (
|
||||
<main className="min-h-screen bg-slate-50 px-5 py-12 text-slate-900">
|
||||
<main className="min-h-screen bg-background px-5 py-12 text-slate-900">
|
||||
<Head title="Acesso à gestão" />
|
||||
<div className="mx-auto max-w-2xl space-y-6">
|
||||
<Link href="/" className="text-emerald-700 underline">
|
||||
|
||||
@@ -16,7 +16,7 @@ export default function DocumentPage({
|
||||
articleUrl?: string | null;
|
||||
}) {
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-50 text-slate-900">
|
||||
<div className="min-h-screen bg-background text-slate-900">
|
||||
<Head title={resource.title} />
|
||||
<PortalMenu />
|
||||
<main className="mx-auto max-w-4xl space-y-6 px-5 py-10">
|
||||
|
||||
@@ -78,7 +78,7 @@ export default function FiscalForms({
|
||||
// Other tax preparation may still contain unsaved edits.
|
||||
}
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-50 text-slate-900">
|
||||
<div className="min-h-screen bg-background text-slate-900">
|
||||
<Head title="Preencher formulário fiscal" />
|
||||
<div className="print:hidden">
|
||||
<PortalMenu />
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Head } from '@inertiajs/react';
|
||||
|
||||
export default function InvestmentContexts() {
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-50 text-slate-900">
|
||||
<div className="min-h-screen bg-background text-slate-900">
|
||||
<Head title="Contextos de investimento" />
|
||||
<main className="mx-auto max-w-6xl min-w-0 space-y-6 px-5 py-10">
|
||||
<h1 className="text-3xl font-bold text-[#ed1c24]">
|
||||
|
||||
@@ -335,7 +335,7 @@ export default function Search({
|
||||
const highlight = useMemo(() => buildHighlightRegex(query), [query]);
|
||||
|
||||
return (
|
||||
<main className="min-h-[65vh] bg-slate-50 text-[#101820]">
|
||||
<main className="min-h-[65vh] bg-background text-[#101820]">
|
||||
<Head title="Pesquisa" />
|
||||
<section className="relative overflow-hidden bg-[#101820] text-white">
|
||||
<div
|
||||
|
||||
@@ -591,7 +591,7 @@ export default function Services(p: Props) {
|
||||
formTypes.includes(resource.document_type),
|
||||
) ?? -1;
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-50 text-slate-900">
|
||||
<div className="min-h-screen bg-background text-slate-900">
|
||||
<Head title={title} />
|
||||
<PortalMenu />
|
||||
<main className="mx-auto max-w-6xl min-w-0 space-y-8 overflow-x-clip px-5 py-10">
|
||||
|
||||
@@ -10,7 +10,7 @@ export default function Welcome() {
|
||||
return (
|
||||
<>
|
||||
<Head title="Welcome" />
|
||||
<div className="flex min-h-screen flex-col items-center bg-[#FDFDFC] p-6 text-[#1b1b18] lg:justify-center lg:p-8 dark:bg-[#0a0a0a]">
|
||||
<div className="flex min-h-screen flex-col items-center bg-background p-6 text-[#1b1b18] lg:justify-center lg:p-8">
|
||||
<header className="mb-6 w-full max-w-[335px] text-sm not-has-[nav]:hidden lg:max-w-4xl">
|
||||
<nav className="flex items-center justify-end gap-4">
|
||||
{auth.user ? (
|
||||
|
||||
Reference in New Issue
Block a user