diff --git a/next.config.js b/next.config.js index 9dc4cd5..65c76f5 100644 --- a/next.config.js +++ b/next.config.js @@ -3,6 +3,12 @@ const OptimizedImages = require('next-optimized-images'); const withVideos = require('next-videos'); const customConfig = { + + eslint: { + // Warning: This allows production builds to successfully complete even if + // your project has ESLint errors. + ignoreDuringBuilds: true, + }, webpack: function (config) { config.module.rules.push( { diff --git a/package.json b/package.json index 654b467..3e46a86 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "description": "", "main": "index.js", + "engines": { + "node": "22.x", + "npm": ">=10.x" + }, "scripts": { "build": "next build", "build-ssg": "next build && next export", diff --git a/pages/_document.tsx b/pages/_document.tsx index 24ef6a4..203748a 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,7 +1,6 @@ import React from 'react'; import Document, { DocumentContext, Head, Html, Main, NextScript } from 'next/document'; - class MyDocument extends Document { static async getInitialProps(ctx: DocumentContext) { @@ -26,8 +25,31 @@ class MyDocument extends Document { href="https://cdn.staticaly.com/gh/hung1001/font-awesome-pro/8af0edd/css/all.css" rel="stylesheet" /> + + {/* Google Tag Manager */} +