diff --git a/pages/_app.tsx b/pages/_app.tsx index 81bc29c..d1beca1 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,25 +1,13 @@ import type { AppProps } from 'next/app'; -import styled, { createGlobalStyle } from 'styled-components'; import Head from 'next/head'; - -const GlobalStyle = createGlobalStyle` - body { - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: 'Source Code Pro', monospace; - font-size: '17px'; - } -`; - -const Container = styled.div` - width: 85%; - margin: auto; -`; +import Nav from '../components/Nav'; +import DarkMode from '../components/DarkMode'; +import Container from '../components/Container'; +import GlobalStyles from '../components/GlobalStyles'; const App = ({ Component, pageProps }: AppProps) => { return ( - <> + { /> Hazem Krimi - + +