Files
talk/src/core/client/admin/components/AppBar.tsx
T
KiwiandWyatt Johnson bc5db7b599 [next] Admin auth + design (#2056)
* feat: extract jwt information

* feat: login status dependent auto redirect

* feat: Sign Out button

* feat: add a 404 page

* feat: improve loading state and use auth token info

* feat: redirect to previous destination

* feat: implement new design

* fix: change asset to story

* feat: add translations

* feat: more compact design

* test: add unit tests

* chore: refactor NavigationLink

* test: add integration tests

* chore: refactor replaceHistoryLocation

* fix: typo

* fix: property name typo
2018-10-31 23:11:32 +00:00

18 lines
390 B
TypeScript

import React, { StatelessComponent } from "react";
import { Flex } from "talk-ui/components";
import styles from "./AppBar.css";
import Logo from "./Logo";
const AppBar: StatelessComponent = ({ children }) => (
<div className={styles.root}>
<Flex className={styles.container}>
<Logo className={styles.logo} />
{children}
</Flex>
</div>
);
export default AppBar;