Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

495 B
Raw Blame
import React from "react";
import { AuthShell } from "@editor/auth/ui/AuthShell";
import Footer from "@editor/components/shared/Footer";

interface AuthLayoutProps {
  children: React.ReactNode;
}

/**
 * Editor login layout. The card shell lives in shared so the portal renders
 * the identical screen; this wires the editor's legal/cookie footer into it.
 */
export default function AuthLayout({ children }: AuthLayoutProps) {
  return <AuthShell footer={<Footer />}>{children}</AuthShell>;
}