import React , { ComponentType } from 'react' ; import Header from './components/Header.tsx' ; import './style/app.css' ; export default function App ( { Page , pageProps } ) { return ( < main > < Header /> < Page { ... pageProps } /> < /main>); } ( window as any ) . scrollFixer = { offset : { top : 80 } } ;