blob: c72c1be5a60597d1a0e8a07411110d2d9824b257 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import dynamic from 'next/dynamic';
import AnimationLayout from './AnimationLayout';
const AppBar = dynamic(() => import('../elements/Appbar/Appbar'), {
ssr: false,
});
const BasicFooter = dynamic(() => import('../elements/Footer/BasicFooter'), {
ssr: false,
});
const AppLayout = ({ children, title, withFooter = true }) => {
return (
<>
<AnimationLayout>
<AppBar title={title} />
{children}
</AnimationLayout>
<BasicFooter />
</>
);
};
export default AppLayout;
|