mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
(nextjs) added SSR Loader
This commit is contained in:
parent
d7def635e3
commit
41b26e7d69
5 changed files with 79 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import * as React from 'react';
|
||||
|
||||
import { LoadingProgress } from '~/components/common/LoadingProgress';
|
||||
import { Header } from '~/containers/main/Header';
|
||||
import { SidebarRouter } from '~/containers/main/SidebarRouter';
|
||||
|
||||
|
@ -10,6 +11,7 @@ export const MainLayout = ({ children }) => (
|
|||
<div className={styles.content}>
|
||||
<Header />
|
||||
{children}
|
||||
<LoadingProgress />
|
||||
<SidebarRouter />
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue