import Document , { Head , Html , Main , NextScript } from "next/document" ; import React from "react" ; export default class MyDocument extends Document { render ( ) { return ( < Html lang = "en" > < Head > < link rel = "stylesheet" href = "https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity = "sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossOrigin = "anonymous" / > < link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.min.css" / > < /Head> < body > < Main /> < NextScript / > < /body> < /Html>); } }