Skip to content

Commit

Permalink
fixup! WIP SSR
Browse files Browse the repository at this point in the history
  • Loading branch information
zmc committed Oct 1, 2024
1 parent 3643481 commit f4c359e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
5 changes: 5 additions & 0 deletions src/components/AppBar/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#appbar {
#title {
flex-grow: 1;
}
}
13 changes: 3 additions & 10 deletions src/components/AppBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,15 @@ import Typography from "@mui/material/Typography";

import Login from "../Login";


const PREFIX = 'index';

const classes = {
appBar: `${PREFIX}-appBar`,
title: `${PREFIX}-title`,
toolbarIcon: `${PREFIX}-toolbarIcon`
};
import './index.css';

type AppBarProps = {
setDrawerOpen: Function,
};

export default function AppBar(props: AppBarProps) {
return (
<MuiAppBar position="static" className={classes.appBar}>
<MuiAppBar id="appbar" position="static">
<Toolbar>
<IconButton
edge="start"
Expand All @@ -35,11 +28,11 @@ export default function AppBar(props: AppBarProps) {
<MenuIcon />
</IconButton>
<Typography
id="title"
component="h1"
variant="h6"
color="inherit"
noWrap
className={classes.title}
>
<a
href="/"
Expand Down

0 comments on commit f4c359e

Please sign in to comment.