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:
@@ -215,7 +215,7 @@
|
||||
}
|
||||
|
||||
:root {
|
||||
--background: oklch(1 0 0);
|
||||
--background: #d8e2db;
|
||||
--foreground: oklch(0.145 0 0);
|
||||
--card: oklch(1 0 0);
|
||||
--card-foreground: oklch(0.145 0 0);
|
||||
@@ -251,7 +251,7 @@
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: oklch(0.145 0 0);
|
||||
--background: #0d302a;
|
||||
--foreground: oklch(0.985 0 0);
|
||||
--card: oklch(0.145 0 0);
|
||||
--card-foreground: oklch(0.985 0 0);
|
||||
|
||||
@@ -16,7 +16,7 @@ const slides = [
|
||||
|
||||
const heroTitle = 'INVISTA EM MOÇAMBIQUE';
|
||||
const heroSubtitle =
|
||||
'Transforme informação em decisões e ideias em negócios reais.';
|
||||
'O seu próximo investimento começa aqui.';
|
||||
const typingStart = 250;
|
||||
const titleStep = 50;
|
||||
const subtitleStep = 28;
|
||||
@@ -213,18 +213,8 @@ export default function PortalHero({
|
||||
running={pageVisible}
|
||||
/>
|
||||
<p className="mt-3 max-w-3xl text-sm leading-relaxed text-white/90 sm:text-base">
|
||||
Oportunidades reais de investimento em Moçambique,
|
||||
organizadas por sector.
|
||||
Transforme informação em oportunidades de negócio
|
||||
</p>
|
||||
<p
|
||||
id="portal-hero-description"
|
||||
className="mt-2 max-w-2xl text-sm leading-relaxed text-white/80 sm:text-base"
|
||||
>
|
||||
Consulte projectos por província e estágio de maturidade,
|
||||
compreenda os requisitos legais e fiscais, e manifeste
|
||||
interesse directamente junto da entidade promotora.
|
||||
</p>
|
||||
|
||||
<form
|
||||
action="/pesquisa"
|
||||
method="get"
|
||||
|
||||
@@ -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 ? (
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
})();
|
||||
</script>
|
||||
|
||||
{{-- Inline style to set the HTML background color based on our theme in app.css --}}
|
||||
{{-- Cor de fundo geral definida para o portal --}}
|
||||
<style>
|
||||
html {
|
||||
background-color: oklch(1 0 0);
|
||||
background-color: #d8e2db;
|
||||
}
|
||||
|
||||
html.dark {
|
||||
background-color: oklch(0.145 0 0);
|
||||
background-color: #0d302a;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user