[WEB-2332] chore: layout structure improvement. (#5538)
* [WEB-2332] chore: layout structure improvement. * chore: improve layout.
This commit is contained in:
parent
9415a5ba00
commit
1032bc75d7
1 changed files with 9 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import "@/styles/react-day-picker.css";
|
||||||
// meta data info
|
// meta data info
|
||||||
import { SITE_NAME, SITE_DESCRIPTION } from "@/constants/meta";
|
import { SITE_NAME, SITE_DESCRIPTION } from "@/constants/meta";
|
||||||
// helpers
|
// helpers
|
||||||
import { API_BASE_URL } from "@/helpers/common.helper";
|
import { API_BASE_URL, cn } from "@/helpers/common.helper";
|
||||||
// local
|
// local
|
||||||
import { AppProvider } from "./provider";
|
import { AppProvider } from "./provider";
|
||||||
|
|
||||||
|
|
@ -75,7 +75,14 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||||
<body>
|
<body>
|
||||||
<div id="context-menu-portal" />
|
<div id="context-menu-portal" />
|
||||||
<AppProvider>
|
<AppProvider>
|
||||||
<div className={`h-screen w-full overflow-hidden bg-custom-background-100`}>{children}</div>
|
<div
|
||||||
|
className={cn(
|
||||||
|
"h-screen w-full overflow-hidden bg-custom-background-100 relative flex flex-col",
|
||||||
|
"app-container"
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<div className="w-full h-full overflow-hidden relative">{children}</div>
|
||||||
|
</div>
|
||||||
</AppProvider>
|
</AppProvider>
|
||||||
</body>
|
</body>
|
||||||
{process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN && (
|
{process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN && (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue