ee372f472f
* Add with-next-connect example * Update README * Fix code and lint * Fix typo * Run prettier * Include username * Rename example * Match with-passport styling * Add comments in code * Run prettier * Rewrite example * Add some comments * Update README.md * keys -> secret * Updated package.json and readme * UX changes * Securely encrypt cookie with @hapi/iron * Update README * Abstract db related actions and update README * security: add note on password hashing * remove unused dep * Updated readme Co-authored-by: Luis Alvarez <luis@zeit.co>
15 lines
290 B
JavaScript
15 lines
290 B
JavaScript
import Navbar from '../components/Navbar'
|
|
import '../styles.css'
|
|
|
|
export default function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<>
|
|
<Navbar />
|
|
<main>
|
|
<div className="container">
|
|
<Component {...pageProps} />
|
|
</div>
|
|
</main>
|
|
</>
|
|
)
|
|
}
|