Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
feat(component): render 'AppBar' in the app
Browse files Browse the repository at this point in the history
  ## what
  - render AppBar

  ## how

  ## why

  ## where

  ## usage

  ## TODO
  - offset the main content to the right by the drawer width when
    rendering permanent drawer
  • Loading branch information
Clumsy-Coder committed Aug 20, 2023
1 parent 2c0eeb8 commit a433b71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ThemeProvider } from '@mui/material/styles';
import type { AppProps } from 'next/app';
import Head from 'next/head';

import AppBar from '@components/AppBar';
import darkTheme from '@utils/darkTheme';
import createEmotionCache from '@utils/emotionCache';

Expand All @@ -28,6 +29,7 @@ const App = ({ Component, pageProps, emotionCache = clientSideEmotionCache }: My
</Head>
<ThemeProvider theme={darkTheme}>
<CssBaseline />
<AppBar />
<Component {...pageProps} />
</ThemeProvider>
</CacheProvider>
Expand Down

0 comments on commit a433b71

Please sign in to comment.