"use client"; import { FC, ReactNode } from "react"; import Image from "next/image"; import { useTheme } from "next-themes"; // logo/ images import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg"; import PlaneBackgroundPattern from "public/auth/background-pattern.svg"; import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; type TDefaultLayout = { children: ReactNode; }; export const DefaultLayout: FC = (props) => { const { children } = props; // hooks const { resolvedTheme } = useTheme(); return (
Plane Logo Plane
Plane background pattern
{children}
); };