Skip to content

Commit

Permalink
create _document structure
Browse files Browse the repository at this point in the history
  • Loading branch information
filippoerbisti committed Oct 11, 2022
1 parent 5793c4f commit 0fe16bb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ecommerce/pages/_document.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from "react";
import Document, { Html, Head, Main, NextScript } from "next/document";

class MyDocument extends Document {
render() {
return (
<Html>
<Head>
<link rel="manifest" href="/manifest.json" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<meta name="theme-color" content="#fff" />
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}

export default MyDocument;

1 comment on commit 0fe16bb

@vercel
Copy link

@vercel vercel bot commented on 0fe16bb Oct 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.