mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
* fix: load .env before building / watching * feat: Implement AppBar, Brand, and SubBar * feat: add card ui component * feat: add modqueue components * feat: implement modqueue * feat: add translations * test: add unit tests * feat: single comment view * test: feature / integration tests for modqueue * test: fix remaining tests * feature: support TextMatchOptions * fix: remove body count marker * fix: remove accidently added package * feat: testHelper toJSON * chore: cleanup + comments * chore: better types * test: fix test * chore: refactor decision history test * chore: tiny fix * fix: adjust to recent server changes * fix: marking suspect and banned words * feat: added moderation queue edge to accept/reject comment payloads - Simplified moderationQueue returns - Simplified resolvers * feat: update counts * feat: added id's to moderation queue and settings * fix+test: test count changes, apply fix * chore: adapt to server change, and remove custom mutation handlers * fix: use common utils * fix: purify fix, babel fix * fix: workaround css treeshake issue and upgrade css plugins * fix: fixed snapshot * fix: support empty word lists * feat: separate client config
30 lines
792 B
TypeScript
30 lines
792 B
TypeScript
import React, { StatelessComponent } from "react";
|
|
|
|
import { Logo } from "talk-ui/components";
|
|
import { AppBar, Begin, Divider, End } from "talk-ui/components/AppBar";
|
|
|
|
import SignOutButtonContainer from "../containers/SignOutButtonContainer";
|
|
import DecisionHistoryButton from "./DecisionHistoryButton";
|
|
import Navigation from "./Navigation";
|
|
|
|
import styles from "./App.css";
|
|
|
|
const App: StatelessComponent = ({ children }) => (
|
|
<div className={styles.root}>
|
|
<AppBar gutterBegin gutterEnd>
|
|
<Begin itemGutter="double">
|
|
<Logo />
|
|
<Navigation />
|
|
</Begin>
|
|
<End>
|
|
<DecisionHistoryButton />
|
|
<Divider />
|
|
<SignOutButtonContainer id="navigation-signOutButton" />
|
|
</End>
|
|
</AppBar>
|
|
{children}
|
|
</div>
|
|
);
|
|
|
|
export default App;
|