2026-08-06 11:03:48 +00:00
|
|
|
import type React from "react";
|
2026-06-02 16:40:23 +00:00
|
|
|
|
2026-06-04 09:09:24 +00:00
|
|
|
import { AppMain } from "./app-main";
|
2026-10-16 17:00:01 +00:00
|
|
|
import { CompanyPageOutlet } from "./company-page-outlet";
|
2026-06-04 09:09:24 +00:00
|
|
|
|
2026-08-06 11:03:48 +00:00
|
|
|
interface AppFullscreenLayoutFrameProps {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const AppFullscreenLayoutFrame = ({ children }: AppFullscreenLayoutFrameProps) => {
|
2026-09-14 09:41:26 +00:00
|
|
|
return <AppMain className="h-dvh w-dvw rdx-app-fullscreem-layout">{children}</AppMain>;
|
2026-08-06 11:03:48 +00:00
|
|
|
};
|
|
|
|
|
|
2026-09-04 09:07:59 +00:00
|
|
|
/**
|
2026-09-04 09:41:37 +00:00
|
|
|
* Shell para páginas fullscreen sin sidebar ni topbar global.
|
2026-09-04 09:07:59 +00:00
|
|
|
*/
|
|
|
|
|
|
2026-06-02 16:40:23 +00:00
|
|
|
export const AppFullscreenLayout = () => {
|
|
|
|
|
return (
|
2026-08-06 11:03:48 +00:00
|
|
|
<AppFullscreenLayoutFrame>
|
2026-10-16 17:00:01 +00:00
|
|
|
<CompanyPageOutlet />
|
2026-08-06 11:03:48 +00:00
|
|
|
</AppFullscreenLayoutFrame>
|
2026-06-02 16:40:23 +00:00
|
|
|
);
|
|
|
|
|
};
|