mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add left nav (#4705)
* Automated translation update ( bf08a04cda )
* Add Layout component wip
* finish layout implementation
* convert header to left nav
* better nav item spacing
* return source files to original glory
* lint fix
* Remove height limit on login screen
* fix top spacing on 3-panel layout
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Brent Clark <brent@backboneiq.com>
This commit is contained in:
parent
cab5f29b57
commit
cef99cba71
18 changed files with 280 additions and 201 deletions
|
|
@ -11,6 +11,7 @@ import { useReduxEffect } from 'hooks';
|
|||
import { RoomsSelectors, RoomsTypes, ServerSelectors } from 'store';
|
||||
import { Room, RouteEnum, User } from 'types';
|
||||
import Rooms from './Rooms';
|
||||
import Layout from 'containers/Layout/Layout';
|
||||
|
||||
import './Server.css';
|
||||
|
||||
|
|
@ -23,7 +24,7 @@ const Server = ({ message, rooms, joinedRooms, users }: ServerProps) => {
|
|||
}, RoomsTypes.JOIN_ROOM, []);
|
||||
|
||||
return (
|
||||
<div className="server-rooms">
|
||||
<Layout className="server-rooms">
|
||||
<AuthGuard />
|
||||
|
||||
<ThreePaneLayout
|
||||
|
|
@ -55,7 +56,7 @@ const Server = ({ message, rooms, joinedRooms, users }: ServerProps) => {
|
|||
</Paper>
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue