From c6762af035e354e41a12af143f3fc5094551687e Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 4 Feb 2021 20:20:39 +0100 Subject: font size change --- components/navbar.tsx | 38 +++++++++++++++++++++++++------------- components/toast.tsx | 2 +- components/ui.tsx | 5 ++--- 3 files changed, 28 insertions(+), 17 deletions(-) (limited to 'components') diff --git a/components/navbar.tsx b/components/navbar.tsx index 7725ca8..9a3f9ff 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -1,4 +1,5 @@ -import { CSSProperties } from "react"; +import { CSSProperties, Component } from "react"; +/* import axios from "axios"; */ import { LogoDark } from "../components/logo"; @@ -8,6 +9,7 @@ import ExtensionIcon from '@material-ui/icons/Extension'; import SearchIcon from '@material-ui/icons/Search'; import SettingsIcon from '@material-ui/icons/Settings'; import PersonIcon from '@material-ui/icons/Person'; +import {AccountAvatar} from "./account"; var NavBarItemStyle: CSSProperties = { margin: 12, @@ -15,9 +17,22 @@ var NavBarItemStyle: CSSProperties = { display: "block" } -export function NavBar() { - return ( -
- -
+ + { + this.state.loggedIn ? + : -
+ }
- ); + } } diff --git a/components/toast.tsx b/components/toast.tsx index 7f71855..03a6255 100644 --- a/components/toast.tsx +++ b/components/toast.tsx @@ -69,7 +69,7 @@ export class Toast extends Component<{ display: "inline-block", cursor: "pointer" }} onClick={this.close}> - + } diff --git a/components/ui.tsx b/components/ui.tsx index ef9d8f3..2523745 100644 --- a/components/ui.tsx +++ b/components/ui.tsx @@ -109,7 +109,6 @@ export function SearchBar(props: { label?: string }) { position: "relative" }}> { this.state.on ? - : - + : + } ; } -- cgit v1.2.3