Move GitHub corner and visually-hidden class (#1336)

* Move visually-hidden class to index.html

* Replace github corner with component

* Momoize GitHubCorner

* Simplify component return
This commit is contained in:
Sanghyeon Lee 2020-04-09 22:48:41 +09:00 committed by GitHub
parent b1ed5b4cdc
commit bd32a26653
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 39 deletions

View file

@ -25,6 +25,7 @@ import { RoomDialog } from "./RoomDialog";
import { ErrorDialog } from "./ErrorDialog";
import { ShortcutsDialog } from "./ShortcutsDialog";
import { LoadingMessage } from "./LoadingMessage";
import { GitHubCorner } from "./GitHubCorner";
interface LayerUIProps {
actionManager: ActionManager;
@ -194,6 +195,9 @@ export const LayerUI = React.memo(
</Stack.Col>
</div>
</FixedSideContainer>
<aside>
<GitHubCorner />
</aside>
<footer role="contentinfo">
<LanguageList
onChange={(lng) => {