Finalize multilingual routing and translations
CI / quality (push) Waiting to run

This commit is contained in:
MOH
2026-03-07 14:10:30 +01:00
parent 1ad9ae9629
commit 7f4277d1d7
53 changed files with 2805 additions and 1382 deletions
+30
View File
@@ -0,0 +1,30 @@
import type { ReactNode } from "react";
import { AppCard } from "@/components/ui/app-card";
import { CardContent } from "@/components/ui/card";
type AppHeaderProps = {
title: string;
description?: string;
actions?: ReactNode;
};
export function AppHeader({ title, description, actions }: AppHeaderProps) {
return (
<AppCard level={3}>
<CardContent className="flex flex-wrap items-start justify-between gap-5 p-6 lg:p-8">
<div className="space-y-2">
<h1 className="text-3xl font-semibold tracking-tight text-foreground sm:text-4xl">
{title}
</h1>
{description ? (
<p className="max-w-3xl text-sm text-muted-foreground sm:text-base">
{description}
</p>
) : null}
</div>
{actions ? <div className="flex items-center gap-2">{actions}</div> : null}
</CardContent>
</AppCard>
);
}