6ce7a0378e
* Add Cosmic CMS Example * with native .env support, this file isn't needed anymore * FIX use path alias * Add cosmicjs package * Fix alias import in pages/api/preview * Added: react-imgix & lazysizes package * Load lazysizes in layout * Used imgix image with lazyloading * Added avatar imgix optimizations * EDITED: steps to install content, preview * EDITED: demo link * EDITED: Install step * EDITED: preview link steps * Edited: demo link * FIXED: object_slug * Screenshots * Fixed object_slug link * Update README.md * Fix: formatting issue * Updated readme and renamed .env to env.local * Sanity checks * Handle fallback data when expected * Added link to the example in other examples * Updated demo deployment * Added example to docs * minor lint fix * Remove manual download step * use vercel.json Co-authored-by: Tony Spiro <tspiro@tonyspiro.com> Co-authored-by: Luis Alvarez <luis@vercel.com>
15 lines
290 B
JavaScript
15 lines
290 B
JavaScript
import Document, { Html, Head, Main, NextScript } from 'next/document'
|
|
|
|
export default class MyDocument extends Document {
|
|
render() {
|
|
return (
|
|
<Html lang="en">
|
|
<Head />
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|
|
}
|