import type { AppProps } from "next/app"; | |
import "../styles/globals.css"; | |
const App = ({ Component, pageProps }: AppProps) => { | |
return ( | |
<div> | |
<nav> | |
<a href="/">Home</a> | |
<a href="/about">About</a> | |
</nav> | |
<div> | |
<Component {...pageProps} /> | |
</div> | |
</div> | |
); | |
}; | |
export default App; |