|
|
@ -1,9 +1,10 @@ |
|
|
|
import Document, { Head, Html, Main, NextScript } from 'next/document'; |
|
|
|
import Document, { Head, Html, Main, NextScript } from 'next/document'; |
|
|
|
|
|
|
|
|
|
|
|
class MyDocument extends Document { |
|
|
|
class MyDocument extends Document { |
|
|
|
render(): JSX.Element { |
|
|
|
render(): JSX.Element { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Html lang="ru"> |
|
|
|
<Html lang="ru"> |
|
|
|
|
|
|
|
<Head /> |
|
|
|
|
|
|
|
<body className="bg-white dark:bg-black text-gray-900 dark:text-white"> |
|
|
|
<div className="container_yandex"> |
|
|
|
<div className="container_yandex"> |
|
|
|
<script |
|
|
|
<script |
|
|
|
dangerouslySetInnerHTML={{ |
|
|
|
dangerouslySetInnerHTML={{ |
|
|
@ -20,8 +21,6 @@ class MyDocument extends Document { |
|
|
|
}} |
|
|
|
}} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<Head /> |
|
|
|
|
|
|
|
<body className="bg-white dark:bg-black text-gray-900 dark:text-white"> |
|
|
|
|
|
|
|
<Main /> |
|
|
|
<Main /> |
|
|
|
<NextScript /> |
|
|
|
<NextScript /> |
|
|
|
</body> |
|
|
|
</body> |
|
|
|