CD — Deployment / deploy (push) Successful in 33s
PR automatique de feat/ui-glass-layout-icons vers main. --------- Co-authored-by: xEsiah <[email protected]> Reviewed-on: #21 Reviewed-by: Esiah <[email protected]> Co-authored-by: Gitea Actions <-[email protected]>
21 lines
870 B
TypeScript
21 lines
870 B
TypeScript
import { Outlet } from "react-router-dom";
|
|
import { ColorBendsBackdrop } from "./ColorBendsBackdrop.js";
|
|
|
|
/**
|
|
* Coque des ecrans d'authentification : fond carmin animé, puis une colonne
|
|
* centree qui contient la page courante. Le degrade garantit la lisibilite des
|
|
* cartes et des champs par-dessus le shader, dans les deux themes.
|
|
*/
|
|
export const AuthLayout = () => (
|
|
<main className="relative flex min-h-dvh items-center justify-center overflow-hidden bg-background px-4 py-10">
|
|
<ColorBendsBackdrop variant="auth" />
|
|
<div
|
|
aria-hidden="true"
|
|
className="pointer-events-none absolute inset-0 bg-gradient-to-b from-background/10 via-background/40 to-background/80 dark:from-background/25 dark:via-background/50 dark:to-background/85"
|
|
/>
|
|
<div className="relative z-10 flex w-full justify-center">
|
|
<Outlet />
|
|
</div>
|
|
</main>
|
|
);
|