mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
better editor layout
This commit is contained in:
parent
a2bb40bb14
commit
fcfc16c157
11 changed files with 242 additions and 67 deletions
|
@ -10,6 +10,8 @@ import { LoginLayout } from "~/containers/login/LoginLayout";
|
|||
import { MainLayout } from "~/containers/main/MainLayout";
|
||||
import { ImageExample } from "~/containers/examples/ImageExample";
|
||||
import { EditorExample } from "~/containers/examples/EditorExample";
|
||||
import { HorizontalExample } from "~/containers/examples/HorizontalExample";
|
||||
import { Sprites } from "~/sprites/Sprites";
|
||||
|
||||
interface IAppProps {}
|
||||
interface IAppState {}
|
||||
|
@ -19,9 +21,12 @@ class Component extends React.Component<IAppProps, IAppState> {
|
|||
return (
|
||||
<ConnectedRouter history={history}>
|
||||
<MainLayout>
|
||||
<Sprites />
|
||||
|
||||
<Switch>
|
||||
<Route path="/examples/image" component={ImageExample} />
|
||||
<Route path="/examples/edit" component={EditorExample} />
|
||||
<Route path="/examples/horizontal" component={HorizontalExample} />
|
||||
<Route path="/" component={FlowLayout} />
|
||||
|
||||
<Route path="/login" component={LoginLayout} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue