mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
added sample settings page
This commit is contained in:
parent
7a6a44cccf
commit
100c4c138a
29 changed files with 527 additions and 113 deletions
|
@ -1,18 +0,0 @@
|
|||
import * as React from 'react';
|
||||
|
||||
import { LoadingProgress } from '~/components/common/LoadingProgress';
|
||||
import { Header } from '~/containers/main/Header';
|
||||
import { SidebarRouter } from '~/containers/main/SidebarRouter';
|
||||
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
export const MainLayout = ({ children }) => (
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.content}>
|
||||
<Header />
|
||||
{children}
|
||||
<LoadingProgress />
|
||||
<SidebarRouter />
|
||||
</div>
|
||||
</div>
|
||||
);
|
|
@ -1,21 +0,0 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrapper {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding-bottom: 29px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue