Created
November 9, 2018 18:41
-
-
Save dearfrankg/33eccdbe47c64767ad026bb14f8602ff to your computer and use it in GitHub Desktop.
next.js font support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NextHead from "next/head"; | |
const Head = () => ( | |
<div> | |
<NextHead> | |
<meta charSet="UTF-8" /> | |
{/* <title>{props.title || ""}</title> | |
<meta name="description" content={props.description || ""} /> */} | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link | |
rel="stylesheet" | |
id="edgtf_font_awesome-css" | |
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" | |
type="text/css" | |
media="all" | |
/> | |
<link | |
rel="stylesheet" | |
id="assemble_edge_google_fonts-css" | |
href="http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C500%2C600%2C700&subset=latin-ext&ver=1.0.0" | |
type="text/css" | |
media="all" | |
/> | |
</NextHead> | |
</div> | |
); | |
export default Head; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment