From e6afb2493ce227126b4f81b754af7d35f5e1ec3e Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 8 Dec 2021 23:39:20 -0800 Subject: [PATCH] Move html head content to Next's _document --- web/pages/_document.tsx | 71 +++++++++++++++++++++++++++++++++++++++++ web/pages/index.tsx | 46 +------------------------- 2 files changed, 72 insertions(+), 45 deletions(-) create mode 100644 web/pages/_document.tsx diff --git a/web/pages/_document.tsx b/web/pages/_document.tsx new file mode 100644 index 00000000..86de0544 --- /dev/null +++ b/web/pages/_document.tsx @@ -0,0 +1,71 @@ +import { Html, Head, Main, NextScript } from 'next/document' + +export default function Document() { + return ( + + + Mantic Markets + + + + + + + + + + + + + + + + + +