PluginProbe
Extendify / 3.0.5
Extendify v3.0.5
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Launch / layouts / PageLayout.jsx

PageLayout.jsx in Extendify 3.0.5, at src/Launch/layouts/PageLayout.jsx

25 lines 764 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { PageControl } from '@launch/components/PageControl';
2 import { Logo } from '@launch/svg';
3
4 export const PageLayout = ({ children, includeNav = true }) => {
5 return (
6 <div className="flex h-[calc(100dvh)] flex-col">
7 <div className="w-full flex-none bg-banner-main px-6 py-5 md:px-12 md:py-6">
8 {window.extSharedData?.partnerLogo ? (
9 <div className="flex h-10 max-w-52 items-center overflow-hidden md:max-w-72">
10 <img
11 className="max-h-full max-w-full object-contain"
12 src={window.extSharedData.partnerLogo}
13 alt={window.extSharedData?.partnerName ?? ''}
14 />
15 </div>
16 ) : (
17 <Logo className="h-8 w-auto text-banner-text" />
18 )}
19 </div>
20 {children}
21 {includeNav && <PageControl />}
22 </div>
23 );
24 };
25