import { AppProps } from 'next/app' ; import Head from 'next/head' ; import './styles.css' ; function CustomApp ( { Component , pageProps } ) { return ( < > < Head > < title > Welcome to crew ! < /title> < /Head> < div className = "app" > < header className = "flex" > < h1 > Welcome to crew ! < /h1> < /header> < main > < Component { ... pageProps } / > < /main> < /div> < />); } export default CustomApp ;