* Some changes ported from the work on the makerkit.dev website related to the marketing sections of the kit, such as documentation * Added slight background hue to make darker theme better looking * Support more complex configurations for documentation navigations. * Do not fetch content from Keystatic when non-needed * Add cursor pointers in dropdown * Updated packages
17 lines
373 B
TypeScript
17 lines
373 B
TypeScript
import { AuthLayoutShell } from '@kit/auth/shared';
|
|
|
|
import { AppLogo } from '~/components/app-logo';
|
|
import { BackgroundHue } from '~/components/background-hue';
|
|
|
|
function AuthLayout({ children }: React.PropsWithChildren) {
|
|
return (
|
|
<AuthLayoutShell Logo={AppLogo}>
|
|
{children}
|
|
|
|
<BackgroundHue />
|
|
</AuthLayoutShell>
|
|
);
|
|
}
|
|
|
|
export default AuthLayout;
|