added getDashboardLayout

This commit is contained in:
jojopirker
2023-01-04 20:22:06 +01:00
parent 173356929a
commit 8e61cef81d
3 changed files with 14 additions and 16 deletions
+7
View File
@@ -25,4 +25,11 @@ export const getTransparentHeaderLayout = (page: React.ReactElement) => (
</div>
);
export const getDashboardLayout = (page: React.ReactElement) => (
<div className="grid grid-rows-[min-content_1fr_min-content] h-full justify-items-stretch">
<Header transparent={true} />
{page}
</div>
);
export const noLayout = (page: React.ReactElement) => page;