_document.tsx 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import Document, { Html, Head, Main, NextScript } from "next/document";
  2. import { SeoTags } from "src/components/SeoTags";
  3. class MyDocument extends Document {
  4. render() {
  5. return (
  6. <Html lang="en">
  7. <Head>
  8. <SeoTags
  9. description="Simple visualization tool for your JSON data. No forced structure, paste your JSON and view it instantly."
  10. title="JSON Crack - Crack your data into pieces"
  11. image="https://jsoncrack.com/jsoncrack.png"
  12. />
  13. <meta name="theme-color" content="#36393E" />
  14. <link rel="manifest" href="/manifest.json" />
  15. <link rel="icon" href="/favicon.ico" />
  16. <link rel="preconnect" href="https://fonts.googleapis.com" />
  17. <link
  18. rel="preconnect"
  19. href="https://fonts.gstatic.com"
  20. crossOrigin="anonymous"
  21. />
  22. <link
  23. href="https://fonts.googleapis.com/css2?family=Catamaran:wght@400;500;700&family=Roboto+Mono:wght@500&family=Roboto:wght@400;500;700&display=swap"
  24. rel="stylesheet"
  25. crossOrigin="anonymous"
  26. />
  27. </Head>
  28. <body>
  29. <Main />
  30. <NextScript />
  31. </body>
  32. </Html>
  33. );
  34. }
  35. }
  36. export default MyDocument;