fix: UI
This commit is contained in:
parent
1ab6b2f4c2
commit
b243522f4b
|
@ -1,5 +1,6 @@
|
|||
import './index.scss';
|
||||
|
||||
import {Ui} from '@humus/core';
|
||||
import {React} from '@latus/react';
|
||||
import {
|
||||
Link,
|
||||
|
@ -8,24 +9,26 @@ import {
|
|||
import Universes from '../universes';
|
||||
|
||||
const Local = () => (
|
||||
<div className="local">
|
||||
<Link
|
||||
className="back"
|
||||
to="/title"
|
||||
>
|
||||
<span className="back__arrow"><-</span>
|
||||
{' '}
|
||||
Back
|
||||
</Link>
|
||||
<h2 className="local__title">Local universes</h2>
|
||||
<Link
|
||||
className="local__create"
|
||||
to="/title/local/create"
|
||||
>
|
||||
+ Create a new universe
|
||||
</Link>
|
||||
<Universes isLocal />
|
||||
</div>
|
||||
<Ui>
|
||||
<div className="local">
|
||||
<Link
|
||||
className="back"
|
||||
to="/title"
|
||||
>
|
||||
<span className="back__arrow"><-</span>
|
||||
{' '}
|
||||
Back
|
||||
</Link>
|
||||
<h2 className="local__title">Local universes</h2>
|
||||
<Link
|
||||
className="local__create"
|
||||
to="/title/local/create"
|
||||
>
|
||||
+ Create a new universe
|
||||
</Link>
|
||||
<Universes isLocal />
|
||||
</div>
|
||||
</Ui>
|
||||
);
|
||||
|
||||
export default Local;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import './index.scss';
|
||||
|
||||
import {Ui} from '@humus/core';
|
||||
import {React} from '@latus/react';
|
||||
import {
|
||||
Link,
|
||||
|
@ -8,24 +9,26 @@ import {
|
|||
import Universes from '../universes';
|
||||
|
||||
const Remote = () => (
|
||||
<div className="remote">
|
||||
<Link
|
||||
className="back"
|
||||
to="/title"
|
||||
>
|
||||
<span className="back__arrow"><-</span>
|
||||
{' '}
|
||||
Back
|
||||
</Link>
|
||||
<h2 className="remote__title">Remote universes</h2>
|
||||
<Link
|
||||
className="remote__connect"
|
||||
to="/title/remote/connect"
|
||||
>
|
||||
+ Connect to a new universe
|
||||
</Link>
|
||||
<Universes isLocal={false} />
|
||||
</div>
|
||||
<Ui>
|
||||
<div className="remote">
|
||||
<Link
|
||||
className="back"
|
||||
to="/title"
|
||||
>
|
||||
<span className="back__arrow"><-</span>
|
||||
{' '}
|
||||
Back
|
||||
</Link>
|
||||
<h2 className="remote__title">Remote universes</h2>
|
||||
<Link
|
||||
className="remote__connect"
|
||||
to="/title/remote/connect"
|
||||
>
|
||||
+ Connect to a new universe
|
||||
</Link>
|
||||
<Universes isLocal={false} />
|
||||
</div>
|
||||
</Ui>
|
||||
);
|
||||
|
||||
export default Remote;
|
||||
|
|
Loading…
Reference in New Issue
Block a user