- GeradoresService: cada tipo passa a ser um IGenerator (NIF, NIPC, NISS, CC, passaporte, IBAN, NIB, cartões, referência MB, pessoa, telefone, código postal, email, matrícula, EAN, UUID) registado em GeneratorRegistry; remove DAL/EF - GeradoresWS: minimal APIs em /api/v1 com OpenAPI + Scalar e health check - UnitTest: testes de ida e volta, valores conhecidos, detecção e API - geradoresfe: UI construída a partir dos metadados da API, validador livre, exportação CSV/JSON/TXT, nginx com API_UPSTREAM configurável - Docker, docker-compose e Jenkinsfile actualizados Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
445 B
TypeScript
14 lines
445 B
TypeScript
import type { ReactNode } from "react";
|
|
import Footer from "./Footer";
|
|
import Header from "./Header";
|
|
|
|
export function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<div className="flex min-h-screen flex-col bg-white text-zinc-900 transition-colors dark:bg-zinc-900 dark:text-zinc-100">
|
|
<Header />
|
|
<main className="w-full flex-grow">{children}</main>
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|