forked from github/plane
9f1fd2327a
* fix: auth redirection issues * fix: redirect flickering fix * chore: sign in page ui improvement and redirection fix (#2501) * style: sign in page ui improvement * chore: sign up redirection added and ui improvement * chore: redirection validation and create workspace form fix (#2504) * chore: sign in redirection validation * fix: create workspace form input fix * chore: code refactor --------- Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>
13 lines
325 B
TypeScript
13 lines
325 B
TypeScript
import { FC, ReactNode } from "react";
|
|
|
|
type Props = {
|
|
children: ReactNode;
|
|
gradient?: boolean;
|
|
};
|
|
|
|
const DefaultLayout: FC<Props> = ({ children, gradient = false }) => (
|
|
<div className={`h-screen w-full overflow-hidden ${gradient ? "" : "bg-custom-background-100"}`}>{children}</div>
|
|
);
|
|
|
|
export default DefaultLayout;
|