mirror of
https://github.com/massbug/judge4c.git
synced 2025-07-07 10:10:51 +00:00
28 lines
655 B
TypeScript
28 lines
655 B
TypeScript
import { useTranslations } from "next-intl";
|
|
|
|
interface AuthLayoutProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
export default function AuthLayout({ children }: AuthLayoutProps) {
|
|
const t = useTranslations("Video");
|
|
|
|
return (
|
|
<div className="grid min-h-svh lg:grid-cols-2">
|
|
{children}
|
|
<div className="relative hidden bg-muted lg:block">
|
|
<video
|
|
autoPlay
|
|
loop
|
|
muted
|
|
playsInline
|
|
className="absolute inset-0 h-full w-full object-cover"
|
|
>
|
|
<source src="/sign-in.mp4" type="video/mp4" />
|
|
{t("unsupportedBrowser")}
|
|
</video>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|