computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
577 B
21 lines
577 B
import { useEffect } from 'react'; |
|
import type { AppProps } from 'next/app'; |
|
import { ChakraProvider } from '@chakra-ui/react'; |
|
import 'prism-themes/themes/prism-shades-of-purple.css'; |
|
import { roadmapTheme } from '../styles/theme'; |
|
import { firePageView } from '../lib/gtag'; |
|
import '../styles/carbon.css'; |
|
|
|
function MyApp({ Component, pageProps }: AppProps) { |
|
useEffect(() => { |
|
firePageView(window.location.pathname); |
|
}, []); |
|
|
|
return ( |
|
<ChakraProvider theme={roadmapTheme}> |
|
<Component {...pageProps} /> |
|
</ChakraProvider> |
|
); |
|
} |
|
|
|
export default MyApp;
|
|
|