mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* Page meta tags are not generated on the server Fixes #2730 * suppress warnings about critical dependencies in Next.js logs
38 lines
1017 B
TypeScript
38 lines
1017 B
TypeScript
import React from 'react';
|
|
|
|
import type { Props } from './types';
|
|
|
|
import AppErrorBoundary from 'ui/shared/AppError/AppErrorBoundary';
|
|
import HeaderAlert from 'ui/snippets/header/HeaderAlert';
|
|
import HeaderDesktop from 'ui/snippets/header/HeaderDesktop';
|
|
import HeaderMobile from 'ui/snippets/header/HeaderMobile';
|
|
|
|
import * as Layout from './components';
|
|
|
|
const LayoutDefault = ({ children }: Props) => {
|
|
return (
|
|
<Layout.Root content={ children }>
|
|
<Layout.Container>
|
|
<Layout.TopRow/>
|
|
<Layout.NavBar/>
|
|
<HeaderMobile/>
|
|
<Layout.MainArea>
|
|
<Layout.SideBar/>
|
|
<Layout.MainColumn>
|
|
<HeaderAlert/>
|
|
<HeaderDesktop/>
|
|
<AppErrorBoundary>
|
|
<Layout.Content>
|
|
{ children }
|
|
</Layout.Content>
|
|
</AppErrorBoundary>
|
|
</Layout.MainColumn>
|
|
</Layout.MainArea>
|
|
<Layout.Footer/>
|
|
</Layout.Container>
|
|
</Layout.Root>
|
|
);
|
|
};
|
|
|
|
export default LayoutDefault;
|