Structure improved, program added

This commit is contained in:
2022-06-07 01:59:32 +03:00
parent 94407d1b68
commit da6100a052
8 changed files with 172 additions and 44 deletions

View File

@@ -1,8 +1,18 @@
import '../styles/globals.scss';
import type { AppProps } from 'next/app';
import { Footer } from './components/Footer';
import { Header } from './components/Header';
function MyApp({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />;
return (
<>
<Header />
<main>
<Component {...pageProps} />
</main>
<Footer />
</>
);
}
export default MyApp;