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 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) (limited to 'components/navbar.tsx') 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 ? + : -
+ }
- ); + } } -- cgit v1.2.3