Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
akawula committed Jan 20, 2024
2 parents b9aedb4 + 11b7944 commit 178e5bb
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/Jira.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import * as React from 'react';
import { Typography, Box } from "@mui/joy";
import Loading from './components/Loading';

export default function Jira() {
return <React.Fragment>
<Box
component="main"
className="MainContent"
sx={{
pt: {
xs: 'calc(12px + var(--Header-height))',
md: 3,
},
pb: {
xs: 2,
sm: 2,
md: 3,
},

display: 'flex',
flexDirection: 'column',
minWidth: 0,
minHeight: '100dvh',
gap: 1,
}}
>
<Box
sx={{
display: 'flex',
my: 1,
gap: 1,
flexDirection: { xs: 'column', sm: 'row' },
alignItems: { xs: 'start', sm: 'center' },
flexWrap: 'wrap',
justifyContent: 'space-between',
}}
>
<Typography level="h2">Dashboard</Typography>
<Loading />
</Box>
</Box>
</React.Fragment>
}
2 changes: 2 additions & 0 deletions src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Dashboard from "./Dashboard";
import Settings from "./Settings";
import Github from "./Github";
import { StoreContextProvider } from './context/StoreContext';
import Jira from "./Jira";

export default function AppRouter() {
return (
Expand Down Expand Up @@ -60,6 +61,7 @@ export default function AppRouter() {
<Routes>
<Route path="/" Component={Dashboard} />
<Route path="/github" Component={Github} />
<Route path="/jira" Component={Jira} />
<Route path="/settings" Component={Settings} />
</Routes>
</Box>
Expand Down
7 changes: 7 additions & 0 deletions src/components/FirstSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ export default function FirstSidebar() {
</ListItemButton>
</Link>
</ListItem>}
<ListItem>
<Link to={'/jira'}>
<ListItemButton selected={location.pathname === '/jira'}>
<HomeRoundedIcon />
</ListItemButton>
</Link>
</ListItem>
{/* <ListItem>
<ListItemButton variant="soft" onClick={() => openSidebar()}>
<DashboardRoundedIcon />
Expand Down

0 comments on commit 178e5bb

Please sign in to comment.