Skip to content

Commit

Permalink
Merge pull request #43 from deco-finter/feat/hifi-gallery-detail
Browse files Browse the repository at this point in the history
[FAB-103] Hifi Gallery Detail
  • Loading branch information
daystram committed Sep 25, 2021
2 parents 32b4feb + d14e1bb commit 99a9f5f
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 96 deletions.
5 changes: 4 additions & 1 deletion fableous-fe/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ export default function App() {
<InjectAxiosRespInterceptor />
<ThemeProvider theme={theme}>
<Navbar />
<Container className="flex flex-col flex-1 pt-5 pb-12">
<Container
className="flex flex-col flex-1 pt-5 pb-12"
disableGutters
>
<Routes />
</Container>
</ThemeProvider>
Expand Down
8 changes: 7 additions & 1 deletion fableous-fe/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { makeStyles } from "@material-ui/core";
import { Icon, makeStyles } from "@material-ui/core";
import AppBar from "@material-ui/core/AppBar";
import Toolbar from "@material-ui/core/Toolbar";
import Typography from "@material-ui/core/Typography";
import Button from "@material-ui/core/Button";
import { Link, useHistory } from "react-router-dom";
import { useContext } from "react";

import { AuthContext } from "./AuthProvider";

const useStyles = makeStyles(() => ({
Expand Down Expand Up @@ -36,14 +37,17 @@ export default function Navbar() {
<Button
variant="outlined"
className="text-white"
startIcon={<Icon fontSize="small">person</Icon>}
component={Link}
to="/profile"
>
Profile
</Button>

<Button
variant="outlined"
className="ml-4 text-white"
startIcon={<Icon fontSize="small">logout</Icon>}
onClick={onLogout}
>
Logout
Expand All @@ -54,6 +58,7 @@ export default function Navbar() {
<Button
variant="outlined"
className="text-white"
startIcon={<Icon fontSize="small">login</Icon>}
component={Link}
to="/login"
>
Expand All @@ -62,6 +67,7 @@ export default function Navbar() {
<Button
variant="outlined"
className="ml-4 text-white"
startIcon={<Icon fontSize="small">person</Icon>}
component={Link}
to="/register"
>
Expand Down
3 changes: 2 additions & 1 deletion fableous-fe/src/containers/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, Grid, Typography } from "@material-ui/core";
import { Button, Grid, Icon, Typography } from "@material-ui/core";
import { Link } from "react-router-dom";

export default function HomePage() {
Expand Down Expand Up @@ -27,6 +27,7 @@ export default function HomePage() {
variant="contained"
color="secondary"
component={Link}
endIcon={<Icon fontSize="small">brush</Icon>}
to="/join"
>
Join
Expand Down

0 comments on commit 99a9f5f

Please sign in to comment.