Team switcher

This commit is contained in:
Tom Moor
2018-11-11 16:24:05 -08:00
parent 10e1f0231c
commit cc9f32cdc9
8 changed files with 107 additions and 26 deletions

View File

@ -15,9 +15,10 @@ export const screenshotUrl = `${process.env.URL}/screenshot.png`;
type Props = {
children?: React.Node,
sessions?: Object,
};
function Layout({ children }: Props) {
function Layout({ children, sessions }: Props) {
return (
<html lang="en">
<head>
@ -65,7 +66,7 @@ function Layout({ children }: Props) {
{'{{CSS}}'}
</head>
<Body>
<TopNavigation />
<TopNavigation sessions={sessions} />
{children}
<BottomNavigation />
</Body>