import Document , { Html , Head , Main , NextScript } from 'next/document' ; class MyDocument extends Document { render ( ) { return ( < Html lang = "en" > < Head > < link rel = "manifest" href = "/manifest.json" / > < link rel = "icon" href = "/static/favicons/favicon.ico" / > < link rel = "stylesheet" href = "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" / > < /Head> < body > < Main /> < NextScript / > < div id = "modals" / > < /body> < /Html>); } } export default MyDocument ;