ldc-supportweb/resources/ts/back/Components/Layout/AppFooter.tsx
2026-06-22 15:06:21 +02:00

18 lines
597 B
TypeScript

import { usePage } from "@inertiajs/react";
import { Separator } from "@/components/ui/separator";
import str from "@/hooks/use-string";
import { type AppEnv } from "@/types/global";
export default function AppFooter() {
const appName = (usePage().props.appEnv as AppEnv).name;
const year = new Date().getFullYear();
return (
<section className="relative flex flex-col justify-center items-center w-full py-4 z-2">
<Separator />
<p className="text-sm text-muted-foreground pt-4">
uwil/{str(appName).slug().value()} - UWIL © {year}
</p>
</section>
);
}